Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 147 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 23829499 | 101 days ago | IN | 0 ETH | 0.00005015 | ||||
| Set Approval For... | 22771710 | 249 days ago | IN | 0 ETH | 0.00012493 | ||||
| Set Approval For... | 21523548 | 423 days ago | IN | 0 ETH | 0.0008778 | ||||
| Safe Transfer Fr... | 16640159 | 1107 days ago | IN | 0 ETH | 0.0048005 | ||||
| Set Approval For... | 16539198 | 1122 days ago | IN | 0 ETH | 0.00086298 | ||||
| Set Approval For... | 16322186 | 1152 days ago | IN | 0 ETH | 0.00082177 | ||||
| Set Approval For... | 16069088 | 1187 days ago | IN | 0 ETH | 0.00236139 | ||||
| Set Approval For... | 16002937 | 1196 days ago | IN | 0 ETH | 0.00060158 | ||||
| Set Approval For... | 15883635 | 1213 days ago | IN | 0 ETH | 0.00126529 | ||||
| Set Approval For... | 15820442 | 1222 days ago | IN | 0 ETH | 0.00065963 | ||||
| Set Approval For... | 15487224 | 1270 days ago | IN | 0 ETH | 0.00091389 | ||||
| Set Approval For... | 15246773 | 1308 days ago | IN | 0 ETH | 0.00044992 | ||||
| Set Approval For... | 15234779 | 1310 days ago | IN | 0 ETH | 0.00032034 | ||||
| Set Approval For... | 15234779 | 1310 days ago | IN | 0 ETH | 0.00058628 | ||||
| Set Approval For... | 15226649 | 1311 days ago | IN | 0 ETH | 0.00206061 | ||||
| Set Approval For... | 15159581 | 1321 days ago | IN | 0 ETH | 0.00069824 | ||||
| Migrate Bubble B... | 14734001 | 1392 days ago | IN | 0 ETH | 0.00631991 | ||||
| Set Approval For... | 14655644 | 1404 days ago | IN | 0 ETH | 0.00357757 | ||||
| Migrate Bubble B... | 14581889 | 1416 days ago | IN | 0 ETH | 0.00662474 | ||||
| Set Approval For... | 14556967 | 1419 days ago | IN | 0 ETH | 0.00136844 | ||||
| Set Approval For... | 14532958 | 1423 days ago | IN | 0 ETH | 0.00235704 | ||||
| Set Approval For... | 14427188 | 1440 days ago | IN | 0 ETH | 0.00125699 | ||||
| Set Approval For... | 14425191 | 1440 days ago | IN | 0 ETH | 0.00161025 | ||||
| Set Approval For... | 14421482 | 1441 days ago | IN | 0 ETH | 0.0007125 | ||||
| Migrate Bubble B... | 14419824 | 1441 days ago | IN | 0 ETH | 0.00253664 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers.
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
|||
|---|---|---|---|---|---|---|---|---|
| Balance Of | 22776568 | 248 days ago | 0 ETH | |||||
| Update Reward On... | 22776568 | 248 days ago | 0 ETH | |||||
| Transfer From | 22776568 | 248 days ago | 0 ETH | |||||
| Balance Of | 16640159 | 1107 days ago | 0 ETH | |||||
| Update Reward On... | 16640159 | 1107 days ago | 0 ETH | |||||
| Balance Of | 15513827 | 1265 days ago | 0 ETH | |||||
| Balance Of | 15513827 | 1265 days ago | 0 ETH | |||||
| Update Reward On... | 15513827 | 1265 days ago | 0 ETH | |||||
| Transfer From | 15513827 | 1265 days ago | 0 ETH | |||||
| Balance Of | 15487255 | 1270 days ago | 0 ETH | |||||
| Update Reward On... | 15487255 | 1270 days ago | 0 ETH | |||||
| Transfer From | 15487255 | 1270 days ago | 0 ETH | |||||
| Balance Of | 15234616 | 1310 days ago | 0 ETH | |||||
| Update Reward On... | 15234616 | 1310 days ago | 0 ETH | |||||
| Transfer From | 15234616 | 1310 days ago | 0 ETH | |||||
| Balance Of | 14909127 | 1363 days ago | 0 ETH | |||||
| Balance Of | 14833349 | 1376 days ago | 0 ETH | |||||
| Balance Of | 14788449 | 1383 days ago | 0 ETH | |||||
| Mint Migration R... | 14734001 | 1392 days ago | 0 ETH | |||||
| Update Reward | 14734001 | 1392 days ago | 0 ETH | |||||
| Safe Transfer Fr... | 14734001 | 1392 days ago | 0 ETH | |||||
| Balance Of | 14700092 | 1397 days ago | 0 ETH | |||||
| Update Reward On... | 14700092 | 1397 days ago | 0 ETH | |||||
| Transfer From | 14700092 | 1397 days ago | 0 ETH | |||||
| Balance Of | 14607211 | 1412 days ago | 0 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
BubbleBudzGenesis
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2021-11-06
*/
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol
// OpenZeppelin Contracts v4.3.2 (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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.3.2 (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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol
// OpenZeppelin Contracts v4.3.2 (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() {
_transferOwnership(_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 {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Address.sol
// OpenZeppelin Contracts v4.3.2 (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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/IERC721Receiver.sol
// OpenZeppelin Contracts v4.3.2 (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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/IERC165.sol
// OpenZeppelin Contracts v4.3.2 (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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/ERC165.sol
// OpenZeppelin Contracts v4.3.2 (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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/IERC721.sol
// OpenZeppelin Contracts v4.3.2 (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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/IERC721Enumerable.sol
// OpenZeppelin Contracts v4.3.2 (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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/IERC721Metadata.sol
// OpenZeppelin Contracts v4.3.2 (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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol
// OpenZeppelin Contracts v4.3.2 (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 {
_setApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: 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 Approve `operator` to operate on all of `owner` tokens
*
* Emits a {ApprovalForAll} event.
*/
function _setApprovalForAll(
address owner,
address operator,
bool approved
) internal virtual {
require(owner != operator, "ERC721: approve to caller");
_operatorApprovals[owner][operator] = approved;
emit ApprovalForAll(owner, operator, approved);
}
/**
* @dev 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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/ERC721Enumerable.sol
// OpenZeppelin Contracts v4.3.2 (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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/IERC1155.sol
// OpenZeppelin Contracts v4.3.2 (token/ERC1155/IERC1155.sol)
pragma solidity ^0.8.0;
/**
* @dev Required interface of an ERC1155 compliant contract, as defined in the
* https://eips.ethereum.org/EIPS/eip-1155[EIP].
*
* _Available since v3.1._
*/
interface IERC1155 is IERC165 {
/**
* @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
*/
event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);
/**
* @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
* transfers.
*/
event TransferBatch(
address indexed operator,
address indexed from,
address indexed to,
uint256[] ids,
uint256[] values
);
/**
* @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
* `approved`.
*/
event ApprovalForAll(address indexed account, address indexed operator, bool approved);
/**
* @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
*
* If an {URI} event was emitted for `id`, the standard
* https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
* returned by {IERC1155MetadataURI-uri}.
*/
event URI(string value, uint256 indexed id);
/**
* @dev Returns the amount of tokens of token type `id` owned by `account`.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function balanceOf(address account, uint256 id) external view returns (uint256);
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
*
* Requirements:
*
* - `accounts` and `ids` must have the same length.
*/
function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
external
view
returns (uint256[] memory);
/**
* @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
*
* Emits an {ApprovalForAll} event.
*
* Requirements:
*
* - `operator` cannot be the caller.
*/
function setApprovalForAll(address operator, bool approved) external;
/**
* @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address account, address operator) external view returns (bool);
/**
* @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
*
* Emits a {TransferSingle} event.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
* - `from` must have a balance of tokens of type `id` of at least `amount`.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
* acceptance magic value.
*/
function safeTransferFrom(
address from,
address to,
uint256 id,
uint256 amount,
bytes calldata data
) external;
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
*
* Emits a {TransferBatch} event.
*
* Requirements:
*
* - `ids` and `amounts` must have the same length.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
* acceptance magic value.
*/
function safeBatchTransferFrom(
address from,
address to,
uint256[] calldata ids,
uint256[] calldata amounts,
bytes calldata data
) external;
}
// File: bubblebudzgenesis.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface iBubblez {
function mintMigrationReward(address to_) external;
function updateReward(address address_) external;
function updateRewardOnTransfer(address from_, address to_) external;
function claimTokens(address claimer_) external;
function transferFrom(address from_, address to_, uint amount_) external;
function getStorageClaimableTokens(address address_) external view returns (uint);
function getPendingClaimableTokens(address address_) external view returns (uint);
function getTotalClaimableTokens(address address_) external view returns (uint);
}
contract BubbleBudzGenesis is ERC721Enumerable, Ownable {
/*
Written by: 0xInuarashi
Discord: 0xInuarashi#1234
Twitter: https://twitter.com/0xinuarashi
Bubble Budz Genesis Migration Contract
Features:
- Migration from OpenSea Storefront Contract [/]
- Minting of $BUBBLEZ ERC20 on Migration of NFT [/]
- Cyberkongz Style Transfer-Hook Token Yield (interfaced) [/]
- Claim Yield from ERC20 Token Contract (interfaced) [/]
*/
constructor() payable ERC721("Bubble Budz Genesis", "BubbleBudzGen") {}
////////////////////////// Variables /////////////////////////
// General NFT Variables
uint public maxTokens = 100;
// NFT Migration Variables
address public burnAddress = 0x000000000000000000000000000000000000dEaD;
address public openSeaStorefrontAddress = 0x495f947276749Ce646f68AC8c248420045cb7b5e;
IERC1155 public BubbleBudzOS = IERC1155(openSeaStorefrontAddress);
address public bubblezAddress; iBubblez public Bubblez;
function setBubblez(address address_) external onlyOwner {
bubblezAddress = address_;
Bubblez = iBubblez(address_);
}
// Migration Administration Variables
bool public migrationEnabled;
// Metadata Variables
string internal baseTokenURI;
string internal baseTokenURI_EXT;
// Events
event Migrated(address migrator_, uint newTokenId_, uint oldTokenId_);
// Modifiers
modifier onlySender {
require(msg.sender == tx.origin, "No smart contracts!");
_;
}
modifier migration {
require(migrationEnabled, "Migration is not yet enabled!");
_;
}
// Internal Functions
function bubbleBudsGenesisId(uint tokenId_) public pure returns (uint) {
uint _rawId = (tokenId_ & 0x0000000000000000000000000000000000000000ffffffffffffff0000000000) >> 40;
uint _fixedId = _rawId - 2;
return _fixedId;
}
function isValidBubbleBudzGenesis(uint tokenId_) public pure returns (bool) {
if (tokenId_ >> 96 != 0x00000000000000000000000078b21283e86160e943691134aa5f7961cd828630) { return false; } // check contract creator as bubble budz creator address
if (tokenId_ & 0x000000000000000000000000000000000000000000000000000000ffffffffff != 1) { return false; } // check that 5 last bytes is associated to the ID
if ( !(bubbleBudsGenesisId(tokenId_) >= 1 && bubbleBudsGenesisId(tokenId_) <= 100) ) { return false; } // check that id is only 1-100
return true;
}
////////////////////// Contract Administration /////////////////////////
function setMigration(bool bool_) external onlyOwner {
migrationEnabled = bool_;
}
function setTokenURI(string memory uri_, string memory ext_) external onlyOwner {
baseTokenURI = uri_;
baseTokenURI_EXT = ext_;
}
////////////////////// Migration //////////////////////////
function migrateBubbleBudzGenesis(uint tokenId_) external migration {
require(isValidBubbleBudzGenesis(tokenId_), "Invalid Bubble Budz Genesis!");
require(maxTokens > totalSupply(), "No more Bubble Budz Genesis left!");
uint _oldTokenId = tokenId_;
uint _newTokenId = bubbleBudsGenesisId(tokenId_);
BubbleBudzOS.safeTransferFrom(msg.sender, burnAddress, tokenId_, 1, "");
Bubblez.updateReward(msg.sender);
_mint(msg.sender, _newTokenId);
Bubblez.mintMigrationReward(msg.sender);
emit Migrated(msg.sender, _oldTokenId, _newTokenId);
}
////////////////////// Claiming ////////////////////////////
function getReward() external {
Bubblez.claimTokens(msg.sender);
}
////////////////////// Transfer Hooks /////////////////////////
function transferFrom(address from_, address to_, uint tokenId_) public override {
Bubblez.updateRewardOnTransfer(from_, to_);
ERC721.transferFrom(from_, to_, tokenId_);
}
function safeTransferFrom(address from_, address to_, uint tokenId_, bytes memory data_) public override {
Bubblez.updateRewardOnTransfer(from_, to_);
ERC721.safeTransferFrom(from_, to_, tokenId_, data_);
}
////////////////////// View Functions /////////////////////////
function tokenURI(uint tokenId_) public view override returns (string memory) {
require(_exists(tokenId_), "Query for non-existent token!");
return string(abi.encodePacked(baseTokenURI, Strings.toString(tokenId_), baseTokenURI_EXT));
}
function walletOfOwner(address address_) public view returns (uint[] memory) {
uint _balance = balanceOf(address_); // get balance of address
uint[] memory _tokenIds = new uint[](_balance); // initialize array
for (uint i = 0; i < _balance; i++) {
_tokenIds[i] = tokenOfOwnerByIndex(address_, i);
}
return _tokenIds;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"payable","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":false,"internalType":"address","name":"migrator_","type":"address"},{"indexed":false,"internalType":"uint256","name":"newTokenId_","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldTokenId_","type":"uint256"}],"name":"Migrated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BubbleBudzOS","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Bubblez","outputs":[{"internalType":"contract iBubblez","name":"","type":"address"}],"stateMutability":"view","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":"bubbleBudsGenesisId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"bubblezAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"isValidBubbleBudzGenesis","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"maxTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"migrateBubbleBudzGenesis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrationEnabled","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":"openSeaStorefrontAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address","name":"address_","type":"address"}],"name":"setBubblez","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setMigration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"},{"internalType":"string","name":"ext_","type":"string"}],"name":"setTokenURI","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":[{"internalType":"address","name":"address_","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"}]Contract Creation Code
6064600b55600c80546001600160a01b031990811661dead17909155600d8054821673495f947276749ce646f68ac8c248420045cb7b5e9081178255600e805490931617909155601360808181527f427562626c65204275647a2047656e657369730000000000000000000000000060a090815261010060405260c09384526c213ab1313632a13ab23d23b2b760991b60e052909291620000a39160009162000132565b508051620000b990600190602084019062000132565b505050620000d6620000d0620000dc60201b60201c565b620000e0565b62000215565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014090620001d8565b90600052602060002090601f016020900481019282620001645760008555620001af565b82601f106200017f57805160ff1916838001178555620001af565b82800160010185558215620001af579182015b82811115620001af57825182559160200191906001019062000192565b50620001bd929150620001c1565b5090565b5b80821115620001bd5760008155600101620001c2565b600181811c90821680620001ed57607f821691505b602082108114156200020f57634e487b7160e01b600052602260045260246000fd5b50919050565b61235580620002256000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80636352211e1161011a578063a22cb465116100ad578063d48ede991161007c578063d48ede991461044d578063d7ffed1414610460578063e831574214610473578063e985e9c51461047c578063f2fde38b146104b857600080fd5b8063a22cb46514610401578063b88d4fde14610414578063c0e6d41914610427578063c87b56dd1461043a57600080fd5b806373454a76116100e957806373454a76146103c25780637f1e250c146103d55780638da5cb5b146103e857806395d89b41146103f957600080fd5b80636352211e1461038157806370a082311461039457806370d5ae05146103a7578063715018a6146103ba57600080fd5b8063268b27e31161019d57806335b944bf1161016c57806335b944bf1461031f5780633d18b9121461033357806342842e0e1461033b578063438b63001461034e5780634f6ccce71461036e57600080fd5b8063268b27e3146102d357806326967ab9146102e65780632f745c59146102f957806330e32c131461030c57600080fd5b8063095ea7b3116101d9578063095ea7b31461028657806317edf3771461029b57806318160ddd146102ae57806323b872dd146102c057600080fd5b8063019dd41e1461020b57806301ffc9a71461023357806306fdde0314610246578063081812fc1461025b575b600080fd5b61021e610219366004611f44565b6104cb565b60405190151581526020015b60405180910390f35b61021e610241366004611ea6565b610541565b61024e61056c565b60405161022a91906120d7565b61026e610269366004611f44565b6105fe565b6040516001600160a01b03909116815260200161022a565b610299610294366004611e61565b610698565b005b6102996102a9366004611d31565b6107ae565b6008545b60405190815260200161022a565b6102996102ce366004611d7f565b610804565b600f5461026e906001600160a01b031681565b600d5461026e906001600160a01b031681565b6102b2610307366004611e61565b610876565b61029961031a366004611f44565b61090c565b60105461021e90600160a01b900460ff1681565b610299610bb3565b610299610349366004611d7f565b610c12565b61036161035c366004611d31565b610c2d565b60405161022a9190612093565b6102b261037c366004611f44565b610ccf565b61026e61038f366004611f44565b610d62565b6102b26103a2366004611d31565b610dd9565b600c5461026e906001600160a01b031681565b610299610e60565b60105461026e906001600160a01b031681565b6102996103e3366004611e8b565b610e96565b600a546001600160a01b031661026e565b61024e610ede565b61029961040f366004611e37565b610eed565b610299610422366004611dbb565b610efc565b600e5461026e906001600160a01b031681565b61024e610448366004611f44565b610f6f565b61029961045b366004611ee0565b61100b565b6102b261046e366004611f44565b61105c565b6102b2600b5481565b61021e61048a366004611d4c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102996104c6366004611d31565b611080565b6000606082901c7378b21283e86160e943691134aa5f7961cd828630146104f457506000919050565b8164ffffffffff1660011461050b57506000919050565b60016105168361105c565b1015801561052d5750606461052a8361105c565b11155b61053957506000919050565b506001919050565b60006001600160e01b0319821663780e9d6360e01b148061056657506105668261111b565b92915050565b60606000805461057b90612231565b80601f01602080910402602001604051908101604052809291908181526020018280546105a790612231565b80156105f45780601f106105c9576101008083540402835291602001916105f4565b820191906000526020600020905b8154815290600101906020018083116105d757829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661067c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106a382610d62565b9050806001600160a01b0316836001600160a01b031614156107115760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610673565b336001600160a01b038216148061072d575061072d813361048a565b61079f5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610673565b6107a9838361116b565b505050565b600a546001600160a01b031633146107d85760405162461bcd60e51b81526004016106739061213c565b600f80546001600160a01b039092166001600160a01b0319928316811790915560108054909216179055565b6010546040516378c6b79f60e01b81526001600160a01b0385811660048301528481166024830152909116906378c6b79f90604401600060405180830381600087803b15801561085357600080fd5b505af1158015610867573d6000803e3d6000fd5b505050506107a98383836111d9565b600061088183610dd9565b82106108e35760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610673565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b601054600160a01b900460ff166109655760405162461bcd60e51b815260206004820152601d60248201527f4d6967726174696f6e206973206e6f742079657420656e61626c6564210000006044820152606401610673565b61096e816104cb565b6109ba5760405162461bcd60e51b815260206004820152601c60248201527f496e76616c696420427562626c65204275647a2047656e6573697321000000006044820152606401610673565b600854600b5411610a175760405162461bcd60e51b815260206004820152602160248201527f4e6f206d6f726520427562626c65204275647a2047656e65736973206c6566746044820152602160f81b6064820152608401610673565b806000610a238261105c565b600e54600c54604051637921219560e11b81523360048201526001600160a01b039182166024820152604481018790526001606482015260a06084820152600060a4820152929350169063f242432a9060c401600060405180830381600087803b158015610a9057600080fd5b505af1158015610aa4573d6000803e3d6000fd5b505060105460405163632447c960e01b81523360048201526001600160a01b03909116925063632447c99150602401600060405180830381600087803b158015610aed57600080fd5b505af1158015610b01573d6000803e3d6000fd5b50505050610b0f338261120a565b6010546040516318cf972160e31b81523360048201526001600160a01b039091169063c67cb90890602401600060405180830381600087803b158015610b5457600080fd5b505af1158015610b68573d6000803e3d6000fd5b505060408051338152602081018690529081018490527fd083678824038160bef3975359ab29f19c3f0e9bcf9d7ead540a492d4d678b639250606001905060405180910390a1505050565b60105460405163df8de3e760e01b81523360048201526001600160a01b039091169063df8de3e790602401600060405180830381600087803b158015610bf857600080fd5b505af1158015610c0c573d6000803e3d6000fd5b50505050565b6107a983838360405180602001604052806000815250610efc565b60606000610c3a83610dd9565b905060008167ffffffffffffffff811115610c5757610c576122f3565b604051908082528060200260200182016040528015610c80578160200160208202803683370190505b50905060005b82811015610cc757610c988582610876565b828281518110610caa57610caa6122dd565b602090810291909101015280610cbf8161226c565b915050610c86565b509392505050565b6000610cda60085490565b8210610d3d5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610673565b60088281548110610d5057610d506122dd565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105665760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610673565b60006001600160a01b038216610e445760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610673565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610e8a5760405162461bcd60e51b81526004016106739061213c565b610e946000611358565b565b600a546001600160a01b03163314610ec05760405162461bcd60e51b81526004016106739061213c565b60108054911515600160a01b0260ff60a01b19909216919091179055565b60606001805461057b90612231565b610ef83383836113aa565b5050565b6010546040516378c6b79f60e01b81526001600160a01b0386811660048301528581166024830152909116906378c6b79f90604401600060405180830381600087803b158015610f4b57600080fd5b505af1158015610f5f573d6000803e3d6000fd5b50505050610c0c84848484611479565b6000818152600260205260409020546060906001600160a01b0316610fd65760405162461bcd60e51b815260206004820152601d60248201527f517565727920666f72206e6f6e2d6578697374656e7420746f6b656e210000006044820152606401610673565b6011610fe1836114ab565b6012604051602001610ff593929190612023565b6040516020818303038152906040529050919050565b600a546001600160a01b031633146110355760405162461bcd60e51b81526004016106739061213c565b8151611048906011906020850190611bcf565b5080516107a9906012906020840190611bcf565b600066ffffffffffffff602883901c16816110786002836121ee565b949350505050565b600a546001600160a01b031633146110aa5760405162461bcd60e51b81526004016106739061213c565b6001600160a01b03811661110f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610673565b61111881611358565b50565b60006001600160e01b031982166380ac58cd60e01b148061114c57506001600160e01b03198216635b5e139f60e01b145b8061056657506301ffc9a760e01b6001600160e01b0319831614610566565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111a082610d62565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6111e333826115a9565b6111ff5760405162461bcd60e51b815260040161067390612171565b6107a983838361169c565b6001600160a01b0382166112605760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610673565b6000818152600260205260409020546001600160a01b0316156112c55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610673565b6112d160008383611847565b6001600160a01b03821660009081526003602052604081208054600192906112fa9084906121c2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561140c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610673565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61148333836115a9565b61149f5760405162461bcd60e51b815260040161067390612171565b610c0c848484846118ff565b6060816114cf5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114f957806114e38161226c565b91506114f29050600a836121da565b91506114d3565b60008167ffffffffffffffff811115611514576115146122f3565b6040519080825280601f01601f19166020018201604052801561153e576020820181803683370190505b5090505b8415611078576115536001836121ee565b9150611560600a86612287565b61156b9060306121c2565b60f81b818381518110611580576115806122dd565b60200101906001600160f81b031916908160001a9053506115a2600a866121da565b9450611542565b6000818152600260205260408120546001600160a01b03166116225760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610673565b600061162d83610d62565b9050806001600160a01b0316846001600160a01b031614806116685750836001600160a01b031661165d846105fe565b6001600160a01b0316145b8061107857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16611078565b826001600160a01b03166116af82610d62565b6001600160a01b0316146117175760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610673565b6001600160a01b0382166117795760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610673565b611784838383611847565b61178f60008261116b565b6001600160a01b03831660009081526003602052604081208054600192906117b89084906121ee565b90915550506001600160a01b03821660009081526003602052604081208054600192906117e69084906121c2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0383166118a25761189d81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6118c5565b816001600160a01b0316836001600160a01b0316146118c5576118c58382611932565b6001600160a01b0382166118dc576107a9816119cf565b826001600160a01b0316826001600160a01b0316146107a9576107a98282611a7e565b61190a84848461169c565b61191684848484611ac2565b610c0c5760405162461bcd60e51b8152600401610673906120ea565b6000600161193f84610dd9565b61194991906121ee565b60008381526007602052604090205490915080821461199c576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906119e1906001906121ee565b60008381526009602052604081205460088054939450909284908110611a0957611a096122dd565b906000526020600020015490508060088381548110611a2a57611a2a6122dd565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611a6257611a626122c7565b6001900381819060005260206000200160009055905550505050565b6000611a8983610dd9565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b0384163b15611bc457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b06903390899088908890600401612056565b602060405180830381600087803b158015611b2057600080fd5b505af1925050508015611b50575060408051601f3d908101601f19168201909252611b4d91810190611ec3565b60015b611baa573d808015611b7e576040519150601f19603f3d011682016040523d82523d6000602084013e611b83565b606091505b508051611ba25760405162461bcd60e51b8152600401610673906120ea565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611078565b506001949350505050565b828054611bdb90612231565b90600052602060002090601f016020900481019282611bfd5760008555611c43565b82601f10611c1657805160ff1916838001178555611c43565b82800160010185558215611c43579182015b82811115611c43578251825591602001919060010190611c28565b50611c4f929150611c53565b5090565b5b80821115611c4f5760008155600101611c54565b600067ffffffffffffffff80841115611c8357611c836122f3565b604051601f8501601f19908116603f01168101908282118183101715611cab57611cab6122f3565b81604052809350858152868686011115611cc457600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611cf557600080fd5b919050565b80358015158114611cf557600080fd5b600082601f830112611d1b57600080fd5b611d2a83833560208501611c68565b9392505050565b600060208284031215611d4357600080fd5b611d2a82611cde565b60008060408385031215611d5f57600080fd5b611d6883611cde565b9150611d7660208401611cde565b90509250929050565b600080600060608486031215611d9457600080fd5b611d9d84611cde565b9250611dab60208501611cde565b9150604084013590509250925092565b60008060008060808587031215611dd157600080fd5b611dda85611cde565b9350611de860208601611cde565b925060408501359150606085013567ffffffffffffffff811115611e0b57600080fd5b8501601f81018713611e1c57600080fd5b611e2b87823560208401611c68565b91505092959194509250565b60008060408385031215611e4a57600080fd5b611e5383611cde565b9150611d7660208401611cfa565b60008060408385031215611e7457600080fd5b611e7d83611cde565b946020939093013593505050565b600060208284031215611e9d57600080fd5b611d2a82611cfa565b600060208284031215611eb857600080fd5b8135611d2a81612309565b600060208284031215611ed557600080fd5b8151611d2a81612309565b60008060408385031215611ef357600080fd5b823567ffffffffffffffff80821115611f0b57600080fd5b611f1786838701611d0a565b93506020850135915080821115611f2d57600080fd5b50611f3a85828601611d0a565b9150509250929050565b600060208284031215611f5657600080fd5b5035919050565b60008151808452611f75816020860160208601612205565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680611fa357607f831692505b6020808410821415611fc557634e487b7160e01b600052602260045260246000fd5b818015611fd95760018114611fea57612017565b60ff19861689528489019650612017565b60008881526020902060005b8681101561200f5781548b820152908501908301611ff6565b505084890196505b50505050505092915050565b600061202f8286611f89565b845161203f818360208901612205565b61204b81830186611f89565b979650505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061208990830184611f5d565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156120cb578351835292840192918401916001016120af565b50909695505050505050565b602081526000611d2a6020830184611f5d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156121d5576121d561229b565b500190565b6000826121e9576121e96122b1565b500490565b6000828210156122005761220061229b565b500390565b60005b83811015612220578181015183820152602001612208565b83811115610c0c5750506000910152565b600181811c9082168061224557607f821691505b6020821081141561226657634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156122805761228061229b565b5060010190565b600082612296576122966122b1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461111857600080fdfea2646970667358221220016098751f6d46e4b2b7139faa1b0f43e3c39a70b550f35c0a8bd08bc7077f2c64736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102065760003560e01c80636352211e1161011a578063a22cb465116100ad578063d48ede991161007c578063d48ede991461044d578063d7ffed1414610460578063e831574214610473578063e985e9c51461047c578063f2fde38b146104b857600080fd5b8063a22cb46514610401578063b88d4fde14610414578063c0e6d41914610427578063c87b56dd1461043a57600080fd5b806373454a76116100e957806373454a76146103c25780637f1e250c146103d55780638da5cb5b146103e857806395d89b41146103f957600080fd5b80636352211e1461038157806370a082311461039457806370d5ae05146103a7578063715018a6146103ba57600080fd5b8063268b27e31161019d57806335b944bf1161016c57806335b944bf1461031f5780633d18b9121461033357806342842e0e1461033b578063438b63001461034e5780634f6ccce71461036e57600080fd5b8063268b27e3146102d357806326967ab9146102e65780632f745c59146102f957806330e32c131461030c57600080fd5b8063095ea7b3116101d9578063095ea7b31461028657806317edf3771461029b57806318160ddd146102ae57806323b872dd146102c057600080fd5b8063019dd41e1461020b57806301ffc9a71461023357806306fdde0314610246578063081812fc1461025b575b600080fd5b61021e610219366004611f44565b6104cb565b60405190151581526020015b60405180910390f35b61021e610241366004611ea6565b610541565b61024e61056c565b60405161022a91906120d7565b61026e610269366004611f44565b6105fe565b6040516001600160a01b03909116815260200161022a565b610299610294366004611e61565b610698565b005b6102996102a9366004611d31565b6107ae565b6008545b60405190815260200161022a565b6102996102ce366004611d7f565b610804565b600f5461026e906001600160a01b031681565b600d5461026e906001600160a01b031681565b6102b2610307366004611e61565b610876565b61029961031a366004611f44565b61090c565b60105461021e90600160a01b900460ff1681565b610299610bb3565b610299610349366004611d7f565b610c12565b61036161035c366004611d31565b610c2d565b60405161022a9190612093565b6102b261037c366004611f44565b610ccf565b61026e61038f366004611f44565b610d62565b6102b26103a2366004611d31565b610dd9565b600c5461026e906001600160a01b031681565b610299610e60565b60105461026e906001600160a01b031681565b6102996103e3366004611e8b565b610e96565b600a546001600160a01b031661026e565b61024e610ede565b61029961040f366004611e37565b610eed565b610299610422366004611dbb565b610efc565b600e5461026e906001600160a01b031681565b61024e610448366004611f44565b610f6f565b61029961045b366004611ee0565b61100b565b6102b261046e366004611f44565b61105c565b6102b2600b5481565b61021e61048a366004611d4c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102996104c6366004611d31565b611080565b6000606082901c7378b21283e86160e943691134aa5f7961cd828630146104f457506000919050565b8164ffffffffff1660011461050b57506000919050565b60016105168361105c565b1015801561052d5750606461052a8361105c565b11155b61053957506000919050565b506001919050565b60006001600160e01b0319821663780e9d6360e01b148061056657506105668261111b565b92915050565b60606000805461057b90612231565b80601f01602080910402602001604051908101604052809291908181526020018280546105a790612231565b80156105f45780601f106105c9576101008083540402835291602001916105f4565b820191906000526020600020905b8154815290600101906020018083116105d757829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661067c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106a382610d62565b9050806001600160a01b0316836001600160a01b031614156107115760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610673565b336001600160a01b038216148061072d575061072d813361048a565b61079f5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610673565b6107a9838361116b565b505050565b600a546001600160a01b031633146107d85760405162461bcd60e51b81526004016106739061213c565b600f80546001600160a01b039092166001600160a01b0319928316811790915560108054909216179055565b6010546040516378c6b79f60e01b81526001600160a01b0385811660048301528481166024830152909116906378c6b79f90604401600060405180830381600087803b15801561085357600080fd5b505af1158015610867573d6000803e3d6000fd5b505050506107a98383836111d9565b600061088183610dd9565b82106108e35760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610673565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b601054600160a01b900460ff166109655760405162461bcd60e51b815260206004820152601d60248201527f4d6967726174696f6e206973206e6f742079657420656e61626c6564210000006044820152606401610673565b61096e816104cb565b6109ba5760405162461bcd60e51b815260206004820152601c60248201527f496e76616c696420427562626c65204275647a2047656e6573697321000000006044820152606401610673565b600854600b5411610a175760405162461bcd60e51b815260206004820152602160248201527f4e6f206d6f726520427562626c65204275647a2047656e65736973206c6566746044820152602160f81b6064820152608401610673565b806000610a238261105c565b600e54600c54604051637921219560e11b81523360048201526001600160a01b039182166024820152604481018790526001606482015260a06084820152600060a4820152929350169063f242432a9060c401600060405180830381600087803b158015610a9057600080fd5b505af1158015610aa4573d6000803e3d6000fd5b505060105460405163632447c960e01b81523360048201526001600160a01b03909116925063632447c99150602401600060405180830381600087803b158015610aed57600080fd5b505af1158015610b01573d6000803e3d6000fd5b50505050610b0f338261120a565b6010546040516318cf972160e31b81523360048201526001600160a01b039091169063c67cb90890602401600060405180830381600087803b158015610b5457600080fd5b505af1158015610b68573d6000803e3d6000fd5b505060408051338152602081018690529081018490527fd083678824038160bef3975359ab29f19c3f0e9bcf9d7ead540a492d4d678b639250606001905060405180910390a1505050565b60105460405163df8de3e760e01b81523360048201526001600160a01b039091169063df8de3e790602401600060405180830381600087803b158015610bf857600080fd5b505af1158015610c0c573d6000803e3d6000fd5b50505050565b6107a983838360405180602001604052806000815250610efc565b60606000610c3a83610dd9565b905060008167ffffffffffffffff811115610c5757610c576122f3565b604051908082528060200260200182016040528015610c80578160200160208202803683370190505b50905060005b82811015610cc757610c988582610876565b828281518110610caa57610caa6122dd565b602090810291909101015280610cbf8161226c565b915050610c86565b509392505050565b6000610cda60085490565b8210610d3d5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610673565b60088281548110610d5057610d506122dd565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105665760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610673565b60006001600160a01b038216610e445760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610673565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610e8a5760405162461bcd60e51b81526004016106739061213c565b610e946000611358565b565b600a546001600160a01b03163314610ec05760405162461bcd60e51b81526004016106739061213c565b60108054911515600160a01b0260ff60a01b19909216919091179055565b60606001805461057b90612231565b610ef83383836113aa565b5050565b6010546040516378c6b79f60e01b81526001600160a01b0386811660048301528581166024830152909116906378c6b79f90604401600060405180830381600087803b158015610f4b57600080fd5b505af1158015610f5f573d6000803e3d6000fd5b50505050610c0c84848484611479565b6000818152600260205260409020546060906001600160a01b0316610fd65760405162461bcd60e51b815260206004820152601d60248201527f517565727920666f72206e6f6e2d6578697374656e7420746f6b656e210000006044820152606401610673565b6011610fe1836114ab565b6012604051602001610ff593929190612023565b6040516020818303038152906040529050919050565b600a546001600160a01b031633146110355760405162461bcd60e51b81526004016106739061213c565b8151611048906011906020850190611bcf565b5080516107a9906012906020840190611bcf565b600066ffffffffffffff602883901c16816110786002836121ee565b949350505050565b600a546001600160a01b031633146110aa5760405162461bcd60e51b81526004016106739061213c565b6001600160a01b03811661110f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610673565b61111881611358565b50565b60006001600160e01b031982166380ac58cd60e01b148061114c57506001600160e01b03198216635b5e139f60e01b145b8061056657506301ffc9a760e01b6001600160e01b0319831614610566565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111a082610d62565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6111e333826115a9565b6111ff5760405162461bcd60e51b815260040161067390612171565b6107a983838361169c565b6001600160a01b0382166112605760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610673565b6000818152600260205260409020546001600160a01b0316156112c55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610673565b6112d160008383611847565b6001600160a01b03821660009081526003602052604081208054600192906112fa9084906121c2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561140c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610673565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61148333836115a9565b61149f5760405162461bcd60e51b815260040161067390612171565b610c0c848484846118ff565b6060816114cf5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114f957806114e38161226c565b91506114f29050600a836121da565b91506114d3565b60008167ffffffffffffffff811115611514576115146122f3565b6040519080825280601f01601f19166020018201604052801561153e576020820181803683370190505b5090505b8415611078576115536001836121ee565b9150611560600a86612287565b61156b9060306121c2565b60f81b818381518110611580576115806122dd565b60200101906001600160f81b031916908160001a9053506115a2600a866121da565b9450611542565b6000818152600260205260408120546001600160a01b03166116225760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610673565b600061162d83610d62565b9050806001600160a01b0316846001600160a01b031614806116685750836001600160a01b031661165d846105fe565b6001600160a01b0316145b8061107857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16611078565b826001600160a01b03166116af82610d62565b6001600160a01b0316146117175760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610673565b6001600160a01b0382166117795760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610673565b611784838383611847565b61178f60008261116b565b6001600160a01b03831660009081526003602052604081208054600192906117b89084906121ee565b90915550506001600160a01b03821660009081526003602052604081208054600192906117e69084906121c2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0383166118a25761189d81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6118c5565b816001600160a01b0316836001600160a01b0316146118c5576118c58382611932565b6001600160a01b0382166118dc576107a9816119cf565b826001600160a01b0316826001600160a01b0316146107a9576107a98282611a7e565b61190a84848461169c565b61191684848484611ac2565b610c0c5760405162461bcd60e51b8152600401610673906120ea565b6000600161193f84610dd9565b61194991906121ee565b60008381526007602052604090205490915080821461199c576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906119e1906001906121ee565b60008381526009602052604081205460088054939450909284908110611a0957611a096122dd565b906000526020600020015490508060088381548110611a2a57611a2a6122dd565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611a6257611a626122c7565b6001900381819060005260206000200160009055905550505050565b6000611a8983610dd9565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b0384163b15611bc457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b06903390899088908890600401612056565b602060405180830381600087803b158015611b2057600080fd5b505af1925050508015611b50575060408051601f3d908101601f19168201909252611b4d91810190611ec3565b60015b611baa573d808015611b7e576040519150601f19603f3d011682016040523d82523d6000602084013e611b83565b606091505b508051611ba25760405162461bcd60e51b8152600401610673906120ea565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611078565b506001949350505050565b828054611bdb90612231565b90600052602060002090601f016020900481019282611bfd5760008555611c43565b82601f10611c1657805160ff1916838001178555611c43565b82800160010185558215611c43579182015b82811115611c43578251825591602001919060010190611c28565b50611c4f929150611c53565b5090565b5b80821115611c4f5760008155600101611c54565b600067ffffffffffffffff80841115611c8357611c836122f3565b604051601f8501601f19908116603f01168101908282118183101715611cab57611cab6122f3565b81604052809350858152868686011115611cc457600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611cf557600080fd5b919050565b80358015158114611cf557600080fd5b600082601f830112611d1b57600080fd5b611d2a83833560208501611c68565b9392505050565b600060208284031215611d4357600080fd5b611d2a82611cde565b60008060408385031215611d5f57600080fd5b611d6883611cde565b9150611d7660208401611cde565b90509250929050565b600080600060608486031215611d9457600080fd5b611d9d84611cde565b9250611dab60208501611cde565b9150604084013590509250925092565b60008060008060808587031215611dd157600080fd5b611dda85611cde565b9350611de860208601611cde565b925060408501359150606085013567ffffffffffffffff811115611e0b57600080fd5b8501601f81018713611e1c57600080fd5b611e2b87823560208401611c68565b91505092959194509250565b60008060408385031215611e4a57600080fd5b611e5383611cde565b9150611d7660208401611cfa565b60008060408385031215611e7457600080fd5b611e7d83611cde565b946020939093013593505050565b600060208284031215611e9d57600080fd5b611d2a82611cfa565b600060208284031215611eb857600080fd5b8135611d2a81612309565b600060208284031215611ed557600080fd5b8151611d2a81612309565b60008060408385031215611ef357600080fd5b823567ffffffffffffffff80821115611f0b57600080fd5b611f1786838701611d0a565b93506020850135915080821115611f2d57600080fd5b50611f3a85828601611d0a565b9150509250929050565b600060208284031215611f5657600080fd5b5035919050565b60008151808452611f75816020860160208601612205565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680611fa357607f831692505b6020808410821415611fc557634e487b7160e01b600052602260045260246000fd5b818015611fd95760018114611fea57612017565b60ff19861689528489019650612017565b60008881526020902060005b8681101561200f5781548b820152908501908301611ff6565b505084890196505b50505050505092915050565b600061202f8286611f89565b845161203f818360208901612205565b61204b81830186611f89565b979650505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061208990830184611f5d565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156120cb578351835292840192918401916001016120af565b50909695505050505050565b602081526000611d2a6020830184611f5d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156121d5576121d561229b565b500190565b6000826121e9576121e96122b1565b500490565b6000828210156122005761220061229b565b500390565b60005b83811015612220578181015183820152602001612208565b83811115610c0c5750506000910152565b600181811c9082168061224557607f821691505b6020821081141561226657634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156122805761228061229b565b5060010190565b600082612296576122966122b1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461111857600080fdfea2646970667358221220016098751f6d46e4b2b7139faa1b0f43e3c39a70b550f35c0a8bd08bc7077f2c64736f6c63430008070033
Deployed Bytecode Sourcemap
49983:4999:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51978:578;;;;;;:::i;:::-;;:::i;:::-;;;9122:14:1;;9115:22;9097:41;;9085:2;9070:18;51978:578:0;;;;;;;;38902:224;;;;;;:::i;:::-;;:::i;26343:100::-;;;:::i;:::-;;;;;;;:::i;27902:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6484:32:1;;;6466:51;;6454:2;6439:18;27902:221:0;6320:203:1;27425:411:0;;;;;;:::i;:::-;;:::i;:::-;;51025:140;;;;;;:::i;:::-;;:::i;39542:113::-;39630:10;:17;39542:113;;;18235:25:1;;;18223:2;18208:18;39542:113:0;18089:177:1;53828:194:0;;;;;;:::i;:::-;;:::i;50964:29::-;;;;;-1:-1:-1;;;;;50964:29:0;;;50799:84;;;;;-1:-1:-1;;;;;50799:84:0;;;39210:256;;;;;;:::i;:::-;;:::i;52969:628::-;;;;;;:::i;:::-;;:::i;51216:28::-;;;;;-1:-1:-1;;;51216:28:0;;;;;;53671:80;;;:::i;29062:185::-;;;;;;:::i;:::-;;:::i;54598:381::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;39732:233::-;;;;;;:::i;:::-;;:::i;26037:239::-;;;;;;:::i;:::-;;:::i;25767:208::-;;;;;;:::i;:::-;;:::i;50721:71::-;;;;;-1:-1:-1;;;;;50721:71:0;;;4889:103;;;:::i;50995:23::-;;;;;-1:-1:-1;;;;;50995:23:0;;;52642:96;;;;;;:::i;:::-;;:::i;4238:87::-;4311:6;;-1:-1:-1;;;;;4311:6:0;4238:87;;26512:104;;;:::i;28195:155::-;;;;;;:::i;:::-;;:::i;54028:229::-;;;;;;:::i;:::-;;:::i;50890:65::-;;;;;-1:-1:-1;;;;;50890:65:0;;;54334:258;;;;;;:::i;:::-;;:::i;52744:152::-;;;;;;:::i;:::-;;:::i;51722:248::-;;;;;;:::i;:::-;;:::i;50653:27::-;;;;;;28421:164;;;;;;:::i;:::-;-1:-1:-1;;;;;28542:25:0;;;28518:4;28542:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;28421:164;5147:201;;;;;;:::i;:::-;;:::i;51978:578::-;52048:4;52081:2;52069:8;:14;;52087:66;52069:84;52065:107;;-1:-1:-1;52164:5:0;;51978:578;-1:-1:-1;51978:578:0:o;52065:107::-;52237:8;52248:66;52237:77;52318:1;52237:82;52233:106;;-1:-1:-1;52331:5:0;;51978:578;-1:-1:-1;51978:578:0:o;52233:106::-;52440:1;52407:29;52427:8;52407:19;:29::i;:::-;:34;;:74;;;;;52478:3;52445:29;52465:8;52445:19;:29::i;:::-;:36;;52407:74;52400:102;;-1:-1:-1;52494:5:0;;51978:578;-1:-1:-1;51978:578:0:o;52400:102::-;-1:-1:-1;52544:4:0;;51978:578;-1:-1:-1;51978:578:0:o;38902:224::-;39004:4;-1:-1:-1;;;;;;39028:50:0;;-1:-1:-1;;;39028:50:0;;:90;;;39082:36;39106:11;39082:23;:36::i;:::-;39021:97;38902:224;-1:-1:-1;;38902:224:0:o;26343:100::-;26397:13;26430:5;26423:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26343:100;:::o;27902:221::-;27978:7;31245:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31245:16:0;27998:73;;;;-1:-1:-1;;;27998:73:0;;15517:2:1;27998:73:0;;;15499:21:1;15556:2;15536:18;;;15529:30;15595:34;15575:18;;;15568:62;-1:-1:-1;;;15646:18:1;;;15639:42;15698:19;;27998:73:0;;;;;;;;;-1:-1:-1;28091:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;28091:24:0;;27902:221::o;27425:411::-;27506:13;27522:23;27537:7;27522:14;:23::i;:::-;27506:39;;27570:5;-1:-1:-1;;;;;27564:11:0;:2;-1:-1:-1;;;;;27564:11:0;;;27556:57;;;;-1:-1:-1;;;27556:57:0;;16701:2:1;27556:57:0;;;16683:21:1;16740:2;16720:18;;;16713:30;16779:34;16759:18;;;16752:62;-1:-1:-1;;;16830:18:1;;;16823:31;16871:19;;27556:57:0;16499:397:1;27556:57:0;2989:10;-1:-1:-1;;;;;27648:21:0;;;;:62;;-1:-1:-1;27673:37:0;27690:5;2989:10;28421:164;:::i;27673:37::-;27626:168;;;;-1:-1:-1;;;27626:168:0;;13552:2:1;27626:168:0;;;13534:21:1;13591:2;13571:18;;;13564:30;13630:34;13610:18;;;13603:62;13701:26;13681:18;;;13674:54;13745:19;;27626:168:0;13350:420:1;27626:168:0;27807:21;27816:2;27820:7;27807:8;:21::i;:::-;27495:341;27425:411;;:::o;51025:140::-;4311:6;;-1:-1:-1;;;;;4311:6:0;2989:10;4458:23;4450:68;;;;-1:-1:-1;;;4450:68:0;;;;;;;:::i;:::-;51093:14:::1;:25:::0;;-1:-1:-1;;;;;51093:25:0;;::::1;-1:-1:-1::0;;;;;;51093:25:0;;::::1;::::0;::::1;::::0;;;51129:7:::1;:28:::0;;;;::::1;;::::0;;51025:140::o;53828:194::-;53920:7;;:42;;-1:-1:-1;;;53920:42:0;;-1:-1:-1;;;;;6758:15:1;;;53920:42:0;;;6740:34:1;6810:15;;;6790:18;;;6783:43;53920:7:0;;;;:30;;6675:18:1;;53920:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53973:41;53993:5;54000:3;54005:8;53973:19;:41::i;39210:256::-;39307:7;39343:23;39360:5;39343:16;:23::i;:::-;39335:5;:31;39327:87;;;;-1:-1:-1;;;39327:87:0;;10427:2:1;39327:87:0;;;10409:21:1;10466:2;10446:18;;;10439:30;10505:34;10485:18;;;10478:62;-1:-1:-1;;;10556:18:1;;;10549:41;10607:19;;39327:87:0;10225:407:1;39327:87:0;-1:-1:-1;;;;;;39432:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;39210:256::o;52969:628::-;51617:16;;-1:-1:-1;;;51617:16:0;;;;51609:58;;;;-1:-1:-1;;;51609:58:0;;13194:2:1;51609:58:0;;;13176:21:1;13233:2;13213:18;;;13206:30;13272:31;13252:18;;;13245:59;13321:18;;51609:58:0;12992:353:1;51609:58:0;53056:34:::1;53081:8;53056:24;:34::i;:::-;53048:75;;;::::0;-1:-1:-1;;;53048:75:0;;17934:2:1;53048:75:0::1;::::0;::::1;17916:21:1::0;17973:2;17953:18;;;17946:30;18012;17992:18;;;17985:58;18060:18;;53048:75:0::1;17732:352:1::0;53048:75:0::1;39630:10:::0;:17;53142:9:::1;;:25;53134:71;;;::::0;-1:-1:-1;;;53134:71:0;;10025:2:1;53134:71:0::1;::::0;::::1;10007:21:1::0;10064:2;10044:18;;;10037:30;10103:34;10083:18;;;10076:62;-1:-1:-1;;;10154:18:1;;;10147:31;10195:19;;53134:71:0::1;9823:397:1::0;53134:71:0::1;53237:8:::0;53218:16:::1;53275:29;53237:8:::0;53275:19:::1;:29::i;:::-;53317:12;::::0;53359:11:::1;::::0;53317:71:::1;::::0;-1:-1:-1;;;53317:71:0;;53347:10:::1;53317:71;::::0;::::1;7671:34:1::0;-1:-1:-1;;;;;53359:11:0;;::::1;7721:18:1::0;;;7714:43;7773:18;;;7766:34;;;53317:12:0;7816:18:1;;;7809:34;7651:3;7859:19;;;7852:32;-1:-1:-1;7900:19:1;;;7893:30;53256:48:0;;-1:-1:-1;53317:12:0::1;::::0;:29:::1;::::0;7940:19:1;;53317:71:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;53401:7:0::1;::::0;:32:::1;::::0;-1:-1:-1;;;53401:32:0;;53422:10:::1;53401:32;::::0;::::1;6466:51:1::0;-1:-1:-1;;;;;53401:7:0;;::::1;::::0;-1:-1:-1;53401:20:0::1;::::0;-1:-1:-1;6439:18:1;;53401:32:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;53445:30;53451:10;53463:11;53445:5;:30::i;:::-;53486:7;::::0;:39:::1;::::0;-1:-1:-1;;;53486:39:0;;53514:10:::1;53486:39;::::0;::::1;6466:51:1::0;-1:-1:-1;;;;;53486:7:0;;::::1;::::0;:27:::1;::::0;6439:18:1;;53486:39:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;53543:46:0::1;::::0;;53552:10:::1;8172:51:1::0;;8254:2;8239:18;;8232:34;;;8282:18;;;8275:34;;;53543:46:0::1;::::0;-1:-1:-1;8160:2:1;8145:18;;-1:-1:-1;53543:46:0::1;;;;;;;53037:560;;52969:628:::0;:::o;53671:80::-;53712:7;;:31;;-1:-1:-1;;;53712:31:0;;53732:10;53712:31;;;6466:51:1;-1:-1:-1;;;;;53712:7:0;;;;:19;;6439:18:1;;53712:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53671:80::o;29062:185::-;29200:39;29217:4;29223:2;29227:7;29200:39;;;;;;;;;;;;:16;:39::i;54598:381::-;54660:13;54686;54702:19;54712:8;54702:9;:19::i;:::-;54686:35;;54758:23;54795:8;54784:20;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54784:20:0;;54758:46;;54840:6;54835:110;54856:8;54852:1;:12;54835:110;;;54901:32;54921:8;54931:1;54901:19;:32::i;:::-;54886:9;54896:1;54886:12;;;;;;;;:::i;:::-;;;;;;;;;;:47;54866:3;;;;:::i;:::-;;;;54835:110;;;-1:-1:-1;54962:9:0;54598:381;-1:-1:-1;;;54598:381:0:o;39732:233::-;39807:7;39843:30;39630:10;:17;;39542:113;39843:30;39835:5;:38;39827:95;;;;-1:-1:-1;;;39827:95:0;;17521:2:1;39827:95:0;;;17503:21:1;17560:2;17540:18;;;17533:30;17599:34;17579:18;;;17572:62;-1:-1:-1;;;17650:18:1;;;17643:42;17702:19;;39827:95:0;17319:408:1;39827:95:0;39940:10;39951:5;39940:17;;;;;;;;:::i;:::-;;;;;;;;;39933:24;;39732:233;;;:::o;26037:239::-;26109:7;26145:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26145:16:0;26180:19;26172:73;;;;-1:-1:-1;;;26172:73:0;;14388:2:1;26172:73:0;;;14370:21:1;14427:2;14407:18;;;14400:30;14466:34;14446:18;;;14439:62;-1:-1:-1;;;14517:18:1;;;14510:39;14566:19;;26172:73:0;14186:405:1;25767:208:0;25839:7;-1:-1:-1;;;;;25867:19:0;;25859:74;;;;-1:-1:-1;;;25859:74:0;;13977:2:1;25859:74:0;;;13959:21:1;14016:2;13996:18;;;13989:30;14055:34;14035:18;;;14028:62;-1:-1:-1;;;14106:18:1;;;14099:40;14156:19;;25859:74:0;13775:406:1;25859:74:0;-1:-1:-1;;;;;;25951:16:0;;;;;:9;:16;;;;;;;25767:208::o;4889:103::-;4311:6;;-1:-1:-1;;;;;4311:6:0;2989:10;4458:23;4450:68;;;;-1:-1:-1;;;4450:68:0;;;;;;;:::i;:::-;4954:30:::1;4981:1;4954:18;:30::i;:::-;4889:103::o:0;52642:96::-;4311:6;;-1:-1:-1;;;;;4311:6:0;2989:10;4458:23;4450:68;;;;-1:-1:-1;;;4450:68:0;;;;;;;:::i;:::-;52706:16:::1;:24:::0;;;::::1;;-1:-1:-1::0;;;52706:24:0::1;-1:-1:-1::0;;;;52706:24:0;;::::1;::::0;;;::::1;::::0;;52642:96::o;26512:104::-;26568:13;26601:7;26594:14;;;;;:::i;28195:155::-;28290:52;2989:10;28323:8;28333;28290:18;:52::i;:::-;28195:155;;:::o;54028:229::-;54144:7;;:42;;-1:-1:-1;;;54144:42:0;;-1:-1:-1;;;;;6758:15:1;;;54144:42:0;;;6740:34:1;6810:15;;;6790:18;;;6783:43;54144:7:0;;;;:30;;6675:18:1;;54144:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54197:52;54221:5;54228:3;54233:8;54243:5;54197:23;:52::i;54334:258::-;31221:4;31245:16;;;:7;:16;;;;;;54397:13;;-1:-1:-1;;;;;31245:16:0;54423:59;;;;-1:-1:-1;;;54423:59:0;;15159:2:1;54423:59:0;;;15141:21:1;15198:2;15178:18;;;15171:30;15237:31;15217:18;;;15210:59;15286:18;;54423:59:0;14957:353:1;54423:59:0;54524:12;54538:26;54555:8;54538:16;:26::i;:::-;54566:16;54507:76;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54493:91;;54334:258;;;:::o;52744:152::-;4311:6;;-1:-1:-1;;;;;4311:6:0;2989:10;4458:23;4450:68;;;;-1:-1:-1;;;4450:68:0;;;;;;;:::i;:::-;52835:19;;::::1;::::0;:12:::1;::::0;:19:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;52865:23:0;;::::1;::::0;:16:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;51722:248::-:0;51787:4;51817:85;51900:2;51817:85;;;;51787:4;51928:10;51937:1;51817:85;51928:10;:::i;:::-;51912:26;51722:248;-1:-1:-1;;;;51722:248:0:o;5147:201::-;4311:6;;-1:-1:-1;;;;;4311:6:0;2989:10;4458:23;4450:68;;;;-1:-1:-1;;;4450:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;5236:22:0;::::1;5228:73;;;::::0;-1:-1:-1;;;5228:73:0;;11258:2:1;5228:73:0::1;::::0;::::1;11240:21:1::0;11297:2;11277:18;;;11270:30;11336:34;11316:18;;;11309:62;-1:-1:-1;;;11387:18:1;;;11380:36;11433:19;;5228:73:0::1;11056:402:1::0;5228:73:0::1;5312:28;5331:8;5312:18;:28::i;:::-;5147:201:::0;:::o;25398:305::-;25500:4;-1:-1:-1;;;;;;25537:40:0;;-1:-1:-1;;;25537:40:0;;:105;;-1:-1:-1;;;;;;;25594:48:0;;-1:-1:-1;;;25594:48:0;25537:105;:158;;;-1:-1:-1;;;;;;;;;;16991:40:0;;;25659:36;16882:157;35138:174;35213:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;35213:29:0;-1:-1:-1;;;;;35213:29:0;;;;;;;;:24;;35267:23;35213:24;35267:14;:23::i;:::-;-1:-1:-1;;;;;35258:46:0;;;;;;;;;;;35138:174;;:::o;28652:339::-;28847:41;2989:10;28880:7;28847:18;:41::i;:::-;28839:103;;;;-1:-1:-1;;;28839:103:0;;;;;;;:::i;:::-;28955:28;28965:4;28971:2;28975:7;28955:9;:28::i;33134:382::-;-1:-1:-1;;;;;33214:16:0;;33206:61;;;;-1:-1:-1;;;33206:61:0;;14798:2:1;33206:61:0;;;14780:21:1;;;14817:18;;;14810:30;14876:34;14856:18;;;14849:62;14928:18;;33206:61:0;14596:356:1;33206:61:0;31221:4;31245:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31245:16:0;:30;33278:58;;;;-1:-1:-1;;;33278:58:0;;11665:2:1;33278:58:0;;;11647:21:1;11704:2;11684:18;;;11677:30;11743;11723:18;;;11716:58;11791:18;;33278:58:0;11463:352:1;33278:58:0;33349:45;33378:1;33382:2;33386:7;33349:20;:45::i;:::-;-1:-1:-1;;;;;33407:13:0;;;;;;:9;:13;;;;;:18;;33424:1;;33407:13;:18;;33424:1;;33407:18;:::i;:::-;;;;-1:-1:-1;;33436:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;33436:21:0;-1:-1:-1;;;;;33436:21:0;;;;;;;;33475:33;;33436:16;;;33475:33;;33436:16;;33475:33;33134:382;;:::o;5508:191::-;5601:6;;;-1:-1:-1;;;;;5618:17:0;;;-1:-1:-1;;;;;;5618:17:0;;;;;;;5651:40;;5601:6;;;5618:17;5601:6;;5651:40;;5582:16;;5651:40;5571:128;5508:191;:::o;35454:315::-;35609:8;-1:-1:-1;;;;;35600:17:0;:5;-1:-1:-1;;;;;35600:17:0;;;35592:55;;;;-1:-1:-1;;;35592:55:0;;12427:2:1;35592:55:0;;;12409:21:1;12466:2;12446:18;;;12439:30;12505:27;12485:18;;;12478:55;12550:18;;35592:55:0;12225:349:1;35592:55:0;-1:-1:-1;;;;;35658:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;35658:46:0;;;;;;;;;;35720:41;;9097::1;;;35720::0;;9070:18:1;35720:41:0;;;;;;;35454:315;;;:::o;29318:328::-;29493:41;2989:10;29526:7;29493:18;:41::i;:::-;29485:103;;;;-1:-1:-1;;;29485:103:0;;;;;;;:::i;:::-;29599:39;29613:4;29619:2;29623:7;29632:5;29599:13;:39::i;418:723::-;474:13;695:10;691:53;;-1:-1:-1;;722:10:0;;;;;;;;;;;;-1:-1:-1;;;722:10:0;;;;;418:723::o;691:53::-;769:5;754:12;810:78;817:9;;810:78;;843:8;;;;:::i;:::-;;-1:-1:-1;866:10:0;;-1:-1:-1;874:2:0;866:10;;:::i;:::-;;;810:78;;;898:19;930:6;920:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;920:17:0;;898:39;;948:154;955:10;;948:154;;982:11;992:1;982:11;;:::i;:::-;;-1:-1:-1;1051:10:0;1059:2;1051:5;:10;:::i;:::-;1038:24;;:2;:24;:::i;:::-;1025:39;;1008:6;1015;1008:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1008:56:0;;;;;;;;-1:-1:-1;1079:11:0;1088:2;1079:11;;:::i;:::-;;;948:154;;31450:348;31543:4;31245:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31245:16:0;31560:73;;;;-1:-1:-1;;;31560:73:0;;12781:2:1;31560:73:0;;;12763:21:1;12820:2;12800:18;;;12793:30;12859:34;12839:18;;;12832:62;-1:-1:-1;;;12910:18:1;;;12903:42;12962:19;;31560:73:0;12579:408:1;31560:73:0;31644:13;31660:23;31675:7;31660:14;:23::i;:::-;31644:39;;31713:5;-1:-1:-1;;;;;31702:16:0;:7;-1:-1:-1;;;;;31702:16:0;;:51;;;;31746:7;-1:-1:-1;;;;;31722:31:0;:20;31734:7;31722:11;:20::i;:::-;-1:-1:-1;;;;;31722:31:0;;31702:51;:87;;;-1:-1:-1;;;;;;28542:25:0;;;28518:4;28542:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;31757:32;28421:164;34442:578;34601:4;-1:-1:-1;;;;;34574:31:0;:23;34589:7;34574:14;:23::i;:::-;-1:-1:-1;;;;;34574:31:0;;34566:85;;;;-1:-1:-1;;;34566:85:0;;16291:2:1;34566:85:0;;;16273:21:1;16330:2;16310:18;;;16303:30;16369:34;16349:18;;;16342:62;-1:-1:-1;;;16420:18:1;;;16413:39;16469:19;;34566:85:0;16089:405:1;34566:85:0;-1:-1:-1;;;;;34670:16:0;;34662:65;;;;-1:-1:-1;;;34662:65:0;;12022:2:1;34662:65:0;;;12004:21:1;12061:2;12041:18;;;12034:30;12100:34;12080:18;;;12073:62;-1:-1:-1;;;12151:18:1;;;12144:34;12195:19;;34662:65:0;11820:400:1;34662:65:0;34740:39;34761:4;34767:2;34771:7;34740:20;:39::i;:::-;34844:29;34861:1;34865:7;34844:8;:29::i;:::-;-1:-1:-1;;;;;34886:15:0;;;;;;:9;:15;;;;;:20;;34905:1;;34886:15;:20;;34905:1;;34886:20;:::i;:::-;;;;-1:-1:-1;;;;;;;34917:13:0;;;;;;:9;:13;;;;;:18;;34934:1;;34917:13;:18;;34934:1;;34917:18;:::i;:::-;;;;-1:-1:-1;;34946:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;34946:21:0;-1:-1:-1;;;;;34946:21:0;;;;;;;;;34985:27;;34946:16;;34985:27;;;;;;;34442:578;;;:::o;40578:589::-;-1:-1:-1;;;;;40784:18:0;;40780:187;;40819:40;40851:7;41994:10;:17;;41967:24;;;;:15;:24;;;;;:44;;;42022:24;;;;;;;;;;;;41890:164;40819:40;40780:187;;;40889:2;-1:-1:-1;;;;;40881:10:0;:4;-1:-1:-1;;;;;40881:10:0;;40877:90;;40908:47;40941:4;40947:7;40908:32;:47::i;:::-;-1:-1:-1;;;;;40981:16:0;;40977:183;;41014:45;41051:7;41014:36;:45::i;40977:183::-;41087:4;-1:-1:-1;;;;;41081:10:0;:2;-1:-1:-1;;;;;41081:10:0;;41077:83;;41108:40;41136:2;41140:7;41108:27;:40::i;30528:315::-;30685:28;30695:4;30701:2;30705:7;30685:9;:28::i;:::-;30732:48;30755:4;30761:2;30765:7;30774:5;30732:22;:48::i;:::-;30724:111;;;;-1:-1:-1;;;30724:111:0;;;;;;;:::i;42681:988::-;42947:22;42997:1;42972:22;42989:4;42972:16;:22::i;:::-;:26;;;;:::i;:::-;43009:18;43030:26;;;:17;:26;;;;;;42947:51;;-1:-1:-1;43163:28:0;;;43159:328;;-1:-1:-1;;;;;43230:18:0;;43208:19;43230:18;;;:12;:18;;;;;;;;:34;;;;;;;;;43281:30;;;;;;:44;;;43398:30;;:17;:30;;;;;:43;;;43159:328;-1:-1:-1;43583:26:0;;;;:17;:26;;;;;;;;43576:33;;;-1:-1:-1;;;;;43627:18:0;;;;;:12;:18;;;;;:34;;;;;;;43620:41;42681:988::o;43964:1079::-;44242:10;:17;44217:22;;44242:21;;44262:1;;44242:21;:::i;:::-;44274:18;44295:24;;;:15;:24;;;;;;44668:10;:26;;44217:46;;-1:-1:-1;44295:24:0;;44217:46;;44668:26;;;;;;:::i;:::-;;;;;;;;;44646:48;;44732:11;44707:10;44718;44707:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;44812:28;;;:15;:28;;;;;;;:41;;;44984:24;;;;;44977:31;45019:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;44035:1008;;;43964:1079;:::o;41468:221::-;41553:14;41570:20;41587:2;41570:16;:20::i;:::-;-1:-1:-1;;;;;41601:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;41646:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;41468:221:0:o;36334:799::-;36489:4;-1:-1:-1;;;;;36510:13:0;;6902:20;6950:8;36506:620;;36546:72;;-1:-1:-1;;;36546:72:0;;-1:-1:-1;;;;;36546:36:0;;;;;:72;;2989:10;;36597:4;;36603:7;;36612:5;;36546:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36546:72:0;;;;;;;;-1:-1:-1;;36546:72:0;;;;;;;;;;;;:::i;:::-;;;36542:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36788:13:0;;36784:272;;36831:60;;-1:-1:-1;;;36831:60:0;;;;;;;:::i;36784:272::-;37006:6;37000:13;36991:6;36987:2;36983:15;36976:38;36542:529;-1:-1:-1;;;;;;36669:51:0;-1:-1:-1;;;36669:51:0;;-1:-1:-1;36662:58:0;;36506:620;-1:-1:-1;37110:4:0;36334:799;;;;;;:::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:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:221;1036:5;1089:3;1082:4;1074:6;1070:17;1066:27;1056:55;;1107:1;1104;1097:12;1056:55;1129:79;1204:3;1195:6;1182:20;1175:4;1167:6;1163:17;1129:79;:::i;:::-;1120:88;993:221;-1:-1:-1;;;993:221:1:o;1219:186::-;1278:6;1331:2;1319:9;1310:7;1306:23;1302:32;1299:52;;;1347:1;1344;1337:12;1299:52;1370:29;1389:9;1370:29;:::i;1410:260::-;1478:6;1486;1539:2;1527:9;1518:7;1514:23;1510:32;1507:52;;;1555:1;1552;1545:12;1507:52;1578:29;1597:9;1578:29;:::i;:::-;1568:39;;1626:38;1660:2;1649:9;1645:18;1626:38;:::i;:::-;1616:48;;1410:260;;;;;:::o;1675:328::-;1752:6;1760;1768;1821:2;1809:9;1800:7;1796:23;1792:32;1789:52;;;1837:1;1834;1827:12;1789:52;1860:29;1879:9;1860:29;:::i;:::-;1850:39;;1908:38;1942:2;1931:9;1927:18;1908:38;:::i;:::-;1898:48;;1993:2;1982:9;1978:18;1965:32;1955:42;;1675:328;;;;;:::o;2008:666::-;2103:6;2111;2119;2127;2180:3;2168:9;2159:7;2155:23;2151:33;2148:53;;;2197:1;2194;2187:12;2148:53;2220:29;2239:9;2220:29;:::i;:::-;2210:39;;2268:38;2302:2;2291:9;2287:18;2268:38;:::i;:::-;2258:48;;2353:2;2342:9;2338:18;2325:32;2315:42;;2408:2;2397:9;2393:18;2380:32;2435:18;2427:6;2424:30;2421:50;;;2467:1;2464;2457:12;2421:50;2490:22;;2543:4;2535:13;;2531:27;-1:-1:-1;2521:55:1;;2572:1;2569;2562:12;2521:55;2595:73;2660:7;2655:2;2642:16;2637:2;2633;2629:11;2595:73;:::i;:::-;2585:83;;;2008:666;;;;;;;:::o;2679:254::-;2744:6;2752;2805:2;2793:9;2784:7;2780:23;2776:32;2773:52;;;2821:1;2818;2811:12;2773:52;2844:29;2863:9;2844:29;:::i;:::-;2834:39;;2892:35;2923:2;2912:9;2908:18;2892:35;:::i;2938:254::-;3006:6;3014;3067:2;3055:9;3046:7;3042:23;3038:32;3035:52;;;3083:1;3080;3073:12;3035:52;3106:29;3125:9;3106:29;:::i;:::-;3096:39;3182:2;3167:18;;;;3154:32;;-1:-1:-1;;;2938:254:1:o;3197:180::-;3253:6;3306:2;3294:9;3285:7;3281:23;3277:32;3274:52;;;3322:1;3319;3312:12;3274:52;3345:26;3361:9;3345:26;:::i;3382:245::-;3440:6;3493:2;3481:9;3472:7;3468:23;3464:32;3461:52;;;3509:1;3506;3499:12;3461:52;3548:9;3535:23;3567:30;3591:5;3567:30;:::i;3632:249::-;3701:6;3754:2;3742:9;3733:7;3729:23;3725:32;3722:52;;;3770:1;3767;3760:12;3722:52;3802:9;3796:16;3821:30;3845:5;3821:30;:::i;3886:543::-;3974:6;3982;4035:2;4023:9;4014:7;4010:23;4006:32;4003:52;;;4051:1;4048;4041:12;4003:52;4091:9;4078:23;4120:18;4161:2;4153:6;4150:14;4147:34;;;4177:1;4174;4167:12;4147:34;4200:50;4242:7;4233:6;4222:9;4218:22;4200:50;:::i;:::-;4190:60;;4303:2;4292:9;4288:18;4275:32;4259:48;;4332:2;4322:8;4319:16;4316:36;;;4348:1;4345;4338:12;4316:36;;4371:52;4415:7;4404:8;4393:9;4389:24;4371:52;:::i;:::-;4361:62;;;3886:543;;;;;:::o;4434:180::-;4493:6;4546:2;4534:9;4525:7;4521:23;4517:32;4514:52;;;4562:1;4559;4552:12;4514:52;-1:-1:-1;4585:23:1;;4434:180;-1:-1:-1;4434:180:1:o;4619:257::-;4660:3;4698:5;4692:12;4725:6;4720:3;4713:19;4741:63;4797:6;4790:4;4785:3;4781:14;4774:4;4767:5;4763:16;4741:63;:::i;:::-;4858:2;4837:15;-1:-1:-1;;4833:29:1;4824:39;;;;4865:4;4820:50;;4619:257;-1:-1:-1;;4619:257:1:o;4881:973::-;4966:12;;4931:3;;5021:1;5041:18;;;;5094;;;;5121:61;;5175:4;5167:6;5163:17;5153:27;;5121:61;5201:2;5249;5241:6;5238:14;5218:18;5215:38;5212:161;;;5295:10;5290:3;5286:20;5283:1;5276:31;5330:4;5327:1;5320:15;5358:4;5355:1;5348:15;5212:161;5389:18;5416:104;;;;5534:1;5529:319;;;;5382:466;;5416:104;-1:-1:-1;;5449:24:1;;5437:37;;5494:16;;;;-1:-1:-1;5416:104:1;;5529:319;18344:1;18337:14;;;18381:4;18368:18;;5623:1;5637:165;5651:6;5648:1;5645:13;5637:165;;;5729:14;;5716:11;;;5709:35;5772:16;;;;5666:10;;5637:165;;;5641:3;;5831:6;5826:3;5822:16;5815:23;;5382:466;;;;;;;4881:973;;;;:::o;5859:456::-;6080:3;6108:38;6142:3;6134:6;6108:38;:::i;:::-;6175:6;6169:13;6191:52;6236:6;6232:2;6225:4;6217:6;6213:17;6191:52;:::i;:::-;6259:50;6301:6;6297:2;6293:15;6285:6;6259:50;:::i;:::-;6252:57;5859:456;-1:-1:-1;;;;;;;5859:456:1:o;6837:488::-;-1:-1:-1;;;;;7106:15:1;;;7088:34;;7158:15;;7153:2;7138:18;;7131:43;7205:2;7190:18;;7183:34;;;7253:3;7248:2;7233:18;;7226:31;;;7031:4;;7274:45;;7299:19;;7291:6;7274:45;:::i;:::-;7266:53;6837:488;-1:-1:-1;;;;;;6837:488:1:o;8320:632::-;8491:2;8543:21;;;8613:13;;8516:18;;;8635:22;;;8462:4;;8491:2;8714:15;;;;8688:2;8673:18;;;8462:4;8757:169;8771:6;8768:1;8765:13;8757:169;;;8832:13;;8820:26;;8901:15;;;;8866:12;;;;8793:1;8786:9;8757:169;;;-1:-1:-1;8943:3:1;;8320:632;-1:-1:-1;;;;;;8320:632:1:o;9599:219::-;9748:2;9737:9;9730:21;9711:4;9768:44;9808:2;9797:9;9793:18;9785:6;9768:44;:::i;10637:414::-;10839:2;10821:21;;;10878:2;10858:18;;;10851:30;10917:34;10912:2;10897:18;;10890:62;-1:-1:-1;;;10983:2:1;10968:18;;10961:48;11041:3;11026:19;;10637:414::o;15728:356::-;15930:2;15912:21;;;15949:18;;;15942:30;16008:34;16003:2;15988:18;;15981:62;16075:2;16060:18;;15728:356::o;16901:413::-;17103:2;17085:21;;;17142:2;17122:18;;;17115:30;17181:34;17176:2;17161:18;;17154:62;-1:-1:-1;;;17247:2:1;17232:18;;17225:47;17304:3;17289:19;;16901:413::o;18397:128::-;18437:3;18468:1;18464:6;18461:1;18458:13;18455:39;;;18474:18;;:::i;:::-;-1:-1:-1;18510:9:1;;18397:128::o;18530:120::-;18570:1;18596;18586:35;;18601:18;;:::i;:::-;-1:-1:-1;18635:9:1;;18530:120::o;18655:125::-;18695:4;18723:1;18720;18717:8;18714:34;;;18728:18;;:::i;:::-;-1:-1:-1;18765:9:1;;18655:125::o;18785:258::-;18857:1;18867:113;18881:6;18878:1;18875:13;18867:113;;;18957:11;;;18951:18;18938:11;;;18931:39;18903:2;18896:10;18867:113;;;18998:6;18995:1;18992:13;18989:48;;;-1:-1:-1;;19033:1:1;19015:16;;19008:27;18785:258::o;19048:380::-;19127:1;19123:12;;;;19170;;;19191:61;;19245:4;19237:6;19233:17;19223:27;;19191:61;19298:2;19290:6;19287:14;19267:18;19264:38;19261:161;;;19344:10;19339:3;19335:20;19332:1;19325:31;19379:4;19376:1;19369:15;19407:4;19404:1;19397:15;19261:161;;19048:380;;;:::o;19433:135::-;19472:3;-1:-1:-1;;19493:17:1;;19490:43;;;19513:18;;:::i;:::-;-1:-1:-1;19560:1:1;19549:13;;19433:135::o;19573:112::-;19605:1;19631;19621:35;;19636:18;;:::i;:::-;-1:-1:-1;19670:9:1;;19573:112::o;19690:127::-;19751:10;19746:3;19742:20;19739:1;19732:31;19782:4;19779:1;19772:15;19806:4;19803:1;19796:15;19822:127;19883:10;19878:3;19874:20;19871:1;19864:31;19914:4;19911:1;19904:15;19938:4;19935:1;19928:15;19954:127;20015:10;20010:3;20006:20;20003:1;19996:31;20046:4;20043:1;20036:15;20070:4;20067:1;20060:15;20086:127;20147:10;20142:3;20138:20;20135:1;20128:31;20178:4;20175:1;20168:15;20202:4;20199:1;20192:15;20218:127;20279:10;20274:3;20270:20;20267:1;20260:31;20310:4;20307:1;20300:15;20334:4;20331:1;20324:15;20350:131;-1:-1:-1;;;;;;20424:32:1;;20414:43;;20404:71;;20471:1;20468;20461:12
Swarm Source
ipfs://016098751f6d46e4b2b7139faa1b0f43e3c39a70b550f35c0a8bd08bc7077f2c
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.