Contract Overview
Balance:
0 AVAX
AVAX Value:
$0.00
[ Download CSV Export ]
Contract Name:
RatTrap
Compiler Version
v0.8.11+commit.d7f03943
Contract Source Code (Solidity)
/** *Submitted for verification at snowtrace.io on 2022-02-24 */ // SPDX-License-Identifier: MIT // wAvaxApes by xrpant // File: @openzeppelin/contracts/utils/introspection/IERC165.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol 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; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol 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); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol 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; } } // File: @openzeppelin/contracts/utils/Strings.sol pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol 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); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/Context.sol pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol 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}. 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/token/ERC721/extensions/ERC721Enumerable.sol 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(); } } // File: @openzeppelin/contracts/access/Ownable.sol 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); } } interface IWRAP { function sendTrap(uint256 tokenID, address to) external; } contract RatTrap is ERC721Enumerable, Ownable { using Strings for uint256; IWRAP wrapperContract = IWRAP(0x8Ad2A1ED9350AcbD78a56C633fA30a4eA75FfD40); string public baseURI = "ipfs://QmatPfyF4fucFDL9J7ciiY9sdnu5y2HHHsTbEyjqK9D1nC"; address public wrapperAddr = 0x8Ad2A1ED9350AcbD78a56C633fA30a4eA75FfD40; event TrapMinted( uint256 indexed tokenId, address indexed caller ); constructor() ERC721("Rat Traps", "TRAP") { } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function mint(address _to) external { require(msg.sender == wrapperAddr, "Only the wrapper can call this function!"); uint256 _tokenID = totalSupply() + 1; _safeMint(_to, _tokenID); emit TrapMinted(_tokenID, _to); } function viewWrapperAddr() public view returns (address) { return wrapperAddr; } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(baseURI)) : ""; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setWrapper(address _wrapperAddr) public onlyOwner { wrapperAddr = _wrapperAddr; wrapperContract = IWRAP(wrapperAddr); } }
[{"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":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"TrapMinted","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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"internalType":"address","name":"_to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wrapperAddr","type":"address"}],"name":"setWrapper","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":"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":"viewWrapperAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wrapperAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
600b80546001600160a01b031916738ad2a1ed9350acbd78a56c633fa30a4ea75ffd4017905560e0604052603560808181529062001fb860a03980516200004f91600c9160209091019062000160565b50600d80546001600160a01b031916738ad2a1ed9350acbd78a56c633fa30a4ea75ffd401790553480156200008357600080fd5b50604080518082018252600981526852617420547261707360b81b6020808301918252835180850190945260048452630545241560e41b908401528151919291620000d19160009162000160565b508051620000e790600190602084019062000160565b50505062000104620000fe6200010a60201b60201c565b6200010e565b62000243565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016e9062000206565b90600052602060002090601f016020900481019282620001925760008555620001dd565b82601f10620001ad57805160ff1916838001178555620001dd565b82800160010185558215620001dd579182015b82811115620001dd578251825591602001919060010190620001c0565b50620001eb929150620001ef565b5090565b5b80821115620001eb5760008155600101620001f0565b600181811c908216806200021b57607f821691505b602082108114156200023d57634e487b7160e01b600052602260045260246000fd5b50919050565b611d6580620002536000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c80636a627842116100de578063a22cb46511610097578063c87b56dd11610071578063c87b56dd1461034d578063e823fb3614610360578063e985e9c514610373578063f2fde38b146103af57600080fd5b8063a22cb46514610314578063b88d4fde14610327578063c2167d931461033a57600080fd5b80636a627842146102c55780636c0360eb146102d857806370a08231146102e0578063715018a6146102f35780638da5cb5b146102fb57806395d89b411461030c57600080fd5b80632f745c591161014b5780634f6ccce7116101255780634f6ccce71461027b57806355f804b31461028e57806356d62a56146102a15780636352211e146102b257600080fd5b80632f745c591461023557806342842e0e14610248578063438b63001461025b57600080fd5b806301ffc9a71461019357806306fdde03146101bb578063081812fc146101d0578063095ea7b3146101fb57806318160ddd1461021057806323b872dd14610222575b600080fd5b6101a66101a1366004611763565b6103c2565b60405190151581526020015b60405180910390f35b6101c36103ed565b6040516101b291906117cd565b6101e36101de3660046117e0565b61047f565b6040516001600160a01b0390911681526020016101b2565b61020e610209366004611815565b610519565b005b6008545b6040519081526020016101b2565b61020e61023036600461183f565b61062f565b610214610243366004611815565b610660565b61020e61025636600461183f565b6106f6565b61026e61026936600461187b565b610711565b6040516101b29190611896565b6102146102893660046117e0565b6107b3565b61020e61029c366004611966565b610846565b600d546001600160a01b03166101e3565b6101e36102c03660046117e0565b610887565b61020e6102d336600461187b565b6108fe565b6101c36109c5565b6102146102ee36600461187b565b610a53565b61020e610ada565b600a546001600160a01b03166101e3565b6101c3610b10565b61020e6103223660046119af565b610b1f565b61020e6103353660046119eb565b610be4565b61020e61034836600461187b565b610c1c565b6101c361035b3660046117e0565b610c72565b600d546101e3906001600160a01b031681565b6101a6610381366004611a67565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61020e6103bd36600461187b565b610d44565b60006001600160e01b0319821663780e9d6360e01b14806103e757506103e782610ddf565b92915050565b6060600080546103fc90611a9a565b80601f016020809104026020016040519081016040528092919081815260200182805461042890611a9a565b80156104755780601f1061044a57610100808354040283529160200191610475565b820191906000526020600020905b81548152906001019060200180831161045857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166104fd5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061052482610887565b9050806001600160a01b0316836001600160a01b031614156105925760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016104f4565b336001600160a01b03821614806105ae57506105ae8133610381565b6106205760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016104f4565b61062a8383610e2f565b505050565b6106393382610e9d565b6106555760405162461bcd60e51b81526004016104f490611ad5565b61062a838383610f94565b600061066b83610a53565b82106106cd5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016104f4565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61062a83838360405180602001604052806000815250610be4565b6060600061071e83610a53565b905060008167ffffffffffffffff81111561073b5761073b6118da565b604051908082528060200260200182016040528015610764578160200160208202803683370190505b50905060005b828110156107ab5761077c8582610660565b82828151811061078e5761078e611b26565b6020908102919091010152806107a381611b52565b91505061076a565b509392505050565b60006107be60085490565b82106108215760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016104f4565b6008828154811061083457610834611b26565b90600052602060002001549050919050565b600a546001600160a01b031633146108705760405162461bcd60e51b81526004016104f490611b6d565b805161088390600c9060208401906116b4565b5050565b6000818152600260205260408120546001600160a01b0316806103e75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016104f4565b600d546001600160a01b031633146109695760405162461bcd60e51b815260206004820152602860248201527f4f6e6c792074686520777261707065722063616e2063616c6c20746869732066604482015267756e6374696f6e2160c01b60648201526084016104f4565b600061097460085490565b61097f906001611ba2565b905061098b828261113f565b6040516001600160a01b0383169082907f953db0325d236ad1a270f679c8564dc72a866b3aca3877472df843f5dc29b73f90600090a35050565b600c80546109d290611a9a565b80601f01602080910402602001604051908101604052809291908181526020018280546109fe90611a9a565b8015610a4b5780601f10610a2057610100808354040283529160200191610a4b565b820191906000526020600020905b815481529060010190602001808311610a2e57829003601f168201915b505050505081565b60006001600160a01b038216610abe5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016104f4565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610b045760405162461bcd60e51b81526004016104f490611b6d565b610b0e6000611159565b565b6060600180546103fc90611a9a565b6001600160a01b038216331415610b785760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104f4565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610bee3383610e9d565b610c0a5760405162461bcd60e51b81526004016104f490611ad5565b610c16848484846111ab565b50505050565b600a546001600160a01b03163314610c465760405162461bcd60e51b81526004016104f490611b6d565b600d80546001600160a01b039092166001600160a01b03199283168117909155600b8054909216179055565b6000818152600260205260409020546060906001600160a01b0316610cf15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016104f4565b6000610cfb6111de565b90506000815111610d1b5760405180602001604052806000815250610d3d565b600c604051602001610d2d9190611bba565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314610d6e5760405162461bcd60e51b81526004016104f490611b6d565b6001600160a01b038116610dd35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104f4565b610ddc81611159565b50565b60006001600160e01b031982166380ac58cd60e01b1480610e1057506001600160e01b03198216635b5e139f60e01b145b806103e757506301ffc9a760e01b6001600160e01b03198316146103e7565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e6482610887565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610f165760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016104f4565b6000610f2183610887565b9050806001600160a01b0316846001600160a01b03161480610f5c5750836001600160a01b0316610f518461047f565b6001600160a01b0316145b80610f8c57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610fa782610887565b6001600160a01b03161461100f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016104f4565b6001600160a01b0382166110715760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104f4565b61107c8383836111ed565b611087600082610e2f565b6001600160a01b03831660009081526003602052604081208054600192906110b0908490611c56565b90915550506001600160a01b03821660009081526003602052604081208054600192906110de908490611ba2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6108838282604051806020016040528060008152506112a5565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6111b6848484610f94565b6111c2848484846112d8565b610c165760405162461bcd60e51b81526004016104f490611c6d565b6060600c80546103fc90611a9a565b6001600160a01b0383166112485761124381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61126b565b816001600160a01b0316836001600160a01b03161461126b5761126b83826113d6565b6001600160a01b0382166112825761062a81611473565b826001600160a01b0316826001600160a01b03161461062a5761062a8282611522565b6112af8383611566565b6112bc60008484846112d8565b61062a5760405162461bcd60e51b81526004016104f490611c6d565b60006001600160a01b0384163b156113cb57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061131c903390899088908890600401611cbf565b6020604051808303816000875af1925050508015611357575060408051601f3d908101601f1916820190925261135491810190611cfc565b60015b6113b1573d808015611385576040519150601f19603f3d011682016040523d82523d6000602084013e61138a565b606091505b5080516113a95760405162461bcd60e51b81526004016104f490611c6d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f8c565b506001949350505050565b600060016113e384610a53565b6113ed9190611c56565b600083815260076020526040902054909150808214611440576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061148590600190611c56565b600083815260096020526040812054600880549394509092849081106114ad576114ad611b26565b9060005260206000200154905080600883815481106114ce576114ce611b26565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061150657611506611d19565b6001900381819060005260206000200160009055905550505050565b600061152d83610a53565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166115bc5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104f4565b6000818152600260205260409020546001600160a01b0316156116215760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104f4565b61162d600083836111ed565b6001600160a01b0382166000908152600360205260408120805460019290611656908490611ba2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546116c090611a9a565b90600052602060002090601f0160209004810192826116e25760008555611728565b82601f106116fb57805160ff1916838001178555611728565b82800160010185558215611728579182015b8281111561172857825182559160200191906001019061170d565b50611734929150611738565b5090565b5b808211156117345760008155600101611739565b6001600160e01b031981168114610ddc57600080fd5b60006020828403121561177557600080fd5b8135610d3d8161174d565b6000815180845260005b818110156117a65760208185018101518683018201520161178a565b818111156117b8576000602083870101525b50601f01601f19169290920160200192915050565b602081526000610d3d6020830184611780565b6000602082840312156117f257600080fd5b5035919050565b80356001600160a01b038116811461181057600080fd5b919050565b6000806040838503121561182857600080fd5b611831836117f9565b946020939093013593505050565b60008060006060848603121561185457600080fd5b61185d846117f9565b925061186b602085016117f9565b9150604084013590509250925092565b60006020828403121561188d57600080fd5b610d3d826117f9565b6020808252825182820181905260009190848201906040850190845b818110156118ce578351835292840192918401916001016118b2565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561190b5761190b6118da565b604051601f8501601f19908116603f01168101908282118183101715611933576119336118da565b8160405280935085815286868601111561194c57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561197857600080fd5b813567ffffffffffffffff81111561198f57600080fd5b8201601f810184136119a057600080fd5b610f8c848235602084016118f0565b600080604083850312156119c257600080fd5b6119cb836117f9565b9150602083013580151581146119e057600080fd5b809150509250929050565b60008060008060808587031215611a0157600080fd5b611a0a856117f9565b9350611a18602086016117f9565b925060408501359150606085013567ffffffffffffffff811115611a3b57600080fd5b8501601f81018713611a4c57600080fd5b611a5b878235602084016118f0565b91505092959194509250565b60008060408385031215611a7a57600080fd5b611a83836117f9565b9150611a91602084016117f9565b90509250929050565b600181811c90821680611aae57607f821691505b60208210811415611acf57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415611b6657611b66611b3c565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611bb557611bb5611b3c565b500190565b600080835481600182811c915080831680611bd657607f831692505b6020808410821415611bf657634e487b7160e01b86526022600452602486fd5b818015611c0a5760018114611c1b57611c48565b60ff19861689528489019650611c48565b60008a81526020902060005b86811015611c405781548b820152908501908301611c27565b505084890196505b509498975050505050505050565b600082821015611c6857611c68611b3c565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611cf290830184611780565b9695505050505050565b600060208284031215611d0e57600080fd5b8151610d3d8161174d565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220004cec0924f4bb4a7622886f13b8f6ee389a988bae1ba25df223852580677f1864736f6c634300080b0033697066733a2f2f516d6174506679463466756346444c394a37636969593973646e7535793248484873546245796a714b3944316e43
Deployed ByteCode Sourcemap
43187:1917:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34686:224;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;34686:224:0;;;;;;;;22578:100;;;:::i;:::-;;;;;;;:::i;24137:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1643:32:1;;;1625:51;;1613:2;1598:18;24137:221:0;1479:203:1;23660:411:0;;;;;;:::i;:::-;;:::i;:::-;;35326:113;35414:10;:17;35326:113;;;2270:25:1;;;2258:2;2243:18;35326:113:0;2124:177:1;25027:339:0;;;;;;:::i;:::-;;:::i;34994:256::-;;;;;;:::i;:::-;;:::i;25437:185::-;;;;;;:::i;:::-;;:::i;44109:348::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;35516:233::-;;;;;;:::i;:::-;;:::i;44850:98::-;;;;;;:::i;:::-;;:::i;44015:88::-;44086:11;;-1:-1:-1;;;;;44086:11:0;44015:88;;22272:239;;;;;;:::i;:::-;;:::i;43769:240::-;;;;;;:::i;:::-;;:::i;43348:79::-;;;:::i;22002:208::-;;;;;;:::i;:::-;;:::i;42475:94::-;;;:::i;41824:87::-;41897:6;;-1:-1:-1;;;;;41897:6:0;41824:87;;22747:104;;;:::i;24430:295::-;;;;;;:::i;:::-;;:::i;25693:328::-;;;;;;:::i;:::-;;:::i;44954:145::-;;;;;;:::i;:::-;;:::i;44463:381::-;;;;;;:::i;:::-;;:::i;43432:71::-;;;;;-1:-1:-1;;;;;43432:71:0;;;24796:164;;;;;;:::i;:::-;-1:-1:-1;;;;;24917:25:0;;;24893:4;24917:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;24796:164;42724:192;;;;;;:::i;:::-;;:::i;34686:224::-;34788:4;-1:-1:-1;;;;;;34812:50:0;;-1:-1:-1;;;34812:50:0;;:90;;;34866:36;34890:11;34866:23;:36::i;:::-;34805:97;34686:224;-1:-1:-1;;34686:224:0:o;22578:100::-;22632:13;22665:5;22658:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22578:100;:::o;24137:221::-;24213:7;27620:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27620:16:0;24233:73;;;;-1:-1:-1;;;24233:73:0;;6568:2:1;24233:73:0;;;6550:21:1;6607:2;6587:18;;;6580:30;6646:34;6626:18;;;6619:62;-1:-1:-1;;;6697:18:1;;;6690:42;6749:19;;24233:73:0;;;;;;;;;-1:-1:-1;24326:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;24326:24:0;;24137:221::o;23660:411::-;23741:13;23757:23;23772:7;23757:14;:23::i;:::-;23741:39;;23805:5;-1:-1:-1;;;;;23799:11:0;:2;-1:-1:-1;;;;;23799:11:0;;;23791:57;;;;-1:-1:-1;;;23791:57:0;;6981:2:1;23791:57:0;;;6963:21:1;7020:2;7000:18;;;6993:30;7059:34;7039:18;;;7032:62;-1:-1:-1;;;7110:18:1;;;7103:31;7151:19;;23791:57:0;6779:397:1;23791:57:0;20187:10;-1:-1:-1;;;;;23883:21:0;;;;:62;;-1:-1:-1;23908:37:0;23925:5;20187:10;24796:164;:::i;23908:37::-;23861:168;;;;-1:-1:-1;;;23861:168:0;;7383:2:1;23861:168:0;;;7365:21:1;7422:2;7402:18;;;7395:30;7461:34;7441:18;;;7434:62;7532:26;7512:18;;;7505:54;7576:19;;23861:168:0;7181:420:1;23861:168:0;24042:21;24051:2;24055:7;24042:8;:21::i;:::-;23730:341;23660:411;;:::o;25027:339::-;25222:41;20187:10;25255:7;25222:18;:41::i;:::-;25214:103;;;;-1:-1:-1;;;25214:103:0;;;;;;;:::i;:::-;25330:28;25340:4;25346:2;25350:7;25330:9;:28::i;34994:256::-;35091:7;35127:23;35144:5;35127:16;:23::i;:::-;35119:5;:31;35111:87;;;;-1:-1:-1;;;35111:87:0;;8226:2:1;35111:87:0;;;8208:21:1;8265:2;8245:18;;;8238:30;8304:34;8284:18;;;8277:62;-1:-1:-1;;;8355:18:1;;;8348:41;8406:19;;35111:87:0;8024:407:1;35111:87:0;-1:-1:-1;;;;;;35216:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;34994:256::o;25437:185::-;25575:39;25592:4;25598:2;25602:7;25575:39;;;;;;;;;;;;:16;:39::i;44109:348::-;44184:16;44212:23;44238:17;44248:6;44238:9;:17::i;:::-;44212:43;;44262:25;44304:15;44290:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44290:30:0;;44262:58;;44332:9;44327:103;44347:15;44343:1;:19;44327:103;;;44392:30;44412:6;44420:1;44392:19;:30::i;:::-;44378:8;44387:1;44378:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;44364:3;;;;:::i;:::-;;;;44327:103;;;-1:-1:-1;44443:8:0;44109:348;-1:-1:-1;;;44109:348:0:o;35516:233::-;35591:7;35627:30;35414:10;:17;;35326:113;35627:30;35619:5;:38;35611:95;;;;-1:-1:-1;;;35611:95:0;;9042:2:1;35611:95:0;;;9024:21:1;9081:2;9061:18;;;9054:30;9120:34;9100:18;;;9093:62;-1:-1:-1;;;9171:18:1;;;9164:42;9223:19;;35611:95:0;8840:408:1;35611:95:0;35724:10;35735:5;35724:17;;;;;;;;:::i;:::-;;;;;;;;;35717:24;;35516:233;;;:::o;44850:98::-;41897:6;;-1:-1:-1;;;;;41897:6:0;20187:10;42044:23;42036:68;;;;-1:-1:-1;;;42036:68:0;;;;;;;:::i;:::-;44921:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;44850:98:::0;:::o;22272:239::-;22344:7;22380:16;;;:7;:16;;;;;;-1:-1:-1;;;;;22380:16:0;22415:19;22407:73;;;;-1:-1:-1;;;22407:73:0;;9816:2:1;22407:73:0;;;9798:21:1;9855:2;9835:18;;;9828:30;9894:34;9874:18;;;9867:62;-1:-1:-1;;;9945:18:1;;;9938:39;9994:19;;22407:73:0;9614:405:1;43769:240:0;43834:11;;-1:-1:-1;;;;;43834:11:0;43820:10;:25;43812:78;;;;-1:-1:-1;;;43812:78:0;;10226:2:1;43812:78:0;;;10208:21:1;10265:2;10245:18;;;10238:30;10304:34;10284:18;;;10277:62;-1:-1:-1;;;10355:18:1;;;10348:38;10403:19;;43812:78:0;10024:404:1;43812:78:0;43897:16;43916:13;35414:10;:17;;35326:113;43916:13;:17;;43932:1;43916:17;:::i;:::-;43897:36;;43940:24;43950:3;43955:8;43940:9;:24::i;:::-;43978:25;;-1:-1:-1;;;;;43978:25:0;;;43989:8;;43978:25;;;;;43805:204;43769:240;:::o;43348:79::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22002:208::-;22074:7;-1:-1:-1;;;;;22102:19:0;;22094:74;;;;-1:-1:-1;;;22094:74:0;;10768:2:1;22094:74:0;;;10750:21:1;10807:2;10787:18;;;10780:30;10846:34;10826:18;;;10819:62;-1:-1:-1;;;10897:18:1;;;10890:40;10947:19;;22094:74:0;10566:406:1;22094:74:0;-1:-1:-1;;;;;;22186:16:0;;;;;:9;:16;;;;;;;22002:208::o;42475:94::-;41897:6;;-1:-1:-1;;;;;41897:6:0;20187:10;42044:23;42036:68;;;;-1:-1:-1;;;42036:68:0;;;;;;;:::i;:::-;42540:21:::1;42558:1;42540:9;:21::i;:::-;42475:94::o:0;22747:104::-;22803:13;22836:7;22829:14;;;;;:::i;24430:295::-;-1:-1:-1;;;;;24533:24:0;;20187:10;24533:24;;24525:62;;;;-1:-1:-1;;;24525:62:0;;11179:2:1;24525:62:0;;;11161:21:1;11218:2;11198:18;;;11191:30;11257:27;11237:18;;;11230:55;11302:18;;24525:62:0;10977:349:1;24525:62:0;20187:10;24600:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;24600:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;24600:53:0;;;;;;;;;;24669:48;;540:41:1;;;24600:42:0;;20187:10;24669:48;;513:18:1;24669:48:0;;;;;;;24430:295;;:::o;25693:328::-;25868:41;20187:10;25901:7;25868:18;:41::i;:::-;25860:103;;;;-1:-1:-1;;;25860:103:0;;;;;;;:::i;:::-;25974:39;25988:4;25994:2;25998:7;26007:5;25974:13;:39::i;:::-;25693:328;;;;:::o;44954:145::-;41897:6;;-1:-1:-1;;;;;41897:6:0;20187:10;42044:23;42036:68;;;;-1:-1:-1;;;42036:68:0;;;;;;;:::i;:::-;45022:11:::1;:26:::0;;-1:-1:-1;;;;;45022:26:0;;::::1;-1:-1:-1::0;;;;;;45022:26:0;;::::1;::::0;::::1;::::0;;;45057:15:::1;:36:::0;;;;::::1;;::::0;;44954:145::o;44463:381::-;27596:4;27620:16;;;:7;:16;;;;;;44561:13;;-1:-1:-1;;;;;27620:16:0;44586:97;;;;-1:-1:-1;;;44586:97:0;;11533:2:1;44586:97:0;;;11515:21:1;11572:2;11552:18;;;11545:30;11611:34;11591:18;;;11584:62;-1:-1:-1;;;11662:18:1;;;11655:45;11717:19;;44586:97:0;11331:411:1;44586:97:0;44692:28;44723:10;:8;:10::i;:::-;44692:41;;44778:1;44753:14;44747:28;:32;:91;;;;;;;;;;;;;;;;;44815:7;44798:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;44747:91;44740:98;44463:381;-1:-1:-1;;;44463:381:0:o;42724:192::-;41897:6;;-1:-1:-1;;;;;41897:6:0;20187:10;42044:23;42036:68;;;;-1:-1:-1;;;42036:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;42813:22:0;::::1;42805:73;;;::::0;-1:-1:-1;;;42805:73:0;;13179:2:1;42805:73:0::1;::::0;::::1;13161:21:1::0;13218:2;13198:18;;;13191:30;13257:34;13237:18;;;13230:62;-1:-1:-1;;;13308:18:1;;;13301:36;13354:19;;42805:73:0::1;12977:402:1::0;42805:73:0::1;42889:19;42899:8;42889:9;:19::i;:::-;42724:192:::0;:::o;21633:305::-;21735:4;-1:-1:-1;;;;;;21772:40:0;;-1:-1:-1;;;21772:40:0;;:105;;-1:-1:-1;;;;;;;21829:48:0;;-1:-1:-1;;;21829:48:0;21772:105;:158;;;-1:-1:-1;;;;;;;;;;7573:40:0;;;21894:36;7464:157;31513:174;31588:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;31588:29:0;-1:-1:-1;;;;;31588:29:0;;;;;;;;:24;;31642:23;31588:24;31642:14;:23::i;:::-;-1:-1:-1;;;;;31633:46:0;;;;;;;;;;;31513:174;;:::o;27825:348::-;27918:4;27620:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27620:16:0;27935:73;;;;-1:-1:-1;;;27935:73:0;;13586:2:1;27935:73:0;;;13568:21:1;13625:2;13605:18;;;13598:30;13664:34;13644:18;;;13637:62;-1:-1:-1;;;13715:18:1;;;13708:42;13767:19;;27935:73:0;13384:408:1;27935:73:0;28019:13;28035:23;28050:7;28035:14;:23::i;:::-;28019:39;;28088:5;-1:-1:-1;;;;;28077:16:0;:7;-1:-1:-1;;;;;28077:16:0;;:51;;;;28121:7;-1:-1:-1;;;;;28097:31:0;:20;28109:7;28097:11;:20::i;:::-;-1:-1:-1;;;;;28097:31:0;;28077:51;:87;;;-1:-1:-1;;;;;;24917:25:0;;;24893:4;24917:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;28132:32;28069:96;27825:348;-1:-1:-1;;;;27825:348:0:o;30817:578::-;30976:4;-1:-1:-1;;;;;30949:31:0;:23;30964:7;30949:14;:23::i;:::-;-1:-1:-1;;;;;30949:31:0;;30941:85;;;;-1:-1:-1;;;30941:85:0;;13999:2:1;30941:85:0;;;13981:21:1;14038:2;14018:18;;;14011:30;14077:34;14057:18;;;14050:62;-1:-1:-1;;;14128:18:1;;;14121:39;14177:19;;30941:85:0;13797:405:1;30941:85:0;-1:-1:-1;;;;;31045:16:0;;31037:65;;;;-1:-1:-1;;;31037:65:0;;14409:2:1;31037:65:0;;;14391:21:1;14448:2;14428:18;;;14421:30;14487:34;14467:18;;;14460:62;-1:-1:-1;;;14538:18:1;;;14531:34;14582:19;;31037:65:0;14207:400:1;31037:65:0;31115:39;31136:4;31142:2;31146:7;31115:20;:39::i;:::-;31219:29;31236:1;31240:7;31219:8;:29::i;:::-;-1:-1:-1;;;;;31261:15:0;;;;;;:9;:15;;;;;:20;;31280:1;;31261:15;:20;;31280:1;;31261:20;:::i;:::-;;;;-1:-1:-1;;;;;;;31292:13:0;;;;;;:9;:13;;;;;:18;;31309:1;;31292:13;:18;;31309:1;;31292:18;:::i;:::-;;;;-1:-1:-1;;31321:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31321:21:0;-1:-1:-1;;;;;31321:21:0;;;;;;;;;31360:27;;31321:16;;31360:27;;;;;;;30817:578;;;:::o;28515:110::-;28591:26;28601:2;28605:7;28591:26;;;;;;;;;;;;:9;:26::i;42924:173::-;42999:6;;;-1:-1:-1;;;;;43016:17:0;;;-1:-1:-1;;;;;;43016:17:0;;;;;;;43049:40;;42999:6;;;43016:17;42999:6;;43049:40;;42980:16;;43049:40;42969:128;42924:173;:::o;26903:315::-;27060:28;27070:4;27076:2;27080:7;27060:9;:28::i;:::-;27107:48;27130:4;27136:2;27140:7;27149:5;27107:22;:48::i;:::-;27099:111;;;;-1:-1:-1;;;27099:111:0;;;;;;;:::i;43661:102::-;43721:13;43750:7;43743:14;;;;;:::i;36362:589::-;-1:-1:-1;;;;;36568:18:0;;36564:187;;36603:40;36635:7;37778:10;:17;;37751:24;;;;:15;:24;;;;;:44;;;37806:24;;;;;;;;;;;;37674:164;36603:40;36564:187;;;36673:2;-1:-1:-1;;;;;36665:10:0;:4;-1:-1:-1;;;;;36665:10:0;;36661:90;;36692:47;36725:4;36731:7;36692:32;:47::i;:::-;-1:-1:-1;;;;;36765:16:0;;36761:183;;36798:45;36835:7;36798:36;:45::i;36761:183::-;36871:4;-1:-1:-1;;;;;36865:10:0;:2;-1:-1:-1;;;;;36865:10:0;;36861:83;;36892:40;36920:2;36924:7;36892:27;:40::i;28852:321::-;28982:18;28988:2;28992:7;28982:5;:18::i;:::-;29033:54;29064:1;29068:2;29072:7;29081:5;29033:22;:54::i;:::-;29011:154;;;;-1:-1:-1;;;29011:154:0;;;;;;;:::i;32252:799::-;32407:4;-1:-1:-1;;;;;32428:13:0;;10787:20;10835:8;32424:620;;32464:72;;-1:-1:-1;;;32464:72:0;;-1:-1:-1;;;;;32464:36:0;;;;;:72;;20187:10;;32515:4;;32521:7;;32530:5;;32464:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32464:72:0;;;;;;;;-1:-1:-1;;32464:72:0;;;;;;;;;;;;:::i;:::-;;;32460:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32706:13:0;;32702:272;;32749:60;;-1:-1:-1;;;32749:60:0;;;;;;;:::i;32702:272::-;32924:6;32918:13;32909:6;32905:2;32901:15;32894:38;32460:529;-1:-1:-1;;;;;;32587:51:0;-1:-1:-1;;;32587:51:0;;-1:-1:-1;32580:58:0;;32424:620;-1:-1:-1;33028:4:0;32252:799;;;;;;:::o;38465:988::-;38731:22;38781:1;38756:22;38773:4;38756:16;:22::i;:::-;:26;;;;:::i;:::-;38793:18;38814:26;;;:17;:26;;;;;;38731:51;;-1:-1:-1;38947:28:0;;;38943:328;;-1:-1:-1;;;;;39014:18:0;;38992:19;39014:18;;;:12;:18;;;;;;;;:34;;;;;;;;;39065:30;;;;;;:44;;;39182:30;;:17;:30;;;;;:43;;;38943:328;-1:-1:-1;39367:26:0;;;;:17;:26;;;;;;;;39360:33;;;-1:-1:-1;;;;;39411:18:0;;;;;:12;:18;;;;;:34;;;;;;;39404:41;38465:988::o;39748:1079::-;40026:10;:17;40001:22;;40026:21;;40046:1;;40026:21;:::i;:::-;40058:18;40079:24;;;:15;:24;;;;;;40452:10;:26;;40001:46;;-1:-1:-1;40079:24:0;;40001:46;;40452:26;;;;;;:::i;:::-;;;;;;;;;40430:48;;40516:11;40491:10;40502;40491:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;40596:28;;;:15;:28;;;;;;;:41;;;40768:24;;;;;40761:31;40803:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;39819:1008;;;39748:1079;:::o;37252:221::-;37337:14;37354:20;37371:2;37354:16;:20::i;:::-;-1:-1:-1;;;;;37385:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;37430:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;37252:221:0:o;29509:382::-;-1:-1:-1;;;;;29589:16:0;;29581:61;;;;-1:-1:-1;;;29581:61:0;;16243:2:1;29581:61:0;;;16225:21:1;;;16262:18;;;16255:30;16321:34;16301:18;;;16294:62;16373:18;;29581:61:0;16041:356:1;29581:61:0;27596:4;27620:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27620:16:0;:30;29653:58;;;;-1:-1:-1;;;29653:58:0;;16604:2:1;29653:58:0;;;16586:21:1;16643:2;16623:18;;;16616:30;16682;16662:18;;;16655:58;16730:18;;29653:58:0;16402:352:1;29653:58:0;29724:45;29753:1;29757:2;29761:7;29724:20;:45::i;:::-;-1:-1:-1;;;;;29782:13:0;;;;;;:9;:13;;;;;:18;;29799:1;;29782:13;:18;;29799:1;;29782:18;:::i;:::-;;;;-1:-1:-1;;29811:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29811:21:0;-1:-1:-1;;;;;29811:21:0;;;;;;;;29850:33;;29811:16;;;29850:33;;29811:16;;29850:33;29509:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:472::-;634:3;672:5;666:12;699:6;694:3;687:19;724:1;734:162;748:6;745:1;742:13;734:162;;;810:4;866:13;;;862:22;;856:29;838:11;;;834:20;;827:59;763:12;734:162;;;914:6;911:1;908:13;905:87;;;980:1;973:4;964:6;959:3;955:16;951:27;944:38;905:87;-1:-1:-1;1046:2:1;1025:15;-1:-1:-1;;1021:29:1;1012:39;;;;1053:4;1008:50;;592:472;-1:-1:-1;;592:472:1:o;1069:220::-;1218:2;1207:9;1200:21;1181:4;1238:45;1279:2;1268:9;1264:18;1256:6;1238:45;:::i;1294:180::-;1353:6;1406:2;1394:9;1385:7;1381:23;1377:32;1374:52;;;1422:1;1419;1412:12;1374:52;-1:-1:-1;1445:23:1;;1294:180;-1:-1:-1;1294:180:1:o;1687:173::-;1755:20;;-1:-1:-1;;;;;1804:31:1;;1794:42;;1784:70;;1850:1;1847;1840:12;1784:70;1687:173;;;:::o;1865:254::-;1933:6;1941;1994:2;1982:9;1973:7;1969:23;1965:32;1962:52;;;2010:1;2007;2000:12;1962:52;2033:29;2052:9;2033:29;:::i;:::-;2023:39;2109:2;2094:18;;;;2081:32;;-1:-1:-1;;;1865:254:1:o;2306:328::-;2383:6;2391;2399;2452:2;2440:9;2431:7;2427:23;2423:32;2420:52;;;2468:1;2465;2458:12;2420:52;2491:29;2510:9;2491:29;:::i;:::-;2481:39;;2539:38;2573:2;2562:9;2558:18;2539:38;:::i;:::-;2529:48;;2624:2;2613:9;2609:18;2596:32;2586:42;;2306:328;;;;;:::o;2639:186::-;2698:6;2751:2;2739:9;2730:7;2726:23;2722:32;2719:52;;;2767:1;2764;2757:12;2719:52;2790:29;2809:9;2790:29;:::i;2830:632::-;3001:2;3053:21;;;3123:13;;3026:18;;;3145:22;;;2972:4;;3001:2;3224:15;;;;3198:2;3183:18;;;2972:4;3267:169;3281:6;3278:1;3275:13;3267:169;;;3342:13;;3330:26;;3411:15;;;;3376:12;;;;3303:1;3296:9;3267:169;;;-1:-1:-1;3453:3:1;;2830:632;-1:-1:-1;;;;;;2830:632:1:o;3467:127::-;3528:10;3523:3;3519:20;3516:1;3509:31;3559:4;3556:1;3549:15;3583:4;3580:1;3573:15;3599:632;3664:5;3694:18;3735:2;3727:6;3724:14;3721:40;;;3741:18;;:::i;:::-;3816:2;3810:9;3784:2;3870:15;;-1:-1:-1;;3866:24:1;;;3892:2;3862:33;3858:42;3846:55;;;3916:18;;;3936:22;;;3913:46;3910:72;;;3962:18;;:::i;:::-;4002:10;3998:2;3991:22;4031:6;4022:15;;4061:6;4053;4046:22;4101:3;4092:6;4087:3;4083:16;4080:25;4077:45;;;4118:1;4115;4108:12;4077:45;4168:6;4163:3;4156:4;4148:6;4144:17;4131:44;4223:1;4216:4;4207:6;4199;4195:19;4191:30;4184:41;;;;3599:632;;;;;:::o;4236:451::-;4305:6;4358:2;4346:9;4337:7;4333:23;4329:32;4326:52;;;4374:1;4371;4364:12;4326:52;4414:9;4401:23;4447:18;4439:6;4436:30;4433:50;;;4479:1;4476;4469:12;4433:50;4502:22;;4555:4;4547:13;;4543:27;-1:-1:-1;4533:55:1;;4584:1;4581;4574:12;4533:55;4607:74;4673:7;4668:2;4655:16;4650:2;4646;4642:11;4607:74;:::i;4692:347::-;4757:6;4765;4818:2;4806:9;4797:7;4793:23;4789:32;4786:52;;;4834:1;4831;4824:12;4786:52;4857:29;4876:9;4857:29;:::i;:::-;4847:39;;4936:2;4925:9;4921:18;4908:32;4983:5;4976:13;4969:21;4962:5;4959:32;4949:60;;5005:1;5002;4995:12;4949:60;5028:5;5018:15;;;4692:347;;;;;:::o;5044:667::-;5139:6;5147;5155;5163;5216:3;5204:9;5195:7;5191:23;5187:33;5184:53;;;5233:1;5230;5223:12;5184:53;5256:29;5275:9;5256:29;:::i;:::-;5246:39;;5304:38;5338:2;5327:9;5323:18;5304:38;:::i;:::-;5294:48;;5389:2;5378:9;5374:18;5361:32;5351:42;;5444:2;5433:9;5429:18;5416:32;5471:18;5463:6;5460:30;5457:50;;;5503:1;5500;5493:12;5457:50;5526:22;;5579:4;5571:13;;5567:27;-1:-1:-1;5557:55:1;;5608:1;5605;5598:12;5557:55;5631:74;5697:7;5692:2;5679:16;5674:2;5670;5666:11;5631:74;:::i;:::-;5621:84;;;5044:667;;;;;;;:::o;5716:260::-;5784:6;5792;5845:2;5833:9;5824:7;5820:23;5816:32;5813:52;;;5861:1;5858;5851:12;5813:52;5884:29;5903:9;5884:29;:::i;:::-;5874:39;;5932:38;5966:2;5955:9;5951:18;5932:38;:::i;:::-;5922:48;;5716:260;;;;;:::o;5981:380::-;6060:1;6056:12;;;;6103;;;6124:61;;6178:4;6170:6;6166:17;6156:27;;6124:61;6231:2;6223:6;6220:14;6200:18;6197:38;6194:161;;;6277:10;6272:3;6268:20;6265:1;6258:31;6312:4;6309:1;6302:15;6340:4;6337:1;6330:15;6194:161;;5981:380;;;:::o;7606:413::-;7808:2;7790:21;;;7847:2;7827:18;;;7820:30;7886:34;7881:2;7866:18;;7859:62;-1:-1:-1;;;7952:2:1;7937:18;;7930:47;8009:3;7994:19;;7606:413::o;8436:127::-;8497:10;8492:3;8488:20;8485:1;8478:31;8528:4;8525:1;8518:15;8552:4;8549:1;8542:15;8568:127;8629:10;8624:3;8620:20;8617:1;8610:31;8660:4;8657:1;8650:15;8684:4;8681:1;8674:15;8700:135;8739:3;-1:-1:-1;;8760:17:1;;8757:43;;;8780:18;;:::i;:::-;-1:-1:-1;8827:1:1;8816:13;;8700:135::o;9253:356::-;9455:2;9437:21;;;9474:18;;;9467:30;9533:34;9528:2;9513:18;;9506:62;9600:2;9585:18;;9253:356::o;10433:128::-;10473:3;10504:1;10500:6;10497:1;10494:13;10491:39;;;10510:18;;:::i;:::-;-1:-1:-1;10546:9:1;;10433:128::o;11873:1099::-;12001:3;12030:1;12063:6;12057:13;12093:3;12115:1;12143:9;12139:2;12135:18;12125:28;;12203:2;12192:9;12188:18;12225;12215:61;;12269:4;12261:6;12257:17;12247:27;;12215:61;12295:2;12343;12335:6;12332:14;12312:18;12309:38;12306:165;;;-1:-1:-1;;;12370:33:1;;12426:4;12423:1;12416:15;12456:4;12377:3;12444:17;12306:165;12487:18;12514:104;;;;12632:1;12627:320;;;;12480:467;;12514:104;-1:-1:-1;;12547:24:1;;12535:37;;12592:16;;;;-1:-1:-1;12514:104:1;;12627:320;11820:1;11813:14;;;11857:4;11844:18;;12722:1;12736:165;12750:6;12747:1;12744:13;12736:165;;;12828:14;;12815:11;;;12808:35;12871:16;;;;12765:10;;12736:165;;;12740:3;;12930:6;12925:3;12921:16;12914:23;;12480:467;-1:-1:-1;12963:3:1;;11873:1099;-1:-1:-1;;;;;;;;11873:1099:1:o;14612:125::-;14652:4;14680:1;14677;14674:8;14671:34;;;14685:18;;:::i;:::-;-1:-1:-1;14722:9:1;;14612:125::o;14742:414::-;14944:2;14926:21;;;14983:2;14963:18;;;14956:30;15022:34;15017:2;15002:18;;14995:62;-1:-1:-1;;;15088:2:1;15073:18;;15066:48;15146:3;15131:19;;14742:414::o;15161:489::-;-1:-1:-1;;;;;15430:15:1;;;15412:34;;15482:15;;15477:2;15462:18;;15455:43;15529:2;15514:18;;15507:34;;;15577:3;15572:2;15557:18;;15550:31;;;15355:4;;15598:46;;15624:19;;15616:6;15598:46;:::i;:::-;15590:54;15161:489;-1:-1:-1;;;;;;15161:489:1:o;15655:249::-;15724:6;15777:2;15765:9;15756:7;15752:23;15748:32;15745:52;;;15793:1;15790;15783:12;15745:52;15825:9;15819:16;15844:30;15868:5;15844:30;:::i;15909:127::-;15970:10;15965:3;15961:20;15958:1;15951:31;16001:4;15998:1;15991:15;16025:4;16022:1;16015:15
Swarm Source
ipfs://004cec0924f4bb4a7622886f13b8f6ee389a988bae1ba25df223852580677f18
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.