Source Code
Overview
ETH Balance
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 9,000 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Safe Mint | 14072335 | 313 days ago | IN | 0.0003 ETH | 0.00000361 | ||||
| Safe Mint | 13048343 | 360 days ago | IN | 0.000205 ETH | 0.00000634 | ||||
| Safe Mint | 12463316 | 384 days ago | IN | 0.0003 ETH | 0.00000539 | ||||
| Safe Mint | 12463316 | 384 days ago | IN | 0.0003 ETH | 0.0000052 | ||||
| Safe Mint | 12463316 | 384 days ago | IN | 0.0003 ETH | 0.0000052 | ||||
| Safe Mint | 12463316 | 384 days ago | IN | 0.0003 ETH | 0.00000588 | ||||
| Dry Faucet | 12128551 | 397 days ago | IN | 0 ETH | 0.00000476 | ||||
| Safe Mint | 12128547 | 397 days ago | IN | 0.0003 ETH | 0.00000988 | ||||
| Dry Faucet | 12035247 | 401 days ago | IN | 0 ETH | 0.00001137 | ||||
| Safe Mint | 12035239 | 401 days ago | IN | 0.0003 ETH | 0.00001516 | ||||
| Dry Faucet | 11963435 | 404 days ago | IN | 0 ETH | 0.00001901 | ||||
| Safe Mint | 11963427 | 404 days ago | IN | 0.0003 ETH | 0.00002254 | ||||
| Dry Faucet | 11953033 | 404 days ago | IN | 0 ETH | 0.00000573 | ||||
| Dry Faucet | 11952959 | 404 days ago | IN | 0 ETH | 0.00000525 | ||||
| Dry Faucet | 11952834 | 404 days ago | IN | 0 ETH | 0.00000609 | ||||
| Dry Faucet | 11952785 | 404 days ago | IN | 0 ETH | 0.00000512 | ||||
| Safe Mint | 11952777 | 404 days ago | IN | 0.0003 ETH | 0.00000729 | ||||
| Safe Mint | 11952771 | 404 days ago | IN | 0.0003 ETH | 0.00000822 | ||||
| Safe Mint | 11952766 | 404 days ago | IN | 0.0003 ETH | 0.00000758 | ||||
| Safe Mint | 11952744 | 404 days ago | IN | 0.0003 ETH | 0.00000905 | ||||
| Dry Faucet | 11948327 | 404 days ago | IN | 0 ETH | 0.00000819 | ||||
| Safe Mint | 11948315 | 404 days ago | IN | 0.0003 ETH | 0.00001127 | ||||
| Dry Faucet | 11901499 | 406 days ago | IN | 0 ETH | 0.00000559 | ||||
| Safe Mint | 11901491 | 406 days ago | IN | 0.0003 ETH | 0.00000792 | ||||
| Safe Mint | 11888554 | 406 days ago | IN | 0.0003 ETH | 0.00001088 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 14072335 | 313 days ago | 0.0003 ETH | ||||
| 12463316 | 384 days ago | 0.0003 ETH | ||||
| 12463316 | 384 days ago | 0.0003 ETH | ||||
| 12463316 | 384 days ago | 0.0003 ETH | ||||
| 12463316 | 384 days ago | 0.0003 ETH | ||||
| 12128547 | 397 days ago | 0.000225 ETH | ||||
| 12128547 | 397 days ago | 0.000075 ETH | ||||
| 12035239 | 401 days ago | 0.000225 ETH | ||||
| 12035239 | 401 days ago | 0.000075 ETH | ||||
| 11963427 | 404 days ago | 0.0003 ETH | ||||
| 11952777 | 404 days ago | 0.0003 ETH | ||||
| 11952771 | 404 days ago | 0.0003 ETH | ||||
| 11952766 | 404 days ago | 0.0003 ETH | ||||
| 11952744 | 404 days ago | 0.0003 ETH | ||||
| 11948315 | 404 days ago | 0.0003 ETH | ||||
| 11901491 | 406 days ago | 0.0003 ETH | ||||
| 11888554 | 406 days ago | 0.0003 ETH | ||||
| 11835697 | 408 days ago | 0.00015 ETH | ||||
| 11835697 | 408 days ago | 0.00015 ETH | ||||
| 11794444 | 410 days ago | 0.0003 ETH | ||||
| 11782384 | 410 days ago | 0.0003 ETH | ||||
| 11782285 | 410 days ago | 0.0003 ETH | ||||
| 11772978 | 411 days ago | 0.00015 ETH | ||||
| 11772978 | 411 days ago | 0.00015 ETH | ||||
| 11703476 | 413 days ago | 0.0003 ETH |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
BricksBeraKeyFaucet
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/**
*Submitted for verification at scrollscan.com on 2024-06-22
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
// File: @openzeppelin/contracts/token/ERC721/IERC721.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.20;
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon
* a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must have been allowed to move this token by either {approve} or
* {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon
* a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
* or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
* understand this adds an external call which potentially creates a reentrancy vulnerability.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the address zero.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}
// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.20;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be
* reverted.
*
* The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.20;
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}
// File: @openzeppelin/contracts/utils/Context.sol
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @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;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}
// File: @openzeppelin/contracts/utils/math/Math.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
/**
* @dev Muldiv operation overflow.
*/
error MathOverflowedMulDiv();
enum Rounding {
Floor, // Toward negative infinity
Ceil, // Toward positive infinity
Trunc, // Toward zero
Expand // Away from zero
}
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the subtraction of two unsigned integers, with an overflow flag.
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow.
return (a & b) + (a ^ b) / 2;
}
/**
* @dev Returns the ceiling of the division of two numbers.
*
* This differs from standard division with `/` in that it rounds towards infinity instead
* of rounding towards zero.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
if (b == 0) {
// Guarantee the same behavior as in a regular Solidity division.
return a / b;
}
// (a + b - 1) / b can overflow on addition, so we distribute.
return a == 0 ? 0 : (a - 1) / b + 1;
}
/**
* @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
* denominator == 0.
* @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
* Uniswap Labs also under MIT license.
*/
function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
unchecked {
// 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
// use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
// variables such that product = prod1 * 2^256 + prod0.
uint256 prod0 = x * y; // Least significant 256 bits of the product
uint256 prod1; // Most significant 256 bits of the product
assembly {
let mm := mulmod(x, y, not(0))
prod1 := sub(sub(mm, prod0), lt(mm, prod0))
}
// Handle non-overflow cases, 256 by 256 division.
if (prod1 == 0) {
// Solidity will revert if denominator == 0, unlike the div opcode on its own.
// The surrounding unchecked block does not change this fact.
// See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
return prod0 / denominator;
}
// Make sure the result is less than 2^256. Also prevents denominator == 0.
if (denominator <= prod1) {
revert MathOverflowedMulDiv();
}
///////////////////////////////////////////////
// 512 by 256 division.
///////////////////////////////////////////////
// Make division exact by subtracting the remainder from [prod1 prod0].
uint256 remainder;
assembly {
// Compute remainder using mulmod.
remainder := mulmod(x, y, denominator)
// Subtract 256 bit number from 512 bit number.
prod1 := sub(prod1, gt(remainder, prod0))
prod0 := sub(prod0, remainder)
}
// Factor powers of two out of denominator and compute largest power of two divisor of denominator.
// Always >= 1. See https://cs.stackexchange.com/q/138556/92363.
uint256 twos = denominator & (0 - denominator);
assembly {
// Divide denominator by twos.
denominator := div(denominator, twos)
// Divide [prod1 prod0] by twos.
prod0 := div(prod0, twos)
// Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
twos := add(div(sub(0, twos), twos), 1)
}
// Shift in bits from prod1 into prod0.
prod0 |= prod1 * twos;
// Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
// that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
// four bits. That is, denominator * inv = 1 mod 2^4.
uint256 inverse = (3 * denominator) ^ 2;
// Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
// works in modular arithmetic, doubling the correct bits in each step.
inverse *= 2 - denominator * inverse; // inverse mod 2^8
inverse *= 2 - denominator * inverse; // inverse mod 2^16
inverse *= 2 - denominator * inverse; // inverse mod 2^32
inverse *= 2 - denominator * inverse; // inverse mod 2^64
inverse *= 2 - denominator * inverse; // inverse mod 2^128
inverse *= 2 - denominator * inverse; // inverse mod 2^256
// Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
// This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
// less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
// is no longer required.
result = prod0 * inverse;
return result;
}
}
/**
* @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
*/
function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
uint256 result = mulDiv(x, y, denominator);
if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
result += 1;
}
return result;
}
/**
* @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
* towards zero.
*
* Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
*/
function sqrt(uint256 a) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
// For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
//
// We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
// `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
//
// This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
// → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
// → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
//
// Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
uint256 result = 1 << (log2(a) >> 1);
// At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
// since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
// every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
// into the expected uint128 result.
unchecked {
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
return min(result, a / result);
}
}
/**
* @notice Calculates sqrt(a), following the selected rounding direction.
*/
function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = sqrt(a);
return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
}
}
/**
* @dev Return the log in base 2 of a positive value rounded towards zero.
* Returns 0 if given 0.
*/
function log2(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 128;
}
if (value >> 64 > 0) {
value >>= 64;
result += 64;
}
if (value >> 32 > 0) {
value >>= 32;
result += 32;
}
if (value >> 16 > 0) {
value >>= 16;
result += 16;
}
if (value >> 8 > 0) {
value >>= 8;
result += 8;
}
if (value >> 4 > 0) {
value >>= 4;
result += 4;
}
if (value >> 2 > 0) {
value >>= 2;
result += 2;
}
if (value >> 1 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 2, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log2(value);
return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 10 of a positive value rounded towards zero.
* Returns 0 if given 0.
*/
function log10(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >= 10 ** 64) {
value /= 10 ** 64;
result += 64;
}
if (value >= 10 ** 32) {
value /= 10 ** 32;
result += 32;
}
if (value >= 10 ** 16) {
value /= 10 ** 16;
result += 16;
}
if (value >= 10 ** 8) {
value /= 10 ** 8;
result += 8;
}
if (value >= 10 ** 4) {
value /= 10 ** 4;
result += 4;
}
if (value >= 10 ** 2) {
value /= 10 ** 2;
result += 2;
}
if (value >= 10 ** 1) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log10(value);
return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 256 of a positive value rounded towards zero.
* Returns 0 if given 0.
*
* Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
*/
function log256(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 16;
}
if (value >> 64 > 0) {
value >>= 64;
result += 8;
}
if (value >> 32 > 0) {
value >>= 32;
result += 4;
}
if (value >> 16 > 0) {
value >>= 16;
result += 2;
}
if (value >> 8 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 256, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log256(value);
return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
}
}
/**
* @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
*/
function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
return uint8(rounding) % 2 == 1;
}
}
// File: @openzeppelin/contracts/utils/math/SignedMath.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard signed math utilities missing in the Solidity language.
*/
library SignedMath {
/**
* @dev Returns the largest of two signed numbers.
*/
function max(int256 a, int256 b) internal pure returns (int256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two signed numbers.
*/
function min(int256 a, int256 b) internal pure returns (int256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two signed numbers without overflow.
* The result is rounded towards zero.
*/
function average(int256 a, int256 b) internal pure returns (int256) {
// Formula from the book "Hacker's Delight"
int256 x = (a & b) + ((a ^ b) >> 1);
return x + (int256(uint256(x) >> 255) & (a ^ b));
}
/**
* @dev Returns the absolute unsigned value of a signed value.
*/
function abs(int256 n) internal pure returns (uint256) {
unchecked {
// must be unchecked in order to support `n = type(int256).min`
return uint256(n >= 0 ? n : -n);
}
}
}
// File: @openzeppelin/contracts/utils/Strings.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)
pragma solidity ^0.8.20;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant HEX_DIGITS = "0123456789abcdef";
uint8 private constant ADDRESS_LENGTH = 20;
/**
* @dev The `value` string doesn't fit in the specified `length`.
*/
error StringsInsufficientHexLength(uint256 value, uint256 length);
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
unchecked {
uint256 length = Math.log10(value) + 1;
string memory buffer = new string(length);
uint256 ptr;
/// @solidity memory-safe-assembly
assembly {
ptr := add(buffer, add(32, length))
}
while (true) {
ptr--;
/// @solidity memory-safe-assembly
assembly {
mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
}
value /= 10;
if (value == 0) break;
}
return buffer;
}
}
/**
* @dev Converts a `int256` to its ASCII `string` decimal representation.
*/
function toStringSigned(int256 value) internal pure returns (string memory) {
return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
unchecked {
return toHexString(value, Math.log256(value) + 1);
}
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
uint256 localValue = value;
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_DIGITS[localValue & 0xf];
localValue >>= 4;
}
if (localValue != 0) {
revert StringsInsufficientHexLength(value, length);
}
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
* representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
}
/**
* @dev Returns true if the two strings are equal.
*/
function equal(string memory a, string memory b) internal pure returns (bool) {
return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
}
}
// File: @openzeppelin/contracts/utils/introspection/ERC165.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)
pragma solidity ^0.8.20;
/**
* @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);
* }
* ```
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}
// File: @openzeppelin/contracts/interfaces/draft-IERC6093.sol
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard ERC20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
*/
interface IERC20Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC20InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC20InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
* @param spender Address that may be allowed to operate on tokens without being their owner.
* @param allowance Amount of tokens a `spender` is allowed to operate with.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC20InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `spender` to be approved. Used in approvals.
* @param spender Address that may be allowed to operate on tokens without being their owner.
*/
error ERC20InvalidSpender(address spender);
}
/**
* @dev Standard ERC721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
* Used in balance queries.
* @param owner Address of the current owner of a token.
*/
error ERC721InvalidOwner(address owner);
/**
* @dev Indicates a `tokenId` whose `owner` is the zero address.
* @param tokenId Identifier number of a token.
*/
error ERC721NonexistentToken(uint256 tokenId);
/**
* @dev Indicates an error related to the ownership over a particular token. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param tokenId Identifier number of a token.
* @param owner Address of the current owner of a token.
*/
error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC721InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC721InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param tokenId Identifier number of a token.
*/
error ERC721InsufficientApproval(address operator, uint256 tokenId);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC721InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC721InvalidOperator(address operator);
}
/**
* @dev Standard ERC1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
*/
interface IERC1155Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
* @param tokenId Identifier number of a token.
*/
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC1155InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC1155InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param owner Address of the current owner of a token.
*/
error ERC1155MissingApprovalForAll(address operator, address owner);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC1155InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC1155InvalidOperator(address operator);
/**
* @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
* Used in batch transfers.
* @param idsLength Length of the array of token identifiers
* @param valuesLength Length of the array of token amounts
*/
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}
// File: @openzeppelin/contracts/token/ERC721/ERC721.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol)
pragma solidity ^0.8.20;
/**
* @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}.
*/
abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors {
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
mapping(uint256 tokenId => address) private _owners;
mapping(address owner => uint256) private _balances;
mapping(uint256 tokenId => address) private _tokenApprovals;
mapping(address owner => mapping(address operator => 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 returns (uint256) {
if (owner == address(0)) {
revert ERC721InvalidOwner(address(0));
}
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual returns (address) {
return _requireOwned(tokenId);
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual returns (string memory) {
_requireOwned(tokenId);
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0 ? string.concat(baseURI, tokenId.toString()) : "";
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overridden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual {
_approve(to, tokenId, _msgSender());
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual returns (address) {
_requireOwned(tokenId);
return _getApproved(tokenId);
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual {
_setApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(address from, address to, uint256 tokenId) public virtual {
if (to == address(0)) {
revert ERC721InvalidReceiver(address(0));
}
// Setting an "auth" arguments enables the `_isAuthorized` check which verifies that the token exists
// (from != 0). Therefore, it is not needed to verify that the return value is not 0 here.
address previousOwner = _update(to, tokenId, _msgSender());
if (previousOwner != from) {
revert ERC721IncorrectOwner(from, tokenId, previousOwner);
}
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) public {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual {
transferFrom(from, to, tokenId);
_checkOnERC721Received(from, to, tokenId, data);
}
/**
* @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
*
* IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the
* core ERC721 logic MUST be matched with the use of {_increaseBalance} to keep balances
* consistent with ownership. The invariant to preserve is that for any address `a` the value returned by
* `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`.
*/
function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
return _owners[tokenId];
}
/**
* @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted.
*/
function _getApproved(uint256 tokenId) internal view virtual returns (address) {
return _tokenApprovals[tokenId];
}
/**
* @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in
* particular (ignoring whether it is owned by `owner`).
*
* WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this
* assumption.
*/
function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) {
return
spender != address(0) &&
(owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender);
}
/**
* @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.
* Reverts if `spender` does not have approval from the provided `owner` for the given token or for all its assets
* the `spender` for the specific `tokenId`.
*
* WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this
* assumption.
*/
function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual {
if (!_isAuthorized(owner, spender, tokenId)) {
if (owner == address(0)) {
revert ERC721NonexistentToken(tokenId);
} else {
revert ERC721InsufficientApproval(spender, tokenId);
}
}
}
/**
* @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
*
* NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that
* a uint256 would ever overflow from increments when these increments are bounded to uint128 values.
*
* WARNING: Increasing an account's balance using this function tends to be paired with an override of the
* {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership
* remain consistent with one another.
*/
function _increaseBalance(address account, uint128 value) internal virtual {
unchecked {
_balances[account] += value;
}
}
/**
* @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner
* (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.
*
* The `auth` argument is optional. If the value passed is non 0, then this function will check that
* `auth` is either the owner of the token, or approved to operate on the token (by the owner).
*
* Emits a {Transfer} event.
*
* NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}.
*/
function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) {
address from = _ownerOf(tokenId);
// Perform (optional) operator check
if (auth != address(0)) {
_checkAuthorized(from, auth, tokenId);
}
// Execute the update
if (from != address(0)) {
// Clear approval. No need to re-authorize or emit the Approval event
_approve(address(0), tokenId, address(0), false);
unchecked {
_balances[from] -= 1;
}
}
if (to != address(0)) {
unchecked {
_balances[to] += 1;
}
}
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
return from;
}
/**
* @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 {
if (to == address(0)) {
revert ERC721InvalidReceiver(address(0));
}
address previousOwner = _update(to, tokenId, address(0));
if (previousOwner != address(0)) {
revert ERC721InvalidSender(address(0));
}
}
/**
* @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.
*
* 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 {
_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);
_checkOnERC721Received(address(0), to, tokenId, data);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
* This is an internal function that does not check if the sender is authorized to operate on the token.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal {
address previousOwner = _update(address(0), tokenId, address(0));
if (previousOwner == address(0)) {
revert ERC721NonexistentToken(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 {
if (to == address(0)) {
revert ERC721InvalidReceiver(address(0));
}
address previousOwner = _update(to, tokenId, address(0));
if (previousOwner == address(0)) {
revert ERC721NonexistentToken(tokenId);
} else if (previousOwner != from) {
revert ERC721IncorrectOwner(from, tokenId, previousOwner);
}
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients
* are aware of the ERC721 standard 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 like {safeTransferFrom} in the sense that it invokes
* {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `tokenId` token must exist and be owned by `from`.
* - `to` cannot be the zero address.
* - `from` cannot be the zero address.
* - 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) internal {
_safeTransfer(from, to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {
_transfer(from, to, tokenId);
_checkOnERC721Received(from, to, tokenId, data);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is
* either the owner of the token, or approved to operate on all tokens held by this owner.
*
* Emits an {Approval} event.
*
* Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
*/
function _approve(address to, uint256 tokenId, address auth) internal {
_approve(to, tokenId, auth, true);
}
/**
* @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not
* emitted in the context of transfers.
*/
function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual {
// Avoid reading the owner unless necessary
if (emitEvent || auth != address(0)) {
address owner = _requireOwned(tokenId);
// We do not use _isAuthorized because single-token approvals should not be able to call approve
if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) {
revert ERC721InvalidApprover(auth);
}
if (emitEvent) {
emit Approval(owner, to, tokenId);
}
}
_tokenApprovals[tokenId] = to;
}
/**
* @dev Approve `operator` to operate on all of `owner` tokens
*
* Requirements:
* - operator can't be the address zero.
*
* Emits an {ApprovalForAll} event.
*/
function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
if (operator == address(0)) {
revert ERC721InvalidOperator(operator);
}
_operatorApprovals[owner][operator] = approved;
emit ApprovalForAll(owner, operator, approved);
}
/**
* @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).
* Returns the owner.
*
* Overrides to ownership logic should be done to {_ownerOf}.
*/
function _requireOwned(uint256 tokenId) internal view returns (address) {
address owner = _ownerOf(tokenId);
if (owner == address(0)) {
revert ERC721NonexistentToken(tokenId);
}
return owner;
}
/**
* @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target address. This will revert if the
* recipient doesn't accept the token transfer. 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
*/
function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private {
if (to.code.length > 0) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
if (retval != IERC721Receiver.onERC721Received.selector) {
revert ERC721InvalidReceiver(to);
}
} catch (bytes memory reason) {
if (reason.length == 0) {
revert ERC721InvalidReceiver(to);
} else {
/// @solidity memory-safe-assembly
assembly {
revert(add(32, reason), mload(reason))
}
}
}
}
}
}
// File: @openzeppelin/contracts/access/Ownable.sol
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
/**
* @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.
*
* The initial owner is set to the address provided by the deployer. 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;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling 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 {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_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: faucet-key.sol
pragma solidity 0.8.20;
library USafeMath {
function safeAdd(uint256 a, uint256 b) internal pure returns(uint256) {
(bool success, uint256 res) = Math.tryAdd(a, b);
require(success, "Failed to Add");
return res;
}
function safeMul(uint256 a, uint256 b) internal pure returns(uint256) {
(bool success, uint256 res) = Math.tryMul(a, b);
require(success, "Failed to Mul");
return res;
}
function safeDiv(uint256 a, uint256 b) internal pure returns(uint256) {
(bool success, uint256 res) = Math.tryDiv(a, b);
require(success, "Failed to Div");
return res;
}
function safeSub(uint256 a, uint256 b) internal pure returns(uint256) {
(bool success, uint256 res) = Math.trySub(a, b);
require(success, "Failed to Sub");
return res;
}
}
contract BricksBeraKeyFaucet is ERC721 {
string private _baseuri;
uint256 private _totalSupply;
address private _owner;
uint256 public mintPrice;
uint8 public mintRefShare;
mapping (address => uint8) private mintRefShares;
event FaucetDried(
address indexed initiator,
address indexed receiver,
uint256 indexed keyId
);
constructor(
string memory baseURI_
) ERC721("Bricks Bera Key", "bbKEY") {
_baseuri = baseURI_;
_owner = msg.sender;
mintPrice = 205000000000000;
mintRefShare = 25;
}
modifier onlyOwner() {
require(msg.sender == _owner, "Bricks: not the owner!");
_;
}
function withdraw(address payable to) public onlyOwner {
require(msg.sender != address(0));
uint amount = address(this).balance;
(bool success, ) = to.call{value: amount}("");
require(success);
}
function safeMint(address payable ref) public payable {
require(msg.value >= mintPrice, "msg.value must be >= mintPrice");
address to = msg.sender;
uint256 tokenId = USafeMath.safeAdd(_totalSupply, 1);
_safeMint(to, tokenId);
_totalSupply = tokenId;
uint256 _value = msg.value;
if (ref != address(this)) {
uint256 dPrice = USafeMath.safeDiv(mintPrice, 100);
uint256 refShare = getMintRefShareByAddress(ref);
uint256 refAmount = USafeMath.safeMul(dPrice, refShare);
(bool success, ) = ref.call{value: refAmount}("");
require(success, "Failed to send ref share");
_value = USafeMath.safeSub(_value, refAmount);
}
(bool successO, ) = payable(_owner).call{value: _value}('');
require(successO, "Failed to send ref share");
}
function dryFaucet(
uint256 tokenId,
address receiver
) public {
require(msg.sender == ownerOf(tokenId), "Not the owner");
_burn(tokenId);
emit FaucetDried(msg.sender, receiver, tokenId);
}
function setMintRefShare(uint8 _nRef) public onlyOwner {
require(_nRef < 100);
require(_nRef > 0);
mintRefShare = _nRef;
}
function getMintPrice() public view returns (uint256) {
return mintPrice;
}
function getMintRefShareByAddress(address _ref) public view returns (uint8) {
uint8 refShare = mintRefShares[_ref];
// if not in refShare mapping -> return default value
return refShare == 0 ? mintRefShare : refShare;
}
function setOtherMintRefShares(address[] memory addresses, uint8[] memory percentages) public onlyOwner {
require(addresses.length == percentages.length, "Check arrays");
for (uint i = 0; i < addresses.length; i++) {
mintRefShares[addresses[i]] = percentages[i];
}
}
function setMintPrice(uint256 newPrice) public onlyOwner {
require(newPrice != 0);
mintPrice = newPrice;
}
function _baseURI() internal view override returns (string memory) {
return _baseuri;
}
function tokenURI(uint256 tokenId) public view override returns (string memory) {
_requireOwned(tokenId);
string memory baseURI = _baseURI();
return baseURI;
}
function totalSupply() public view returns (uint256){
return _totalSupply;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"initiator","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":true,"internalType":"uint256","name":"keyId","type":"uint256"}],"name":"FaucetDried","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"dryFaucet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_ref","type":"address"}],"name":"getMintRefShareByAddress","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintRefShare","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"ref","type":"address"}],"name":"safeMint","outputs":[],"stateMutability":"payable","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":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_nRef","type":"uint8"}],"name":"setMintRefShare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint8[]","name":"percentages","type":"uint8[]"}],"name":"setOtherMintRefShares","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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 payable","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801562000010575f80fd5b5060405162001be138038062001be18339810160408190526200003391620000f0565b6040518060400160405280600f81526020016e427269636b732042657261204b657960881b8152506040518060400160405280600581526020016462624b455960d81b815250815f90816200008991906200024a565b5060016200009882826200024a565b5060069150620000ab905082826200024a565b5050600880546001600160a01b0319163317905565ba72482dd000600955600a805460ff1916601917905562000312565b634e487b7160e01b5f52604160045260245ffd5b5f602080838503121562000102575f80fd5b82516001600160401b038082111562000119575f80fd5b818501915085601f8301126200012d575f80fd5b815181811115620001425762000142620000dc565b604051601f8201601f19908116603f011681019083821181831017156200016d576200016d620000dc565b81604052828152888684870101111562000185575f80fd5b5f93505b82841015620001a8578484018601518185018701529285019262000189565b5f86848301015280965050505050505092915050565b600181811c90821680620001d357607f821691505b602082108103620001f257634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000245575f81815260208120601f850160051c81016020861015620002205750805b601f850160051c820191505b8181101562000241578281556001016200022c565b5050505b505050565b81516001600160401b03811115620002665762000266620000dc565b6200027e81620002778454620001be565b84620001f8565b602080601f831160018114620002b4575f84156200029c5750858301515b5f19600386901b1c1916600185901b17855562000241565b5f85815260208120601f198616915b82811015620002e457888601518255948401946001909101908401620002c3565b50858210156200030257878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b6118c180620003205f395ff3fe608060405260043610610147575f3560e01c806370a08231116100b3578063c0b80aa11161006d578063c0b80aa11461037d578063c87b56dd1461039c578063da548e38146103bb578063dc5320c7146103e6578063e985e9c514610405578063f4a0a52814610424575f80fd5b806370a08231146102d9578063818c410e146102f857806395d89b4114610317578063a22cb4651461032b578063a7f93ebd1461034a578063b88d4fde1461035e575f80fd5b806323b872dd1161010457806323b872dd1461023557806340d097c31461025457806342842e0e1461026757806351cff8d9146102865780636352211e146102a55780636817c76c146102c4575f80fd5b806301ffc9a71461014b57806306fdde031461017f578063081812fc146101a0578063095ea7b3146101d75780630d022b5b146101f857806318160ddd14610217575b5f80fd5b348015610156575f80fd5b5061016a61016536600461135a565b610443565b60405190151581526020015b60405180910390f35b34801561018a575f80fd5b50610193610494565b60405161017691906113b8565b3480156101ab575f80fd5b506101bf6101ba3660046113ca565b610523565b6040516001600160a01b039091168152602001610176565b3480156101e2575f80fd5b506101f66101f13660046113f5565b61054a565b005b348015610203575f80fd5b506101f661021236600461150b565b610559565b348015610222575f80fd5b506007545b604051908152602001610176565b348015610240575f80fd5b506101f661024f3660046115c7565b61065c565b6101f6610262366004611605565b6106e5565b348015610272575f80fd5b506101f66102813660046115c7565b6108e4565b348015610291575f80fd5b506101f66102a0366004611605565b6108fe565b3480156102b0575f80fd5b506101bf6102bf3660046113ca565b61098d565b3480156102cf575f80fd5b5061022760095481565b3480156102e4575f80fd5b506102276102f3366004611605565b610997565b348015610303575f80fd5b506101f6610312366004611620565b6109dc565b348015610322575f80fd5b50610193610a39565b348015610336575f80fd5b506101f6610345366004611639565b610a48565b348015610355575f80fd5b50600954610227565b348015610369575f80fd5b506101f6610378366004611674565b610a53565b348015610388575f80fd5b506101f6610397366004611731565b610a6a565b3480156103a7575f80fd5b506101936103b63660046113ca565b610b07565b3480156103c6575f80fd5b50600a546103d49060ff1681565b60405160ff9091168152602001610176565b3480156103f1575f80fd5b506103d4610400366004611605565b610b23565b348015610410575f80fd5b5061016a61041f366004611754565b610b57565b34801561042f575f80fd5b506101f661043e3660046113ca565b610b84565b5f6001600160e01b031982166380ac58cd60e01b148061047357506001600160e01b03198216635b5e139f60e01b145b8061048e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60605f80546104a290611780565b80601f01602080910402602001604051908101604052809291908181526020018280546104ce90611780565b80156105195780601f106104f057610100808354040283529160200191610519565b820191905f5260205f20905b8154815290600101906020018083116104fc57829003601f168201915b5050505050905090565b5f61052d82610bbe565b505f828152600460205260409020546001600160a01b031661048e565b610555828233610bf6565b5050565b6008546001600160a01b0316331461058c5760405162461bcd60e51b8152600401610583906117b8565b60405180910390fd5b80518251146105cc5760405162461bcd60e51b815260206004820152600c60248201526b436865636b2061727261797360a01b6044820152606401610583565b5f5b8251811015610657578181815181106105e9576105e96117e8565b6020026020010151600b5f858481518110610606576106066117e8565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f6101000a81548160ff021916908360ff160217905550808061064f906117fc565b9150506105ce565b505050565b6001600160a01b03821661068557604051633250574960e11b81525f6004820152602401610583565b5f610691838333610c03565b9050836001600160a01b0316816001600160a01b0316146106df576040516364283d7b60e01b81526001600160a01b0380861660048301526024820184905282166044820152606401610583565b50505050565b6009543410156107375760405162461bcd60e51b815260206004820152601e60248201527f6d73672e76616c7565206d757374206265203e3d206d696e74507269636500006044820152606401610583565b5f3390505f6107496007546001610cf5565b90506107558282610d4b565b6007819055346001600160a01b0384163014610842575f6107796009546064610d64565b90505f61078586610b23565b60ff1690505f6107958383610db2565b90505f876001600160a01b0316826040515f6040518083038185875af1925050503d805f81146107e0576040519150601f19603f3d011682016040523d82523d5f602084013e6107e5565b606091505b50509050806108315760405162461bcd60e51b81526020600482015260186024820152774661696c656420746f2073656e642072656620736861726560401b6044820152606401610583565b61083b8583610e00565b9450505050505b6008546040515f916001600160a01b03169083908381818185875af1925050503d805f811461088c576040519150601f19603f3d011682016040523d82523d5f602084013e610891565b606091505b50509050806108dd5760405162461bcd60e51b81526020600482015260186024820152774661696c656420746f2073656e642072656620736861726560401b6044820152606401610583565b5050505050565b61065783838360405180602001604052805f815250610a53565b6008546001600160a01b031633146109285760405162461bcd60e51b8152600401610583906117b8565b33610931575f80fd5b60405147905f906001600160a01b0384169083908381818185875af1925050503d805f811461097b576040519150601f19603f3d011682016040523d82523d5f602084013e610980565b606091505b5050905080610657575f80fd5b5f61048e82610bbe565b5f6001600160a01b0382166109c1576040516322718ad960e21b81525f6004820152602401610583565b506001600160a01b03165f9081526003602052604090205490565b6008546001600160a01b03163314610a065760405162461bcd60e51b8152600401610583906117b8565b60648160ff1610610a15575f80fd5b5f8160ff1611610a23575f80fd5b600a805460ff191660ff92909216919091179055565b6060600180546104a290611780565b610555338383610e4e565b610a5e84848461065c565b6106df84848484610eec565b610a738261098d565b6001600160a01b0316336001600160a01b031614610ac35760405162461bcd60e51b815260206004820152600d60248201526c2737ba103a34329037bbb732b960991b6044820152606401610583565b610acc8261100b565b60405182906001600160a01b0383169033907f8fd631c073cf5aadcf93e6b3c32cd9140fdf87e0559a01d884e0f55b026d0d88905f90a45050565b6060610b1282610bbe565b505f610b1c611043565b9392505050565b6001600160a01b0381165f908152600b602052604081205460ff168015610b4a5780610b1c565b600a5460ff169392505050565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314610bae5760405162461bcd60e51b8152600401610583906117b8565b805f03610bb9575f80fd5b600955565b5f818152600260205260408120546001600160a01b03168061048e57604051637e27328960e01b815260048101849052602401610583565b6106578383836001611052565b5f828152600260205260408120546001600160a01b0390811690831615610c2f57610c2f818486611156565b6001600160a01b03811615610c6957610c4a5f855f80611052565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b03851615610c97576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b5f805f610d0285856111ba565b9150915081610d435760405162461bcd60e51b815260206004820152600d60248201526c11985a5b1959081d1bc8105919609a1b6044820152606401610583565b949350505050565b610555828260405180602001604052805f8152506111e1565b5f805f610d7185856111f7565b9150915081610d435760405162461bcd60e51b815260206004820152600d60248201526c2330b4b632b2103a37902234bb60991b6044820152606401610583565b5f805f610dbf8585611227565b9150915081610d435760405162461bcd60e51b815260206004820152600d60248201526c11985a5b1959081d1bc8135d5b609a1b6044820152606401610583565b5f805f610e0d8585611260565b9150915081610d435760405162461bcd60e51b815260206004820152600d60248201526c2330b4b632b2103a379029bab160991b6044820152606401610583565b6001600160a01b038216610e8057604051630b61174360e31b81526001600160a01b0383166004820152602401610583565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156106df57604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610f2e903390889087908790600401611820565b6020604051808303815f875af1925050508015610f68575060408051601f3d908101601f19168201909252610f659181019061185c565b60015b610fcf573d808015610f95576040519150601f19603f3d011682016040523d82523d5f602084013e610f9a565b606091505b5080515f03610fc757604051633250574960e11b81526001600160a01b0385166004820152602401610583565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b146108dd57604051633250574960e11b81526001600160a01b0385166004820152602401610583565b5f6110175f835f610c03565b90506001600160a01b03811661055557604051637e27328960e01b815260048101839052602401610583565b6060600680546104a290611780565b808061106657506001600160a01b03821615155b15611127575f61107584610bbe565b90506001600160a01b038316158015906110a15750826001600160a01b0316816001600160a01b031614155b80156110b457506110b28184610b57565b155b156110dd5760405163a9fbf51f60e01b81526001600160a01b0384166004820152602401610583565b81156111255783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b611161838383611280565b610657576001600160a01b03831661118f57604051637e27328960e01b815260048101829052602401610583565b60405163177e802f60e01b81526001600160a01b038316600482015260248101829052604401610583565b5f80838301848110156111d3575f8092509250506111da565b6001925090505b9250929050565b6111eb83836112e1565b6106575f848484610eec565b5f80825f0361120a57505f9050806111da565b600183858161121b5761121b611877565b04915091509250929050565b5f80835f0361123b5750600190505f6111da565b8383028385828161124e5761124e611877565b04146111d3575f8092509250506111da565b5f808383111561127457505f9050806111da565b50600193919092039150565b5f6001600160a01b03831615801590610d435750826001600160a01b0316846001600160a01b031614806112b957506112b98484610b57565b80610d435750505f908152600460205260409020546001600160a01b03908116911614919050565b6001600160a01b03821661130a57604051633250574960e11b81525f6004820152602401610583565b5f61131683835f610c03565b90506001600160a01b03811615610657576040516339e3563760e11b81525f6004820152602401610583565b6001600160e01b031981168114611357575f80fd5b50565b5f6020828403121561136a575f80fd5b8135610b1c81611342565b5f81518084525f5b818110156113995760208185018101518683018201520161137d565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f610b1c6020830184611375565b5f602082840312156113da575f80fd5b5035919050565b6001600160a01b0381168114611357575f80fd5b5f8060408385031215611406575f80fd5b8235611411816113e1565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561145c5761145c61141f565b604052919050565b5f67ffffffffffffffff82111561147d5761147d61141f565b5060051b60200190565b803560ff81168114611497575f80fd5b919050565b5f82601f8301126114ab575f80fd5b813560206114c06114bb83611464565b611433565b82815260059290921b840181019181810190868411156114de575f80fd5b8286015b84811015611500576114f381611487565b83529183019183016114e2565b509695505050505050565b5f806040838503121561151c575f80fd5b823567ffffffffffffffff80821115611533575f80fd5b818501915085601f830112611546575f80fd5b813560206115566114bb83611464565b82815260059290921b84018101918181019089841115611574575f80fd5b948201945b8386101561159b57853561158c816113e1565b82529482019490820190611579565b965050860135925050808211156115b0575f80fd5b506115bd8582860161149c565b9150509250929050565b5f805f606084860312156115d9575f80fd5b83356115e4816113e1565b925060208401356115f4816113e1565b929592945050506040919091013590565b5f60208284031215611615575f80fd5b8135610b1c816113e1565b5f60208284031215611630575f80fd5b610b1c82611487565b5f806040838503121561164a575f80fd5b8235611655816113e1565b915060208301358015158114611669575f80fd5b809150509250929050565b5f805f8060808587031215611687575f80fd5b8435611692816113e1565b93506020858101356116a3816113e1565b935060408601359250606086013567ffffffffffffffff808211156116c6575f80fd5b818801915088601f8301126116d9575f80fd5b8135818111156116eb576116eb61141f565b6116fd601f8201601f19168501611433565b91508082528984828501011115611712575f80fd5b80848401858401375f8482840101525080935050505092959194509250565b5f8060408385031215611742575f80fd5b823591506020830135611669816113e1565b5f8060408385031215611765575f80fd5b8235611770816113e1565b91506020830135611669816113e1565b600181811c9082168061179457607f821691505b6020821081036117b257634e487b7160e01b5f52602260045260245ffd5b50919050565b602080825260169082015275427269636b733a206e6f7420746865206f776e65722160501b604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b5f6001820161181957634e487b7160e01b5f52601160045260245ffd5b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061185290830184611375565b9695505050505050565b5f6020828403121561186c575f80fd5b8151610b1c81611342565b634e487b7160e01b5f52601260045260245ffdfea2646970667358221220b9715966495428e84b0c0ec7fae01f5c5e9651d0ba19370589ca29f120c3b5fd64736f6c6343000814003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d5a674571644b336b4c6476557a6262417662694b4e733753585675356159677a566471366b4b7970506774520000000000000000000000
Deployed Bytecode
0x608060405260043610610147575f3560e01c806370a08231116100b3578063c0b80aa11161006d578063c0b80aa11461037d578063c87b56dd1461039c578063da548e38146103bb578063dc5320c7146103e6578063e985e9c514610405578063f4a0a52814610424575f80fd5b806370a08231146102d9578063818c410e146102f857806395d89b4114610317578063a22cb4651461032b578063a7f93ebd1461034a578063b88d4fde1461035e575f80fd5b806323b872dd1161010457806323b872dd1461023557806340d097c31461025457806342842e0e1461026757806351cff8d9146102865780636352211e146102a55780636817c76c146102c4575f80fd5b806301ffc9a71461014b57806306fdde031461017f578063081812fc146101a0578063095ea7b3146101d75780630d022b5b146101f857806318160ddd14610217575b5f80fd5b348015610156575f80fd5b5061016a61016536600461135a565b610443565b60405190151581526020015b60405180910390f35b34801561018a575f80fd5b50610193610494565b60405161017691906113b8565b3480156101ab575f80fd5b506101bf6101ba3660046113ca565b610523565b6040516001600160a01b039091168152602001610176565b3480156101e2575f80fd5b506101f66101f13660046113f5565b61054a565b005b348015610203575f80fd5b506101f661021236600461150b565b610559565b348015610222575f80fd5b506007545b604051908152602001610176565b348015610240575f80fd5b506101f661024f3660046115c7565b61065c565b6101f6610262366004611605565b6106e5565b348015610272575f80fd5b506101f66102813660046115c7565b6108e4565b348015610291575f80fd5b506101f66102a0366004611605565b6108fe565b3480156102b0575f80fd5b506101bf6102bf3660046113ca565b61098d565b3480156102cf575f80fd5b5061022760095481565b3480156102e4575f80fd5b506102276102f3366004611605565b610997565b348015610303575f80fd5b506101f6610312366004611620565b6109dc565b348015610322575f80fd5b50610193610a39565b348015610336575f80fd5b506101f6610345366004611639565b610a48565b348015610355575f80fd5b50600954610227565b348015610369575f80fd5b506101f6610378366004611674565b610a53565b348015610388575f80fd5b506101f6610397366004611731565b610a6a565b3480156103a7575f80fd5b506101936103b63660046113ca565b610b07565b3480156103c6575f80fd5b50600a546103d49060ff1681565b60405160ff9091168152602001610176565b3480156103f1575f80fd5b506103d4610400366004611605565b610b23565b348015610410575f80fd5b5061016a61041f366004611754565b610b57565b34801561042f575f80fd5b506101f661043e3660046113ca565b610b84565b5f6001600160e01b031982166380ac58cd60e01b148061047357506001600160e01b03198216635b5e139f60e01b145b8061048e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60605f80546104a290611780565b80601f01602080910402602001604051908101604052809291908181526020018280546104ce90611780565b80156105195780601f106104f057610100808354040283529160200191610519565b820191905f5260205f20905b8154815290600101906020018083116104fc57829003601f168201915b5050505050905090565b5f61052d82610bbe565b505f828152600460205260409020546001600160a01b031661048e565b610555828233610bf6565b5050565b6008546001600160a01b0316331461058c5760405162461bcd60e51b8152600401610583906117b8565b60405180910390fd5b80518251146105cc5760405162461bcd60e51b815260206004820152600c60248201526b436865636b2061727261797360a01b6044820152606401610583565b5f5b8251811015610657578181815181106105e9576105e96117e8565b6020026020010151600b5f858481518110610606576106066117e8565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f6101000a81548160ff021916908360ff160217905550808061064f906117fc565b9150506105ce565b505050565b6001600160a01b03821661068557604051633250574960e11b81525f6004820152602401610583565b5f610691838333610c03565b9050836001600160a01b0316816001600160a01b0316146106df576040516364283d7b60e01b81526001600160a01b0380861660048301526024820184905282166044820152606401610583565b50505050565b6009543410156107375760405162461bcd60e51b815260206004820152601e60248201527f6d73672e76616c7565206d757374206265203e3d206d696e74507269636500006044820152606401610583565b5f3390505f6107496007546001610cf5565b90506107558282610d4b565b6007819055346001600160a01b0384163014610842575f6107796009546064610d64565b90505f61078586610b23565b60ff1690505f6107958383610db2565b90505f876001600160a01b0316826040515f6040518083038185875af1925050503d805f81146107e0576040519150601f19603f3d011682016040523d82523d5f602084013e6107e5565b606091505b50509050806108315760405162461bcd60e51b81526020600482015260186024820152774661696c656420746f2073656e642072656620736861726560401b6044820152606401610583565b61083b8583610e00565b9450505050505b6008546040515f916001600160a01b03169083908381818185875af1925050503d805f811461088c576040519150601f19603f3d011682016040523d82523d5f602084013e610891565b606091505b50509050806108dd5760405162461bcd60e51b81526020600482015260186024820152774661696c656420746f2073656e642072656620736861726560401b6044820152606401610583565b5050505050565b61065783838360405180602001604052805f815250610a53565b6008546001600160a01b031633146109285760405162461bcd60e51b8152600401610583906117b8565b33610931575f80fd5b60405147905f906001600160a01b0384169083908381818185875af1925050503d805f811461097b576040519150601f19603f3d011682016040523d82523d5f602084013e610980565b606091505b5050905080610657575f80fd5b5f61048e82610bbe565b5f6001600160a01b0382166109c1576040516322718ad960e21b81525f6004820152602401610583565b506001600160a01b03165f9081526003602052604090205490565b6008546001600160a01b03163314610a065760405162461bcd60e51b8152600401610583906117b8565b60648160ff1610610a15575f80fd5b5f8160ff1611610a23575f80fd5b600a805460ff191660ff92909216919091179055565b6060600180546104a290611780565b610555338383610e4e565b610a5e84848461065c565b6106df84848484610eec565b610a738261098d565b6001600160a01b0316336001600160a01b031614610ac35760405162461bcd60e51b815260206004820152600d60248201526c2737ba103a34329037bbb732b960991b6044820152606401610583565b610acc8261100b565b60405182906001600160a01b0383169033907f8fd631c073cf5aadcf93e6b3c32cd9140fdf87e0559a01d884e0f55b026d0d88905f90a45050565b6060610b1282610bbe565b505f610b1c611043565b9392505050565b6001600160a01b0381165f908152600b602052604081205460ff168015610b4a5780610b1c565b600a5460ff169392505050565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314610bae5760405162461bcd60e51b8152600401610583906117b8565b805f03610bb9575f80fd5b600955565b5f818152600260205260408120546001600160a01b03168061048e57604051637e27328960e01b815260048101849052602401610583565b6106578383836001611052565b5f828152600260205260408120546001600160a01b0390811690831615610c2f57610c2f818486611156565b6001600160a01b03811615610c6957610c4a5f855f80611052565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b03851615610c97576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b5f805f610d0285856111ba565b9150915081610d435760405162461bcd60e51b815260206004820152600d60248201526c11985a5b1959081d1bc8105919609a1b6044820152606401610583565b949350505050565b610555828260405180602001604052805f8152506111e1565b5f805f610d7185856111f7565b9150915081610d435760405162461bcd60e51b815260206004820152600d60248201526c2330b4b632b2103a37902234bb60991b6044820152606401610583565b5f805f610dbf8585611227565b9150915081610d435760405162461bcd60e51b815260206004820152600d60248201526c11985a5b1959081d1bc8135d5b609a1b6044820152606401610583565b5f805f610e0d8585611260565b9150915081610d435760405162461bcd60e51b815260206004820152600d60248201526c2330b4b632b2103a379029bab160991b6044820152606401610583565b6001600160a01b038216610e8057604051630b61174360e31b81526001600160a01b0383166004820152602401610583565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156106df57604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610f2e903390889087908790600401611820565b6020604051808303815f875af1925050508015610f68575060408051601f3d908101601f19168201909252610f659181019061185c565b60015b610fcf573d808015610f95576040519150601f19603f3d011682016040523d82523d5f602084013e610f9a565b606091505b5080515f03610fc757604051633250574960e11b81526001600160a01b0385166004820152602401610583565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b146108dd57604051633250574960e11b81526001600160a01b0385166004820152602401610583565b5f6110175f835f610c03565b90506001600160a01b03811661055557604051637e27328960e01b815260048101839052602401610583565b6060600680546104a290611780565b808061106657506001600160a01b03821615155b15611127575f61107584610bbe565b90506001600160a01b038316158015906110a15750826001600160a01b0316816001600160a01b031614155b80156110b457506110b28184610b57565b155b156110dd5760405163a9fbf51f60e01b81526001600160a01b0384166004820152602401610583565b81156111255783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b611161838383611280565b610657576001600160a01b03831661118f57604051637e27328960e01b815260048101829052602401610583565b60405163177e802f60e01b81526001600160a01b038316600482015260248101829052604401610583565b5f80838301848110156111d3575f8092509250506111da565b6001925090505b9250929050565b6111eb83836112e1565b6106575f848484610eec565b5f80825f0361120a57505f9050806111da565b600183858161121b5761121b611877565b04915091509250929050565b5f80835f0361123b5750600190505f6111da565b8383028385828161124e5761124e611877565b04146111d3575f8092509250506111da565b5f808383111561127457505f9050806111da565b50600193919092039150565b5f6001600160a01b03831615801590610d435750826001600160a01b0316846001600160a01b031614806112b957506112b98484610b57565b80610d435750505f908152600460205260409020546001600160a01b03908116911614919050565b6001600160a01b03821661130a57604051633250574960e11b81525f6004820152602401610583565b5f61131683835f610c03565b90506001600160a01b03811615610657576040516339e3563760e11b81525f6004820152602401610583565b6001600160e01b031981168114611357575f80fd5b50565b5f6020828403121561136a575f80fd5b8135610b1c81611342565b5f81518084525f5b818110156113995760208185018101518683018201520161137d565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f610b1c6020830184611375565b5f602082840312156113da575f80fd5b5035919050565b6001600160a01b0381168114611357575f80fd5b5f8060408385031215611406575f80fd5b8235611411816113e1565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561145c5761145c61141f565b604052919050565b5f67ffffffffffffffff82111561147d5761147d61141f565b5060051b60200190565b803560ff81168114611497575f80fd5b919050565b5f82601f8301126114ab575f80fd5b813560206114c06114bb83611464565b611433565b82815260059290921b840181019181810190868411156114de575f80fd5b8286015b84811015611500576114f381611487565b83529183019183016114e2565b509695505050505050565b5f806040838503121561151c575f80fd5b823567ffffffffffffffff80821115611533575f80fd5b818501915085601f830112611546575f80fd5b813560206115566114bb83611464565b82815260059290921b84018101918181019089841115611574575f80fd5b948201945b8386101561159b57853561158c816113e1565b82529482019490820190611579565b965050860135925050808211156115b0575f80fd5b506115bd8582860161149c565b9150509250929050565b5f805f606084860312156115d9575f80fd5b83356115e4816113e1565b925060208401356115f4816113e1565b929592945050506040919091013590565b5f60208284031215611615575f80fd5b8135610b1c816113e1565b5f60208284031215611630575f80fd5b610b1c82611487565b5f806040838503121561164a575f80fd5b8235611655816113e1565b915060208301358015158114611669575f80fd5b809150509250929050565b5f805f8060808587031215611687575f80fd5b8435611692816113e1565b93506020858101356116a3816113e1565b935060408601359250606086013567ffffffffffffffff808211156116c6575f80fd5b818801915088601f8301126116d9575f80fd5b8135818111156116eb576116eb61141f565b6116fd601f8201601f19168501611433565b91508082528984828501011115611712575f80fd5b80848401858401375f8482840101525080935050505092959194509250565b5f8060408385031215611742575f80fd5b823591506020830135611669816113e1565b5f8060408385031215611765575f80fd5b8235611770816113e1565b91506020830135611669816113e1565b600181811c9082168061179457607f821691505b6020821081036117b257634e487b7160e01b5f52602260045260245ffd5b50919050565b602080825260169082015275427269636b733a206e6f7420746865206f776e65722160501b604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b5f6001820161181957634e487b7160e01b5f52601160045260245ffd5b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061185290830184611375565b9695505050505050565b5f6020828403121561186c575f80fd5b8151610b1c81611342565b634e487b7160e01b5f52601260045260245ffdfea2646970667358221220b9715966495428e84b0c0ec7fae01f5c5e9651d0ba19370589ca29f120c3b5fd64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d5a674571644b336b4c6476557a6262417662694b4e733753585675356159677a566471366b4b7970506774520000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI_ (string): ipfs://QmZgEqdK3kLdvUzbbAvbiKNs7SXVu5aYgzVdq6kKypPgtR
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [2] : 697066733a2f2f516d5a674571644b336b4c6476557a6262417662694b4e7337
Arg [3] : 53585675356159677a566471366b4b7970506774520000000000000000000000
Deployed Bytecode Sourcemap
58533:3550:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37847:305;;;;;;;;;;-1:-1:-1;37847:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;37847:305:0;;;;;;;;38678:91;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;39850:158::-;;;;;;;;;;-1:-1:-1;39850:158:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1594:32:1;;;1576:51;;1564:2;1549:18;39850:158:0;1430:203:1;39669:115:0;;;;;;;;;;-1:-1:-1;39669:115:0;;;;;:::i;:::-;;:::i;:::-;;61220:313;;;;;;;;;;-1:-1:-1;61220:313:0;;;;;:::i;:::-;;:::i;61990:90::-;;;;;;;;;;-1:-1:-1;62060:12:0;;61990:90;;;4886:25:1;;;4874:2;4859:18;61990:90:0;4740:177:1;40519:588:0;;;;;;;;;;-1:-1:-1;40519:588:0;;;;;:::i;:::-;;:::i;59529:909::-;;;;;;:::i;:::-;;:::i;41178:134::-;;;;;;;;;;-1:-1:-1;41178:134:0;;;;;:::i;:::-;;:::i;59283:238::-;;;;;;;;;;-1:-1:-1;59283:238:0;;;;;:::i;:::-;;:::i;38491:120::-;;;;;;;;;;-1:-1:-1;38491:120:0;;;;;:::i;:::-;;:::i;58675:24::-;;;;;;;;;;;;;;;;38216:213;;;;;;;;;;-1:-1:-1;38216:213:0;;;;;:::i;:::-;;:::i;60700:154::-;;;;;;;;;;-1:-1:-1;60700:154:0;;;;;:::i;:::-;;:::i;38838:95::-;;;;;;;;;;;;;:::i;40080:146::-;;;;;;;;;;-1:-1:-1;40080:146:0;;;;;:::i;:::-;;:::i;60862:89::-;;;;;;;;;;-1:-1:-1;60934:9:0;;60862:89;;41383:211;;;;;;;;;;-1:-1:-1;41383:211:0;;;;;:::i;:::-;;:::i;60446:246::-;;;;;;;;;;-1:-1:-1;60446:246:0;;;;;:::i;:::-;;:::i;61787:191::-;;;;;;;;;;-1:-1:-1;61787:191:0;;;;;:::i;:::-;;:::i;58708:25::-;;;;;;;;;;-1:-1:-1;58708:25:0;;;;;;;;;;;8108:4:1;8096:17;;;8078:36;;8066:2;8051:18;58708:25:0;7936:184:1;60959:253:0;;;;;;;;;;-1:-1:-1;60959:253:0;;;;;:::i;:::-;;:::i;40297:155::-;;;;;;;;;;-1:-1:-1;40297:155:0;;;;;:::i;:::-;;:::i;61541:129::-;;;;;;;;;;-1:-1:-1;61541:129:0;;;;;:::i;:::-;;:::i;37847:305::-;37949:4;-1:-1:-1;;;;;;37986:40:0;;-1:-1:-1;;;37986:40:0;;:105;;-1:-1:-1;;;;;;;38043:48:0;;-1:-1:-1;;;38043:48:0;37986:105;:158;;;-1:-1:-1;;;;;;;;;;29816:40:0;;;38108:36;37966:178;37847:305;-1:-1:-1;;37847:305:0:o;38678:91::-;38723:13;38756:5;38749:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38678:91;:::o;39850:158::-;39917:7;39937:22;39951:7;39937:13;:22::i;:::-;-1:-1:-1;42426:7:0;42453:24;;;:15;:24;;;;;;-1:-1:-1;;;;;42453:24:0;39979:21;42356:129;39669:115;39741:35;39750:2;39754:7;8664:10;39741:8;:35::i;:::-;39669:115;;:::o;61220:313::-;59220:6;;-1:-1:-1;;;;;59220:6:0;59206:10;:20;59198:55;;;;-1:-1:-1;;;59198:55:0;;;;;;;:::i;:::-;;;;;;;;;61363:11:::1;:18;61343:9;:16;:38;61335:63;;;::::0;-1:-1:-1;;;61335:63:0;;9456:2:1;61335:63:0::1;::::0;::::1;9438:21:1::0;9495:2;9475:18;;;9468:30;-1:-1:-1;;;9514:18:1;;;9507:42;9566:18;;61335:63:0::1;9254:336:1::0;61335:63:0::1;61416:6;61411:115;61432:9;:16;61428:1;:20;61411:115;;;61500:11;61512:1;61500:14;;;;;;;;:::i;:::-;;;;;;;61470:13;:27;61484:9;61494:1;61484:12;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;61470:27:0::1;-1:-1:-1::0;;;;;61470:27:0::1;;;;;;;;;;;;;:44;;;;;;;;;;;;;;;;;;61450:3;;;;;:::i;:::-;;;;61411:115;;;;61220:313:::0;;:::o;40519:588::-;-1:-1:-1;;;;;40614:16:0;;40610:89;;40654:33;;-1:-1:-1;;;40654:33:0;;40684:1;40654:33;;;1576:51:1;1549:18;;40654:33:0;1430:203:1;40610:89:0;40920:21;40944:34;40952:2;40956:7;8664:10;40944:7;:34::i;:::-;40920:58;;41010:4;-1:-1:-1;;;;;40993:21:0;:13;-1:-1:-1;;;;;40993:21:0;;40989:111;;41038:50;;-1:-1:-1;;;41038:50:0;;-1:-1:-1;;;;;10222:15:1;;;41038:50:0;;;10204:34:1;10254:18;;;10247:34;;;10317:15;;10297:18;;;10290:43;10139:18;;41038:50:0;9964:375:1;40989:111:0;40599:508;40519:588;;;:::o;59529:909::-;59615:9;;59602;:22;;59594:65;;;;-1:-1:-1;;;59594:65:0;;10546:2:1;59594:65:0;;;10528:21:1;10585:2;10565:18;;;10558:30;10624:32;10604:18;;;10597:60;10674:18;;59594:65:0;10344:354:1;59594:65:0;59672:10;59685;59672:23;;59708:15;59726:34;59744:12;;59758:1;59726:17;:34::i;:::-;59708:52;;59771:22;59781:2;59785:7;59771:9;:22::i;:::-;59804:12;:22;;;59856:9;-1:-1:-1;;;;;59882:20:0;;59897:4;59882:20;59878:425;;59919:14;59936:33;59954:9;;59965:3;59936:17;:33::i;:::-;59919:50;;59984:16;60003:29;60028:3;60003:24;:29::i;:::-;59984:48;;;;60049:17;60069:35;60087:6;60095:8;60069:17;:35::i;:::-;60049:55;;60122:12;60140:3;-1:-1:-1;;;;;60140:8:0;60156:9;60140:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60121:49;;;60193:7;60185:44;;;;-1:-1:-1;;;60185:44:0;;11115:2:1;60185:44:0;;;11097:21:1;11154:2;11134:18;;;11127:30;-1:-1:-1;;;11173:18:1;;;11166:54;11237:18;;60185:44:0;10913:348:1;60185:44:0;60255:36;60273:6;60281:9;60255:17;:36::i;:::-;60246:45;;59904:399;;;;59878:425;60343:6;;60335:39;;60316:13;;-1:-1:-1;;;;;60343:6:0;;60363;;60316:13;60335:39;60316:13;60335:39;60363:6;60343;60335:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60315:59;;;60393:8;60385:45;;;;-1:-1:-1;;;60385:45:0;;11115:2:1;60385:45:0;;;11097:21:1;11154:2;11134:18;;;11127:30;-1:-1:-1;;;11173:18:1;;;11166:54;11237:18;;60385:45:0;10913:348:1;60385:45:0;59583:855;;;;59529:909;:::o;41178:134::-;41265:39;41282:4;41288:2;41292:7;41265:39;;;;;;;;;;;;:16;:39::i;59283:238::-;59220:6;;-1:-1:-1;;;;;59220:6:0;59206:10;:20;59198:55;;;;-1:-1:-1;;;59198:55:0;;;;;;;:::i;:::-;59357:10:::1;59349:33;;;::::0;::::1;;59460:26;::::0;59407:21:::1;::::0;59393:11:::1;::::0;-1:-1:-1;;;;;59460:7:0;::::1;::::0;59407:21;;59393:11;59460:26;59393:11;59460:26;59407:21;59460:7;:26:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59441:45;;;59505:7;59497:16;;;::::0;::::1;38491:120:::0;38554:7;38581:22;38595:7;38581:13;:22::i;38216:213::-;38279:7;-1:-1:-1;;;;;38303:19:0;;38299:89;;38346:30;;-1:-1:-1;;;38346:30:0;;38373:1;38346:30;;;1576:51:1;1549:18;;38346:30:0;1430:203:1;38299:89:0;-1:-1:-1;;;;;;38405:16:0;;;;;:9;:16;;;;;;;38216:213::o;60700:154::-;59220:6;;-1:-1:-1;;;;;59220:6:0;59206:10;:20;59198:55;;;;-1:-1:-1;;;59198:55:0;;;;;;;:::i;:::-;60782:3:::1;60774:5;:11;;;60766:20;;;::::0;::::1;;60813:1;60805:5;:9;;;60797:18;;;::::0;::::1;;60826:12;:20:::0;;-1:-1:-1;;60826:20:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;60700:154::o;38838:95::-;38885:13;38918:7;38911:14;;;;;:::i;40080:146::-;40166:52;8664:10;40199:8;40209;40166:18;:52::i;41383:211::-;41497:31;41510:4;41516:2;41520:7;41497:12;:31::i;:::-;41539:47;41562:4;41568:2;41572:7;41581:4;41539:22;:47::i;60446:246::-;60565:16;60573:7;60565;:16::i;:::-;-1:-1:-1;;;;;60551:30:0;:10;-1:-1:-1;;;;;60551:30:0;;60543:56;;;;-1:-1:-1;;;60543:56:0;;11468:2:1;60543:56:0;;;11450:21:1;11507:2;11487:18;;;11480:30;-1:-1:-1;;;11526:18:1;;;11519:43;11579:18;;60543:56:0;11266:337:1;60543:56:0;60610:14;60616:7;60610:5;:14::i;:::-;60642:42;;60676:7;;-1:-1:-1;;;;;60642:42:0;;;60654:10;;60642:42;;;;;60446:246;;:::o;61787:191::-;61852:13;61878:22;61892:7;61878:13;:22::i;:::-;;61911:21;61935:10;:8;:10::i;:::-;61911:34;61787:191;-1:-1:-1;;;61787:191:0:o;60959:253::-;-1:-1:-1;;;;;61063:19:0;;61028:5;61063:19;;;:13;:19;;;;;;;;61165:13;;:39;;61196:8;61165:39;;;61181:12;;;;61158:46;60959:253;-1:-1:-1;;;60959:253:0:o;40297:155::-;-1:-1:-1;;;;;40409:25:0;;;40385:4;40409:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;40297:155::o;61541:129::-;59220:6;;-1:-1:-1;;;;;59220:6:0;59206:10;:20;59198:55;;;;-1:-1:-1;;;59198:55:0;;;;;;;:::i;:::-;61617:8:::1;61629:1;61617:13:::0;61609:22:::1;;;::::0;::::1;;61642:9;:20:::0;61541:129::o;52825:247::-;52888:7;42211:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42211:16:0;;52952:90;;52999:31;;-1:-1:-1;;;52999:31:0;;;;;4886:25:1;;;4859:18;;52999:31:0;4740:177:1;51057:122:0;51138:33;51147:2;51151:7;51160:4;51166;51138:8;:33::i;45318:824::-;45404:7;42211:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42211:16:0;;;;45519:18;;;45515:88;;45554:37;45571:4;45577;45583:7;45554:16;:37::i;:::-;-1:-1:-1;;;;;45650:18:0;;;45646:263;;45768:48;45785:1;45789:7;45806:1;45810:5;45768:8;:48::i;:::-;-1:-1:-1;;;;;45862:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;45862:20:0;;;45646:263;-1:-1:-1;;;;;45925:16:0;;;45921:111;;-1:-1:-1;;;;;45987:13:0;;;;;;:9;:13;;;;;:18;;46004:1;45987:18;;;45921:111;46044:16;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;46044:21:0;-1:-1:-1;;;;;46044:21:0;;;;;;;;;46083:27;;46044:16;;46083:27;;;;;;;46130:4;45318:824;-1:-1:-1;;;;45318:824:0:o;57698:201::-;57759:7;57780:12;57794:11;57809:17;57821:1;57824;57809:11;:17::i;:::-;57779:47;;;;57845:7;57837:33;;;;-1:-1:-1;;;57837:33:0;;11810:2:1;57837:33:0;;;11792:21:1;11849:2;11829:18;;;11822:30;-1:-1:-1;;;11868:18:1;;;11861:43;11921:18;;57837:33:0;11608:337:1;57837:33:0;57888:3;57698:201;-1:-1:-1;;;;57698:201:0:o;47176:102::-;47244:26;47254:2;47258:7;47244:26;;;;;;;;;;;;:9;:26::i;58116:201::-;58177:7;58198:12;58212:11;58227:17;58239:1;58242;58227:11;:17::i;:::-;58197:47;;;;58263:7;58255:33;;;;-1:-1:-1;;;58255:33:0;;12152:2:1;58255:33:0;;;12134:21:1;12191:2;12171:18;;;12164:30;-1:-1:-1;;;12210:18:1;;;12203:43;12263:18;;58255:33:0;11950:337:1;57907:201:0;57968:7;57989:12;58003:11;58018:17;58030:1;58033;58018:11;:17::i;:::-;57988:47;;;;58054:7;58046:33;;;;-1:-1:-1;;;58046:33:0;;12494:2:1;58046:33:0;;;12476:21:1;12533:2;12513:18;;;12506:30;-1:-1:-1;;;12552:18:1;;;12545:43;12605:18;;58046:33:0;12292:337:1;58325:201:0;58386:7;58407:12;58421:11;58436:17;58448:1;58451;58436:11;:17::i;:::-;58406:47;;;;58472:7;58464:33;;;;-1:-1:-1;;;58464:33:0;;12836:2:1;58464:33:0;;;12818:21:1;12875:2;12855:18;;;12848:30;-1:-1:-1;;;12894:18:1;;;12887:43;12947:18;;58464:33:0;12634:337:1;52264:318:0;-1:-1:-1;;;;;52372:22:0;;52368:93;;52418:31;;-1:-1:-1;;;52418:31:0;;-1:-1:-1;;;;;1594:32:1;;52418:31:0;;;1576:51:1;1549:18;;52418:31:0;1430:203:1;52368:93:0;-1:-1:-1;;;;;52471:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;52471:46:0;;;;;;;;;;52533:41;;540::1;;;52533::0;;513:18:1;52533:41:0;;;;;;;52264:318;;;:::o;53622:799::-;-1:-1:-1;;;;;53739:14:0;;;:18;53735:679;;53778:71;;-1:-1:-1;;;53778:71:0;;-1:-1:-1;;;;;53778:36:0;;;;;:71;;8664:10;;53829:4;;53835:7;;53844:4;;53778:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53778:71:0;;;;;;;;-1:-1:-1;;53778:71:0;;;;;;;;;;;;:::i;:::-;;;53774:629;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54092:6;:13;54109:1;54092:18;54088:300;;54142:25;;-1:-1:-1;;;54142:25:0;;-1:-1:-1;;;;;1594:32:1;;54142:25:0;;;1576:51:1;1549:18;;54142:25:0;1430:203:1;54088:300:0;54338:6;54332:13;54323:6;54319:2;54315:15;54308:38;53774:629;-1:-1:-1;;;;;;53897:51:0;;-1:-1:-1;;;53897:51:0;53893:132;;53980:25;;-1:-1:-1;;;53980:25:0;;-1:-1:-1;;;;;1594:32:1;;53980:25:0;;;1576:51:1;1549:18;;53980:25:0;1430:203:1;48029:232:0;48081:21;48105:40;48121:1;48125:7;48142:1;48105:7;:40::i;:::-;48081:64;-1:-1:-1;;;;;;48160:27:0;;48156:98;;48211:31;;-1:-1:-1;;;48211:31:0;;;;;4886:25:1;;;4859:18;;48211:31:0;4740:177:1;61678:101:0;61730:13;61763:8;61756:15;;;;;:::i;51367:678::-;51529:9;:31;;;-1:-1:-1;;;;;;51542:18:0;;;;51529:31;51525:471;;;51577:13;51593:22;51607:7;51593:13;:22::i;:::-;51577:38;-1:-1:-1;;;;;;51746:18:0;;;;;;:35;;;51777:4;-1:-1:-1;;;;;51768:13:0;:5;-1:-1:-1;;;;;51768:13:0;;;51746:35;:69;;;;;51786:29;51803:5;51810:4;51786:16;:29::i;:::-;51785:30;51746:69;51742:144;;;51843:27;;-1:-1:-1;;;51843:27:0;;-1:-1:-1;;;;;1594:32:1;;51843:27:0;;;1576:51:1;1549:18;;51843:27:0;1430:203:1;51742:144:0;51906:9;51902:83;;;51961:7;51957:2;-1:-1:-1;;;;;51941:28:0;51950:5;-1:-1:-1;;;;;51941:28:0;;;;;;;;;;;51902:83;51562:434;51525:471;-1:-1:-1;;52008:24:0;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;52008:29:0;-1:-1:-1;;;;;52008:29:0;;;;;;;;;;51367:678::o;43525:376::-;43638:38;43652:5;43659:7;43668;43638:13;:38::i;:::-;43633:261;;-1:-1:-1;;;;;43697:19:0;;43693:190;;43744:31;;-1:-1:-1;;;43744:31:0;;;;;4886:25:1;;;4859:18;;43744:31:0;4740:177:1;43693:190:0;43823:44;;-1:-1:-1;;;43823:44:0;;-1:-1:-1;;;;;13916:32:1;;43823:44:0;;;13898:51:1;13965:18;;;13958:34;;;13871:18;;43823:44:0;13724:274:1;9539:222:0;9600:4;;9663:5;;;9687;;;9683:28;;;9702:5;9709:1;9694:17;;;;;;;9683:28;9734:4;;-1:-1:-1;9740:1:0;-1:-1:-1;9539:222:0;;;;;;:::o;47505:185::-;47600:18;47606:2;47610:7;47600:5;:18::i;:::-;47629:53;47660:1;47664:2;47668:7;47677:4;47629:22;:53::i;10801:195::-;10862:4;10868:7;10917:1;10922;10917:6;10913:29;;-1:-1:-1;10933:5:0;;-1:-1:-1;10933:5:0;10925:17;;10913:29;10965:4;10975:1;10971;:5;;;;;:::i;:::-;;10957:20;;;;10801:195;;;;;:::o;10182:503::-;10243:4;10249:7;10531:1;10536;10531:6;10527:28;;-1:-1:-1;10547:4:0;;-1:-1:-1;10553:1:0;10539:16;;10527:28;10582:5;;;10586:1;10582;:5;:1;10606:5;;;;:::i;:::-;;:10;10602:33;;10626:5;10633:1;10618:17;;;;;;;9873:194;9934:4;9940:7;9993:1;9989;:5;9985:28;;;-1:-1:-1;10004:5:0;;-1:-1:-1;10004:5:0;9996:17;;9985:28;-1:-1:-1;10036:4:0;;10042:5;;;;;-1:-1:-1;9873:194:0:o;42805:276::-;42908:4;-1:-1:-1;;;;;42945:21:0;;;;;;:128;;;42993:7;-1:-1:-1;;;;;42984:16:0;:5;-1:-1:-1;;;;;42984:16:0;;:52;;;;43004:32;43021:5;43028:7;43004:16;:32::i;:::-;42984:88;;;-1:-1:-1;;42426:7:0;42453:24;;;:15;:24;;;;;;-1:-1:-1;;;;;42453:24:0;;;43040:32;;;;42925:148;-1:-1:-1;42805:276:0:o;46478:335::-;-1:-1:-1;;;;;46546:16:0;;46542:89;;46586:33;;-1:-1:-1;;;46586:33:0;;46616:1;46586:33;;;1576:51:1;1549:18;;46586:33:0;1430:203:1;46542:89:0;46641:21;46665:32;46673:2;46677:7;46694:1;46665:7;:32::i;:::-;46641:56;-1:-1:-1;;;;;;46712:27:0;;;46708:98;;46763:31;;-1:-1:-1;;;46763:31:0;;46791:1;46763:31;;;1576:51:1;1549:18;;46763:31:0;1430:203:1;14:131;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;68:71;14:131;:::o;150:245::-;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:423::-;634:3;672:5;666:12;699:6;694:3;687:19;724:1;734:162;748:6;745:1;742:13;734:162;;;810:4;866:13;;;862:22;;856:29;838:11;;;834:20;;827:59;763:12;734:162;;;738:3;941:1;934:4;925:6;920:3;916:16;912:27;905:38;1004:4;997:2;993:7;988:2;980:6;976:15;972:29;967:3;963:39;959:50;952:57;;;592:423;;;;:::o;1020:220::-;1169:2;1158:9;1151:21;1132:4;1189:45;1230:2;1219:9;1215:18;1207:6;1189:45;:::i;1245:180::-;1304:6;1357:2;1345:9;1336:7;1332:23;1328:32;1325:52;;;1373:1;1370;1363:12;1325:52;-1:-1:-1;1396:23:1;;1245:180;-1:-1:-1;1245:180:1:o;1638:131::-;-1:-1:-1;;;;;1713:31:1;;1703:42;;1693:70;;1759:1;1756;1749:12;1774:315;1842:6;1850;1903:2;1891:9;1882:7;1878:23;1874:32;1871:52;;;1919:1;1916;1909:12;1871:52;1958:9;1945:23;1977:31;2002:5;1977:31;:::i;:::-;2027:5;2079:2;2064:18;;;;2051:32;;-1:-1:-1;;;1774:315:1:o;2094:127::-;2155:10;2150:3;2146:20;2143:1;2136:31;2186:4;2183:1;2176:15;2210:4;2207:1;2200:15;2226:275;2297:2;2291:9;2362:2;2343:13;;-1:-1:-1;;2339:27:1;2327:40;;2397:18;2382:34;;2418:22;;;2379:62;2376:88;;;2444:18;;:::i;:::-;2480:2;2473:22;2226:275;;-1:-1:-1;2226:275:1:o;2506:183::-;2566:4;2599:18;2591:6;2588:30;2585:56;;;2621:18;;:::i;:::-;-1:-1:-1;2666:1:1;2662:14;2678:4;2658:25;;2506:183::o;2694:156::-;2760:20;;2820:4;2809:16;;2799:27;;2789:55;;2840:1;2837;2830:12;2789:55;2694:156;;;:::o;2855:664::-;2907:5;2960:3;2953:4;2945:6;2941:17;2937:27;2927:55;;2978:1;2975;2968:12;2927:55;3014:6;3001:20;3040:4;3064:60;3080:43;3120:2;3080:43;:::i;:::-;3064:60;:::i;:::-;3158:15;;;3244:1;3240:10;;;;3228:23;;3224:32;;;3189:12;;;;3268:15;;;3265:35;;;3296:1;3293;3286:12;3265:35;3332:2;3324:6;3320:15;3344:146;3360:6;3355:3;3352:15;3344:146;;;3426:21;3443:3;3426:21;:::i;:::-;3414:34;;3468:12;;;;3377;;3344:146;;;-1:-1:-1;3508:5:1;2855:664;-1:-1:-1;;;;;;2855:664:1:o;3524:1211::-;3640:6;3648;3701:2;3689:9;3680:7;3676:23;3672:32;3669:52;;;3717:1;3714;3707:12;3669:52;3757:9;3744:23;3786:18;3827:2;3819:6;3816:14;3813:34;;;3843:1;3840;3833:12;3813:34;3881:6;3870:9;3866:22;3856:32;;3926:7;3919:4;3915:2;3911:13;3907:27;3897:55;;3948:1;3945;3938:12;3897:55;3984:2;3971:16;4006:4;4030:60;4046:43;4086:2;4046:43;:::i;4030:60::-;4124:15;;;4206:1;4202:10;;;;4194:19;;4190:28;;;4155:12;;;;4230:19;;;4227:39;;;4262:1;4259;4252:12;4227:39;4286:11;;;;4306:217;4322:6;4317:3;4314:15;4306:217;;;4402:3;4389:17;4419:31;4444:5;4419:31;:::i;:::-;4463:18;;4339:12;;;;4501;;;;4306:217;;;4542:5;-1:-1:-1;;4585:18:1;;4572:32;;-1:-1:-1;;4616:16:1;;;4613:36;;;4645:1;4642;4635:12;4613:36;;4668:61;4721:7;4710:8;4699:9;4695:24;4668:61;:::i;:::-;4658:71;;;3524:1211;;;;;:::o;4922:456::-;4999:6;5007;5015;5068:2;5056:9;5047:7;5043:23;5039:32;5036:52;;;5084:1;5081;5074:12;5036:52;5123:9;5110:23;5142:31;5167:5;5142:31;:::i;:::-;5192:5;-1:-1:-1;5249:2:1;5234:18;;5221:32;5262:33;5221:32;5262:33;:::i;:::-;4922:456;;5314:7;;-1:-1:-1;;;5368:2:1;5353:18;;;;5340:32;;4922:456::o;5383:255::-;5450:6;5503:2;5491:9;5482:7;5478:23;5474:32;5471:52;;;5519:1;5516;5509:12;5471:52;5558:9;5545:23;5577:31;5602:5;5577:31;:::i;5895:182::-;5952:6;6005:2;5993:9;5984:7;5980:23;5976:32;5973:52;;;6021:1;6018;6011:12;5973:52;6044:27;6061:9;6044:27;:::i;6082:416::-;6147:6;6155;6208:2;6196:9;6187:7;6183:23;6179:32;6176:52;;;6224:1;6221;6214:12;6176:52;6263:9;6250:23;6282:31;6307:5;6282:31;:::i;:::-;6332:5;-1:-1:-1;6389:2:1;6374:18;;6361:32;6431:15;;6424:23;6412:36;;6402:64;;6462:1;6459;6452:12;6402:64;6485:7;6475:17;;;6082:416;;;;;:::o;6503:1108::-;6598:6;6606;6614;6622;6675:3;6663:9;6654:7;6650:23;6646:33;6643:53;;;6692:1;6689;6682:12;6643:53;6731:9;6718:23;6750:31;6775:5;6750:31;:::i;:::-;6800:5;-1:-1:-1;6824:2:1;6863:18;;;6850:32;6891:33;6850:32;6891:33;:::i;:::-;6943:7;-1:-1:-1;6997:2:1;6982:18;;6969:32;;-1:-1:-1;7052:2:1;7037:18;;7024:32;7075:18;7105:14;;;7102:34;;;7132:1;7129;7122:12;7102:34;7170:6;7159:9;7155:22;7145:32;;7215:7;7208:4;7204:2;7200:13;7196:27;7186:55;;7237:1;7234;7227:12;7186:55;7273:2;7260:16;7295:2;7291;7288:10;7285:36;;;7301:18;;:::i;:::-;7343:53;7386:2;7367:13;;-1:-1:-1;;7363:27:1;7359:36;;7343:53;:::i;:::-;7330:66;;7419:2;7412:5;7405:17;7459:7;7454:2;7449;7445;7441:11;7437:20;7434:33;7431:53;;;7480:1;7477;7470:12;7431:53;7535:2;7530;7526;7522:11;7517:2;7510:5;7506:14;7493:45;7579:1;7574:2;7569;7562:5;7558:14;7554:23;7547:34;;7600:5;7590:15;;;;;6503:1108;;;;;;;:::o;7616:315::-;7684:6;7692;7745:2;7733:9;7724:7;7720:23;7716:32;7713:52;;;7761:1;7758;7751:12;7713:52;7797:9;7784:23;7774:33;;7857:2;7846:9;7842:18;7829:32;7870:31;7895:5;7870:31;:::i;8125:388::-;8193:6;8201;8254:2;8242:9;8233:7;8229:23;8225:32;8222:52;;;8270:1;8267;8260:12;8222:52;8309:9;8296:23;8328:31;8353:5;8328:31;:::i;:::-;8378:5;-1:-1:-1;8435:2:1;8420:18;;8407:32;8448:33;8407:32;8448:33;:::i;8518:380::-;8597:1;8593:12;;;;8640;;;8661:61;;8715:4;8707:6;8703:17;8693:27;;8661:61;8768:2;8760:6;8757:14;8737:18;8734:38;8731:161;;8814:10;8809:3;8805:20;8802:1;8795:31;8849:4;8846:1;8839:15;8877:4;8874:1;8867:15;8731:161;;8518:380;;;:::o;8903:346::-;9105:2;9087:21;;;9144:2;9124:18;;;9117:30;-1:-1:-1;;;9178:2:1;9163:18;;9156:52;9240:2;9225:18;;8903:346::o;9595:127::-;9656:10;9651:3;9647:20;9644:1;9637:31;9687:4;9684:1;9677:15;9711:4;9708:1;9701:15;9727:232;9766:3;9787:17;;;9784:140;;9846:10;9841:3;9837:20;9834:1;9827:31;9881:4;9878:1;9871:15;9909:4;9906:1;9899:15;9784:140;-1:-1:-1;9951:1:1;9940:13;;9727:232::o;12976:489::-;-1:-1:-1;;;;;13245:15:1;;;13227:34;;13297:15;;13292:2;13277:18;;13270:43;13344:2;13329:18;;13322:34;;;13392:3;13387:2;13372:18;;13365:31;;;13170:4;;13413:46;;13439:19;;13431:6;13413:46;:::i;:::-;13405:54;12976:489;-1:-1:-1;;;;;;12976:489:1:o;13470:249::-;13539:6;13592:2;13580:9;13571:7;13567:23;13563:32;13560:52;;;13608:1;13605;13598:12;13560:52;13640:9;13634:16;13659:30;13683:5;13659:30;:::i;14003:127::-;14064:10;14059:3;14055:20;14052:1;14045:31;14095:4;14092:1;14085:15;14119:4;14116:1;14109:15
Swarm Source
ipfs://b9715966495428e84b0c0ec7fae01f5c5e9651d0ba19370589ca29f120c3b5fd
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.