Polygon Sponsored slots available. Book your slot here!
Contract Overview
[ Download CSV Export ]
Contract Name:
MerakiToken
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2021-11-11 */ // Sources flattened with hardhat v2.6.4 https://hardhat.org // File @openzeppelin/contracts/utils/introspection/[email protected] // SPDX-License-Identifier: MIT 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); } // File @openzeppelin/contracts/token/ERC721/[email protected] /** * @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; } // File @openzeppelin/contracts/token/ERC721/[email protected] /** * @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); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] /** * @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); } // File @openzeppelin/contracts/utils/[email protected] /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @openzeppelin/contracts/utils/[email protected] /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/utils/[email protected] /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File @openzeppelin/contracts/utils/introspection/[email protected] /** * @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; } } // File @openzeppelin/contracts/token/ERC721/[email protected] /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be 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 Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @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.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File @openzeppelin/contracts/access/[email protected] /** * @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); } } // Fil /** * @title Meraki Token used for profit sharing * @author crispymangoes */ contract MerakiToken is ERC721, Ownable{ bool public mintingStopped = false; /// @notice bool used to permanately stop minting string public uri; /** * @notice emitted when the uri is changed */ event UriChanged(string newURI); constructor() ERC721("Meraki Token", "MERAKI"){} /****************** External Priviledged Functions ******************/ /** * @notice used to mint 100,000 token supply * @notice initially first 10,000 will be minted for IDO, then a timelock will become owner of this contract */ function adminBatchMint(address _to, uint _startingIndex, uint _amount) external onlyOwner{ require(!mintingStopped, "Minting has been turned off"); uint index = _startingIndex; for(uint i=0; i<_amount; i++){ _safeMint(_to, index); index += 1; } } /** * @notice permanately stops minting when called */ function stopMinting() external onlyOwner{ mintingStopped = true; } /** * @notice allows owner to change token meta data */ function setURI(string memory _uri) external onlyOwner{ uri = _uri; emit UriChanged(_uri); } /****************** External State Reading Functions ******************/ /** * @notice all tokens share the same meta data so tokenId is not used */ function tokenURI(uint256 tokenId) public view override returns (string memory) { return uri; } /****************** Internal State Reading Functions ******************/ /** * @notice implements the _baseURI method in the ERC721 standard * @notice used by tokenURI to create a tokens URI */ function _baseURI() internal view override returns (string memory) { return uri; } }
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":"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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"newURI","type":"string"}],"name":"UriChanged","type":"event"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_startingIndex","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"adminBatchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingStopped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopMinting","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526006805460ff60a01b191690553480156200001e57600080fd5b50604080518082018252600c81526b26b2b930b5b4902a37b5b2b760a11b6020808301918252835180850190945260068452654d4552414b4960d01b908401528151919291620000719160009162000100565b5080516200008790600190602084019062000100565b505050620000a46200009e620000aa60201b60201c565b620000ae565b620001e3565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200010e90620001a6565b90600052602060002090601f0160209004810192826200013257600085556200017d565b82601f106200014d57805160ff19168380011785556200017d565b828001600101855582156200017d579182015b828111156200017d57825182559160200191906001019062000160565b506200018b9291506200018f565b5090565b5b808211156200018b576000815560010162000190565b600181811c90821680620001bb57607f821691505b60208210811415620001dd57634e487b7160e01b600052602260045260246000fd5b50919050565b61176780620001f36000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806370a08231116100b8578063b88d4fde1161007c578063b88d4fde14610275578063c87b56dd14610288578063e985e9c51461029b578063eac989f8146102d7578063f2fde38b146102df578063f339292f146102f257600080fd5b806370a0823114610220578063715018a6146102415780638da5cb5b1461024957806395d89b411461025a578063a22cb4651461026257600080fd5b806323b872dd116100ff57806323b872dd146101cc5780633e3e0b12146101df57806342842e0e146101e75780634b29017a146101fa5780636352211e1461020d57600080fd5b806301ffc9a71461013c57806302fe53051461016457806306fdde0314610179578063081812fc1461018e578063095ea7b3146101b9575b600080fd5b61014f61014a366004611459565b610306565b60405190151581526020015b60405180910390f35b610177610172366004611493565b610358565b005b6101816103d9565b60405161015b919061157f565b6101a161019c3660046114dc565b61046b565b6040516001600160a01b03909116815260200161015b565b6101776101c73660046113fc565b610500565b6101776101da366004611308565b610616565b610177610647565b6101776101f5366004611308565b610686565b610177610208366004611426565b6106a1565b6101a161021b3660046114dc565b610761565b61023361022e3660046112b3565b6107d8565b60405190815260200161015b565b61017761085f565b6006546001600160a01b03166101a1565b610181610895565b6101776102703660046113c0565b6108a4565b610177610283366004611344565b610969565b6101816102963660046114dc565b6109a1565b61014f6102a93660046112d5565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610181610a35565b6101776102ed3660046112b3565b610ac3565b60065461014f90600160a01b900460ff1681565b60006001600160e01b031982166380ac58cd60e01b148061033757506001600160e01b03198216635b5e139f60e01b145b8061035257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b0316331461038b5760405162461bcd60e51b8152600401610382906115e4565b60405180910390fd5b805161039e906007906020840190611188565b507fb1bf12e17db588c31e8fb2afdd2b3bc1ed822d68c560856fcbc75ae303fc5d14816040516103ce919061157f565b60405180910390a150565b6060600080546103e890611699565b80601f016020809104026020016040519081016040528092919081815260200182805461041490611699565b80156104615780601f1061043657610100808354040283529160200191610461565b820191906000526020600020905b81548152906001019060200180831161044457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166104e45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610382565b506000908152600460205260409020546001600160a01b031690565b600061050b82610761565b9050806001600160a01b0316836001600160a01b031614156105795760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610382565b336001600160a01b0382161480610595575061059581336102a9565b6106075760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610382565b6106118383610b5e565b505050565b6106203382610bcc565b61063c5760405162461bcd60e51b815260040161038290611619565b610611838383610cc3565b6006546001600160a01b031633146106715760405162461bcd60e51b8152600401610382906115e4565b6006805460ff60a01b1916600160a01b179055565b61061183838360405180602001604052806000815250610969565b6006546001600160a01b031633146106cb5760405162461bcd60e51b8152600401610382906115e4565b600654600160a01b900460ff16156107255760405162461bcd60e51b815260206004820152601b60248201527f4d696e74696e6720686173206265656e207475726e6564206f666600000000006044820152606401610382565b8160005b8281101561075a5761073b8583610e63565b61074660018361166a565b915080610752816116d4565b915050610729565b5050505050565b6000818152600260205260408120546001600160a01b0316806103525760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610382565b60006001600160a01b0382166108435760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610382565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146108895760405162461bcd60e51b8152600401610382906115e4565b6108936000610e81565b565b6060600180546103e890611699565b6001600160a01b0382163314156108fd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610382565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109733383610bcc565b61098f5760405162461bcd60e51b815260040161038290611619565b61099b84848484610ed3565b50505050565b6060600780546109b090611699565b80601f01602080910402602001604051908101604052809291908181526020018280546109dc90611699565b8015610a295780601f106109fe57610100808354040283529160200191610a29565b820191906000526020600020905b815481529060010190602001808311610a0c57829003601f168201915b50505050509050919050565b60078054610a4290611699565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6e90611699565b8015610abb5780601f10610a9057610100808354040283529160200191610abb565b820191906000526020600020905b815481529060010190602001808311610a9e57829003601f168201915b505050505081565b6006546001600160a01b03163314610aed5760405162461bcd60e51b8152600401610382906115e4565b6001600160a01b038116610b525760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610382565b610b5b81610e81565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610b9382610761565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610c455760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610382565b6000610c5083610761565b9050806001600160a01b0316846001600160a01b03161480610c8b5750836001600160a01b0316610c808461046b565b6001600160a01b0316145b80610cbb57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610cd682610761565b6001600160a01b031614610d3e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610382565b6001600160a01b038216610da05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610382565b610dab600082610b5e565b6001600160a01b0383166000908152600360205260408120805460019290610dd4908490611682565b90915550506001600160a01b0382166000908152600360205260408120805460019290610e0290849061166a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610e7d828260405180602001604052806000815250610f06565b5050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ede848484610cc3565b610eea84848484610f39565b61099b5760405162461bcd60e51b815260040161038290611592565b610f108383611046565b610f1d6000848484610f39565b6106115760405162461bcd60e51b815260040161038290611592565b60006001600160a01b0384163b1561103b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290610f7d903390899088908890600401611542565b602060405180830381600087803b158015610f9757600080fd5b505af1925050508015610fc7575060408051601f3d908101601f19168201909252610fc491810190611476565b60015b611021573d808015610ff5576040519150601f19603f3d011682016040523d82523d6000602084013e610ffa565b606091505b5080516110195760405162461bcd60e51b815260040161038290611592565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610cbb565b506001949350505050565b6001600160a01b03821661109c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610382565b6000818152600260205260409020546001600160a01b0316156111015760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610382565b6001600160a01b038216600090815260036020526040812080546001929061112a90849061166a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461119490611699565b90600052602060002090601f0160209004810192826111b657600085556111fc565b82601f106111cf57805160ff19168380011785556111fc565b828001600101855582156111fc579182015b828111156111fc5782518255916020019190600101906111e1565b5061120892915061120c565b5090565b5b80821115611208576000815560010161120d565b600067ffffffffffffffff8084111561123c5761123c611705565b604051601f8501601f19908116603f0116810190828211818310171561126457611264611705565b8160405280935085815286868601111561127d57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146112ae57600080fd5b919050565b6000602082840312156112c557600080fd5b6112ce82611297565b9392505050565b600080604083850312156112e857600080fd5b6112f183611297565b91506112ff60208401611297565b90509250929050565b60008060006060848603121561131d57600080fd5b61132684611297565b925061133460208501611297565b9150604084013590509250925092565b6000806000806080858703121561135a57600080fd5b61136385611297565b935061137160208601611297565b925060408501359150606085013567ffffffffffffffff81111561139457600080fd5b8501601f810187136113a557600080fd5b6113b487823560208401611221565b91505092959194509250565b600080604083850312156113d357600080fd5b6113dc83611297565b9150602083013580151581146113f157600080fd5b809150509250929050565b6000806040838503121561140f57600080fd5b61141883611297565b946020939093013593505050565b60008060006060848603121561143b57600080fd5b61144484611297565b95602085013595506040909401359392505050565b60006020828403121561146b57600080fd5b81356112ce8161171b565b60006020828403121561148857600080fd5b81516112ce8161171b565b6000602082840312156114a557600080fd5b813567ffffffffffffffff8111156114bc57600080fd5b8201601f810184136114cd57600080fd5b610cbb84823560208401611221565b6000602082840312156114ee57600080fd5b5035919050565b6000815180845260005b8181101561151b576020818501810151868301820152016114ff565b8181111561152d576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611575908301846114f5565b9695505050505050565b6020815260006112ce60208301846114f5565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561167d5761167d6116ef565b500190565b600082821015611694576116946116ef565b500390565b600181811c908216806116ad57607f821691505b602082108114156116ce57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156116e8576116e86116ef565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b5b57600080fdfea26469706673582212208c8fea7d93bbc04731c5b01b024ce4c751ea2f1332f6f10350d879951b0745f464736f6c63430008070033
Deployed ByteCode Sourcemap
35022:1873:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20550:305;;;;;;:::i;:::-;;:::i;:::-;;;5712:14:1;;5705:22;5687:41;;5675:2;5660:18;20550:305:0;;;;;;;;36163:115;;;;;;:::i;:::-;;:::i;:::-;;21495:100;;;:::i;:::-;;;;;;;:::i;23054:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5010:32:1;;;4992:51;;4980:2;4965:18;23054:221:0;4846:203:1;22577:411:0;;;;;;:::i;:::-;;:::i;23944:339::-;;;;;;:::i;:::-;;:::i;36001:81::-;;;:::i;24354:185::-;;;;;;:::i;:::-;;:::i;35607:314::-;;;;;;:::i;:::-;;:::i;21189:239::-;;;;;;:::i;:::-;;:::i;20919:208::-;;;;;;:::i;:::-;;:::i;:::-;;;12431:25:1;;;12419:2;12404:18;20919:208:0;12285:177:1;34297:94:0;;;:::i;33646:87::-;33719:6;;-1:-1:-1;;;;;33719:6:0;33646:87;;21664:104;;;:::i;23347:295::-;;;;;;:::i;:::-;;:::i;24610:328::-;;;;;;:::i;:::-;;:::i;36457:109::-;;;;;;:::i;:::-;;:::i;23713:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;23834:25:0;;;23810:4;23834:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23713:164;35161:17;;;:::i;34546:192::-;;;;;;:::i;:::-;;:::i;35070:34::-;;;;;-1:-1:-1;;;35070:34:0;;;;;;20550:305;20652:4;-1:-1:-1;;;;;;20689:40:0;;-1:-1:-1;;;20689:40:0;;:105;;-1:-1:-1;;;;;;;20746:48:0;;-1:-1:-1;;;20746:48:0;20689:105;:158;;;-1:-1:-1;;;;;;;;;;19188:40:0;;;20811:36;20669:178;20550:305;-1:-1:-1;;20550:305:0:o;36163:115::-;33719:6;;-1:-1:-1;;;;;33719:6:0;16125:10;33866:23;33858:68;;;;-1:-1:-1;;;33858:68:0;;;;;;;:::i;:::-;;;;;;;;;36228:10;;::::1;::::0;:3:::1;::::0;:10:::1;::::0;::::1;::::0;::::1;:::i;:::-;;36254:16;36265:4;36254:16;;;;;;:::i;:::-;;;;;;;;36163:115:::0;:::o;21495:100::-;21549:13;21582:5;21575:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21495:100;:::o;23054:221::-;23130:7;26537:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26537:16:0;23150:73;;;;-1:-1:-1;;;23150:73:0;;10483:2:1;23150:73:0;;;10465:21:1;10522:2;10502:18;;;10495:30;10561:34;10541:18;;;10534:62;-1:-1:-1;;;10612:18:1;;;10605:42;10664:19;;23150:73:0;10281:408:1;23150:73:0;-1:-1:-1;23243:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;23243:24:0;;23054:221::o;22577:411::-;22658:13;22674:23;22689:7;22674:14;:23::i;:::-;22658:39;;22722:5;-1:-1:-1;;;;;22716:11:0;:2;-1:-1:-1;;;;;22716:11:0;;;22708:57;;;;-1:-1:-1;;;22708:57:0;;11667:2:1;22708:57:0;;;11649:21:1;11706:2;11686:18;;;11679:30;11745:34;11725:18;;;11718:62;-1:-1:-1;;;11796:18:1;;;11789:31;11837:19;;22708:57:0;11465:397:1;22708:57:0;16125:10;-1:-1:-1;;;;;22800:21:0;;;;:62;;-1:-1:-1;22825:37:0;22842:5;16125:10;23713:164;:::i;22825:37::-;22778:168;;;;-1:-1:-1;;;22778:168:0;;8520:2:1;22778:168:0;;;8502:21:1;8559:2;8539:18;;;8532:30;8598:34;8578:18;;;8571:62;8669:26;8649:18;;;8642:54;8713:19;;22778:168:0;8318:420:1;22778:168:0;22959:21;22968:2;22972:7;22959:8;:21::i;:::-;22647:341;22577:411;;:::o;23944:339::-;24139:41;16125:10;24172:7;24139:18;:41::i;:::-;24131:103;;;;-1:-1:-1;;;24131:103:0;;;;;;;:::i;:::-;24247:28;24257:4;24263:2;24267:7;24247:9;:28::i;36001:81::-;33719:6;;-1:-1:-1;;;;;33719:6:0;16125:10;33866:23;33858:68;;;;-1:-1:-1;;;33858:68:0;;;;;;;:::i;:::-;36053:14:::1;:21:::0;;-1:-1:-1;;;;36053:21:0::1;-1:-1:-1::0;;;36053:21:0::1;::::0;;36001:81::o;24354:185::-;24492:39;24509:4;24515:2;24519:7;24492:39;;;;;;;;;;;;:16;:39::i;35607:314::-;33719:6;;-1:-1:-1;;;;;33719:6:0;16125:10;33866:23;33858:68;;;;-1:-1:-1;;;33858:68:0;;;;;;;:::i;:::-;35717:14:::1;::::0;-1:-1:-1;;;35717:14:0;::::1;;;35716:15;35708:55;;;::::0;-1:-1:-1;;;35708:55:0;;8945:2:1;35708:55:0::1;::::0;::::1;8927:21:1::0;8984:2;8964:18;;;8957:30;9023:29;9003:18;;;8996:57;9070:18;;35708:55:0::1;8743:351:1::0;35708:55:0::1;35787:14:::0;35774:10:::1;35812:102;35828:7;35826:1;:9;35812:102;;;35856:21;35866:3;35871:5;35856:9;:21::i;:::-;35892:10;35901:1;35892:10:::0;::::1;:::i;:::-;::::0;-1:-1:-1;35837:3:0;::::1;::::0;::::1;:::i;:::-;;;;35812:102;;;;35697:224;35607:314:::0;;;:::o;21189:239::-;21261:7;21297:16;;;:7;:16;;;;;;-1:-1:-1;;;;;21297:16:0;21332:19;21324:73;;;;-1:-1:-1;;;21324:73:0;;9712:2:1;21324:73:0;;;9694:21:1;9751:2;9731:18;;;9724:30;9790:34;9770:18;;;9763:62;-1:-1:-1;;;9841:18:1;;;9834:39;9890:19;;21324:73:0;9510:405:1;20919:208:0;20991:7;-1:-1:-1;;;;;21019:19:0;;21011:74;;;;-1:-1:-1;;;21011:74:0;;9301:2:1;21011:74:0;;;9283:21:1;9340:2;9320:18;;;9313:30;9379:34;9359:18;;;9352:62;-1:-1:-1;;;9430:18:1;;;9423:40;9480:19;;21011:74:0;9099:406:1;21011:74:0;-1:-1:-1;;;;;;21103:16:0;;;;;:9;:16;;;;;;;20919:208::o;34297:94::-;33719:6;;-1:-1:-1;;;;;33719:6:0;16125:10;33866:23;33858:68;;;;-1:-1:-1;;;33858:68:0;;;;;;;:::i;:::-;34362:21:::1;34380:1;34362:9;:21::i;:::-;34297:94::o:0;21664:104::-;21720:13;21753:7;21746:14;;;;;:::i;23347:295::-;-1:-1:-1;;;;;23450:24:0;;16125:10;23450:24;;23442:62;;;;-1:-1:-1;;;23442:62:0;;7753:2:1;23442:62:0;;;7735:21:1;7792:2;7772:18;;;7765:30;7831:27;7811:18;;;7804:55;7876:18;;23442:62:0;7551:349:1;23442:62:0;16125:10;23517:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;23517:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;23517:53:0;;;;;;;;;;23586:48;;5687:41:1;;;23517:42:0;;16125:10;23586:48;;5660:18:1;23586:48:0;;;;;;;23347:295;;:::o;24610:328::-;24785:41;16125:10;24818:7;24785:18;:41::i;:::-;24777:103;;;;-1:-1:-1;;;24777:103:0;;;;;;;:::i;:::-;24891:39;24905:4;24911:2;24915:7;24924:5;24891:13;:39::i;:::-;24610:328;;;;:::o;36457:109::-;36522:13;36555:3;36548:10;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36457:109;;;:::o;35161:17::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;34546:192::-;33719:6;;-1:-1:-1;;;;;33719:6:0;16125:10;33866:23;33858:68;;;;-1:-1:-1;;;33858:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;34635:22:0;::::1;34627:73;;;::::0;-1:-1:-1;;;34627:73:0;;6584:2:1;34627:73:0::1;::::0;::::1;6566:21:1::0;6623:2;6603:18;;;6596:30;6662:34;6642:18;;;6635:62;-1:-1:-1;;;6713:18:1;;;6706:36;6759:19;;34627:73:0::1;6382:402:1::0;34627:73:0::1;34711:19;34721:8;34711:9;:19::i;:::-;34546:192:::0;:::o;30430:174::-;30505:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;30505:29:0;-1:-1:-1;;;;;30505:29:0;;;;;;;;:24;;30559:23;30505:24;30559:14;:23::i;:::-;-1:-1:-1;;;;;30550:46:0;;;;;;;;;;;30430:174;;:::o;26742:348::-;26835:4;26537:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26537:16:0;26852:73;;;;-1:-1:-1;;;26852:73:0;;8107:2:1;26852:73:0;;;8089:21:1;8146:2;8126:18;;;8119:30;8185:34;8165:18;;;8158:62;-1:-1:-1;;;8236:18:1;;;8229:42;8288:19;;26852:73:0;7905:408:1;26852:73:0;26936:13;26952:23;26967:7;26952:14;:23::i;:::-;26936:39;;27005:5;-1:-1:-1;;;;;26994:16:0;:7;-1:-1:-1;;;;;26994:16:0;;:51;;;;27038:7;-1:-1:-1;;;;;27014:31:0;:20;27026:7;27014:11;:20::i;:::-;-1:-1:-1;;;;;27014:31:0;;26994:51;:87;;;-1:-1:-1;;;;;;23834:25:0;;;23810:4;23834:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;27049:32;26986:96;26742:348;-1:-1:-1;;;;26742:348:0:o;29734:578::-;29893:4;-1:-1:-1;;;;;29866:31:0;:23;29881:7;29866:14;:23::i;:::-;-1:-1:-1;;;;;29866:31:0;;29858:85;;;;-1:-1:-1;;;29858:85:0;;11257:2:1;29858:85:0;;;11239:21:1;11296:2;11276:18;;;11269:30;11335:34;11315:18;;;11308:62;-1:-1:-1;;;11386:18:1;;;11379:39;11435:19;;29858:85:0;11055:405:1;29858:85:0;-1:-1:-1;;;;;29962:16:0;;29954:65;;;;-1:-1:-1;;;29954:65:0;;7348:2:1;29954:65:0;;;7330:21:1;7387:2;7367:18;;;7360:30;7426:34;7406:18;;;7399:62;-1:-1:-1;;;7477:18:1;;;7470:34;7521:19;;29954:65:0;7146:400:1;29954:65:0;30136:29;30153:1;30157:7;30136:8;:29::i;:::-;-1:-1:-1;;;;;30178:15:0;;;;;;:9;:15;;;;;:20;;30197:1;;30178:15;:20;;30197:1;;30178:20;:::i;:::-;;;;-1:-1:-1;;;;;;;30209:13:0;;;;;;:9;:13;;;;;:18;;30226:1;;30209:13;:18;;30226:1;;30209:18;:::i;:::-;;;;-1:-1:-1;;30238:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30238:21:0;-1:-1:-1;;;;;30238:21:0;;;;;;;;;30277:27;;30238:16;;30277:27;;;;;;;29734:578;;;:::o;27432:110::-;27508:26;27518:2;27522:7;27508:26;;;;;;;;;;;;:9;:26::i;:::-;27432:110;;:::o;34746:173::-;34821:6;;;-1:-1:-1;;;;;34838:17:0;;;-1:-1:-1;;;;;;34838:17:0;;;;;;;34871:40;;34821:6;;;34838:17;34821:6;;34871:40;;34802:16;;34871:40;34791:128;34746:173;:::o;25820:315::-;25977:28;25987:4;25993:2;25997:7;25977:9;:28::i;:::-;26024:48;26047:4;26053:2;26057:7;26066:5;26024:22;:48::i;:::-;26016:111;;;;-1:-1:-1;;;26016:111:0;;;;;;;:::i;27769:321::-;27899:18;27905:2;27909:7;27899:5;:18::i;:::-;27950:54;27981:1;27985:2;27989:7;27998:5;27950:22;:54::i;:::-;27928:154;;;;-1:-1:-1;;;27928:154:0;;;;;;;:::i;31169:799::-;31324:4;-1:-1:-1;;;;;31345:13:0;;8435:20;8483:8;31341:620;;31381:72;;-1:-1:-1;;;31381:72:0;;-1:-1:-1;;;;;31381:36:0;;;;;:72;;16125:10;;31432:4;;31438:7;;31447:5;;31381:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31381:72:0;;;;;;;;-1:-1:-1;;31381:72:0;;;;;;;;;;;;:::i;:::-;;;31377:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31623:13:0;;31619:272;;31666:60;;-1:-1:-1;;;31666:60:0;;;;;;;:::i;31619:272::-;31841:6;31835:13;31826:6;31822:2;31818:15;31811:38;31377:529;-1:-1:-1;;;;;;31504:51:0;-1:-1:-1;;;31504:51:0;;-1:-1:-1;31497:58:0;;31341:620;-1:-1:-1;31945:4:0;31169:799;;;;;;:::o;28426:382::-;-1:-1:-1;;;;;28506:16:0;;28498:61;;;;-1:-1:-1;;;28498:61:0;;10122:2:1;28498:61:0;;;10104:21:1;;;10141:18;;;10134:30;10200:34;10180:18;;;10173:62;10252:18;;28498:61:0;9920:356:1;28498:61:0;26513:4;26537:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26537:16:0;:30;28570:58;;;;-1:-1:-1;;;28570:58:0;;6991:2:1;28570:58:0;;;6973:21:1;7030:2;7010:18;;;7003:30;7069;7049:18;;;7042:58;7117:18;;28570:58:0;6789:352:1;28570:58:0;-1:-1:-1;;;;;28699:13:0;;;;;;:9;:13;;;;;:18;;28716:1;;28699:13;:18;;28716:1;;28699:18;:::i;:::-;;;;-1:-1:-1;;28728:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;28728:21:0;-1:-1:-1;;;;;28728:21:0;;;;;;;;28767:33;;28728:16;;;28767:33;;28728:16;;28767:33;28426:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;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:72;;;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:45;;;532:1;529;522:12;491:45;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;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;:::-;969:39;828:186;-1:-1:-1;;;828:186:1:o;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:322::-;2976:6;2984;2992;3045:2;3033:9;3024:7;3020:23;3016:32;3013:52;;;3061:1;3058;3051:12;3013:52;3084:29;3103:9;3084:29;:::i;:::-;3074:39;3160:2;3145:18;;3132:32;;-1:-1:-1;3211:2:1;3196:18;;;3183:32;;2899:322;-1:-1:-1;;;2899:322:1:o;3226:245::-;3284:6;3337:2;3325:9;3316:7;3312:23;3308:32;3305:52;;;3353:1;3350;3343:12;3305:52;3392:9;3379:23;3411:30;3435:5;3411:30;:::i;3476:249::-;3545:6;3598:2;3586:9;3577:7;3573:23;3569:32;3566:52;;;3614:1;3611;3604:12;3566:52;3646:9;3640:16;3665:30;3689:5;3665:30;:::i;3730:450::-;3799:6;3852:2;3840:9;3831:7;3827:23;3823:32;3820:52;;;3868:1;3865;3858:12;3820:52;3908:9;3895:23;3941:18;3933:6;3930:30;3927:50;;;3973:1;3970;3963:12;3927:50;3996:22;;4049:4;4041:13;;4037:27;-1:-1:-1;4027:55:1;;4078:1;4075;4068:12;4027:55;4101:73;4166:7;4161:2;4148:16;4143:2;4139;4135:11;4101:73;:::i;4185:180::-;4244:6;4297:2;4285:9;4276:7;4272:23;4268:32;4265:52;;;4313:1;4310;4303:12;4265:52;-1:-1:-1;4336:23:1;;4185:180;-1:-1:-1;4185:180:1:o;4370:471::-;4411:3;4449:5;4443:12;4476:6;4471:3;4464:19;4501:1;4511:162;4525:6;4522:1;4519:13;4511:162;;;4587:4;4643:13;;;4639:22;;4633:29;4615:11;;;4611:20;;4604:59;4540:12;4511:162;;;4691:6;4688:1;4685:13;4682:87;;;4757:1;4750:4;4741:6;4736:3;4732:16;4728:27;4721:38;4682:87;-1:-1:-1;4823:2:1;4802:15;-1:-1:-1;;4798:29:1;4789:39;;;;4830:4;4785:50;;4370:471;-1:-1:-1;;4370:471:1:o;5054:488::-;-1:-1:-1;;;;;5323:15:1;;;5305:34;;5375:15;;5370:2;5355:18;;5348:43;5422:2;5407:18;;5400:34;;;5470:3;5465:2;5450:18;;5443:31;;;5248:4;;5491:45;;5516:19;;5508:6;5491:45;:::i;:::-;5483:53;5054:488;-1:-1:-1;;;;;;5054:488:1:o;5739:219::-;5888:2;5877:9;5870:21;5851:4;5908:44;5948:2;5937:9;5933:18;5925:6;5908:44;:::i;5963:414::-;6165:2;6147:21;;;6204:2;6184:18;;;6177:30;6243:34;6238:2;6223:18;;6216:62;-1:-1:-1;;;6309:2:1;6294:18;;6287:48;6367:3;6352:19;;5963:414::o;10694:356::-;10896:2;10878:21;;;10915:18;;;10908:30;10974:34;10969:2;10954:18;;10947:62;11041:2;11026:18;;10694:356::o;11867:413::-;12069:2;12051:21;;;12108:2;12088:18;;;12081:30;12147:34;12142:2;12127:18;;12120:62;-1:-1:-1;;;12213:2:1;12198:18;;12191:47;12270:3;12255:19;;11867:413::o;12467:128::-;12507:3;12538:1;12534:6;12531:1;12528:13;12525:39;;;12544:18;;:::i;:::-;-1:-1:-1;12580:9:1;;12467:128::o;12600:125::-;12640:4;12668:1;12665;12662:8;12659:34;;;12673:18;;:::i;:::-;-1:-1:-1;12710:9:1;;12600:125::o;12730:380::-;12809:1;12805:12;;;;12852;;;12873:61;;12927:4;12919:6;12915:17;12905:27;;12873:61;12980:2;12972:6;12969:14;12949:18;12946:38;12943:161;;;13026:10;13021:3;13017:20;13014:1;13007:31;13061:4;13058:1;13051:15;13089:4;13086:1;13079:15;12943:161;;12730:380;;;:::o;13115:135::-;13154:3;-1:-1:-1;;13175:17:1;;13172:43;;;13195:18;;:::i;:::-;-1:-1:-1;13242:1:1;13231:13;;13115:135::o;13255:127::-;13316:10;13311:3;13307:20;13304:1;13297:31;13347:4;13344:1;13337:15;13371:4;13368:1;13361:15;13387:127;13448:10;13443:3;13439:20;13436:1;13429:31;13479:4;13476:1;13469:15;13503:4;13500:1;13493:15;13519:131;-1:-1:-1;;;;;;13593:32:1;;13583:43;;13573:71;;13640:1;13637;13630:12
Swarm Source
ipfs://8c8fea7d93bbc04731c5b01b024ce4c751ea2f1332f6f10350d879951b0745f4
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.