More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 77 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Forge | 40666069 | 632 days ago | IN | 0 POL | 0.0102595 | ||||
Forge | 40665323 | 632 days ago | IN | 0 POL | 0.00699894 | ||||
Forge | 40664416 | 632 days ago | IN | 0 POL | 0.00827726 | ||||
Forge | 40664226 | 632 days ago | IN | 0 POL | 0.00728588 | ||||
Forge | 40660288 | 632 days ago | IN | 0 POL | 0.00588174 | ||||
Forge | 40660058 | 632 days ago | IN | 0 POL | 0.0058919 | ||||
Forge | 40651052 | 632 days ago | IN | 0 POL | 0.00708651 | ||||
Forge | 40650489 | 632 days ago | IN | 0 POL | 0.00647951 | ||||
Forge | 40648760 | 632 days ago | IN | 0 POL | 0.01289075 | ||||
Forge | 40648073 | 632 days ago | IN | 0 POL | 0.01766984 | ||||
Forge | 40647693 | 632 days ago | IN | 0 POL | 0.01334207 | ||||
Forge | 40643629 | 633 days ago | IN | 0 POL | 0.0226454 | ||||
Forge | 40635470 | 633 days ago | IN | 0 POL | 0.01330757 | ||||
Forge | 40632915 | 633 days ago | IN | 0 POL | 0.01028785 | ||||
Forge | 40609143 | 633 days ago | IN | 0 POL | 0.0123609 | ||||
Forge | 40608241 | 633 days ago | IN | 0 POL | 0.0160721 | ||||
Forge | 40608224 | 633 days ago | IN | 0 POL | 0.02016321 | ||||
Forge | 40605024 | 634 days ago | IN | 0 POL | 0.01769793 | ||||
Forge | 40604238 | 634 days ago | IN | 0 POL | 0.01879401 | ||||
Forge | 40595399 | 634 days ago | IN | 0 POL | 0.01268053 | ||||
Forge | 40582462 | 634 days ago | IN | 0 POL | 0.01179171 | ||||
Forge | 40582011 | 634 days ago | IN | 0 POL | 0.01308293 | ||||
Forge | 40577745 | 634 days ago | IN | 0 POL | 0.01043594 | ||||
Forge | 40576183 | 634 days ago | IN | 0 POL | 0.00906926 | ||||
Forge | 40576123 | 634 days ago | IN | 0 POL | 0.0089998 |
Loading...
Loading
Contract Name:
ForgeFactory
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2023-03-17 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @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 up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (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; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 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. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); 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 (rounding == Rounding.Up && 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 down. * * 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 + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * 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 + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * 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 + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * 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 10, 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 + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @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) { 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] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); 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); } } // File: @openzeppelin/contracts/access/IAccessControl.sol // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/access/AccessControl.sol // OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol) pragma solidity ^0.8.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(account), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // File: @openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/token/ERC1155/utils/ERC1155Receiver.sol // OpenZeppelin Contracts v4.4.1 (token/ERC1155/utils/ERC1155Receiver.sol) pragma solidity ^0.8.0; /** * @dev _Available since v3.1._ */ abstract contract ERC1155Receiver is ERC165, IERC1155Receiver { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId); } } // File: @openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/utils/ERC1155Holder.sol) pragma solidity ^0.8.0; /** * Simple implementation of `ERC1155Receiver` that will allow a contract to hold ERC1155 tokens. * * IMPORTANT: When inheriting this contract, you must include a way to use the received tokens, otherwise they will be * stuck. * * @dev _Available since v3.1._ */ contract ERC1155Holder is ERC1155Receiver { function onERC1155Received( address, address, uint256, uint256, bytes memory ) public virtual override returns (bytes4) { return this.onERC1155Received.selector; } function onERC1155BatchReceived( address, address, uint256[] memory, uint256[] memory, bytes memory ) public virtual override returns (bytes4) { return this.onERC1155BatchReceived.selector; } } // File: @openzeppelin/contracts/token/ERC1155/IERC1155.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; } // File: @openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC1155/ERC1155.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: address zero is not a valid owner"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner or approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner or approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Emits a {TransferSingle} event. * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `ids` and `amounts` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non-ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non-ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } } // File: @openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC1155/extensions/ERC1155Burnable.sol) pragma solidity ^0.8.0; /** * @dev Extension of {ERC1155} that allows token holders to destroy both their * own tokens and those that they have been approved to use. * * _Available since v3.1._ */ abstract contract ERC1155Burnable is ERC1155 { function burn( address account, uint256 id, uint256 value ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not token owner or approved" ); _burn(account, id, value); } function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not token owner or approved" ); _burnBatch(account, ids, values); } } // File: @openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol) pragma solidity ^0.8.0; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates whether any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (from == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } if (to == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 supply = _totalSupply[id]; require(supply >= amount, "ERC1155: burn amount exceeds totalSupply"); unchecked { _totalSupply[id] = supply - amount; } } } } } // File: ForgeDiscount/DiscountForge.sol pragma solidity ^0.8.7; contract ForgeFactory is ERC1155, Ownable, ERC1155Burnable, ERC1155Holder, AccessControl{ using Strings for uint256; IERC1155 mintPassContract; ERC1155Burnable mintPassContractBurn; string public constant name = "Spinblade Discount Pass Forge"; string public constant symbol = "SBDPF"; bool public paused; uint256 public burnTokenId = 0; uint256 public burnTokenAmount = 5; uint256 public mintTokenId = 2; uint256 public mintTokenAmount = 1; uint256 public forgeStartTime = 1674666882; modifier onlyPaused { require(paused, "You can use this function when distribution is paused!"); _; } address public mintPassContractAddress; mapping(address => uint256) public amountsMintPass; constructor( address _mintPassContractAddress ) payable ERC1155("") { mintPassContractAddress = _mintPassContractAddress; mintPassContract = IERC1155(_mintPassContractAddress); mintPassContractBurn = ERC1155Burnable(_mintPassContractAddress); } function forge(uint256 _burnId, uint256 _burnAmount, uint256 _mintId, uint256 _mintAmount) external{ require(!paused, "distribution is paused"); require(block.timestamp > forgeStartTime, "distribution is not started"); require(burnTokenAmount == _burnAmount, "burn token amount is not correct"); require(burnTokenId == _burnId, "burn token id is not correct"); require(mintTokenAmount == _mintAmount, "mint token amount is not correct"); require(mintTokenId == _mintId, "mint token is not correct"); mintPassContractBurn.burn(msg.sender, _burnId, _burnAmount * _mintAmount); mintPassContract.safeTransferFrom(address(this), msg.sender, _mintId, _mintAmount, ""); } function updateBurnTokenId(uint256 _Id) public onlyOwner { burnTokenId = _Id; } function updateBurnTokenAmount(uint256 _amounts) public onlyOwner { burnTokenAmount = _amounts; } function updateMintTokenId(uint256 _Id) public onlyOwner { mintTokenId = _Id; } function updateMintTokenAmount(uint256 _amounts) public onlyOwner { mintTokenAmount = _amounts; } function changePauseStatus() external onlyOwner { paused = !paused; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155, ERC1155Receiver, AccessControl) returns (bool) { return super.supportsInterface(interfaceId); } function changeForgeStartTime(uint256 _newForgeTime) external onlyOwner{ forgeStartTime = _newForgeTime; } function withdrawBalance() public onlyPaused onlyOwner { (bool success,) = owner().call{value : address(this).balance}(""); require(success, "Transfer failed!"); } function burnRestNFTs(uint256 tokenId) public onlyPaused onlyOwner { uint256 tokenBalance = mintPassContract.balanceOf(address(this), tokenId); mintPassContractBurn.burn(address(this), tokenId, tokenBalance); } fallback() external payable {} receive() external payable {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_mintPassContractAddress","type":"address"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountsMintPass","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnRestNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnTokenAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newForgeTime","type":"uint256"}],"name":"changeForgeStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"changePauseStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_burnId","type":"uint256"},{"internalType":"uint256","name":"_burnAmount","type":"uint256"},{"internalType":"uint256","name":"_mintId","type":"uint256"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"forge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forgeStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPassContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintTokenAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"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":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amounts","type":"uint256"}],"name":"updateBurnTokenAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_Id","type":"uint256"}],"name":"updateBurnTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amounts","type":"uint256"}],"name":"updateMintTokenAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_Id","type":"uint256"}],"name":"updateMintTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526000600755600560085560026009556001600a556363d16382600b5560405162002cd838038062002cd88339810160408190526200004291620001b3565b6040805160208101909152600081526200005c81620000a2565b506200006833620000bb565b600c80546001600160a01b039092166001600160a01b03199283168117909155600580548316821790556006805490921617905562000222565b8051620000b79060029060208401906200010d565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011b90620001e5565b90600052602060002090601f0160209004810192826200013f57600085556200018a565b82601f106200015a57805160ff19168380011785556200018a565b828001600101855582156200018a579182015b828111156200018a5782518255916020019190600101906200016d565b50620001989291506200019c565b5090565b5b808211156200019857600081556001016200019d565b600060208284031215620001c657600080fd5b81516001600160a01b0381168114620001de57600080fd5b9392505050565b600181811c90821680620001fa57607f821691505b602082108114156200021c57634e487b7160e01b600052602260045260246000fd5b50919050565b612aa680620002326000396000f3fe6080604052600436106102265760003560e01c80637948fb9811610122578063c4549408116100a5578063f23a6e611161006c578063f23a6e6114610730578063f242432a1461075c578063f2fde38b1461077c578063f5298aca1461079c578063f8e3db5b146107bc57005b8063c45494081461067c578063d14bb9d814610691578063d547741f146106a7578063dbc5005f146106c7578063e985e9c5146106e757005b8063a217fddf116100e9578063a217fddf146105cc578063a22cb465146105e1578063b6ab61a714610601578063bbafe16214610617578063bc197c811461063757005b80637948fb9814610506578063871fd9cc146105335780638da5cb5b1461054957806391d148541461057b57806395d89b411461059b57005b806336568abe116101aa5780635c975abb116101715780635c975abb146104855780635fd8c710146104a65780635ff6fd4c146104bb5780636b20c454146104d1578063715018a6146104f157005b806336568abe146103d85780633d4c05ec146103f85780633ebdd88e146104185780634e1273f41461043857806357439bac1461046557005b80631c3aae70116101ee5780631c3aae7014610328578063238dca4614610348578063248a9ca3146103685780632eb2c2d6146103985780632f2ff15d146103b857005b8062fdd58e1461022f57806301ffc9a71461026257806306fdde03146102925780630886c8c4146102e85780630e89341c1461030857005b3661022d57005b005b34801561023b57600080fd5b5061024f61024a366004612245565b6107d2565b6040519081526020015b60405180910390f35b34801561026e57600080fd5b5061028261027d3660046123af565b610868565b6040519015158152602001610259565b34801561029e57600080fd5b506102db6040518060400160405280601d81526020017f5370696e626c61646520446973636f756e74205061737320466f72676500000081525081565b60405161025991906125f4565b3480156102f457600080fd5b5061022d610303366004612402565b610879565b34801561031457600080fd5b506102db610323366004612373565b610b69565b34801561033457600080fd5b5061022d610343366004612373565b610bfd565b34801561035457600080fd5b5061022d610363366004612373565b610c0a565b34801561037457600080fd5b5061024f610383366004612373565b60009081526004602052604090206001015490565b3480156103a457600080fd5b5061022d6103b3366004612086565b610c17565b3480156103c457600080fd5b5061022d6103d336600461238c565b610c63565b3480156103e457600080fd5b5061022d6103f336600461238c565b610c8d565b34801561040457600080fd5b5061022d610413366004612373565b610d0b565b34801561042457600080fd5b5061022d610433366004612373565b610d18565b34801561044457600080fd5b506104586104533660046122a2565b610e3a565b60405161025991906125b3565b34801561047157600080fd5b5061022d610480366004612373565b610f64565b34801561049157600080fd5b5060065461028290600160a01b900460ff1681565b3480156104b257600080fd5b5061022d610f71565b3480156104c757600080fd5b5061024f60075481565b3480156104dd57600080fd5b5061022d6104ec366004612195565b61104c565b3480156104fd57600080fd5b5061022d61108f565b34801561051257600080fd5b5061024f610521366004612038565b600d6020526000908152604090205481565b34801561053f57600080fd5b5061024f60095481565b34801561055557600080fd5b506003546001600160a01b03165b6040516001600160a01b039091168152602001610259565b34801561058757600080fd5b5061028261059636600461238c565b6110a3565b3480156105a757600080fd5b506102db6040518060400160405280600581526020016429a122282360d91b81525081565b3480156105d857600080fd5b5061024f600081565b3480156105ed57600080fd5b5061022d6105fc366004612209565b6110ce565b34801561060d57600080fd5b5061024f60085481565b34801561062357600080fd5b50600c54610563906001600160a01b031681565b34801561064357600080fd5b50610663610652366004612086565b63bc197c8160e01b95945050505050565b6040516001600160e01b03199091168152602001610259565b34801561068857600080fd5b5061022d6110d9565b34801561069d57600080fd5b5061024f600a5481565b3480156106b357600080fd5b5061022d6106c236600461238c565b611102565b3480156106d357600080fd5b5061022d6106e2366004612373565b611127565b3480156106f357600080fd5b50610282610702366004612053565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561073c57600080fd5b5061066361074b366004612130565b63f23a6e6160e01b95945050505050565b34801561076857600080fd5b5061022d610777366004612130565b611134565b34801561078857600080fd5b5061022d610797366004612038565b611179565b3480156107a857600080fd5b5061022d6107b736600461226f565b6111ef565b3480156107c857600080fd5b5061024f600b5481565b60006001600160a01b0383166108425760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b600061087382611232565b92915050565b600654600160a01b900460ff16156108cc5760405162461bcd60e51b8152602060048201526016602482015275191a5cdd1c9a589d5d1a5bdb881a5cc81c185d5cd95960521b6044820152606401610839565b600b54421161091d5760405162461bcd60e51b815260206004820152601b60248201527f646973747269627574696f6e206973206e6f74207374617274656400000000006044820152606401610839565b826008541461096e5760405162461bcd60e51b815260206004820181905260248201527f6275726e20746f6b656e20616d6f756e74206973206e6f7420636f72726563746044820152606401610839565b83600754146109bf5760405162461bcd60e51b815260206004820152601c60248201527f6275726e20746f6b656e206964206973206e6f7420636f7272656374000000006044820152606401610839565b80600a5414610a105760405162461bcd60e51b815260206004820181905260248201527f6d696e7420746f6b656e20616d6f756e74206973206e6f7420636f72726563746044820152606401610839565b8160095414610a615760405162461bcd60e51b815260206004820152601960248201527f6d696e7420746f6b656e206973206e6f7420636f7272656374000000000000006044820152606401610839565b6006546001600160a01b031663f5298aca3386610a7e858861288d565b6040516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091526044820152606401600060405180830381600087803b158015610acc57600080fd5b505af1158015610ae0573d6000803e3d6000fd5b5050600554604051637921219560e11b8152306004820152336024820152604481018690526064810185905260a06084820152600060a48201526001600160a01b03909116925063f242432a915060c401600060405180830381600087803b158015610b4b57600080fd5b505af1158015610b5f573d6000803e3d6000fd5b5050505050505050565b606060028054610b78906128ef565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba4906128ef565b8015610bf15780601f10610bc657610100808354040283529160200191610bf1565b820191906000526020600020905b815481529060010190602001808311610bd457829003601f168201915b50505050509050919050565b610c05611257565b600a55565b610c12611257565b600855565b6001600160a01b038516331480610c335750610c338533610702565b610c4f5760405162461bcd60e51b815260040161083990612693565b610c5c85858585856112b1565b5050505050565b600082815260046020526040902060010154610c7e81611445565b610c88838361144f565b505050565b6001600160a01b0381163314610cfd5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610839565b610d0782826114d5565b5050565b610d13611257565b600755565b600654600160a01b900460ff16610d415760405162461bcd60e51b815260040161083990612726565b610d49611257565b600554604051627eeac760e11b8152306004820152602481018390526000916001600160a01b03169062fdd58e9060440160206040518083038186803b158015610d9257600080fd5b505afa158015610da6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dca91906123e9565b600654604051637a94c56560e11b815230600482015260248101859052604481018390529192506001600160a01b03169063f5298aca90606401600060405180830381600087803b158015610e1e57600080fd5b505af1158015610e32573d6000803e3d6000fd5b505050505050565b60608151835114610e9f5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610839565b6000835167ffffffffffffffff811115610ebb57610ebb61299e565b604051908082528060200260200182016040528015610ee4578160200160208202803683370190505b50905060005b8451811015610f5c57610f2f858281518110610f0857610f08612988565b6020026020010151858381518110610f2257610f22612988565b60200260200101516107d2565b828281518110610f4157610f41612988565b6020908102919091010152610f5581612957565b9050610eea565b509392505050565b610f6c611257565b600955565b600654600160a01b900460ff16610f9a5760405162461bcd60e51b815260040161083990612726565b610fa2611257565b6000610fb66003546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611000576040519150601f19603f3d011682016040523d82523d6000602084013e611005565b606091505b50509050806110495760405162461bcd60e51b815260206004820152601060248201526f5472616e73666572206661696c65642160801b6044820152606401610839565b50565b6001600160a01b03831633148061106857506110688333610702565b6110845760405162461bcd60e51b815260040161083990612693565b610c8883838361153c565b611097611257565b6110a160006116c8565b565b60009182526004602090815260408084206001600160a01b0393909316845291905290205460ff1690565b610d0733838361171a565b6110e1611257565b6006805460ff60a01b198116600160a01b9182900460ff1615909102179055565b60008281526004602052604090206001015461111d81611445565b610c8883836114d5565b61112f611257565b600b55565b6001600160a01b03851633148061115057506111508533610702565b61116c5760405162461bcd60e51b815260040161083990612693565b610c5c85858585856117fb565b611181611257565b6001600160a01b0381166111e65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610839565b611049816116c8565b6001600160a01b03831633148061120b575061120b8333610702565b6112275760405162461bcd60e51b815260040161083990612693565b610c88838383611925565b60006001600160e01b03198216637965db0b60e01b1480610873575061087382611a2e565b6003546001600160a01b031633146110a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610839565b81518351146112d25760405162461bcd60e51b815260040161083990612809565b6001600160a01b0384166112f85760405162461bcd60e51b8152600401610839906126e1565b3360005b84518110156113df57600085828151811061131957611319612988565b60200260200101519050600085838151811061133757611337612988565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156113875760405162461bcd60e51b8152600401610839906127bf565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906113c4908490612875565b92505081905550505050806113d890612957565b90506112fc565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161142f9291906125c6565b60405180910390a4610e32818787878787611a53565b6110498133611bbe565b61145982826110a3565b610d075760008281526004602090815260408083206001600160a01b03851684529091529020805460ff191660011790556114913390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6114df82826110a3565b15610d075760008281526004602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0383166115625760405162461bcd60e51b81526004016108399061277c565b80518251146115835760405162461bcd60e51b815260040161083990612809565b604080516020810190915260009081905233905b83518110156116595760008482815181106115b4576115b4612988565b6020026020010151905060008483815181106115d2576115d2612988565b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156116225760405162461bcd60e51b81526004016108399061264f565b6000928352602083815260408085206001600160a01b038b168652909152909220910390558061165181612957565b915050611597565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516116aa9291906125c6565b60405180910390a46040805160208101909152600090525b50505050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561178e5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610839565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166118215760405162461bcd60e51b8152600401610839906126e1565b33600061182d85611c17565b9050600061183a85611c17565b90506000868152602081815260408083206001600160a01b038c1684529091529020548581101561187d5760405162461bcd60e51b8152600401610839906127bf565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a168252812080548892906118ba908490612875565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461191a848a8a8a8a8a611c62565b505050505050505050565b6001600160a01b03831661194b5760405162461bcd60e51b81526004016108399061277c565b33600061195784611c17565b9050600061196484611c17565b60408051602080820183526000918290528882528181528282206001600160a01b038b16835290522054909150848110156119b15760405162461bcd60e51b81526004016108399061264f565b6000868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46040805160208101909152600090525b50505050505050565b60006001600160e01b03198216630271189760e51b1480610873575061087382611d2c565b6001600160a01b0384163b15610e325760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611a979089908990889088908890600401612510565b602060405180830381600087803b158015611ab157600080fd5b505af1925050508015611ae1575060408051601f3d908101601f19168201909252611ade918101906123cc565b60015b611b8e57611aed6129b4565b806308c379a01415611b275750611b026129d0565b80611b0d5750611b29565b8060405162461bcd60e51b815260040161083991906125f4565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610839565b6001600160e01b0319811663bc197c8160e01b14611a255760405162461bcd60e51b815260040161083990612607565b611bc882826110a3565b610d0757611bd581611d7c565b611be0836020611d8e565b604051602001611bf192919061249b565b60408051601f198184030181529082905262461bcd60e51b8252610839916004016125f4565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611c5157611c51612988565b602090810291909101015292915050565b6001600160a01b0384163b15610e325760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611ca6908990899088908890889060040161256e565b602060405180830381600087803b158015611cc057600080fd5b505af1925050508015611cf0575060408051601f3d908101601f19168201909252611ced918101906123cc565b60015b611cfc57611aed6129b4565b6001600160e01b0319811663f23a6e6160e01b14611a255760405162461bcd60e51b815260040161083990612607565b60006001600160e01b03198216636cdb3d1360e11b1480611d5d57506001600160e01b031982166303a24d0760e21b145b8061087357506301ffc9a760e01b6001600160e01b0319831614610873565b60606108736001600160a01b03831660145b60606000611d9d83600261288d565b611da8906002612875565b67ffffffffffffffff811115611dc057611dc061299e565b6040519080825280601f01601f191660200182016040528015611dea576020820181803683370190505b509050600360fc1b81600081518110611e0557611e05612988565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611e3457611e34612988565b60200101906001600160f81b031916908160001a9053506000611e5884600261288d565b611e63906001612875565b90505b6001811115611edb576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e9757611e97612988565b1a60f81b828281518110611ead57611ead612988565b60200101906001600160f81b031916908160001a90535060049490941c93611ed4816128d8565b9050611e66565b508315611f2a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610839565b9392505050565b80356001600160a01b0381168114611f4857600080fd5b919050565b600082601f830112611f5e57600080fd5b81356020611f6b82612851565b604051611f78828261292a565b8381528281019150858301600585901b87018401881015611f9857600080fd5b60005b85811015611fb757813584529284019290840190600101611f9b565b5090979650505050505050565b600082601f830112611fd557600080fd5b813567ffffffffffffffff811115611fef57611fef61299e565b604051612006601f8301601f19166020018261292a565b81815284602083860101111561201b57600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561204a57600080fd5b611f2a82611f31565b6000806040838503121561206657600080fd5b61206f83611f31565b915061207d60208401611f31565b90509250929050565b600080600080600060a0868803121561209e57600080fd5b6120a786611f31565b94506120b560208701611f31565b9350604086013567ffffffffffffffff808211156120d257600080fd5b6120de89838a01611f4d565b945060608801359150808211156120f457600080fd5b61210089838a01611f4d565b9350608088013591508082111561211657600080fd5b5061212388828901611fc4565b9150509295509295909350565b600080600080600060a0868803121561214857600080fd5b61215186611f31565b945061215f60208701611f31565b93506040860135925060608601359150608086013567ffffffffffffffff81111561218957600080fd5b61212388828901611fc4565b6000806000606084860312156121aa57600080fd5b6121b384611f31565b9250602084013567ffffffffffffffff808211156121d057600080fd5b6121dc87838801611f4d565b935060408601359150808211156121f257600080fd5b506121ff86828701611f4d565b9150509250925092565b6000806040838503121561221c57600080fd5b61222583611f31565b91506020830135801515811461223a57600080fd5b809150509250929050565b6000806040838503121561225857600080fd5b61226183611f31565b946020939093013593505050565b60008060006060848603121561228457600080fd5b61228d84611f31565b95602085013595506040909401359392505050565b600080604083850312156122b557600080fd5b823567ffffffffffffffff808211156122cd57600080fd5b818501915085601f8301126122e157600080fd5b813560206122ee82612851565b6040516122fb828261292a565b8381528281019150858301600585901b870184018b101561231b57600080fd5b600096505b848710156123455761233181611f31565b835260019690960195918301918301612320565b509650508601359250508082111561235c57600080fd5b5061236985828601611f4d565b9150509250929050565b60006020828403121561238557600080fd5b5035919050565b6000806040838503121561239f57600080fd5b8235915061207d60208401611f31565b6000602082840312156123c157600080fd5b8135611f2a81612a5a565b6000602082840312156123de57600080fd5b8151611f2a81612a5a565b6000602082840312156123fb57600080fd5b5051919050565b6000806000806080858703121561241857600080fd5b5050823594602084013594506040840135936060013592509050565b600081518084526020808501945080840160005b8381101561246457815187529582019590820190600101612448565b509495945050505050565b600081518084526124878160208601602086016128ac565b601f01601f19169290920160200192915050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516124d38160178501602088016128ac565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516125048160288401602088016128ac565b01602801949350505050565b6001600160a01b0386811682528516602082015260a06040820181905260009061253c90830186612434565b828103606084015261254e8186612434565b90508281036080840152612562818561246f565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906125a89083018461246f565b979650505050505050565b602081526000611f2a6020830184612434565b6040815260006125d96040830185612434565b82810360208401526125eb8185612434565b95945050505050565b602081526000611f2a602083018461246f565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526036908201527f596f752063616e2075736520746869732066756e6374696f6e207768656e20646040820152756973747269627574696f6e206973207061757365642160501b606082015260800190565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b600067ffffffffffffffff82111561286b5761286b61299e565b5060051b60200190565b6000821982111561288857612888612972565b500190565b60008160001904831182151516156128a7576128a7612972565b500290565b60005b838110156128c75781810151838201526020016128af565b838111156116c25750506000910152565b6000816128e7576128e7612972565b506000190190565b600181811c9082168061290357607f821691505b6020821081141561292457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f1916810167ffffffffffffffff811182821017156129505761295061299e565b6040525050565b600060001982141561296b5761296b612972565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d11156129cd5760046000803e5060005160e01c5b90565b600060443d10156129de5790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715612a0e57505050505090565b8285019150815181811115612a265750505050505090565b843d8701016020828501011115612a405750505050505090565b612a4f6020828601018761292a565b509095945050505050565b6001600160e01b03198116811461104957600080fdfea264697066735822122098d177de6cbbab9c70d90f1386c771b91ff7ea2f5657c1e6e0e790d69779051564736f6c63430008070033000000000000000000000000a21d3fc728efadf5fb3f55c43d1bef15b4398fb2
Deployed Bytecode
0x6080604052600436106102265760003560e01c80637948fb9811610122578063c4549408116100a5578063f23a6e611161006c578063f23a6e6114610730578063f242432a1461075c578063f2fde38b1461077c578063f5298aca1461079c578063f8e3db5b146107bc57005b8063c45494081461067c578063d14bb9d814610691578063d547741f146106a7578063dbc5005f146106c7578063e985e9c5146106e757005b8063a217fddf116100e9578063a217fddf146105cc578063a22cb465146105e1578063b6ab61a714610601578063bbafe16214610617578063bc197c811461063757005b80637948fb9814610506578063871fd9cc146105335780638da5cb5b1461054957806391d148541461057b57806395d89b411461059b57005b806336568abe116101aa5780635c975abb116101715780635c975abb146104855780635fd8c710146104a65780635ff6fd4c146104bb5780636b20c454146104d1578063715018a6146104f157005b806336568abe146103d85780633d4c05ec146103f85780633ebdd88e146104185780634e1273f41461043857806357439bac1461046557005b80631c3aae70116101ee5780631c3aae7014610328578063238dca4614610348578063248a9ca3146103685780632eb2c2d6146103985780632f2ff15d146103b857005b8062fdd58e1461022f57806301ffc9a71461026257806306fdde03146102925780630886c8c4146102e85780630e89341c1461030857005b3661022d57005b005b34801561023b57600080fd5b5061024f61024a366004612245565b6107d2565b6040519081526020015b60405180910390f35b34801561026e57600080fd5b5061028261027d3660046123af565b610868565b6040519015158152602001610259565b34801561029e57600080fd5b506102db6040518060400160405280601d81526020017f5370696e626c61646520446973636f756e74205061737320466f72676500000081525081565b60405161025991906125f4565b3480156102f457600080fd5b5061022d610303366004612402565b610879565b34801561031457600080fd5b506102db610323366004612373565b610b69565b34801561033457600080fd5b5061022d610343366004612373565b610bfd565b34801561035457600080fd5b5061022d610363366004612373565b610c0a565b34801561037457600080fd5b5061024f610383366004612373565b60009081526004602052604090206001015490565b3480156103a457600080fd5b5061022d6103b3366004612086565b610c17565b3480156103c457600080fd5b5061022d6103d336600461238c565b610c63565b3480156103e457600080fd5b5061022d6103f336600461238c565b610c8d565b34801561040457600080fd5b5061022d610413366004612373565b610d0b565b34801561042457600080fd5b5061022d610433366004612373565b610d18565b34801561044457600080fd5b506104586104533660046122a2565b610e3a565b60405161025991906125b3565b34801561047157600080fd5b5061022d610480366004612373565b610f64565b34801561049157600080fd5b5060065461028290600160a01b900460ff1681565b3480156104b257600080fd5b5061022d610f71565b3480156104c757600080fd5b5061024f60075481565b3480156104dd57600080fd5b5061022d6104ec366004612195565b61104c565b3480156104fd57600080fd5b5061022d61108f565b34801561051257600080fd5b5061024f610521366004612038565b600d6020526000908152604090205481565b34801561053f57600080fd5b5061024f60095481565b34801561055557600080fd5b506003546001600160a01b03165b6040516001600160a01b039091168152602001610259565b34801561058757600080fd5b5061028261059636600461238c565b6110a3565b3480156105a757600080fd5b506102db6040518060400160405280600581526020016429a122282360d91b81525081565b3480156105d857600080fd5b5061024f600081565b3480156105ed57600080fd5b5061022d6105fc366004612209565b6110ce565b34801561060d57600080fd5b5061024f60085481565b34801561062357600080fd5b50600c54610563906001600160a01b031681565b34801561064357600080fd5b50610663610652366004612086565b63bc197c8160e01b95945050505050565b6040516001600160e01b03199091168152602001610259565b34801561068857600080fd5b5061022d6110d9565b34801561069d57600080fd5b5061024f600a5481565b3480156106b357600080fd5b5061022d6106c236600461238c565b611102565b3480156106d357600080fd5b5061022d6106e2366004612373565b611127565b3480156106f357600080fd5b50610282610702366004612053565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561073c57600080fd5b5061066361074b366004612130565b63f23a6e6160e01b95945050505050565b34801561076857600080fd5b5061022d610777366004612130565b611134565b34801561078857600080fd5b5061022d610797366004612038565b611179565b3480156107a857600080fd5b5061022d6107b736600461226f565b6111ef565b3480156107c857600080fd5b5061024f600b5481565b60006001600160a01b0383166108425760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b600061087382611232565b92915050565b600654600160a01b900460ff16156108cc5760405162461bcd60e51b8152602060048201526016602482015275191a5cdd1c9a589d5d1a5bdb881a5cc81c185d5cd95960521b6044820152606401610839565b600b54421161091d5760405162461bcd60e51b815260206004820152601b60248201527f646973747269627574696f6e206973206e6f74207374617274656400000000006044820152606401610839565b826008541461096e5760405162461bcd60e51b815260206004820181905260248201527f6275726e20746f6b656e20616d6f756e74206973206e6f7420636f72726563746044820152606401610839565b83600754146109bf5760405162461bcd60e51b815260206004820152601c60248201527f6275726e20746f6b656e206964206973206e6f7420636f7272656374000000006044820152606401610839565b80600a5414610a105760405162461bcd60e51b815260206004820181905260248201527f6d696e7420746f6b656e20616d6f756e74206973206e6f7420636f72726563746044820152606401610839565b8160095414610a615760405162461bcd60e51b815260206004820152601960248201527f6d696e7420746f6b656e206973206e6f7420636f7272656374000000000000006044820152606401610839565b6006546001600160a01b031663f5298aca3386610a7e858861288d565b6040516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091526044820152606401600060405180830381600087803b158015610acc57600080fd5b505af1158015610ae0573d6000803e3d6000fd5b5050600554604051637921219560e11b8152306004820152336024820152604481018690526064810185905260a06084820152600060a48201526001600160a01b03909116925063f242432a915060c401600060405180830381600087803b158015610b4b57600080fd5b505af1158015610b5f573d6000803e3d6000fd5b5050505050505050565b606060028054610b78906128ef565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba4906128ef565b8015610bf15780601f10610bc657610100808354040283529160200191610bf1565b820191906000526020600020905b815481529060010190602001808311610bd457829003601f168201915b50505050509050919050565b610c05611257565b600a55565b610c12611257565b600855565b6001600160a01b038516331480610c335750610c338533610702565b610c4f5760405162461bcd60e51b815260040161083990612693565b610c5c85858585856112b1565b5050505050565b600082815260046020526040902060010154610c7e81611445565b610c88838361144f565b505050565b6001600160a01b0381163314610cfd5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610839565b610d0782826114d5565b5050565b610d13611257565b600755565b600654600160a01b900460ff16610d415760405162461bcd60e51b815260040161083990612726565b610d49611257565b600554604051627eeac760e11b8152306004820152602481018390526000916001600160a01b03169062fdd58e9060440160206040518083038186803b158015610d9257600080fd5b505afa158015610da6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dca91906123e9565b600654604051637a94c56560e11b815230600482015260248101859052604481018390529192506001600160a01b03169063f5298aca90606401600060405180830381600087803b158015610e1e57600080fd5b505af1158015610e32573d6000803e3d6000fd5b505050505050565b60608151835114610e9f5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610839565b6000835167ffffffffffffffff811115610ebb57610ebb61299e565b604051908082528060200260200182016040528015610ee4578160200160208202803683370190505b50905060005b8451811015610f5c57610f2f858281518110610f0857610f08612988565b6020026020010151858381518110610f2257610f22612988565b60200260200101516107d2565b828281518110610f4157610f41612988565b6020908102919091010152610f5581612957565b9050610eea565b509392505050565b610f6c611257565b600955565b600654600160a01b900460ff16610f9a5760405162461bcd60e51b815260040161083990612726565b610fa2611257565b6000610fb66003546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611000576040519150601f19603f3d011682016040523d82523d6000602084013e611005565b606091505b50509050806110495760405162461bcd60e51b815260206004820152601060248201526f5472616e73666572206661696c65642160801b6044820152606401610839565b50565b6001600160a01b03831633148061106857506110688333610702565b6110845760405162461bcd60e51b815260040161083990612693565b610c8883838361153c565b611097611257565b6110a160006116c8565b565b60009182526004602090815260408084206001600160a01b0393909316845291905290205460ff1690565b610d0733838361171a565b6110e1611257565b6006805460ff60a01b198116600160a01b9182900460ff1615909102179055565b60008281526004602052604090206001015461111d81611445565b610c8883836114d5565b61112f611257565b600b55565b6001600160a01b03851633148061115057506111508533610702565b61116c5760405162461bcd60e51b815260040161083990612693565b610c5c85858585856117fb565b611181611257565b6001600160a01b0381166111e65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610839565b611049816116c8565b6001600160a01b03831633148061120b575061120b8333610702565b6112275760405162461bcd60e51b815260040161083990612693565b610c88838383611925565b60006001600160e01b03198216637965db0b60e01b1480610873575061087382611a2e565b6003546001600160a01b031633146110a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610839565b81518351146112d25760405162461bcd60e51b815260040161083990612809565b6001600160a01b0384166112f85760405162461bcd60e51b8152600401610839906126e1565b3360005b84518110156113df57600085828151811061131957611319612988565b60200260200101519050600085838151811061133757611337612988565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156113875760405162461bcd60e51b8152600401610839906127bf565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906113c4908490612875565b92505081905550505050806113d890612957565b90506112fc565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161142f9291906125c6565b60405180910390a4610e32818787878787611a53565b6110498133611bbe565b61145982826110a3565b610d075760008281526004602090815260408083206001600160a01b03851684529091529020805460ff191660011790556114913390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6114df82826110a3565b15610d075760008281526004602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0383166115625760405162461bcd60e51b81526004016108399061277c565b80518251146115835760405162461bcd60e51b815260040161083990612809565b604080516020810190915260009081905233905b83518110156116595760008482815181106115b4576115b4612988565b6020026020010151905060008483815181106115d2576115d2612988565b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156116225760405162461bcd60e51b81526004016108399061264f565b6000928352602083815260408085206001600160a01b038b168652909152909220910390558061165181612957565b915050611597565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516116aa9291906125c6565b60405180910390a46040805160208101909152600090525b50505050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561178e5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610839565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166118215760405162461bcd60e51b8152600401610839906126e1565b33600061182d85611c17565b9050600061183a85611c17565b90506000868152602081815260408083206001600160a01b038c1684529091529020548581101561187d5760405162461bcd60e51b8152600401610839906127bf565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a168252812080548892906118ba908490612875565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461191a848a8a8a8a8a611c62565b505050505050505050565b6001600160a01b03831661194b5760405162461bcd60e51b81526004016108399061277c565b33600061195784611c17565b9050600061196484611c17565b60408051602080820183526000918290528882528181528282206001600160a01b038b16835290522054909150848110156119b15760405162461bcd60e51b81526004016108399061264f565b6000868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46040805160208101909152600090525b50505050505050565b60006001600160e01b03198216630271189760e51b1480610873575061087382611d2c565b6001600160a01b0384163b15610e325760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611a979089908990889088908890600401612510565b602060405180830381600087803b158015611ab157600080fd5b505af1925050508015611ae1575060408051601f3d908101601f19168201909252611ade918101906123cc565b60015b611b8e57611aed6129b4565b806308c379a01415611b275750611b026129d0565b80611b0d5750611b29565b8060405162461bcd60e51b815260040161083991906125f4565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610839565b6001600160e01b0319811663bc197c8160e01b14611a255760405162461bcd60e51b815260040161083990612607565b611bc882826110a3565b610d0757611bd581611d7c565b611be0836020611d8e565b604051602001611bf192919061249b565b60408051601f198184030181529082905262461bcd60e51b8252610839916004016125f4565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611c5157611c51612988565b602090810291909101015292915050565b6001600160a01b0384163b15610e325760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611ca6908990899088908890889060040161256e565b602060405180830381600087803b158015611cc057600080fd5b505af1925050508015611cf0575060408051601f3d908101601f19168201909252611ced918101906123cc565b60015b611cfc57611aed6129b4565b6001600160e01b0319811663f23a6e6160e01b14611a255760405162461bcd60e51b815260040161083990612607565b60006001600160e01b03198216636cdb3d1360e11b1480611d5d57506001600160e01b031982166303a24d0760e21b145b8061087357506301ffc9a760e01b6001600160e01b0319831614610873565b60606108736001600160a01b03831660145b60606000611d9d83600261288d565b611da8906002612875565b67ffffffffffffffff811115611dc057611dc061299e565b6040519080825280601f01601f191660200182016040528015611dea576020820181803683370190505b509050600360fc1b81600081518110611e0557611e05612988565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611e3457611e34612988565b60200101906001600160f81b031916908160001a9053506000611e5884600261288d565b611e63906001612875565b90505b6001811115611edb576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e9757611e97612988565b1a60f81b828281518110611ead57611ead612988565b60200101906001600160f81b031916908160001a90535060049490941c93611ed4816128d8565b9050611e66565b508315611f2a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610839565b9392505050565b80356001600160a01b0381168114611f4857600080fd5b919050565b600082601f830112611f5e57600080fd5b81356020611f6b82612851565b604051611f78828261292a565b8381528281019150858301600585901b87018401881015611f9857600080fd5b60005b85811015611fb757813584529284019290840190600101611f9b565b5090979650505050505050565b600082601f830112611fd557600080fd5b813567ffffffffffffffff811115611fef57611fef61299e565b604051612006601f8301601f19166020018261292a565b81815284602083860101111561201b57600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561204a57600080fd5b611f2a82611f31565b6000806040838503121561206657600080fd5b61206f83611f31565b915061207d60208401611f31565b90509250929050565b600080600080600060a0868803121561209e57600080fd5b6120a786611f31565b94506120b560208701611f31565b9350604086013567ffffffffffffffff808211156120d257600080fd5b6120de89838a01611f4d565b945060608801359150808211156120f457600080fd5b61210089838a01611f4d565b9350608088013591508082111561211657600080fd5b5061212388828901611fc4565b9150509295509295909350565b600080600080600060a0868803121561214857600080fd5b61215186611f31565b945061215f60208701611f31565b93506040860135925060608601359150608086013567ffffffffffffffff81111561218957600080fd5b61212388828901611fc4565b6000806000606084860312156121aa57600080fd5b6121b384611f31565b9250602084013567ffffffffffffffff808211156121d057600080fd5b6121dc87838801611f4d565b935060408601359150808211156121f257600080fd5b506121ff86828701611f4d565b9150509250925092565b6000806040838503121561221c57600080fd5b61222583611f31565b91506020830135801515811461223a57600080fd5b809150509250929050565b6000806040838503121561225857600080fd5b61226183611f31565b946020939093013593505050565b60008060006060848603121561228457600080fd5b61228d84611f31565b95602085013595506040909401359392505050565b600080604083850312156122b557600080fd5b823567ffffffffffffffff808211156122cd57600080fd5b818501915085601f8301126122e157600080fd5b813560206122ee82612851565b6040516122fb828261292a565b8381528281019150858301600585901b870184018b101561231b57600080fd5b600096505b848710156123455761233181611f31565b835260019690960195918301918301612320565b509650508601359250508082111561235c57600080fd5b5061236985828601611f4d565b9150509250929050565b60006020828403121561238557600080fd5b5035919050565b6000806040838503121561239f57600080fd5b8235915061207d60208401611f31565b6000602082840312156123c157600080fd5b8135611f2a81612a5a565b6000602082840312156123de57600080fd5b8151611f2a81612a5a565b6000602082840312156123fb57600080fd5b5051919050565b6000806000806080858703121561241857600080fd5b5050823594602084013594506040840135936060013592509050565b600081518084526020808501945080840160005b8381101561246457815187529582019590820190600101612448565b509495945050505050565b600081518084526124878160208601602086016128ac565b601f01601f19169290920160200192915050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516124d38160178501602088016128ac565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516125048160288401602088016128ac565b01602801949350505050565b6001600160a01b0386811682528516602082015260a06040820181905260009061253c90830186612434565b828103606084015261254e8186612434565b90508281036080840152612562818561246f565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906125a89083018461246f565b979650505050505050565b602081526000611f2a6020830184612434565b6040815260006125d96040830185612434565b82810360208401526125eb8185612434565b95945050505050565b602081526000611f2a602083018461246f565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526036908201527f596f752063616e2075736520746869732066756e6374696f6e207768656e20646040820152756973747269627574696f6e206973207061757365642160501b606082015260800190565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b600067ffffffffffffffff82111561286b5761286b61299e565b5060051b60200190565b6000821982111561288857612888612972565b500190565b60008160001904831182151516156128a7576128a7612972565b500290565b60005b838110156128c75781810151838201526020016128af565b838111156116c25750506000910152565b6000816128e7576128e7612972565b506000190190565b600181811c9082168061290357607f821691505b6020821081141561292457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f1916810167ffffffffffffffff811182821017156129505761295061299e565b6040525050565b600060001982141561296b5761296b612972565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d11156129cd5760046000803e5060005160e01c5b90565b600060443d10156129de5790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715612a0e57505050505090565b8285019150815181811115612a265750505050505090565b843d8701016020828501011115612a405750505050505090565b612a4f6020828601018761292a565b509095945050505050565b6001600160e01b03198116811461104957600080fdfea264697066735822122098d177de6cbbab9c70d90f1386c771b91ff7ea2f5657c1e6e0e790d69779051564736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a21d3fc728efadf5fb3f55c43d1bef15b4398fb2
-----Decoded View---------------
Arg [0] : _mintPassContractAddress (address): 0xa21D3fc728efADf5fB3f55C43D1beF15B4398Fb2
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a21d3fc728efadf5fb3f55c43d1bef15b4398fb2
Deployed Bytecode Sourcemap
70603:3212:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51758:230;;;;;;;;;;-1:-1:-1;51758:230:0;;;;;:::i;:::-;;:::i;:::-;;;13697:25:1;;;13685:2;13670:18;51758:230:0;;;;;;;;72978:194;;;;;;;;;;-1:-1:-1;72978:194:0;;;;;:::i;:::-;;:::i;:::-;;;13524:14:1;;13517:22;13499:41;;13487:2;13472:18;72978:194:0;13359:187:1;70807:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;71701:743::-;;;;;;;;;;-1:-1:-1;71701:743:0;;;;;:::i;:::-;;:::i;51502:105::-;;;;;;;;;;-1:-1:-1;51502:105:0;;;;;:::i;:::-;;:::i;72768:111::-;;;;;;;;;;-1:-1:-1;72768:111:0;;;;;:::i;:::-;;:::i;72552:::-;;;;;;;;;;-1:-1:-1;72552:111:0;;;;;:::i;:::-;;:::i;36765:131::-;;;;;;;;;;-1:-1:-1;36765:131:0;;;;;:::i;:::-;36839:7;36866:12;;;:6;:12;;;;;:22;;;;36765:131;53701:438;;;;;;;;;;-1:-1:-1;53701:438:0;;;;;:::i;:::-;;:::i;37206:147::-;;;;;;;;;;-1:-1:-1;37206:147:0;;;;;:::i;:::-;;:::i;38350:218::-;;;;;;;;;;-1:-1:-1;38350:218:0;;;;;:::i;:::-;;:::i;72453:93::-;;;;;;;;;;-1:-1:-1;72453:93:0;;;;;:::i;:::-;;:::i;73504:233::-;;;;;;;;;;-1:-1:-1;73504:233:0;;;;;:::i;:::-;;:::i;52154:524::-;;;;;;;;;;-1:-1:-1;52154:524:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;72669:93::-;;;;;;;;;;-1:-1:-1;72669:93:0;;;;;:::i;:::-;;:::i;70923:18::-;;;;;;;;;;-1:-1:-1;70923:18:0;;;;-1:-1:-1;;;70923:18:0;;;;;;73310:186;;;;;;;;;;;;;:::i;70954:30::-;;;;;;;;;;;;;;;;68063:358;;;;;;;;;;-1:-1:-1;68063:358:0;;;;;:::i;:::-;;:::i;21049:103::-;;;;;;;;;;;;;:::i;71344:50::-;;;;;;;;;;-1:-1:-1;71344:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;71032:30;;;;;;;;;;;;;;;;20401:87;;;;;;;;;;-1:-1:-1;20474:6:0;;-1:-1:-1;;;;;20474:6:0;20401:87;;;-1:-1:-1;;;;;9922:32:1;;;9904:51;;9892:2;9877:18;20401:87:0;9758:203:1;35238:147:0;;;;;;;;;;-1:-1:-1;35238:147:0;;;;;:::i;:::-;;:::i;70875:39::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;70875:39:0;;;;;34343:49;;;;;;;;;;-1:-1:-1;34343:49:0;34388:4;34343:49;;52751:155;;;;;;;;;;-1:-1:-1;52751:155:0;;;;;:::i;:::-;;:::i;70991:34::-;;;;;;;;;;;;;;;;71297:38;;;;;;;;;;-1:-1:-1;71297:38:0;;;;-1:-1:-1;;;;;71297:38:0;;;44517:255;;;;;;;;;;-1:-1:-1;44517:255:0;;;;;:::i;:::-;-1:-1:-1;;;44517:255:0;;;;;;;;;;;-1:-1:-1;;;;;;13895:33:1;;;13877:52;;13865:2;13850:18;44517:255:0;13733:202:1;72887:83:0;;;;;;;;;;;;;:::i;71069:34::-;;;;;;;;;;;;;;;;37646:149;;;;;;;;;;-1:-1:-1;37646:149:0;;;;;:::i;:::-;;:::i;73180:120::-;;;;;;;;;;-1:-1:-1;73180:120:0;;;;;:::i;:::-;;:::i;52978:168::-;;;;;;;;;;-1:-1:-1;52978:168:0;;;;;:::i;:::-;-1:-1:-1;;;;;53101:27:0;;;53077:4;53101:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;52978:168;44282:227;;;;;;;;;;-1:-1:-1;44282:227:0;;;;;:::i;:::-;-1:-1:-1;;;44282:227:0;;;;;;;;53218:406;;;;;;;;;;-1:-1:-1;53218:406:0;;;;;:::i;:::-;;:::i;21307:201::-;;;;;;;;;;-1:-1:-1;21307:201:0;;;;;:::i;:::-;;:::i;67729:326::-;;;;;;;;;;-1:-1:-1;67729:326:0;;;;;:::i;:::-;;:::i;71112:42::-;;;;;;;;;;;;;;;;51758:230;51844:7;-1:-1:-1;;;;;51872:21:0;;51864:76;;;;-1:-1:-1;;;51864:76:0;;16660:2:1;51864:76:0;;;16642:21:1;16699:2;16679:18;;;16672:30;16738:34;16718:18;;;16711:62;-1:-1:-1;;;16789:18:1;;;16782:40;16839:19;;51864:76:0;;;;;;;;;-1:-1:-1;51958:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;51958:22:0;;;;;;;;;;;;51758:230::o;72978:194::-;73104:4;73128:36;73152:11;73128:23;:36::i;:::-;73121:43;72978:194;-1:-1:-1;;72978:194:0:o;71701:743::-;71820:6;;-1:-1:-1;;;71820:6:0;;;;71819:7;71811:42;;;;-1:-1:-1;;;71811:42:0;;16309:2:1;71811:42:0;;;16291:21:1;16348:2;16328:18;;;16321:30;-1:-1:-1;;;16367:18:1;;;16360:52;16429:18;;71811:42:0;16107:346:1;71811:42:0;71890:14;;71872:15;:32;71864:72;;;;-1:-1:-1;;;71864:72:0;;22137:2:1;71864:72:0;;;22119:21:1;22176:2;22156:18;;;22149:30;22215:29;22195:18;;;22188:57;22262:18;;71864:72:0;21935:351:1;71864:72:0;71974:11;71955:15;;:30;71947:75;;;;-1:-1:-1;;;71947:75:0;;20193:2:1;71947:75:0;;;20175:21:1;;;20212:18;;;20205:30;20271:34;20251:18;;;20244:62;20323:18;;71947:75:0;19991:356:1;71947:75:0;72056:7;72041:11;;:22;72033:63;;;;-1:-1:-1;;;72033:63:0;;17071:2:1;72033:63:0;;;17053:21:1;17110:2;17090:18;;;17083:30;17149;17129:18;;;17122:58;17197:18;;72033:63:0;16869:352:1;72033:63:0;72134:11;72115:15;;:30;72107:75;;;;-1:-1:-1;;;72107:75:0;;15136:2:1;72107:75:0;;;15118:21:1;;;15155:18;;;15148:30;15214:34;15194:18;;;15187:62;15266:18;;72107:75:0;14934:356:1;72107:75:0;72216:7;72201:11;;:22;72193:60;;;;-1:-1:-1;;;72193:60:0;;21374:2:1;72193:60:0;;;21356:21:1;21413:2;21393:18;;;21386:30;21452:27;21432:18;;;21425:55;21497:18;;72193:60:0;21172:349:1;72193:60:0;72266:20;;-1:-1:-1;;;;;72266:20:0;:25;72292:10;72304:7;72313:25;72327:11;72313;:25;:::i;:::-;72266:73;;-1:-1:-1;;;;;;72266:73:0;;;;;;;-1:-1:-1;;;;;12493:32:1;;;72266:73:0;;;12475:51:1;12542:18;;;12535:34;;;;12585:18;;;12578:34;12448:18;;72266:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;72350:16:0;;:86;;-1:-1:-1;;;72350:86:0;;72392:4;72350:86;;;11695:34:1;72399:10:0;11745:18:1;;;11738:43;11797:18;;;11790:34;;;11840:18;;;11833:34;;;11675:3;11883:19;;;11876:32;-1:-1:-1;11924:19:1;;;11917:30;-1:-1:-1;;;;;72350:16:0;;;;-1:-1:-1;72350:33:0;;-1:-1:-1;11964:19:1;;72350:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71701:743;;;;:::o;51502:105::-;51562:13;51595:4;51588:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51502:105;;;:::o;72768:111::-;20287:13;:11;:13::i;:::-;72845:15:::1;:26:::0;72768:111::o;72552:::-;20287:13;:11;:13::i;:::-;72629:15:::1;:26:::0;72552:111::o;53701:438::-;-1:-1:-1;;;;;53934:20:0;;19032:10;53934:20;;:60;;-1:-1:-1;53958:36:0;53975:4;19032:10;52978:168;:::i;53958:36::-;53912:156;;;;-1:-1:-1;;;53912:156:0;;;;;;;:::i;:::-;54079:52;54102:4;54108:2;54112:3;54117:7;54126:4;54079:22;:52::i;:::-;53701:438;;;;;:::o;37206:147::-;36839:7;36866:12;;;:6;:12;;;;;:22;;;34834:16;34845:4;34834:10;:16::i;:::-;37320:25:::1;37331:4;37337:7;37320:10;:25::i;:::-;37206:147:::0;;;:::o;38350:218::-;-1:-1:-1;;;;;38446:23:0;;19032:10;38446:23;38438:83;;;;-1:-1:-1;;;38438:83:0;;22914:2:1;38438:83:0;;;22896:21:1;22953:2;22933:18;;;22926:30;22992:34;22972:18;;;22965:62;-1:-1:-1;;;23043:18:1;;;23036:45;23098:19;;38438:83:0;22712:411:1;38438:83:0;38534:26;38546:4;38552:7;38534:11;:26::i;:::-;38350:218;;:::o;72453:93::-;20287:13;:11;:13::i;:::-;72521:11:::1;:17:::0;72453:93::o;73504:233::-;71204:6;;-1:-1:-1;;;71204:6:0;;;;71196:73;;;;-1:-1:-1;;;71196:73:0;;;;;;;:::i;:::-;20287:13:::1;:11;:13::i;:::-;73605:16:::2;::::0;:50:::2;::::0;-1:-1:-1;;;73605:50:0;;73640:4:::2;73605:50;::::0;::::2;12168:51:1::0;12235:18;;;12228:34;;;73582:20:0::2;::::0;-1:-1:-1;;;;;73605:16:0::2;::::0;:26:::2;::::0;12141:18:1;;73605:50:0::2;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;73666:20;::::0;:63:::2;::::0;-1:-1:-1;;;73666:63:0;;73700:4:::2;73666:63;::::0;::::2;12475:51:1::0;12542:18;;;12535:34;;;12585:18;;;12578:34;;;73582:73:0;;-1:-1:-1;;;;;;73666:20:0::2;::::0;:25:::2;::::0;12448:18:1;;73666:63:0::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;73571:166;73504:233:::0;:::o;52154:524::-;52310:16;52371:3;:10;52352:8;:15;:29;52344:83;;;;-1:-1:-1;;;52344:83:0;;20964:2:1;52344:83:0;;;20946:21:1;21003:2;20983:18;;;20976:30;21042:34;21022:18;;;21015:62;-1:-1:-1;;;21093:18:1;;;21086:39;21142:19;;52344:83:0;20762:405:1;52344:83:0;52440:30;52487:8;:15;52473:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52473:30:0;;52440:63;;52521:9;52516:122;52540:8;:15;52536:1;:19;52516:122;;;52596:30;52606:8;52615:1;52606:11;;;;;;;;:::i;:::-;;;;;;;52619:3;52623:1;52619:6;;;;;;;;:::i;:::-;;;;;;;52596:9;:30::i;:::-;52577:13;52591:1;52577:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;52557:3;;;:::i;:::-;;;52516:122;;;-1:-1:-1;52657:13:0;52154:524;-1:-1:-1;;;52154:524:0:o;72669:93::-;20287:13;:11;:13::i;:::-;72737:11:::1;:17:::0;72669:93::o;73310:186::-;71204:6;;-1:-1:-1;;;71204:6:0;;;;71196:73;;;;-1:-1:-1;;;71196:73:0;;;;;;;:::i;:::-;20287:13:::1;:11;:13::i;:::-;73377:12:::2;73394:7;20474:6:::0;;-1:-1:-1;;;;;20474:6:0;;20401:87;73394:7:::2;-1:-1:-1::0;;;;;73394:12:0::2;73415:21;73394:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73376:65;;;73460:7;73452:36;;;::::0;-1:-1:-1;;;73452:36:0;;19487:2:1;73452:36:0::2;::::0;::::2;19469:21:1::0;19526:2;19506:18;;;19499:30;-1:-1:-1;;;19545:18:1;;;19538:46;19601:18;;73452:36:0::2;19285:340:1::0;73452:36:0::2;73365:131;73310:186::o:0;68063:358::-;-1:-1:-1;;;;;68228:23:0;;19032:10;68228:23;;:66;;-1:-1:-1;68255:39:0;68272:7;19032:10;52978:168;:::i;68255:39::-;68206:162;;;;-1:-1:-1;;;68206:162:0;;;;;;;:::i;:::-;68381:32;68392:7;68401:3;68406:6;68381:10;:32::i;21049:103::-;20287:13;:11;:13::i;:::-;21114:30:::1;21141:1;21114:18;:30::i;:::-;21049:103::o:0;35238:147::-;35324:4;35348:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;35348:29:0;;;;;;;;;;;;;;;35238:147::o;52751:155::-;52846:52;19032:10;52879:8;52889;52846:18;:52::i;72887:83::-;20287:13;:11;:13::i;:::-;72956:6:::1;::::0;;-1:-1:-1;;;;72946:16:0;::::1;-1:-1:-1::0;;;72956:6:0;;;::::1;;;72955:7;72946:16:::0;;::::1;;::::0;;72887:83::o;37646:149::-;36839:7;36866:12;;;:6;:12;;;;;:22;;;34834:16;34845:4;34834:10;:16::i;:::-;37761:26:::1;37773:4;37779:7;37761:11;:26::i;73180:120::-:0;20287:13;:11;:13::i;:::-;73262:14:::1;:30:::0;73180:120::o;53218:406::-;-1:-1:-1;;;;;53426:20:0;;19032:10;53426:20;;:60;;-1:-1:-1;53450:36:0;53467:4;19032:10;52978:168;:::i;53450:36::-;53404:156;;;;-1:-1:-1;;;53404:156:0;;;;;;;:::i;:::-;53571:45;53589:4;53595:2;53599;53603:6;53611:4;53571:17;:45::i;21307:201::-;20287:13;:11;:13::i;:::-;-1:-1:-1;;;;;21396:22:0;::::1;21388:73;;;::::0;-1:-1:-1;;;21388:73:0;;15497:2:1;21388:73:0::1;::::0;::::1;15479:21:1::0;15536:2;15516:18;;;15509:30;15575:34;15555:18;;;15548:62;-1:-1:-1;;;15626:18:1;;;15619:36;15672:19;;21388:73:0::1;15295:402:1::0;21388:73:0::1;21472:28;21491:8;21472:18;:28::i;67729:326::-:0;-1:-1:-1;;;;;67869:23:0;;19032:10;67869:23;;:66;;-1:-1:-1;67896:39:0;67913:7;19032:10;52978:168;:::i;67896:39::-;67847:162;;;;-1:-1:-1;;;67847:162:0;;;;;;;:::i;:::-;68022:25;68028:7;68037:2;68041:5;68022;:25::i;34942:204::-;35027:4;-1:-1:-1;;;;;;35051:47:0;;-1:-1:-1;;;35051:47:0;;:87;;;35102:36;35126:11;35102:23;:36::i;20566:132::-;20474:6;;-1:-1:-1;;;;;20474:6:0;19032:10;20630:23;20622:68;;;;-1:-1:-1;;;20622:68:0;;19832:2:1;20622:68:0;;;19814:21:1;;;19851:18;;;19844:30;19910:34;19890:18;;;19883:62;19962:18;;20622:68:0;19630:356:1;55935:1146:0;56162:7;:14;56148:3;:10;:28;56140:81;;;;-1:-1:-1;;;56140:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;56240:16:0;;56232:66;;;;-1:-1:-1;;;56232:66:0;;;;;;;:::i;:::-;19032:10;56311:16;56428:421;56452:3;:10;56448:1;:14;56428:421;;;56484:10;56497:3;56501:1;56497:6;;;;;;;;:::i;:::-;;;;;;;56484:19;;56518:14;56535:7;56543:1;56535:10;;;;;;;;:::i;:::-;;;;;;;;;;;;56562:19;56584:13;;;;;;;;;;-1:-1:-1;;;;;56584:19:0;;;;;;;;;;;;56535:10;;-1:-1:-1;56626:21:0;;;;56618:76;;;;-1:-1:-1;;;56618:76:0;;;;;;;:::i;:::-;56738:9;:13;;;;;;;;;;;-1:-1:-1;;;;;56738:19:0;;;;;;;;;;56760:20;;;56738:42;;56810:17;;;;;;;:27;;56760:20;;56738:9;56810:27;;56760:20;;56810:27;:::i;:::-;;;;;;;;56469:380;;;56464:3;;;;:::i;:::-;;;56428:421;;;;56896:2;-1:-1:-1;;;;;56866:47:0;56890:4;-1:-1:-1;;;;;56866:47:0;56880:8;-1:-1:-1;;;;;56866:47:0;;56900:3;56905:7;56866:47;;;;;;;:::i;:::-;;;;;;;;56998:75;57034:8;57044:4;57050:2;57054:3;57059:7;57068:4;56998:35;:75::i;35689:105::-;35756:30;35767:4;19032:10;35756;:30::i;39947:238::-;40031:22;40039:4;40045:7;40031;:22::i;:::-;40026:152;;40070:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;40070:29:0;;;;;;;;;:36;;-1:-1:-1;;40070:36:0;40102:4;40070:36;;;40153:12;19032:10;;18952:98;40153:12;-1:-1:-1;;;;;40126:40:0;40144:7;-1:-1:-1;;;;;40126:40:0;40138:4;40126:40;;;;;;;;;;39947:238;;:::o;40365:239::-;40449:22;40457:4;40463:7;40449;:22::i;:::-;40445:152;;;40520:5;40488:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;40488:29:0;;;;;;;;;;:37;;-1:-1:-1;;40488:37:0;;;40545:40;19032:10;;40488:12;;40545:40;;40520:5;40545:40;40365:239;;:::o;61700:969::-;-1:-1:-1;;;;;61852:18:0;;61844:66;;;;-1:-1:-1;;;61844:66:0;;;;;;;:::i;:::-;61943:7;:14;61929:3;:10;:28;61921:81;;;;-1:-1:-1;;;61921:81:0;;;;;;;:::i;:::-;62059:66;;;;;;;;;62015:16;62059:66;;;;19032:10;;62138:373;62162:3;:10;62158:1;:14;62138:373;;;62194:10;62207:3;62211:1;62207:6;;;;;;;;:::i;:::-;;;;;;;62194:19;;62228:14;62245:7;62253:1;62245:10;;;;;;;;:::i;:::-;;;;;;;;;;;;62272:19;62294:13;;;;;;;;;;-1:-1:-1;;;;;62294:19:0;;;;;;;;;;;;62245:10;;-1:-1:-1;62336:21:0;;;;62328:70;;;;-1:-1:-1;;;62328:70:0;;;;;;;:::i;:::-;62442:9;:13;;;;;;;;;;;-1:-1:-1;;;;;62442:19:0;;;;;;;;;;62464:20;;62442:42;;62174:3;;;;:::i;:::-;;;;62138:373;;;;62566:1;-1:-1:-1;;;;;62528:55:0;62552:4;-1:-1:-1;;;;;62528:55:0;62542:8;-1:-1:-1;;;;;62528:55:0;;62570:3;62575:7;62528:55;;;;;;;:::i;:::-;;;;;;;;62596:65;;;;;;;;;62640:1;62596:65;;;61833:836;61700:969;;;:::o;21668:191::-;21761:6;;;-1:-1:-1;;;;;21778:17:0;;;-1:-1:-1;;;;;;21778:17:0;;;;;;;21811:40;;21761:6;;;21778:17;21761:6;;21811:40;;21742:16;;21811:40;21731:128;21668:191;:::o;62812:331::-;62967:8;-1:-1:-1;;;;;62958:17:0;:5;-1:-1:-1;;;;;62958:17:0;;;62950:71;;;;-1:-1:-1;;;62950:71:0;;20554:2:1;62950:71:0;;;20536:21:1;20593:2;20573:18;;;20566:30;20632:34;20612:18;;;20605:62;-1:-1:-1;;;20683:18:1;;;20676:39;20732:19;;62950:71:0;20352:405:1;62950:71:0;-1:-1:-1;;;;;63032:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;63032:46:0;;;;;;;;;;63094:41;;13499::1;;;63094::0;;13472:18:1;63094:41:0;;;;;;;62812:331;;;:::o;54603:974::-;-1:-1:-1;;;;;54791:16:0;;54783:66;;;;-1:-1:-1;;;54783:66:0;;;;;;;:::i;:::-;19032:10;54862:16;54927:21;54945:2;54927:17;:21::i;:::-;54904:44;;54959:24;54986:25;55004:6;54986:17;:25::i;:::-;54959:52;;55097:19;55119:13;;;;;;;;;;;-1:-1:-1;;;;;55119:19:0;;;;;;;;;;55157:21;;;;55149:76;;;;-1:-1:-1;;;55149:76:0;;;;;;;:::i;:::-;55261:9;:13;;;;;;;;;;;-1:-1:-1;;;;;55261:19:0;;;;;;;;;;55283:20;;;55261:42;;55325:17;;;;;;;:27;;55283:20;;55261:9;55325:27;;55283:20;;55325:27;:::i;:::-;;;;-1:-1:-1;;55370:46:0;;;23484:25:1;;;23540:2;23525:18;;23518:34;;;-1:-1:-1;;;;;55370:46:0;;;;;;;;;;;;;;23457:18:1;55370:46:0;;;;;;;55501:68;55532:8;55542:4;55548:2;55552;55556:6;55564:4;55501:30;:68::i;:::-;54772:805;;;;54603:974;;;;;:::o;60642:808::-;-1:-1:-1;;;;;60769:18:0;;60761:66;;;;-1:-1:-1;;;60761:66:0;;;;;;;:::i;:::-;19032:10;60840:16;60905:21;60923:2;60905:17;:21::i;:::-;60882:44;;60937:24;60964:25;60982:6;60964:17;:25::i;:::-;61002:66;;;;;;;;;-1:-1:-1;61002:66:0;;;;61103:13;;;;;;;;;-1:-1:-1;;;;;61103:19:0;;;;;;;;60937:52;;-1:-1:-1;61141:21:0;;;;61133:70;;;;-1:-1:-1;;;61133:70:0;;;;;;;:::i;:::-;61239:9;:13;;;;;;;;;;;-1:-1:-1;;;;;61239:19:0;;;;;;;;;;;;61261:20;;;61239:42;;61310:54;;23484:25:1;;;23525:18;;;23518:34;;;61239:19:0;;61310:54;;;;;;23457:18:1;61310:54:0;;;;;;;61377:65;;;;;;;;;61421:1;61377:65;;;60750:700;;;;60642:808;;;:::o;43527:223::-;43629:4;-1:-1:-1;;;;;;43653:49:0;;-1:-1:-1;;;43653:49:0;;:89;;;43706:36;43730:11;43706:23;:36::i;66257:813::-;-1:-1:-1;;;;;66497:13:0;;23394:19;:23;66493:570;;66533:79;;-1:-1:-1;;;66533:79:0;;-1:-1:-1;;;;;66533:43:0;;;;;:79;;66577:8;;66587:4;;66593:3;;66598:7;;66607:4;;66533:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66533:79:0;;;;;;;;-1:-1:-1;;66533:79:0;;;;;;;;;;;;:::i;:::-;;;66529:523;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;66925:6;66918:14;;-1:-1:-1;;;66918:14:0;;;;;;;;:::i;66529:523::-;;;66974:62;;-1:-1:-1;;;66974:62:0;;22493:2:1;66974:62:0;;;22475:21:1;22532:2;22512:18;;;22505:30;22571:34;22551:18;;;22544:62;-1:-1:-1;;;22622:18:1;;;22615:50;22682:19;;66974:62:0;22291:416:1;66529:523:0;-1:-1:-1;;;;;;66694:60:0;;-1:-1:-1;;;66694:60:0;66690:159;;66779:50;;-1:-1:-1;;;66779:50:0;;;;;;;:::i;36084:492::-;36173:22;36181:4;36187:7;36173;:22::i;:::-;36168:401;;36361:28;36381:7;36361:19;:28::i;:::-;36462:38;36490:4;36497:2;36462:19;:38::i;:::-;36266:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;36266:257:0;;;;;;;;;;-1:-1:-1;;;36212:345:0;;;;;;;:::i;67078:198::-;67198:16;;;67212:1;67198:16;;;;;;;;;67144;;67173:22;;67198:16;;;;;;;;;;;;-1:-1:-1;67198:16:0;67173:41;;67236:7;67225:5;67231:1;67225:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;67263:5;67078:198;-1:-1:-1;;67078:198:0:o;65505:744::-;-1:-1:-1;;;;;65720:13:0;;23394:19;:23;65716:526;;65756:72;;-1:-1:-1;;;65756:72:0;;-1:-1:-1;;;;;65756:38:0;;;;;:72;;65795:8;;65805:4;;65811:2;;65815:6;;65823:4;;65756:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65756:72:0;;;;;;;;-1:-1:-1;;65756:72:0;;;;;;;;;;;;:::i;:::-;;;65752:479;;;;:::i;:::-;-1:-1:-1;;;;;;65878:55:0;;-1:-1:-1;;;65878:55:0;65874:154;;65958:50;;-1:-1:-1;;;65958:50:0;;;;;;;:::i;50781:310::-;50883:4;-1:-1:-1;;;;;;50920:41:0;;-1:-1:-1;;;50920:41:0;;:110;;-1:-1:-1;;;;;;;50978:52:0;;-1:-1:-1;;;50978:52:0;50920:110;:163;;;-1:-1:-1;;;;;;;;;;32310:40:0;;;51047:36;32201:157;15074:151;15132:13;15165:52;-1:-1:-1;;;;;15177:22:0;;13229:2;14470:447;14545:13;14571:19;14603:10;14607:6;14603:1;:10;:::i;:::-;:14;;14616:1;14603:14;:::i;:::-;14593:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14593:25:0;;14571:47;;-1:-1:-1;;;14629:6:0;14636:1;14629:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;14629:15:0;;;;;;;;;-1:-1:-1;;;14655:6:0;14662:1;14655:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;14655:15:0;;;;;;;;-1:-1:-1;14686:9:0;14698:10;14702:6;14698:1;:10;:::i;:::-;:14;;14711:1;14698:14;:::i;:::-;14686:26;;14681:131;14718:1;14714;:5;14681:131;;;-1:-1:-1;;;14762:5:0;14770:3;14762:11;14753:21;;;;;;;:::i;:::-;;;;14741:6;14748:1;14741:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;14741:33:0;;;;;;;;-1:-1:-1;14799:1:0;14789:11;;;;;14721:3;;;:::i;:::-;;;14681:131;;;-1:-1:-1;14830:10:0;;14822:55;;;;-1:-1:-1;;;14822:55:0;;14366:2:1;14822:55:0;;;14348:21:1;;;14385:18;;;14378:30;14444:34;14424:18;;;14417:62;14496:18;;14822:55:0;14164:356:1;14822:55:0;14902:6;14470:447;-1:-1:-1;;;14470:447:0:o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:735::-;246:5;299:3;292:4;284:6;280:17;276:27;266:55;;317:1;314;307:12;266:55;353:6;340:20;379:4;402:43;442:2;402:43;:::i;:::-;474:2;468:9;486:31;514:2;506:6;486:31;:::i;:::-;552:18;;;586:15;;;;-1:-1:-1;621:15:1;;;671:1;667:10;;;655:23;;651:32;;648:41;-1:-1:-1;645:61:1;;;702:1;699;692:12;645:61;724:1;734:163;748:2;745:1;742:9;734:163;;;805:17;;793:30;;843:12;;;;875;;;;766:1;759:9;734:163;;;-1:-1:-1;915:6:1;;192:735;-1:-1:-1;;;;;;;192:735:1:o;932:555::-;974:5;1027:3;1020:4;1012:6;1008:17;1004:27;994:55;;1045:1;1042;1035:12;994:55;1081:6;1068:20;1107:18;1103:2;1100:26;1097:52;;;1129:18;;:::i;:::-;1178:2;1172:9;1190:67;1245:2;1226:13;;-1:-1:-1;;1222:27:1;1251:4;1218:38;1172:9;1190:67;:::i;:::-;1281:2;1273:6;1266:18;1327:3;1320:4;1315:2;1307:6;1303:15;1299:26;1296:35;1293:55;;;1344:1;1341;1334:12;1293:55;1408:2;1401:4;1393:6;1389:17;1382:4;1374:6;1370:17;1357:54;1455:1;1431:15;;;1448:4;1427:26;1420:37;;;;1435:6;932:555;-1:-1:-1;;;932:555:1:o;1492:186::-;1551:6;1604:2;1592:9;1583:7;1579:23;1575:32;1572:52;;;1620:1;1617;1610:12;1572:52;1643:29;1662:9;1643:29;:::i;1683:260::-;1751:6;1759;1812:2;1800:9;1791:7;1787:23;1783:32;1780:52;;;1828:1;1825;1818:12;1780:52;1851:29;1870:9;1851:29;:::i;:::-;1841:39;;1899:38;1933:2;1922:9;1918:18;1899:38;:::i;:::-;1889:48;;1683:260;;;;;:::o;1948:943::-;2102:6;2110;2118;2126;2134;2187:3;2175:9;2166:7;2162:23;2158:33;2155:53;;;2204:1;2201;2194:12;2155:53;2227:29;2246:9;2227:29;:::i;:::-;2217:39;;2275:38;2309:2;2298:9;2294:18;2275:38;:::i;:::-;2265:48;;2364:2;2353:9;2349:18;2336:32;2387:18;2428:2;2420:6;2417:14;2414:34;;;2444:1;2441;2434:12;2414:34;2467:61;2520:7;2511:6;2500:9;2496:22;2467:61;:::i;:::-;2457:71;;2581:2;2570:9;2566:18;2553:32;2537:48;;2610:2;2600:8;2597:16;2594:36;;;2626:1;2623;2616:12;2594:36;2649:63;2704:7;2693:8;2682:9;2678:24;2649:63;:::i;:::-;2639:73;;2765:3;2754:9;2750:19;2737:33;2721:49;;2795:2;2785:8;2782:16;2779:36;;;2811:1;2808;2801:12;2779:36;;2834:51;2877:7;2866:8;2855:9;2851:24;2834:51;:::i;:::-;2824:61;;;1948:943;;;;;;;;:::o;2896:606::-;3000:6;3008;3016;3024;3032;3085:3;3073:9;3064:7;3060:23;3056:33;3053:53;;;3102:1;3099;3092:12;3053:53;3125:29;3144:9;3125:29;:::i;:::-;3115:39;;3173:38;3207:2;3196:9;3192:18;3173:38;:::i;:::-;3163:48;;3258:2;3247:9;3243:18;3230:32;3220:42;;3309:2;3298:9;3294:18;3281:32;3271:42;;3364:3;3353:9;3349:19;3336:33;3392:18;3384:6;3381:30;3378:50;;;3424:1;3421;3414:12;3378:50;3447:49;3488:7;3479:6;3468:9;3464:22;3447:49;:::i;3507:669::-;3634:6;3642;3650;3703:2;3691:9;3682:7;3678:23;3674:32;3671:52;;;3719:1;3716;3709:12;3671:52;3742:29;3761:9;3742:29;:::i;:::-;3732:39;;3822:2;3811:9;3807:18;3794:32;3845:18;3886:2;3878:6;3875:14;3872:34;;;3902:1;3899;3892:12;3872:34;3925:61;3978:7;3969:6;3958:9;3954:22;3925:61;:::i;:::-;3915:71;;4039:2;4028:9;4024:18;4011:32;3995:48;;4068:2;4058:8;4055:16;4052:36;;;4084:1;4081;4074:12;4052:36;;4107:63;4162:7;4151:8;4140:9;4136:24;4107:63;:::i;:::-;4097:73;;;3507:669;;;;;:::o;4181:347::-;4246:6;4254;4307:2;4295:9;4286:7;4282:23;4278:32;4275:52;;;4323:1;4320;4313:12;4275:52;4346:29;4365:9;4346:29;:::i;:::-;4336:39;;4425:2;4414:9;4410:18;4397:32;4472:5;4465:13;4458:21;4451:5;4448:32;4438:60;;4494:1;4491;4484:12;4438:60;4517:5;4507:15;;;4181:347;;;;;:::o;4533:254::-;4601:6;4609;4662:2;4650:9;4641:7;4637:23;4633:32;4630:52;;;4678:1;4675;4668:12;4630:52;4701:29;4720:9;4701:29;:::i;:::-;4691:39;4777:2;4762:18;;;;4749:32;;-1:-1:-1;;;4533:254:1:o;4792:322::-;4869:6;4877;4885;4938:2;4926:9;4917:7;4913:23;4909:32;4906:52;;;4954:1;4951;4944:12;4906:52;4977:29;4996:9;4977:29;:::i;:::-;4967:39;5053:2;5038:18;;5025:32;;-1:-1:-1;5104:2:1;5089:18;;;5076:32;;4792:322;-1:-1:-1;;;4792:322:1:o;5119:1219::-;5237:6;5245;5298:2;5286:9;5277:7;5273:23;5269:32;5266:52;;;5314:1;5311;5304:12;5266:52;5354:9;5341:23;5383:18;5424:2;5416:6;5413:14;5410:34;;;5440:1;5437;5430:12;5410:34;5478:6;5467:9;5463:22;5453:32;;5523:7;5516:4;5512:2;5508:13;5504:27;5494:55;;5545:1;5542;5535:12;5494:55;5581:2;5568:16;5603:4;5626:43;5666:2;5626:43;:::i;:::-;5698:2;5692:9;5710:31;5738:2;5730:6;5710:31;:::i;:::-;5776:18;;;5810:15;;;;-1:-1:-1;5845:11:1;;;5887:1;5883:10;;;5875:19;;5871:28;;5868:41;-1:-1:-1;5865:61:1;;;5922:1;5919;5912:12;5865:61;5944:1;5935:10;;5954:169;5968:2;5965:1;5962:9;5954:169;;;6025:23;6044:3;6025:23;:::i;:::-;6013:36;;5986:1;5979:9;;;;;6069:12;;;;6101;;5954:169;;;-1:-1:-1;6142:6:1;-1:-1:-1;;6186:18:1;;6173:32;;-1:-1:-1;;6217:16:1;;;6214:36;;;6246:1;6243;6236:12;6214:36;;6269:63;6324:7;6313:8;6302:9;6298:24;6269:63;:::i;:::-;6259:73;;;5119:1219;;;;;:::o;6343:180::-;6402:6;6455:2;6443:9;6434:7;6430:23;6426:32;6423:52;;;6471:1;6468;6461:12;6423:52;-1:-1:-1;6494:23:1;;6343:180;-1:-1:-1;6343:180:1:o;6528:254::-;6596:6;6604;6657:2;6645:9;6636:7;6632:23;6628:32;6625:52;;;6673:1;6670;6663:12;6625:52;6709:9;6696:23;6686:33;;6738:38;6772:2;6761:9;6757:18;6738:38;:::i;6787:245::-;6845:6;6898:2;6886:9;6877:7;6873:23;6869:32;6866:52;;;6914:1;6911;6904:12;6866:52;6953:9;6940:23;6972:30;6996:5;6972:30;:::i;7037:249::-;7106:6;7159:2;7147:9;7138:7;7134:23;7130:32;7127:52;;;7175:1;7172;7165:12;7127:52;7207:9;7201:16;7226:30;7250:5;7226:30;:::i;7476:184::-;7546:6;7599:2;7587:9;7578:7;7574:23;7570:32;7567:52;;;7615:1;7612;7605:12;7567:52;-1:-1:-1;7638:16:1;;7476:184;-1:-1:-1;7476:184:1:o;7665:385::-;7751:6;7759;7767;7775;7828:3;7816:9;7807:7;7803:23;7799:33;7796:53;;;7845:1;7842;7835:12;7796:53;-1:-1:-1;;7868:23:1;;;7938:2;7923:18;;7910:32;;-1:-1:-1;7989:2:1;7974:18;;7961:32;;8040:2;8025:18;8012:32;;-1:-1:-1;7665:385:1;-1:-1:-1;7665:385:1:o;8055:435::-;8108:3;8146:5;8140:12;8173:6;8168:3;8161:19;8199:4;8228:2;8223:3;8219:12;8212:19;;8265:2;8258:5;8254:14;8286:1;8296:169;8310:6;8307:1;8304:13;8296:169;;;8371:13;;8359:26;;8405:12;;;;8440:15;;;;8332:1;8325:9;8296:169;;;-1:-1:-1;8481:3:1;;8055:435;-1:-1:-1;;;;;8055:435:1:o;8495:257::-;8536:3;8574:5;8568:12;8601:6;8596:3;8589:19;8617:63;8673:6;8666:4;8661:3;8657:14;8650:4;8643:5;8639:16;8617:63;:::i;:::-;8734:2;8713:15;-1:-1:-1;;8709:29:1;8700:39;;;;8741:4;8696:50;;8495:257;-1:-1:-1;;8495:257:1:o;8967:786::-;9378:25;9373:3;9366:38;9348:3;9433:6;9427:13;9449:62;9504:6;9499:2;9494:3;9490:12;9483:4;9475:6;9471:17;9449:62;:::i;:::-;-1:-1:-1;;;9570:2:1;9530:16;;;9562:11;;;9555:40;9620:13;;9642:63;9620:13;9691:2;9683:11;;9676:4;9664:17;;9642:63;:::i;:::-;9725:17;9744:2;9721:26;;8967:786;-1:-1:-1;;;;8967:786:1:o;9966:826::-;-1:-1:-1;;;;;10363:15:1;;;10345:34;;10415:15;;10410:2;10395:18;;10388:43;10325:3;10462:2;10447:18;;10440:31;;;10288:4;;10494:57;;10531:19;;10523:6;10494:57;:::i;:::-;10599:9;10591:6;10587:22;10582:2;10571:9;10567:18;10560:50;10633:44;10670:6;10662;10633:44;:::i;:::-;10619:58;;10726:9;10718:6;10714:22;10708:3;10697:9;10693:19;10686:51;10754:32;10779:6;10771;10754:32;:::i;:::-;10746:40;9966:826;-1:-1:-1;;;;;;;;9966:826:1:o;10797:560::-;-1:-1:-1;;;;;11094:15:1;;;11076:34;;11146:15;;11141:2;11126:18;;11119:43;11193:2;11178:18;;11171:34;;;11236:2;11221:18;;11214:34;;;11056:3;11279;11264:19;;11257:32;;;11019:4;;11306:45;;11331:19;;11323:6;11306:45;:::i;:::-;11298:53;10797:560;-1:-1:-1;;;;;;;10797:560:1:o;12623:261::-;12802:2;12791:9;12784:21;12765:4;12822:56;12874:2;12863:9;12859:18;12851:6;12822:56;:::i;12889:465::-;13146:2;13135:9;13128:21;13109:4;13172:56;13224:2;13213:9;13209:18;13201:6;13172:56;:::i;:::-;13276:9;13268:6;13264:22;13259:2;13248:9;13244:18;13237:50;13304:44;13341:6;13333;13304:44;:::i;:::-;13296:52;12889:465;-1:-1:-1;;;;;12889:465:1:o;13940:219::-;14089:2;14078:9;14071:21;14052:4;14109:44;14149:2;14138:9;14134:18;14126:6;14109:44;:::i;14525:404::-;14727:2;14709:21;;;14766:2;14746:18;;;14739:30;14805:34;14800:2;14785:18;;14778:62;-1:-1:-1;;;14871:2:1;14856:18;;14849:38;14919:3;14904:19;;14525:404::o;15702:400::-;15904:2;15886:21;;;15943:2;15923:18;;;15916:30;15982:34;15977:2;15962:18;;15955:62;-1:-1:-1;;;16048:2:1;16033:18;;16026:34;16092:3;16077:19;;15702:400::o;17226:410::-;17428:2;17410:21;;;17467:2;17447:18;;;17440:30;17506:34;17501:2;17486:18;;17479:62;-1:-1:-1;;;17572:2:1;17557:18;;17550:44;17626:3;17611:19;;17226:410::o;17641:401::-;17843:2;17825:21;;;17882:2;17862:18;;;17855:30;17921:34;17916:2;17901:18;;17894:62;-1:-1:-1;;;17987:2:1;17972:18;;17965:35;18032:3;18017:19;;17641:401::o;18047:418::-;18249:2;18231:21;;;18288:2;18268:18;;;18261:30;18327:34;18322:2;18307:18;;18300:62;-1:-1:-1;;;18393:2:1;18378:18;;18371:52;18455:3;18440:19;;18047:418::o;18470:399::-;18672:2;18654:21;;;18711:2;18691:18;;;18684:30;18750:34;18745:2;18730:18;;18723:62;-1:-1:-1;;;18816:2:1;18801:18;;18794:33;18859:3;18844:19;;18470:399::o;18874:406::-;19076:2;19058:21;;;19115:2;19095:18;;;19088:30;19154:34;19149:2;19134:18;;19127:62;-1:-1:-1;;;19220:2:1;19205:18;;19198:40;19270:3;19255:19;;18874:406::o;21526:404::-;21728:2;21710:21;;;21767:2;21747:18;;;21740:30;21806:34;21801:2;21786:18;;21779:62;-1:-1:-1;;;21872:2:1;21857:18;;21850:38;21920:3;21905:19;;21526:404::o;23563:183::-;23623:4;23656:18;23648:6;23645:30;23642:56;;;23678:18;;:::i;:::-;-1:-1:-1;23723:1:1;23719:14;23735:4;23715:25;;23563:183::o;23751:128::-;23791:3;23822:1;23818:6;23815:1;23812:13;23809:39;;;23828:18;;:::i;:::-;-1:-1:-1;23864:9:1;;23751:128::o;23884:168::-;23924:7;23990:1;23986;23982:6;23978:14;23975:1;23972:21;23967:1;23960:9;23953:17;23949:45;23946:71;;;23997:18;;:::i;:::-;-1:-1:-1;24037:9:1;;23884:168::o;24057:258::-;24129:1;24139:113;24153:6;24150:1;24147:13;24139:113;;;24229:11;;;24223:18;24210:11;;;24203:39;24175:2;24168:10;24139:113;;;24270:6;24267:1;24264:13;24261:48;;;-1:-1:-1;;24305:1:1;24287:16;;24280:27;24057:258::o;24320:136::-;24359:3;24387:5;24377:39;;24396:18;;:::i;:::-;-1:-1:-1;;;24432:18:1;;24320:136::o;24461:380::-;24540:1;24536:12;;;;24583;;;24604:61;;24658:4;24650:6;24646:17;24636:27;;24604:61;24711:2;24703:6;24700:14;24680:18;24677:38;24674:161;;;24757:10;24752:3;24748:20;24745:1;24738:31;24792:4;24789:1;24782:15;24820:4;24817:1;24810:15;24674:161;;24461:380;;;:::o;24846:249::-;24956:2;24937:13;;-1:-1:-1;;24933:27:1;24921:40;;24991:18;24976:34;;25012:22;;;24973:62;24970:88;;;25038:18;;:::i;:::-;25074:2;25067:22;-1:-1:-1;;24846:249:1:o;25100:135::-;25139:3;-1:-1:-1;;25160:17:1;;25157:43;;;25180:18;;:::i;:::-;-1:-1:-1;25227:1:1;25216:13;;25100:135::o;25240:127::-;25301:10;25296:3;25292:20;25289:1;25282:31;25332:4;25329:1;25322:15;25356:4;25353:1;25346:15;25372:127;25433:10;25428:3;25424:20;25421:1;25414:31;25464:4;25461:1;25454:15;25488:4;25485:1;25478:15;25504:127;25565:10;25560:3;25556:20;25553:1;25546:31;25596:4;25593:1;25586:15;25620:4;25617:1;25610:15;25636:179;25671:3;25713:1;25695:16;25692:23;25689:120;;;25759:1;25756;25753;25738:23;-1:-1:-1;25796:1:1;25790:8;25785:3;25781:18;25689:120;25636:179;:::o;25820:671::-;25859:3;25901:4;25883:16;25880:26;25877:39;;;25820:671;:::o;25877:39::-;25943:2;25937:9;-1:-1:-1;;26008:16:1;26004:25;;26001:1;25937:9;25980:50;26059:4;26053:11;26083:16;26118:18;26189:2;26182:4;26174:6;26170:17;26167:25;26162:2;26154:6;26151:14;26148:45;26145:58;;;26196:5;;;;;25820:671;:::o;26145:58::-;26233:6;26227:4;26223:17;26212:28;;26269:3;26263:10;26296:2;26288:6;26285:14;26282:27;;;26302:5;;;;;;25820:671;:::o;26282:27::-;26386:2;26367:16;26361:4;26357:27;26353:36;26346:4;26337:6;26332:3;26328:16;26324:27;26321:69;26318:82;;;26393:5;;;;;;25820:671;:::o;26318:82::-;26409:57;26460:4;26451:6;26443;26439:19;26435:30;26429:4;26409:57;:::i;:::-;-1:-1:-1;26482:3:1;;25820:671;-1:-1:-1;;;;;25820:671:1:o;26496:131::-;-1:-1:-1;;;;;;26570:32:1;;26560:43;;26550:71;;26617:1;26614;26607:12
Swarm Source
ipfs://98d177de6cbbab9c70d90f1386c771b91ff7ea2f5657c1e6e0e790d697790515
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.