Source Code
Overview
ETH Balance
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 2,006 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Dry Faucet | 13290769 | 408 days ago | IN | 0 ETH | 0.00000389 | ||||
| Safe Mint | 13290760 | 408 days ago | IN | 0.0003 ETH | 0.00000636 | ||||
| Dry Faucet | 13290731 | 408 days ago | IN | 0 ETH | 0.00000389 | ||||
| Safe Mint | 13290718 | 408 days ago | IN | 0.0003 ETH | 0.00000635 | ||||
| Dry Faucet | 13274784 | 408 days ago | IN | 0 ETH | 0.00000429 | ||||
| Safe Mint | 13274764 | 408 days ago | IN | 0.0003 ETH | 0.00000664 | ||||
| Dry Faucet | 13193207 | 410 days ago | IN | 0 ETH | 0.00000335 | ||||
| Safe Mint | 13192807 | 410 days ago | IN | 0.0003 ETH | 0.00000669 | ||||
| Dry Faucet | 13115389 | 412 days ago | IN | 0 ETH | 0.00000426 | ||||
| Safe Mint | 13115381 | 412 days ago | IN | 0.0003 ETH | 0.0000061 | ||||
| Dry Faucet | 12908974 | 417 days ago | IN | 0 ETH | 0.00001227 | ||||
| Safe Mint | 12908941 | 417 days ago | IN | 0.0003 ETH | 0.00001467 | ||||
| Dry Faucet | 12908789 | 417 days ago | IN | 0 ETH | 0.00001228 | ||||
| Safe Mint | 12908776 | 417 days ago | IN | 0.0003 ETH | 0.00001472 | ||||
| Dry Faucet | 12856795 | 418 days ago | IN | 0 ETH | 0.00000588 | ||||
| Safe Mint | 12856782 | 418 days ago | IN | 0.0003 ETH | 0.00000837 | ||||
| Dry Faucet | 12849465 | 418 days ago | IN | 0 ETH | 0.00000319 | ||||
| Safe Mint | 12849449 | 418 days ago | IN | 0.0003 ETH | 0.00000562 | ||||
| Dry Faucet | 12822397 | 419 days ago | IN | 0 ETH | 0.0000067 | ||||
| Safe Mint | 12822380 | 419 days ago | IN | 0.0003 ETH | 0.00000932 | ||||
| Dry Faucet | 12822365 | 419 days ago | IN | 0 ETH | 0.00000661 | ||||
| Safe Mint | 12822348 | 419 days ago | IN | 0.0003 ETH | 0.00000925 | ||||
| Dry Faucet | 12822332 | 419 days ago | IN | 0 ETH | 0.00000654 | ||||
| Safe Mint | 12822307 | 419 days ago | IN | 0.0003 ETH | 0.00000915 | ||||
| Dry Faucet | 12822283 | 419 days ago | IN | 0 ETH | 0.00000642 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 13290760 | 408 days ago | 0.0003 ETH | ||||
| 13290718 | 408 days ago | 0.0003 ETH | ||||
| 13274764 | 408 days ago | 0.0003 ETH | ||||
| 13192807 | 410 days ago | 0.00015 ETH | ||||
| 13192807 | 410 days ago | 0.00015 ETH | ||||
| 13115381 | 412 days ago | 0.0003 ETH | ||||
| 12908941 | 417 days ago | 0.0003 ETH | ||||
| 12908776 | 417 days ago | 0.0003 ETH | ||||
| 12856782 | 418 days ago | 0.0003 ETH | ||||
| 12849449 | 418 days ago | 0.0003 ETH | ||||
| 12822380 | 419 days ago | 0.0003 ETH | ||||
| 12822348 | 419 days ago | 0.0003 ETH | ||||
| 12822307 | 419 days ago | 0.0003 ETH | ||||
| 12822268 | 419 days ago | 0.0003 ETH | ||||
| 12822231 | 419 days ago | 0.0003 ETH | ||||
| 12780891 | 420 days ago | 0.00015 ETH | ||||
| 12780891 | 420 days ago | 0.00015 ETH | ||||
| 12215728 | 433 days ago | 0.0003 ETH | ||||
| 12215687 | 433 days ago | 0.0003 ETH | ||||
| 12215656 | 433 days ago | 0.0003 ETH | ||||
| 12173639 | 434 days ago | 0.000225 ETH | ||||
| 12173639 | 434 days ago | 0.000075 ETH | ||||
| 12173407 | 434 days ago | 0.000225 ETH | ||||
| 12173407 | 434 days ago | 0.000075 ETH | ||||
| 12173139 | 434 days ago | 0.000225 ETH |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
BricksBeraKeyFaucet
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/**
*Submitted for verification at lineascan.build/ 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
60806040523480156200001157600080fd5b5060405162001ca238038062001ca28339810160408190526200003491620000f4565b6040518060400160405280600f81526020016e427269636b732042657261204b657960881b8152506040518060400160405280600581526020016462624b455960d81b81525081600090816200008b919062000258565b5060016200009a828262000258565b5060069150620000ad9050828262000258565b5050600880546001600160a01b0319163317905565ba72482dd000600955600a805460ff1916601917905562000324565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200010857600080fd5b82516001600160401b03808211156200012057600080fd5b818501915085601f8301126200013557600080fd5b8151818111156200014a576200014a620000de565b604051601f8201601f19908116603f01168101908382118183101715620001755762000175620000de565b8160405282815288868487010111156200018e57600080fd5b600093505b82841015620001b2578484018601518185018701529285019262000193565b600086848301015280965050505050505092915050565b600181811c90821680620001de57607f821691505b602082108103620001ff57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200025357600081815260208120601f850160051c810160208610156200022e5750805b601f850160051c820191505b818110156200024f578281556001016200023a565b5050505b505050565b81516001600160401b03811115620002745762000274620000de565b6200028c81620002858454620001c9565b8462000205565b602080601f831160018114620002c45760008415620002ab5750858301515b600019600386901b1c1916600185901b1785556200024f565b600085815260208120601f198616915b82811015620002f557888601518255948401946001909101908401620002d4565b5085821015620003145787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61196e80620003346000396000f3fe60806040526004361061014b5760003560e01c806370a08231116100b6578063c0b80aa11161006f578063c0b80aa114610393578063c87b56dd146103b3578063da548e38146103d3578063dc5320c7146103ff578063e985e9c51461041f578063f4a0a5281461043f57600080fd5b806370a08231146102e9578063818c410e1461030957806395d89b4114610329578063a22cb4651461033e578063a7f93ebd1461035e578063b88d4fde1461037357600080fd5b806323b872dd1161010857806323b872dd1461024057806340d097c31461026057806342842e0e1461027357806351cff8d9146102935780636352211e146102b35780636817c76c146102d357600080fd5b806301ffc9a71461015057806306fdde0314610185578063081812fc146101a7578063095ea7b3146101df5780630d022b5b1461020157806318160ddd14610221575b600080fd5b34801561015c57600080fd5b5061017061016b3660046113ce565b61045f565b60405190151581526020015b60405180910390f35b34801561019157600080fd5b5061019a6104b1565b60405161017c9190611431565b3480156101b357600080fd5b506101c76101c2366004611444565b610543565b6040516001600160a01b03909116815260200161017c565b3480156101eb57600080fd5b506101ff6101fa366004611472565b61056c565b005b34801561020d57600080fd5b506101ff61021c366004611591565b61057b565b34801561022d57600080fd5b506007545b60405190815260200161017c565b34801561024c57600080fd5b506101ff61025b366004611653565b610682565b6101ff61026e366004611694565b61070d565b34801561027f57600080fd5b506101ff61028e366004611653565b610918565b34801561029f57600080fd5b506101ff6102ae366004611694565b610933565b3480156102bf57600080fd5b506101c76102ce366004611444565b6109c7565b3480156102df57600080fd5b5061023260095481565b3480156102f557600080fd5b50610232610304366004611694565b6109d2565b34801561031557600080fd5b506101ff6103243660046116b1565b610a1a565b34801561033557600080fd5b5061019a610a7a565b34801561034a57600080fd5b506101ff6103593660046116cc565b610a89565b34801561036a57600080fd5b50600954610232565b34801561037f57600080fd5b506101ff61038e36600461170a565b610a94565b34801561039f57600080fd5b506101ff6103ae3660046117ce565b610aab565b3480156103bf57600080fd5b5061019a6103ce366004611444565b610b49565b3480156103df57600080fd5b50600a546103ed9060ff1681565b60405160ff909116815260200161017c565b34801561040b57600080fd5b506103ed61041a366004611694565b610b66565b34801561042b57600080fd5b5061017061043a3660046117f3565b610b9b565b34801561044b57600080fd5b506101ff61045a366004611444565b610bc9565b60006001600160e01b031982166380ac58cd60e01b148061049057506001600160e01b03198216635b5e139f60e01b145b806104ab57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546104c090611821565b80601f01602080910402602001604051908101604052809291908181526020018280546104ec90611821565b80156105395780601f1061050e57610100808354040283529160200191610539565b820191906000526020600020905b81548152906001019060200180831161051c57829003601f168201915b5050505050905090565b600061054e82610c05565b506000828152600460205260409020546001600160a01b03166104ab565b610577828233610c3e565b5050565b6008546001600160a01b031633146105ae5760405162461bcd60e51b81526004016105a59061185b565b60405180910390fd5b80518251146105ee5760405162461bcd60e51b815260206004820152600c60248201526b436865636b2061727261797360a01b60448201526064016105a5565b60005b825181101561067d5781818151811061060c5761060c61188b565b6020026020010151600b600085848151811061062a5761062a61188b565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908360ff1602179055508080610675906118a1565b9150506105f1565b505050565b6001600160a01b0382166106ac57604051633250574960e11b8152600060048201526024016105a5565b60006106b9838333610c4b565b9050836001600160a01b0316816001600160a01b031614610707576040516364283d7b60e01b81526001600160a01b03808616600483015260248201849052821660448201526064016105a5565b50505050565b60095434101561075f5760405162461bcd60e51b815260206004820152601e60248201527f6d73672e76616c7565206d757374206265203e3d206d696e745072696365000060448201526064016105a5565b600033905060006107736007546001610d44565b905061077f8282610d9c565b6007819055346001600160a01b03841630146108735760006107a46009546064610db6565b905060006107b186610b66565b60ff16905060006107c28383610e06565b90506000876001600160a01b03168260405160006040518083038185875af1925050503d8060008114610811576040519150601f19603f3d011682016040523d82523d6000602084013e610816565b606091505b50509050806108625760405162461bcd60e51b81526020600482015260186024820152774661696c656420746f2073656e642072656620736861726560401b60448201526064016105a5565b61086c8583610e56565b9450505050505b6008546040516000916001600160a01b03169083908381818185875af1925050503d80600081146108c0576040519150601f19603f3d011682016040523d82523d6000602084013e6108c5565b606091505b50509050806109115760405162461bcd60e51b81526020600482015260186024820152774661696c656420746f2073656e642072656620736861726560401b60448201526064016105a5565b5050505050565b61067d83838360405180602001604052806000815250610a94565b6008546001600160a01b0316331461095d5760405162461bcd60e51b81526004016105a59061185b565b3361096757600080fd5b60405147906000906001600160a01b0384169083908381818185875af1925050503d80600081146109b4576040519150601f19603f3d011682016040523d82523d6000602084013e6109b9565b606091505b505090508061067d57600080fd5b60006104ab82610c05565b60006001600160a01b0382166109fe576040516322718ad960e21b8152600060048201526024016105a5565b506001600160a01b031660009081526003602052604090205490565b6008546001600160a01b03163314610a445760405162461bcd60e51b81526004016105a59061185b565b60648160ff1610610a5457600080fd5b60008160ff1611610a6457600080fd5b600a805460ff191660ff92909216919091179055565b6060600180546104c090611821565b610577338383610ea6565b610a9f848484610682565b61070784848484610f45565b610ab4826109c7565b6001600160a01b0316336001600160a01b031614610b045760405162461bcd60e51b815260206004820152600d60248201526c2737ba103a34329037bbb732b960991b60448201526064016105a5565b610b0d82611067565b60405182906001600160a01b0383169033907f8fd631c073cf5aadcf93e6b3c32cd9140fdf87e0559a01d884e0f55b026d0d8890600090a45050565b6060610b5482610c05565b506000610b5f6110a2565b9392505050565b6001600160a01b0381166000908152600b602052604081205460ff168015610b8e5780610b5f565b600a5460ff169392505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314610bf35760405162461bcd60e51b81526004016105a59061185b565b80600003610c0057600080fd5b600955565b6000818152600260205260408120546001600160a01b0316806104ab57604051637e27328960e01b8152600481018490526024016105a5565b61067d83838360016110b1565b6000828152600260205260408120546001600160a01b0390811690831615610c7857610c788184866111b7565b6001600160a01b03811615610cb657610c956000856000806110b1565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615610ce5576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b6000806000610d53858561121b565b9150915081610d945760405162461bcd60e51b815260206004820152600d60248201526c11985a5b1959081d1bc8105919609a1b60448201526064016105a5565b949350505050565b610577828260405180602001604052806000815250611244565b6000806000610dc5858561125b565b9150915081610d945760405162461bcd60e51b815260206004820152600d60248201526c2330b4b632b2103a37902234bb60991b60448201526064016105a5565b6000806000610e15858561128e565b9150915081610d945760405162461bcd60e51b815260206004820152600d60248201526c11985a5b1959081d1bc8135d5b609a1b60448201526064016105a5565b6000806000610e6585856112cb565b9150915081610d945760405162461bcd60e51b815260206004820152600d60248201526c2330b4b632b2103a379029bab160991b60448201526064016105a5565b6001600160a01b038216610ed857604051630b61174360e31b81526001600160a01b03831660048201526024016105a5565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561070757604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610f879033908890879087906004016118c8565b6020604051808303816000875af1925050508015610fc2575060408051601f3d908101601f19168201909252610fbf91810190611905565b60015b61102b573d808015610ff0576040519150601f19603f3d011682016040523d82523d6000602084013e610ff5565b606091505b50805160000361102357604051633250574960e11b81526001600160a01b03851660048201526024016105a5565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b1461091157604051633250574960e11b81526001600160a01b03851660048201526024016105a5565b60006110766000836000610c4b565b90506001600160a01b03811661057757604051637e27328960e01b8152600481018390526024016105a5565b6060600680546104c090611821565b80806110c557506001600160a01b03821615155b156111875760006110d584610c05565b90506001600160a01b038316158015906111015750826001600160a01b0316816001600160a01b031614155b801561111457506111128184610b9b565b155b1561113d5760405163a9fbf51f60e01b81526001600160a01b03841660048201526024016105a5565b81156111855783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b6111c28383836112ed565b61067d576001600160a01b0383166111f057604051637e27328960e01b8152600481018290526024016105a5565b60405163177e802f60e01b81526001600160a01b0383166004820152602481018290526044016105a5565b6000808383018481101561123657600080925092505061123d565b6001925090505b9250929050565b61124e8383611350565b61067d6000848484610f45565b600080826000036112715750600090508061123d565b600183858161128257611282611922565b04915091509250929050565b600080836000036112a5575060019050600061123d565b838302838582816112b8576112b8611922565b041461123657600080925092505061123d565b600080838311156112e15750600090508061123d565b50600193919092039150565b60006001600160a01b03831615801590610d945750826001600160a01b0316846001600160a01b0316148061132757506113278484610b9b565b80610d945750506000908152600460205260409020546001600160a01b03908116911614919050565b6001600160a01b03821661137a57604051633250574960e11b8152600060048201526024016105a5565b600061138883836000610c4b565b90506001600160a01b0381161561067d576040516339e3563760e11b8152600060048201526024016105a5565b6001600160e01b0319811681146113cb57600080fd5b50565b6000602082840312156113e057600080fd5b8135610b5f816113b5565b6000815180845260005b81811015611411576020818501810151868301820152016113f5565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610b5f60208301846113eb565b60006020828403121561145657600080fd5b5035919050565b6001600160a01b03811681146113cb57600080fd5b6000806040838503121561148557600080fd5b82356114908161145d565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156114dd576114dd61149e565b604052919050565b600067ffffffffffffffff8211156114ff576114ff61149e565b5060051b60200190565b803560ff8116811461151a57600080fd5b919050565b600082601f83011261153057600080fd5b81356020611545611540836114e5565b6114b4565b82815260059290921b8401810191818101908684111561156457600080fd5b8286015b848110156115865761157981611509565b8352918301918301611568565b509695505050505050565b600080604083850312156115a457600080fd5b823567ffffffffffffffff808211156115bc57600080fd5b818501915085601f8301126115d057600080fd5b813560206115e0611540836114e5565b82815260059290921b840181019181810190898411156115ff57600080fd5b948201945b838610156116265785356116178161145d565b82529482019490820190611604565b9650508601359250508082111561163c57600080fd5b506116498582860161151f565b9150509250929050565b60008060006060848603121561166857600080fd5b83356116738161145d565b925060208401356116838161145d565b929592945050506040919091013590565b6000602082840312156116a657600080fd5b8135610b5f8161145d565b6000602082840312156116c357600080fd5b610b5f82611509565b600080604083850312156116df57600080fd5b82356116ea8161145d565b9150602083013580151581146116ff57600080fd5b809150509250929050565b6000806000806080858703121561172057600080fd5b843561172b8161145d565b935060208581013561173c8161145d565b935060408601359250606086013567ffffffffffffffff8082111561176057600080fd5b818801915088601f83011261177457600080fd5b8135818111156117865761178661149e565b611798601f8201601f191685016114b4565b915080825289848285010111156117ae57600080fd5b808484018584013760008482840101525080935050505092959194509250565b600080604083850312156117e157600080fd5b8235915060208301356116ff8161145d565b6000806040838503121561180657600080fd5b82356118118161145d565b915060208301356116ff8161145d565b600181811c9082168061183557607f821691505b60208210810361185557634e487b7160e01b600052602260045260246000fd5b50919050565b602080825260169082015275427269636b733a206e6f7420746865206f776e65722160501b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600182016118c157634e487b7160e01b600052601160045260246000fd5b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118fb908301846113eb565b9695505050505050565b60006020828403121561191757600080fd5b8151610b5f816113b5565b634e487b7160e01b600052601260045260246000fdfea26469706673582212209656eda3d1daa06e940e0e52d502a95f77782db55def2898e2690506d45fcea864736f6c6343000814003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d5a674571644b336b4c6476557a6262417662694b4e733753585675356159677a566471366b4b7970506774520000000000000000000000
Deployed Bytecode
0x60806040526004361061014b5760003560e01c806370a08231116100b6578063c0b80aa11161006f578063c0b80aa114610393578063c87b56dd146103b3578063da548e38146103d3578063dc5320c7146103ff578063e985e9c51461041f578063f4a0a5281461043f57600080fd5b806370a08231146102e9578063818c410e1461030957806395d89b4114610329578063a22cb4651461033e578063a7f93ebd1461035e578063b88d4fde1461037357600080fd5b806323b872dd1161010857806323b872dd1461024057806340d097c31461026057806342842e0e1461027357806351cff8d9146102935780636352211e146102b35780636817c76c146102d357600080fd5b806301ffc9a71461015057806306fdde0314610185578063081812fc146101a7578063095ea7b3146101df5780630d022b5b1461020157806318160ddd14610221575b600080fd5b34801561015c57600080fd5b5061017061016b3660046113ce565b61045f565b60405190151581526020015b60405180910390f35b34801561019157600080fd5b5061019a6104b1565b60405161017c9190611431565b3480156101b357600080fd5b506101c76101c2366004611444565b610543565b6040516001600160a01b03909116815260200161017c565b3480156101eb57600080fd5b506101ff6101fa366004611472565b61056c565b005b34801561020d57600080fd5b506101ff61021c366004611591565b61057b565b34801561022d57600080fd5b506007545b60405190815260200161017c565b34801561024c57600080fd5b506101ff61025b366004611653565b610682565b6101ff61026e366004611694565b61070d565b34801561027f57600080fd5b506101ff61028e366004611653565b610918565b34801561029f57600080fd5b506101ff6102ae366004611694565b610933565b3480156102bf57600080fd5b506101c76102ce366004611444565b6109c7565b3480156102df57600080fd5b5061023260095481565b3480156102f557600080fd5b50610232610304366004611694565b6109d2565b34801561031557600080fd5b506101ff6103243660046116b1565b610a1a565b34801561033557600080fd5b5061019a610a7a565b34801561034a57600080fd5b506101ff6103593660046116cc565b610a89565b34801561036a57600080fd5b50600954610232565b34801561037f57600080fd5b506101ff61038e36600461170a565b610a94565b34801561039f57600080fd5b506101ff6103ae3660046117ce565b610aab565b3480156103bf57600080fd5b5061019a6103ce366004611444565b610b49565b3480156103df57600080fd5b50600a546103ed9060ff1681565b60405160ff909116815260200161017c565b34801561040b57600080fd5b506103ed61041a366004611694565b610b66565b34801561042b57600080fd5b5061017061043a3660046117f3565b610b9b565b34801561044b57600080fd5b506101ff61045a366004611444565b610bc9565b60006001600160e01b031982166380ac58cd60e01b148061049057506001600160e01b03198216635b5e139f60e01b145b806104ab57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546104c090611821565b80601f01602080910402602001604051908101604052809291908181526020018280546104ec90611821565b80156105395780601f1061050e57610100808354040283529160200191610539565b820191906000526020600020905b81548152906001019060200180831161051c57829003601f168201915b5050505050905090565b600061054e82610c05565b506000828152600460205260409020546001600160a01b03166104ab565b610577828233610c3e565b5050565b6008546001600160a01b031633146105ae5760405162461bcd60e51b81526004016105a59061185b565b60405180910390fd5b80518251146105ee5760405162461bcd60e51b815260206004820152600c60248201526b436865636b2061727261797360a01b60448201526064016105a5565b60005b825181101561067d5781818151811061060c5761060c61188b565b6020026020010151600b600085848151811061062a5761062a61188b565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908360ff1602179055508080610675906118a1565b9150506105f1565b505050565b6001600160a01b0382166106ac57604051633250574960e11b8152600060048201526024016105a5565b60006106b9838333610c4b565b9050836001600160a01b0316816001600160a01b031614610707576040516364283d7b60e01b81526001600160a01b03808616600483015260248201849052821660448201526064016105a5565b50505050565b60095434101561075f5760405162461bcd60e51b815260206004820152601e60248201527f6d73672e76616c7565206d757374206265203e3d206d696e745072696365000060448201526064016105a5565b600033905060006107736007546001610d44565b905061077f8282610d9c565b6007819055346001600160a01b03841630146108735760006107a46009546064610db6565b905060006107b186610b66565b60ff16905060006107c28383610e06565b90506000876001600160a01b03168260405160006040518083038185875af1925050503d8060008114610811576040519150601f19603f3d011682016040523d82523d6000602084013e610816565b606091505b50509050806108625760405162461bcd60e51b81526020600482015260186024820152774661696c656420746f2073656e642072656620736861726560401b60448201526064016105a5565b61086c8583610e56565b9450505050505b6008546040516000916001600160a01b03169083908381818185875af1925050503d80600081146108c0576040519150601f19603f3d011682016040523d82523d6000602084013e6108c5565b606091505b50509050806109115760405162461bcd60e51b81526020600482015260186024820152774661696c656420746f2073656e642072656620736861726560401b60448201526064016105a5565b5050505050565b61067d83838360405180602001604052806000815250610a94565b6008546001600160a01b0316331461095d5760405162461bcd60e51b81526004016105a59061185b565b3361096757600080fd5b60405147906000906001600160a01b0384169083908381818185875af1925050503d80600081146109b4576040519150601f19603f3d011682016040523d82523d6000602084013e6109b9565b606091505b505090508061067d57600080fd5b60006104ab82610c05565b60006001600160a01b0382166109fe576040516322718ad960e21b8152600060048201526024016105a5565b506001600160a01b031660009081526003602052604090205490565b6008546001600160a01b03163314610a445760405162461bcd60e51b81526004016105a59061185b565b60648160ff1610610a5457600080fd5b60008160ff1611610a6457600080fd5b600a805460ff191660ff92909216919091179055565b6060600180546104c090611821565b610577338383610ea6565b610a9f848484610682565b61070784848484610f45565b610ab4826109c7565b6001600160a01b0316336001600160a01b031614610b045760405162461bcd60e51b815260206004820152600d60248201526c2737ba103a34329037bbb732b960991b60448201526064016105a5565b610b0d82611067565b60405182906001600160a01b0383169033907f8fd631c073cf5aadcf93e6b3c32cd9140fdf87e0559a01d884e0f55b026d0d8890600090a45050565b6060610b5482610c05565b506000610b5f6110a2565b9392505050565b6001600160a01b0381166000908152600b602052604081205460ff168015610b8e5780610b5f565b600a5460ff169392505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314610bf35760405162461bcd60e51b81526004016105a59061185b565b80600003610c0057600080fd5b600955565b6000818152600260205260408120546001600160a01b0316806104ab57604051637e27328960e01b8152600481018490526024016105a5565b61067d83838360016110b1565b6000828152600260205260408120546001600160a01b0390811690831615610c7857610c788184866111b7565b6001600160a01b03811615610cb657610c956000856000806110b1565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615610ce5576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b6000806000610d53858561121b565b9150915081610d945760405162461bcd60e51b815260206004820152600d60248201526c11985a5b1959081d1bc8105919609a1b60448201526064016105a5565b949350505050565b610577828260405180602001604052806000815250611244565b6000806000610dc5858561125b565b9150915081610d945760405162461bcd60e51b815260206004820152600d60248201526c2330b4b632b2103a37902234bb60991b60448201526064016105a5565b6000806000610e15858561128e565b9150915081610d945760405162461bcd60e51b815260206004820152600d60248201526c11985a5b1959081d1bc8135d5b609a1b60448201526064016105a5565b6000806000610e6585856112cb565b9150915081610d945760405162461bcd60e51b815260206004820152600d60248201526c2330b4b632b2103a379029bab160991b60448201526064016105a5565b6001600160a01b038216610ed857604051630b61174360e31b81526001600160a01b03831660048201526024016105a5565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561070757604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610f879033908890879087906004016118c8565b6020604051808303816000875af1925050508015610fc2575060408051601f3d908101601f19168201909252610fbf91810190611905565b60015b61102b573d808015610ff0576040519150601f19603f3d011682016040523d82523d6000602084013e610ff5565b606091505b50805160000361102357604051633250574960e11b81526001600160a01b03851660048201526024016105a5565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b1461091157604051633250574960e11b81526001600160a01b03851660048201526024016105a5565b60006110766000836000610c4b565b90506001600160a01b03811661057757604051637e27328960e01b8152600481018390526024016105a5565b6060600680546104c090611821565b80806110c557506001600160a01b03821615155b156111875760006110d584610c05565b90506001600160a01b038316158015906111015750826001600160a01b0316816001600160a01b031614155b801561111457506111128184610b9b565b155b1561113d5760405163a9fbf51f60e01b81526001600160a01b03841660048201526024016105a5565b81156111855783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b6111c28383836112ed565b61067d576001600160a01b0383166111f057604051637e27328960e01b8152600481018290526024016105a5565b60405163177e802f60e01b81526001600160a01b0383166004820152602481018290526044016105a5565b6000808383018481101561123657600080925092505061123d565b6001925090505b9250929050565b61124e8383611350565b61067d6000848484610f45565b600080826000036112715750600090508061123d565b600183858161128257611282611922565b04915091509250929050565b600080836000036112a5575060019050600061123d565b838302838582816112b8576112b8611922565b041461123657600080925092505061123d565b600080838311156112e15750600090508061123d565b50600193919092039150565b60006001600160a01b03831615801590610d945750826001600160a01b0316846001600160a01b0316148061132757506113278484610b9b565b80610d945750506000908152600460205260409020546001600160a01b03908116911614919050565b6001600160a01b03821661137a57604051633250574960e11b8152600060048201526024016105a5565b600061138883836000610c4b565b90506001600160a01b0381161561067d576040516339e3563760e11b8152600060048201526024016105a5565b6001600160e01b0319811681146113cb57600080fd5b50565b6000602082840312156113e057600080fd5b8135610b5f816113b5565b6000815180845260005b81811015611411576020818501810151868301820152016113f5565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610b5f60208301846113eb565b60006020828403121561145657600080fd5b5035919050565b6001600160a01b03811681146113cb57600080fd5b6000806040838503121561148557600080fd5b82356114908161145d565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156114dd576114dd61149e565b604052919050565b600067ffffffffffffffff8211156114ff576114ff61149e565b5060051b60200190565b803560ff8116811461151a57600080fd5b919050565b600082601f83011261153057600080fd5b81356020611545611540836114e5565b6114b4565b82815260059290921b8401810191818101908684111561156457600080fd5b8286015b848110156115865761157981611509565b8352918301918301611568565b509695505050505050565b600080604083850312156115a457600080fd5b823567ffffffffffffffff808211156115bc57600080fd5b818501915085601f8301126115d057600080fd5b813560206115e0611540836114e5565b82815260059290921b840181019181810190898411156115ff57600080fd5b948201945b838610156116265785356116178161145d565b82529482019490820190611604565b9650508601359250508082111561163c57600080fd5b506116498582860161151f565b9150509250929050565b60008060006060848603121561166857600080fd5b83356116738161145d565b925060208401356116838161145d565b929592945050506040919091013590565b6000602082840312156116a657600080fd5b8135610b5f8161145d565b6000602082840312156116c357600080fd5b610b5f82611509565b600080604083850312156116df57600080fd5b82356116ea8161145d565b9150602083013580151581146116ff57600080fd5b809150509250929050565b6000806000806080858703121561172057600080fd5b843561172b8161145d565b935060208581013561173c8161145d565b935060408601359250606086013567ffffffffffffffff8082111561176057600080fd5b818801915088601f83011261177457600080fd5b8135818111156117865761178661149e565b611798601f8201601f191685016114b4565b915080825289848285010111156117ae57600080fd5b808484018584013760008482840101525080935050505092959194509250565b600080604083850312156117e157600080fd5b8235915060208301356116ff8161145d565b6000806040838503121561180657600080fd5b82356118118161145d565b915060208301356116ff8161145d565b600181811c9082168061183557607f821691505b60208210810361185557634e487b7160e01b600052602260045260246000fd5b50919050565b602080825260169082015275427269636b733a206e6f7420746865206f776e65722160501b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600182016118c157634e487b7160e01b600052601160045260246000fd5b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118fb908301846113eb565b9695505050505050565b60006020828403121561191757600080fd5b8151610b5f816113b5565b634e487b7160e01b600052601260045260246000fdfea26469706673582212209656eda3d1daa06e940e0e52d502a95f77782db55def2898e2690506d45fcea864736f6c63430008140033
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://9656eda3d1daa06e940e0e52d502a95f77782db55def2898e2690506d45fcea8
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.