ERC-20
Overview
Max Total Supply
2,000 SS
Holders
0
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 0 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SacredShard
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-06-10 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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/token/ERC20/extensions/draft-IERC20Permit.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: contracts/lib/Constants.sol pragma solidity ^0.8.13; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; // File: contracts/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); } // File: contracts/OperatorFilterer.sol pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File: contracts/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} } // 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/finance/PaymentSplitter.sol // OpenZeppelin Contracts (last updated v4.8.0) (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. The distribution of shares is set at the * time of contract deployment and can't be updated thereafter. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. * * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you * to run tests before sending real value to this contract. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Getter for the amount of payee's releasable Ether. */ function releasable(address account) public view returns (uint256) { uint256 totalReceived = address(this).balance + totalReleased(); return _pendingPayment(account, totalReceived, released(account)); } /** * @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an * IERC20 contract. */ function releasable(IERC20 token, address account) public view returns (uint256) { uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); return _pendingPayment(account, totalReceived, released(token, account)); } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(account); require(payment != 0, "PaymentSplitter: account is not due payment"); // _totalReleased is the sum of all values in _released. // If "_totalReleased += payment" does not overflow, then "_released[account] += payment" cannot overflow. _totalReleased += payment; unchecked { _released[account] += payment; } Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(token, account); require(payment != 0, "PaymentSplitter: account is not due payment"); // _erc20TotalReleased[token] is the sum of all values in _erc20Released[token]. // If "_erc20TotalReleased[token] += payment" does not overflow, then "_erc20Released[token][account] += payment" // cannot overflow. _erc20TotalReleased[token] += payment; unchecked { _erc20Released[token][account] += payment; } SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } } // 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/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/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) _revert(BalanceQueryForZeroAddress.selector); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) _revert(URIQueryForNonexistentToken.selector); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Returns whether the ownership slot at `index` is initialized. * An uninitialized slot does not necessarily mean that the slot has no owner. */ function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) { return _packedOwnerships[index] != 0; } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector); // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; if (packed & _BITMASK_BURNED == 0) return packed; // Otherwise, the token is burned, and we must revert. // This handles the case of batch burned tokens, where only the burned bit // of the starting slot is set, and remaining slots are left uninitialized. _revert(OwnerQueryForNonexistentToken.selector); } } // Otherwise, the data exists and we can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. // If the token is not burned, return `packed`. Otherwise, revert. if (packed & _BITMASK_BURNED == 0) return packed; } _revert(OwnerQueryForNonexistentToken.selector); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) _revert(ApprovalQueryForNonexistentToken.selector); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool result) { if (_startTokenId() <= tokenId) { if (tokenId < _currentIndex) { uint256 packed; while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId; result = packed & _BITMASK_BURNED == 0; } } } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS)); if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) _revert(TransferCallerNotOwnerNorApproved.selector); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; assembly { // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. from, // `from`. toMasked, // `to`. tokenId // `tokenId`. ) } if (toMasked == 0) _revert(TransferToZeroAddress.selector); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { _revert(TransferToNonERC721ReceiverImplementer.selector); } assembly { revert(add(32, reason), mload(reason)) } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) _revert(MintZeroQuantity.selector); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); uint256 end = startTokenId + quantity; uint256 tokenId = startTokenId; do { assembly { // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. tokenId // `tokenId`. ) } // The `!=` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. } while (++tokenId != end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) _revert(MintToZeroAddress.selector); if (quantity == 0) _revert(MintZeroQuantity.selector); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) _revert(bytes4(0)); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck && _msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { _revert(ApprovalCallerNotOwnerNorApproved.selector); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) _revert(TransferCallerNotOwnerNorApproved.selector); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) _revert(OwnershipNotInitializedForExtraData.selector); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } /** * @dev For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } } // File: contracts/SacredShard.sol pragma solidity ^0.8.11; contract SacredShard is ERC721A, ERC2981, Ownable, DefaultOperatorFilterer, PaymentSplitter, ReentrancyGuard { uint256 public maxSupply = 700; uint256 public limit = 2; uint256 public price = 0.069 ether; bool public mintEnabled; bool public claimEnabled; bool public revealed; string public hiddenURI; string public baseURI; mapping(address => uint256) mintedWallets; mapping(address => uint256) claimableWallets; address[] private addressList = [ 0x32bd5891c38FD60A28FDFd6b3198c4428F4f4c30, 0x7a87e3585AEDFe7F48045eEf28E90F94e5F959dA, 0xE2bA5BF933F1f7581a7B852ee40F30686A8737b8 ]; uint256[] private shareList = [ 8, 8, 84 ]; constructor(address payable _royaltyReceiver) ERC721A("Sacred Shard", "SS") PaymentSplitter(addressList, shareList) { setDefaultRoyalty(_royaltyReceiver, 1000); // 10% default royalty } function mint(uint256 numberOfTokens) external payable nonReentrant { uint256 amount = numberOfTokens * price; require(mintEnabled, "Mint disabled"); require(totalSupply() + numberOfTokens <= maxSupply, "We're sold out!"); require(mintedWallets[msg.sender] + numberOfTokens <= limit, "Too many per wallet"); require(msg.value >= amount, "Not enough Ether"); mintedWallets[msg.sender] += numberOfTokens; _mint(msg.sender, numberOfTokens); } function claim() external nonReentrant { uint256 numberOfTokens = claimableWallets[msg.sender]; require(claimEnabled, "Claim disabled"); require(numberOfTokens > 0, "You don't have anything to claim"); claimableWallets[msg.sender] = 0; _mint(msg.sender, numberOfTokens); } function teamMint(address to, uint256 numberOfTokens) external onlyOwner nonReentrant { require(totalSupply() + numberOfTokens <= maxSupply, "We're sold out!"); _mint(to, numberOfTokens); } function addClaimableWallets(address[] calldata owner, uint256[] calldata amount) external onlyOwner { for (uint256 i = 0; i < owner.length; i++) { claimableWallets[owner[i]] = amount[i]; } } function setMaxSupply(uint256 _maxSupply) external onlyOwner { maxSupply = _maxSupply; } function setLimit(uint256 _limit) external onlyOwner { limit = _limit; } function setPrice(uint256 _price) external onlyOwner { price = _price; } function toggleMinting() external onlyOwner { mintEnabled = !mintEnabled; } function toggleClaiming() external onlyOwner { claimEnabled = !claimEnabled; } function toggleRevealed() external onlyOwner { revealed = !revealed; } function setHiddenURI(string calldata hiddenURI_) external onlyOwner { hiddenURI = hiddenURI_; } function setBaseURI(string calldata baseURI_) external onlyOwner { baseURI = baseURI_; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "SS does not exist"); if (revealed) { return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, Strings.toString(tokenId))) : ""; } return hiddenURI; } function emergencyWithdraw() external onlyOwner nonReentrant { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Withdraw eth failed!"); } function getMintedAmount(address _address) public view returns (uint256) { return mintedWallets[_address]; } function getClaimableAmount(address _address) public view returns (uint256) { return claimableWallets[_address]; } // ========================================================================= // Operator filtering // ========================================================================= function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } // ========================================================================= // ERC2891 // ========================================================================= function setDefaultRoyalty(address receiver, uint96 feeNumerator) public onlyOwner { _setDefaultRoyalty(receiver, feeNumerator); } function deleteDefaultRoyalty() public onlyOwner { _deleteDefaultRoyalty(); } // ========================================================================= // ERC165 // ========================================================================= function supportsInterface(bytes4 interfaceId) public view virtual override (ERC2981, ERC721A) returns (bool) { return super.supportsInterface(interfaceId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address payable","name":"_royaltyReceiver","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"owner","type":"address[]"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"addClaimableWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deleteDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getClaimableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"hiddenURI_","type":"string"}],"name":"setHiddenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"to","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleClaiming","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6102bc601355600260145566f523226980800060155560e06040527332bd5891c38fd60a28fdfd6b3198c4428f4f4c306080908152737a87e3585aedfe7f48045eef28e90f94e5f959da60a05273e2ba5bf933f1f7581a7b852ee40f30686a8737b860c0526200007490601b9060036200085a565b506040805160608101825260088082526020820152605491810191909152620000a290601c906003620008c4565b50348015620000b057600080fd5b506040516200389e3803806200389e833981016040819052620000d3916200091e565b601b8054806020026020016040519081016040528092919081815260200182805480156200012b57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116200010c575b5050505050601c8054806020026020016040519081016040528092919081815260200182805480156200017e57602002820191906000526020600020905b81548152602001906001019080831162000169575b5050505050733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600c81526020016b14d858dc99590814da185c9960a21b81525060405180604001604052806002815260200161535360f01b8152508160029081620001eb9190620009f5565b506003620001fa8282620009f5565b505060008055506200020c33620004a1565b6daaeb6d7670e522a718067333cd4e3b15620003515780156200029f57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200028057600080fd5b505af115801562000295573d6000803e3d6000fd5b5050505062000351565b6001600160a01b03821615620002f05760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000265565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200033757600080fd5b505af11580156200034c573d6000803e3d6000fd5b505050505b50508051825114620003c55760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620004185760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f207061796565730000000000006044820152606401620003bc565b60005b825181101562000484576200046f8382815181106200043e576200043e62000ac1565b60200260200101518383815181106200045b576200045b62000ac1565b6020026020010151620004f360201b60201c565b806200047b8162000aed565b9150506200041b565b50506001601255506200049a816103e8620006e1565b5062000b25565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620005605760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401620003bc565b60008111620005b25760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401620003bc565b6001600160a01b0382166000908152600d6020526040902054156200062e5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401620003bc565b600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020180546001600160a01b0319166001600160a01b0384169081179091556000908152600d60205260409020819055600b546200069890829062000b09565b600b55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b620006eb620006fb565b620006f7828262000759565b5050565b600a546001600160a01b03163314620007575760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620003bc565b565b6127106001600160601b0382161115620007c95760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401620003bc565b6001600160a01b038216620008215760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620003bc565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b828054828255906000526020600020908101928215620008b2579160200282015b82811115620008b257825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906200087b565b50620008c092915062000907565b5090565b828054828255906000526020600020908101928215620008b2579160200282015b82811115620008b2578251829060ff16905591602001919060010190620008e5565b5b80821115620008c0576000815560010162000908565b6000602082840312156200093157600080fd5b81516001600160a01b03811681146200094957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200097b57607f821691505b6020821081036200099c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620009f057600081815260208120601f850160051c81016020861015620009cb5750805b601f850160051c820191505b81811015620009ec57828155600101620009d7565b5050505b505050565b81516001600160401b0381111562000a115762000a1162000950565b62000a298162000a22845462000966565b84620009a2565b602080601f83116001811462000a61576000841562000a485750858301515b600019600386901b1c1916600185901b178555620009ec565b600085815260208120601f198616915b8281101562000a925788860151825594840194600190910190840162000a71565b508582101562000ab15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820162000b025762000b0262000ad7565b5060010190565b8082018082111562000b1f5762000b1f62000ad7565b92915050565b612d698062000b356000396000f3fe6080604052600436106103545760003560e01c80637d55094d116101c6578063add5a4fa116100f7578063d5abeb0111610095578063e12f3a611161006f578063e12f3a61146109f4578063e33b7de314610a2a578063e985e9c514610a3f578063f2fde38b14610a8857600080fd5b8063d5abeb0114610993578063d79779b2146109a9578063db2e21bc146109df57600080fd5b8063c45ac050116100d1578063c45ac05014610903578063c87b56dd14610923578063ce7c2ac214610943578063d12397301461097957600080fd5b8063add5a4fa146108b0578063b88d4fde146108d0578063bbaac02f146108e357600080fd5b80639852595c11610164578063a22cb4651161013e578063a22cb46514610845578063a3f8eace14610865578063a4d66daf14610885578063aa1b103f1461089b57600080fd5b80639852595c146107e6578063a035b1fe1461081c578063a0712d681461083257600080fd5b80638cc54e7f116101a05780638cc54e7f1461077e5780638da5cb5b1461079357806391b7f5ed146107b157806395d89b41146107d157600080fd5b80637d55094d146107345780638010fc45146107495780638b83209b1461075e57600080fd5b8063406072a9116102a05780635bc020bc1161023e5780636c0360eb116102185780636c0360eb146106ca5780636f8b44b0146106df57806370a08231146106ff578063715018a61461071f57600080fd5b80635bc020bc1461065f5780636352211e1461067457806363b266ba1461069457600080fd5b806348b750441161027a57806348b75044146105ea5780634e71d92d1461060a578063518302271461061f57806355f804b31461063f57600080fd5b8063406072a91461056f57806341f43434146105b557806342842e0e146105d757600080fd5b806318160ddd1161030d57806327ea6f2b116102e757806327ea6f2b146104dc5780632866ed21146104fc5780632a55205a1461051b5780633a98ef391461055a57600080fd5b806318160ddd1461048657806319165587146104a957806323b872dd146104c957600080fd5b806301ffc9a7146103a2578063028b86c5146103d757806304634d8d146103f957806306fdde0314610419578063081812fc1461043b578063095ea7b31461047357600080fd5b3661039d577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103ae57600080fd5b506103c26103bd3660046124f7565b610aa8565b60405190151581526020015b60405180910390f35b3480156103e357600080fd5b506103f76103f2366004612559565b610ab9565b005b34801561040557600080fd5b506103f76104143660046125da565b610b43565b34801561042557600080fd5b5061042e610b59565b6040516103ce919061266f565b34801561044757600080fd5b5061045b610456366004612682565b610beb565b6040516001600160a01b0390911681526020016103ce565b6103f761048136600461269b565b610c26565b34801561049257600080fd5b50600154600054035b6040519081526020016103ce565b3480156104b557600080fd5b506103f76104c43660046126c7565b610c3f565b6103f76104d73660046126e4565b610d2f565b3480156104e857600080fd5b506103f76104f7366004612682565b610d5a565b34801561050857600080fd5b506016546103c290610100900460ff1681565b34801561052757600080fd5b5061053b610536366004612725565b610d67565b604080516001600160a01b0390931683526020830191909152016103ce565b34801561056657600080fd5b50600b5461049b565b34801561057b57600080fd5b5061049b61058a366004612747565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b3480156105c157600080fd5b5061045b6daaeb6d7670e522a718067333cd4e81565b6103f76105e53660046126e4565b610e15565b3480156105f657600080fd5b506103f7610605366004612747565b610e3a565b34801561061657600080fd5b506103f7610f4b565b34801561062b57600080fd5b506016546103c29062010000900460ff1681565b34801561064b57600080fd5b506103f761065a366004612775565b61103c565b34801561066b57600080fd5b506103f7611051565b34801561068057600080fd5b5061045b61068f366004612682565b611078565b3480156106a057600080fd5b5061049b6106af3660046126c7565b6001600160a01b031660009081526019602052604090205490565b3480156106d657600080fd5b5061042e611083565b3480156106eb57600080fd5b506103f76106fa366004612682565b611111565b34801561070b57600080fd5b5061049b61071a3660046126c7565b61111e565b34801561072b57600080fd5b506103f7611164565b34801561074057600080fd5b506103f7611178565b34801561075557600080fd5b506103f7611194565b34801561076a57600080fd5b5061045b610779366004612682565b6111b9565b34801561078a57600080fd5b5061042e6111e9565b34801561079f57600080fd5b50600a546001600160a01b031661045b565b3480156107bd57600080fd5b506103f76107cc366004612682565b6111f6565b3480156107dd57600080fd5b5061042e611203565b3480156107f257600080fd5b5061049b6108013660046126c7565b6001600160a01b03166000908152600e602052604090205490565b34801561082857600080fd5b5061049b60155481565b6103f7610840366004612682565b611212565b34801561085157600080fd5b506103f76108603660046127f5565b6113c6565b34801561087157600080fd5b5061049b6108803660046126c7565b6113da565b34801561089157600080fd5b5061049b60145481565b3480156108a757600080fd5b506103f7611422565b3480156108bc57600080fd5b506103f76108cb36600461269b565b611434565b6103f76108de366004612839565b6114c8565b3480156108ef57600080fd5b506103f76108fe366004612775565b6114ee565b34801561090f57600080fd5b5061049b61091e366004612747565b611503565b34801561092f57600080fd5b5061042e61093e366004612682565b6115ce565b34801561094f57600080fd5b5061049b61095e3660046126c7565b6001600160a01b03166000908152600d602052604090205490565b34801561098557600080fd5b506016546103c29060ff1681565b34801561099f57600080fd5b5061049b60135481565b3480156109b557600080fd5b5061049b6109c43660046126c7565b6001600160a01b031660009081526010602052604090205490565b3480156109eb57600080fd5b506103f7611718565b348015610a0057600080fd5b5061049b610a0f3660046126c7565b6001600160a01b03166000908152601a602052604090205490565b348015610a3657600080fd5b50600c5461049b565b348015610a4b57600080fd5b506103c2610a5a366004612747565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610a9457600080fd5b506103f7610aa33660046126c7565b6117d6565b6000610ab38261184f565b92915050565b610ac1611884565b60005b83811015610b3c57828282818110610ade57610ade612919565b90506020020135601a6000878785818110610afb57610afb612919565b9050602002016020810190610b1091906126c7565b6001600160a01b0316815260208101919091526040016000205580610b3481612945565b915050610ac4565b5050505050565b610b4b611884565b610b5582826118de565b5050565b606060028054610b689061295e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b949061295e565b8015610be15780601f10610bb657610100808354040283529160200191610be1565b820191906000526020600020905b815481529060010190602001808311610bc457829003601f168201915b5050505050905090565b6000610bf6826119db565b610c0a57610c0a6333d1c03960e21b611a20565b506000908152600660205260409020546001600160a01b031690565b81610c3081611a2a565b610c3a8383611ae3565b505050565b6001600160a01b0381166000908152600d6020526040902054610c7d5760405162461bcd60e51b8152600401610c7490612998565b60405180910390fd5b6000610c88826113da565b905080600003610caa5760405162461bcd60e51b8152600401610c74906129de565b80600c6000828254610cbc9190612a29565b90915550506001600160a01b0382166000908152600e60205260409020805482019055610ce98282611aef565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b826001600160a01b0381163314610d4957610d4933611a2a565b610d54848484611c08565b50505050565b610d62611884565b601455565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610ddc5750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610dfb906001600160601b031687612a3c565b610e059190612a69565b91519350909150505b9250929050565b826001600160a01b0381163314610e2f57610e2f33611a2a565b610d54848484611d6d565b6001600160a01b0381166000908152600d6020526040902054610e6f5760405162461bcd60e51b8152600401610c7490612998565b6000610e7b8383611503565b905080600003610e9d5760405162461bcd60e51b8152600401610c74906129de565b6001600160a01b03831660009081526010602052604081208054839290610ec5908490612a29565b90915550506001600160a01b038084166000908152601160209081526040808320938616835292905220805482019055610f00838383611d88565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b600260125403610f6d5760405162461bcd60e51b8152600401610c7490612a7d565b6002601255336000908152601a6020526040902054601654610100900460ff16610fca5760405162461bcd60e51b815260206004820152600e60248201526d10db185a5b48191a5cd8589b195960921b6044820152606401610c74565b6000811161101a5760405162461bcd60e51b815260206004820181905260248201527f596f7520646f6e2774206861766520616e797468696e6720746f20636c61696d6044820152606401610c74565b336000818152601a60205260408120556110349082611dda565b506001601255565b611044611884565b6018610c3a828483612b02565b611059611884565b6016805462ff0000198116620100009182900460ff1615909102179055565b6000610ab382611e99565b601880546110909061295e565b80601f01602080910402602001604051908101604052809291908181526020018280546110bc9061295e565b80156111095780601f106110de57610100808354040283529160200191611109565b820191906000526020600020905b8154815290600101906020018083116110ec57829003601f168201915b505050505081565b611119611884565b601355565b60006001600160a01b03821661113e5761113e6323d3ad8160e21b611a20565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b61116c611884565b6111766000611f2f565b565b611180611884565b6016805460ff19811660ff90911615179055565b61119c611884565b6016805461ff001981166101009182900460ff1615909102179055565b6000600f82815481106111ce576111ce612919565b6000918252602090912001546001600160a01b031692915050565b601780546110909061295e565b6111fe611884565b601555565b606060038054610b689061295e565b6002601254036112345760405162461bcd60e51b8152600401610c7490612a7d565b60026012556015546000906112499083612a3c565b60165490915060ff1661128e5760405162461bcd60e51b815260206004820152600d60248201526c135a5b9d08191a5cd8589b1959609a1b6044820152606401610c74565b6013548261129f6001546000540390565b6112a99190612a29565b11156112e95760405162461bcd60e51b815260206004820152600f60248201526e576527726520736f6c64206f75742160881b6044820152606401610c74565b60145433600090815260196020526040902054611307908490612a29565b111561134b5760405162461bcd60e51b8152602060048201526013602482015272151bdbc81b585b9e481c195c881dd85b1b195d606a1b6044820152606401610c74565b8034101561138e5760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b41022ba3432b960811b6044820152606401610c74565b33600090815260196020526040812080548492906113ad908490612a29565b909155506113bd90503383611dda565b50506001601255565b816113d081611a2a565b610c3a8383611f81565b6000806113e6600c5490565b6113f09047612a29565b905061141b8382611416866001600160a01b03166000908152600e602052604090205490565b611fed565b9392505050565b61142a611884565b6111766000600855565b61143c611884565b60026012540361145e5760405162461bcd60e51b8152600401610c7490612a7d565b6002601255601354816114746001546000540390565b61147e9190612a29565b11156114be5760405162461bcd60e51b815260206004820152600f60248201526e576527726520736f6c64206f75742160881b6044820152606401610c74565b6113bd8282611dda565b836001600160a01b03811633146114e2576114e233611a2a565b610b3c8585858561202b565b6114f6611884565b6017610c3a828483612b02565b6001600160a01b03821660009081526010602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611562573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115869190612bc2565b6115909190612a29565b6001600160a01b038086166000908152601160209081526040808320938816835292905220549091506115c69084908390611fed565b949350505050565b60606115d9826119db565b6116195760405162461bcd60e51b815260206004820152601160248201527014d4c8191bd95cc81b9bdd08195e1a5cdd607a1b6044820152606401610c74565b60165462010000900460ff161561168657601880546116379061295e565b90506000036116555760405180602001604052806000815250610ab3565b601861166083612066565b604051602001611671929190612bdb565b60405160208183030381529060405292915050565b601780546116939061295e565b80601f01602080910402602001604051908101604052809291908181526020018280546116bf9061295e565b801561170c5780601f106116e15761010080835404028352916020019161170c565b820191906000526020600020905b8154815290600101906020018083116116ef57829003601f168201915b50505050509050919050565b611720611884565b6002601254036117425760405162461bcd60e51b8152600401610c7490612a7d565b6002601255604051600090339047908381818185875af1925050503d8060008114611789576040519150601f19603f3d011682016040523d82523d6000602084013e61178e565b606091505b50509050806110345760405162461bcd60e51b8152602060048201526014602482015273576974686472617720657468206661696c65642160601b6044820152606401610c74565b6117de611884565b6001600160a01b0381166118435760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c74565b61184c81611f2f565b50565b60006001600160e01b0319821663152a902d60e11b1480610ab357506301ffc9a760e01b6001600160e01b0319831614610ab3565b600a546001600160a01b031633146111765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c74565b6127106001600160601b038216111561194c5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610c74565b6001600160a01b0382166119a25760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610c74565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b60008054821015611a1b5760005b5060008281526004602052604081205490819003611a1157611a0a83612c62565b92506119e9565b600160e01b161590505b919050565b8060005260046000fd5b6daaeb6d7670e522a718067333cd4e3b1561184c57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611a97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611abb9190612c79565b61184c57604051633b79c77360e21b81526001600160a01b0382166004820152602401610c74565b610b5582826001612167565b80471015611b3f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c74565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611b8c576040519150601f19603f3d011682016040523d82523d6000602084013e611b91565b606091505b5050905080610c3a5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c74565b6000611c1382611e99565b6001600160a01b039485169490915081168414611c3957611c3962a1148160e81b611a20565b60008281526006602052604090208054338082146001600160a01b03881690911417611c7d57611c698633610a5a565b611c7d57611c7d632ce44b5f60e11b611a20565b8015611c8857600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611d1a57600184016000818152600460205260408120549003611d18576000548114611d185760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a480600003611d6457611d64633a954ecd60e21b611a20565b50505050505050565b610c3a838383604051806020016040528060008152506114c8565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610c3a90849061220a565b6000805490829003611df657611df663b562e8dd60e01b611a20565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b17811790915580845260059092528220805468010000000000000001860201905590819003611e5457611e54622e076360e81b611a20565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4818160010191508103611e59575060005550505050565b60008181526004602052604081205490819003611f0c576000548210611ec957611ec9636f96cda160e11b611a20565b5b50600019016000818152600460205260409020548015611eca57600160e01b8116600003611ef757919050565b611f07636f96cda160e11b611a20565b611eca565b600160e01b8116600003611f1f57919050565b611a1b636f96cda160e11b611a20565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b546001600160a01b0384166000908152600d6020526040812054909183916120179086612a3c565b6120219190612a69565b6115c69190612c96565b612036848484610d2f565b6001600160a01b0383163b15610d5457612052848484846122dc565b610d5457610d546368d2bf6b60e11b611a20565b60608160000361208d5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120b757806120a181612945565b91506120b09050600a83612a69565b9150612091565b60008167ffffffffffffffff8111156120d2576120d2612823565b6040519080825280601f01601f1916602001820160405280156120fc576020820181803683370190505b5090505b84156115c657612111600183612c96565b915061211e600a86612ca9565b612129906030612a29565b60f81b81838151811061213e5761213e612919565b60200101906001600160f81b031916908160001a905350612160600a86612a69565b9450612100565b600061217283611078565b905081801561218a5750336001600160a01b03821614155b156121ad576121998133610a5a565b6121ad576121ad6367d9dca160e11b611a20565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b600061225f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166123be9092919063ffffffff16565b805190915015610c3a578080602001905181019061227d9190612c79565b610c3a5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610c74565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612311903390899088908890600401612cbd565b6020604051808303816000875af192505050801561234c575060408051601f3d908101601f1916820190925261234991810190612cfa565b60015b6123a1573d80801561237a576040519150601f19603f3d011682016040523d82523d6000602084013e61237f565b606091505b508051600003612399576123996368d2bf6b60e11b611a20565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606115c6848460008585600080866001600160a01b031685876040516123e59190612d17565b60006040518083038185875af1925050503d8060008114612422576040519150601f19603f3d011682016040523d82523d6000602084013e612427565b606091505b509150915061243887838387612443565b979650505050505050565b606083156124b25782516000036124ab576001600160a01b0385163b6124ab5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c74565b50816115c6565b6115c683838151156124c75781518083602001fd5b8060405162461bcd60e51b8152600401610c74919061266f565b6001600160e01b03198116811461184c57600080fd5b60006020828403121561250957600080fd5b813561141b816124e1565b60008083601f84011261252657600080fd5b50813567ffffffffffffffff81111561253e57600080fd5b6020830191508360208260051b8501011115610e0e57600080fd5b6000806000806040858703121561256f57600080fd5b843567ffffffffffffffff8082111561258757600080fd5b61259388838901612514565b909650945060208701359150808211156125ac57600080fd5b506125b987828801612514565b95989497509550505050565b6001600160a01b038116811461184c57600080fd5b600080604083850312156125ed57600080fd5b82356125f8816125c5565b915060208301356001600160601b038116811461261457600080fd5b809150509250929050565b60005b8381101561263a578181015183820152602001612622565b50506000910152565b6000815180845261265b81602086016020860161261f565b601f01601f19169290920160200192915050565b60208152600061141b6020830184612643565b60006020828403121561269457600080fd5b5035919050565b600080604083850312156126ae57600080fd5b82356126b9816125c5565b946020939093013593505050565b6000602082840312156126d957600080fd5b813561141b816125c5565b6000806000606084860312156126f957600080fd5b8335612704816125c5565b92506020840135612714816125c5565b929592945050506040919091013590565b6000806040838503121561273857600080fd5b50508035926020909101359150565b6000806040838503121561275a57600080fd5b8235612765816125c5565b91506020830135612614816125c5565b6000806020838503121561278857600080fd5b823567ffffffffffffffff808211156127a057600080fd5b818501915085601f8301126127b457600080fd5b8135818111156127c357600080fd5b8660208285010111156127d557600080fd5b60209290920196919550909350505050565b801515811461184c57600080fd5b6000806040838503121561280857600080fd5b8235612813816125c5565b91506020830135612614816127e7565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561284f57600080fd5b843561285a816125c5565b9350602085013561286a816125c5565b925060408501359150606085013567ffffffffffffffff8082111561288e57600080fd5b818701915087601f8301126128a257600080fd5b8135818111156128b4576128b4612823565b604051601f8201601f19908116603f011681019083821181831017156128dc576128dc612823565b816040528281528a60208487010111156128f557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016129575761295761292f565b5060010190565b600181811c9082168061297257607f821691505b60208210810361299257634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b80820180821115610ab357610ab361292f565b8082028115828204841417610ab357610ab361292f565b634e487b7160e01b600052601260045260246000fd5b600082612a7857612a78612a53565b500490565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b601f821115610c3a57600081815260208120601f850160051c81016020861015612adb5750805b601f850160051c820191505b81811015612afa57828155600101612ae7565b505050505050565b67ffffffffffffffff831115612b1a57612b1a612823565b612b2e83612b28835461295e565b83612ab4565b6000601f841160018114612b625760008515612b4a5750838201355b600019600387901b1c1916600186901b178355610b3c565b600083815260209020601f19861690835b82811015612b935786850135825560209485019460019092019101612b73565b5086821015612bb05760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600060208284031215612bd457600080fd5b5051919050565b6000808454612be98161295e565b60018281168015612c015760018114612c1657612c45565b60ff1984168752821515830287019450612c45565b8860005260208060002060005b85811015612c3c5781548a820152908401908201612c23565b50505082870194505b505050508351612c5981836020880161261f565b01949350505050565b600081612c7157612c7161292f565b506000190190565b600060208284031215612c8b57600080fd5b815161141b816127e7565b81810381811115610ab357610ab361292f565b600082612cb857612cb8612a53565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612cf090830184612643565b9695505050505050565b600060208284031215612d0c57600080fd5b815161141b816124e1565b60008251612d2981846020870161261f565b919091019291505056fea26469706673582212204ca8decaa6d986347ffe57177ccbbdb0e695070166fe0490ee352651a4f0a1fb64736f6c63430008120033000000000000000000000000e2ba5bf933f1f7581a7b852ee40f30686a8737b8
Deployed Bytecode
0x6080604052600436106103545760003560e01c80637d55094d116101c6578063add5a4fa116100f7578063d5abeb0111610095578063e12f3a611161006f578063e12f3a61146109f4578063e33b7de314610a2a578063e985e9c514610a3f578063f2fde38b14610a8857600080fd5b8063d5abeb0114610993578063d79779b2146109a9578063db2e21bc146109df57600080fd5b8063c45ac050116100d1578063c45ac05014610903578063c87b56dd14610923578063ce7c2ac214610943578063d12397301461097957600080fd5b8063add5a4fa146108b0578063b88d4fde146108d0578063bbaac02f146108e357600080fd5b80639852595c11610164578063a22cb4651161013e578063a22cb46514610845578063a3f8eace14610865578063a4d66daf14610885578063aa1b103f1461089b57600080fd5b80639852595c146107e6578063a035b1fe1461081c578063a0712d681461083257600080fd5b80638cc54e7f116101a05780638cc54e7f1461077e5780638da5cb5b1461079357806391b7f5ed146107b157806395d89b41146107d157600080fd5b80637d55094d146107345780638010fc45146107495780638b83209b1461075e57600080fd5b8063406072a9116102a05780635bc020bc1161023e5780636c0360eb116102185780636c0360eb146106ca5780636f8b44b0146106df57806370a08231146106ff578063715018a61461071f57600080fd5b80635bc020bc1461065f5780636352211e1461067457806363b266ba1461069457600080fd5b806348b750441161027a57806348b75044146105ea5780634e71d92d1461060a578063518302271461061f57806355f804b31461063f57600080fd5b8063406072a91461056f57806341f43434146105b557806342842e0e146105d757600080fd5b806318160ddd1161030d57806327ea6f2b116102e757806327ea6f2b146104dc5780632866ed21146104fc5780632a55205a1461051b5780633a98ef391461055a57600080fd5b806318160ddd1461048657806319165587146104a957806323b872dd146104c957600080fd5b806301ffc9a7146103a2578063028b86c5146103d757806304634d8d146103f957806306fdde0314610419578063081812fc1461043b578063095ea7b31461047357600080fd5b3661039d577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103ae57600080fd5b506103c26103bd3660046124f7565b610aa8565b60405190151581526020015b60405180910390f35b3480156103e357600080fd5b506103f76103f2366004612559565b610ab9565b005b34801561040557600080fd5b506103f76104143660046125da565b610b43565b34801561042557600080fd5b5061042e610b59565b6040516103ce919061266f565b34801561044757600080fd5b5061045b610456366004612682565b610beb565b6040516001600160a01b0390911681526020016103ce565b6103f761048136600461269b565b610c26565b34801561049257600080fd5b50600154600054035b6040519081526020016103ce565b3480156104b557600080fd5b506103f76104c43660046126c7565b610c3f565b6103f76104d73660046126e4565b610d2f565b3480156104e857600080fd5b506103f76104f7366004612682565b610d5a565b34801561050857600080fd5b506016546103c290610100900460ff1681565b34801561052757600080fd5b5061053b610536366004612725565b610d67565b604080516001600160a01b0390931683526020830191909152016103ce565b34801561056657600080fd5b50600b5461049b565b34801561057b57600080fd5b5061049b61058a366004612747565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b3480156105c157600080fd5b5061045b6daaeb6d7670e522a718067333cd4e81565b6103f76105e53660046126e4565b610e15565b3480156105f657600080fd5b506103f7610605366004612747565b610e3a565b34801561061657600080fd5b506103f7610f4b565b34801561062b57600080fd5b506016546103c29062010000900460ff1681565b34801561064b57600080fd5b506103f761065a366004612775565b61103c565b34801561066b57600080fd5b506103f7611051565b34801561068057600080fd5b5061045b61068f366004612682565b611078565b3480156106a057600080fd5b5061049b6106af3660046126c7565b6001600160a01b031660009081526019602052604090205490565b3480156106d657600080fd5b5061042e611083565b3480156106eb57600080fd5b506103f76106fa366004612682565b611111565b34801561070b57600080fd5b5061049b61071a3660046126c7565b61111e565b34801561072b57600080fd5b506103f7611164565b34801561074057600080fd5b506103f7611178565b34801561075557600080fd5b506103f7611194565b34801561076a57600080fd5b5061045b610779366004612682565b6111b9565b34801561078a57600080fd5b5061042e6111e9565b34801561079f57600080fd5b50600a546001600160a01b031661045b565b3480156107bd57600080fd5b506103f76107cc366004612682565b6111f6565b3480156107dd57600080fd5b5061042e611203565b3480156107f257600080fd5b5061049b6108013660046126c7565b6001600160a01b03166000908152600e602052604090205490565b34801561082857600080fd5b5061049b60155481565b6103f7610840366004612682565b611212565b34801561085157600080fd5b506103f76108603660046127f5565b6113c6565b34801561087157600080fd5b5061049b6108803660046126c7565b6113da565b34801561089157600080fd5b5061049b60145481565b3480156108a757600080fd5b506103f7611422565b3480156108bc57600080fd5b506103f76108cb36600461269b565b611434565b6103f76108de366004612839565b6114c8565b3480156108ef57600080fd5b506103f76108fe366004612775565b6114ee565b34801561090f57600080fd5b5061049b61091e366004612747565b611503565b34801561092f57600080fd5b5061042e61093e366004612682565b6115ce565b34801561094f57600080fd5b5061049b61095e3660046126c7565b6001600160a01b03166000908152600d602052604090205490565b34801561098557600080fd5b506016546103c29060ff1681565b34801561099f57600080fd5b5061049b60135481565b3480156109b557600080fd5b5061049b6109c43660046126c7565b6001600160a01b031660009081526010602052604090205490565b3480156109eb57600080fd5b506103f7611718565b348015610a0057600080fd5b5061049b610a0f3660046126c7565b6001600160a01b03166000908152601a602052604090205490565b348015610a3657600080fd5b50600c5461049b565b348015610a4b57600080fd5b506103c2610a5a366004612747565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610a9457600080fd5b506103f7610aa33660046126c7565b6117d6565b6000610ab38261184f565b92915050565b610ac1611884565b60005b83811015610b3c57828282818110610ade57610ade612919565b90506020020135601a6000878785818110610afb57610afb612919565b9050602002016020810190610b1091906126c7565b6001600160a01b0316815260208101919091526040016000205580610b3481612945565b915050610ac4565b5050505050565b610b4b611884565b610b5582826118de565b5050565b606060028054610b689061295e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b949061295e565b8015610be15780601f10610bb657610100808354040283529160200191610be1565b820191906000526020600020905b815481529060010190602001808311610bc457829003601f168201915b5050505050905090565b6000610bf6826119db565b610c0a57610c0a6333d1c03960e21b611a20565b506000908152600660205260409020546001600160a01b031690565b81610c3081611a2a565b610c3a8383611ae3565b505050565b6001600160a01b0381166000908152600d6020526040902054610c7d5760405162461bcd60e51b8152600401610c7490612998565b60405180910390fd5b6000610c88826113da565b905080600003610caa5760405162461bcd60e51b8152600401610c74906129de565b80600c6000828254610cbc9190612a29565b90915550506001600160a01b0382166000908152600e60205260409020805482019055610ce98282611aef565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b826001600160a01b0381163314610d4957610d4933611a2a565b610d54848484611c08565b50505050565b610d62611884565b601455565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610ddc5750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610dfb906001600160601b031687612a3c565b610e059190612a69565b91519350909150505b9250929050565b826001600160a01b0381163314610e2f57610e2f33611a2a565b610d54848484611d6d565b6001600160a01b0381166000908152600d6020526040902054610e6f5760405162461bcd60e51b8152600401610c7490612998565b6000610e7b8383611503565b905080600003610e9d5760405162461bcd60e51b8152600401610c74906129de565b6001600160a01b03831660009081526010602052604081208054839290610ec5908490612a29565b90915550506001600160a01b038084166000908152601160209081526040808320938616835292905220805482019055610f00838383611d88565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b600260125403610f6d5760405162461bcd60e51b8152600401610c7490612a7d565b6002601255336000908152601a6020526040902054601654610100900460ff16610fca5760405162461bcd60e51b815260206004820152600e60248201526d10db185a5b48191a5cd8589b195960921b6044820152606401610c74565b6000811161101a5760405162461bcd60e51b815260206004820181905260248201527f596f7520646f6e2774206861766520616e797468696e6720746f20636c61696d6044820152606401610c74565b336000818152601a60205260408120556110349082611dda565b506001601255565b611044611884565b6018610c3a828483612b02565b611059611884565b6016805462ff0000198116620100009182900460ff1615909102179055565b6000610ab382611e99565b601880546110909061295e565b80601f01602080910402602001604051908101604052809291908181526020018280546110bc9061295e565b80156111095780601f106110de57610100808354040283529160200191611109565b820191906000526020600020905b8154815290600101906020018083116110ec57829003601f168201915b505050505081565b611119611884565b601355565b60006001600160a01b03821661113e5761113e6323d3ad8160e21b611a20565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b61116c611884565b6111766000611f2f565b565b611180611884565b6016805460ff19811660ff90911615179055565b61119c611884565b6016805461ff001981166101009182900460ff1615909102179055565b6000600f82815481106111ce576111ce612919565b6000918252602090912001546001600160a01b031692915050565b601780546110909061295e565b6111fe611884565b601555565b606060038054610b689061295e565b6002601254036112345760405162461bcd60e51b8152600401610c7490612a7d565b60026012556015546000906112499083612a3c565b60165490915060ff1661128e5760405162461bcd60e51b815260206004820152600d60248201526c135a5b9d08191a5cd8589b1959609a1b6044820152606401610c74565b6013548261129f6001546000540390565b6112a99190612a29565b11156112e95760405162461bcd60e51b815260206004820152600f60248201526e576527726520736f6c64206f75742160881b6044820152606401610c74565b60145433600090815260196020526040902054611307908490612a29565b111561134b5760405162461bcd60e51b8152602060048201526013602482015272151bdbc81b585b9e481c195c881dd85b1b195d606a1b6044820152606401610c74565b8034101561138e5760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b41022ba3432b960811b6044820152606401610c74565b33600090815260196020526040812080548492906113ad908490612a29565b909155506113bd90503383611dda565b50506001601255565b816113d081611a2a565b610c3a8383611f81565b6000806113e6600c5490565b6113f09047612a29565b905061141b8382611416866001600160a01b03166000908152600e602052604090205490565b611fed565b9392505050565b61142a611884565b6111766000600855565b61143c611884565b60026012540361145e5760405162461bcd60e51b8152600401610c7490612a7d565b6002601255601354816114746001546000540390565b61147e9190612a29565b11156114be5760405162461bcd60e51b815260206004820152600f60248201526e576527726520736f6c64206f75742160881b6044820152606401610c74565b6113bd8282611dda565b836001600160a01b03811633146114e2576114e233611a2a565b610b3c8585858561202b565b6114f6611884565b6017610c3a828483612b02565b6001600160a01b03821660009081526010602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611562573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115869190612bc2565b6115909190612a29565b6001600160a01b038086166000908152601160209081526040808320938816835292905220549091506115c69084908390611fed565b949350505050565b60606115d9826119db565b6116195760405162461bcd60e51b815260206004820152601160248201527014d4c8191bd95cc81b9bdd08195e1a5cdd607a1b6044820152606401610c74565b60165462010000900460ff161561168657601880546116379061295e565b90506000036116555760405180602001604052806000815250610ab3565b601861166083612066565b604051602001611671929190612bdb565b60405160208183030381529060405292915050565b601780546116939061295e565b80601f01602080910402602001604051908101604052809291908181526020018280546116bf9061295e565b801561170c5780601f106116e15761010080835404028352916020019161170c565b820191906000526020600020905b8154815290600101906020018083116116ef57829003601f168201915b50505050509050919050565b611720611884565b6002601254036117425760405162461bcd60e51b8152600401610c7490612a7d565b6002601255604051600090339047908381818185875af1925050503d8060008114611789576040519150601f19603f3d011682016040523d82523d6000602084013e61178e565b606091505b50509050806110345760405162461bcd60e51b8152602060048201526014602482015273576974686472617720657468206661696c65642160601b6044820152606401610c74565b6117de611884565b6001600160a01b0381166118435760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c74565b61184c81611f2f565b50565b60006001600160e01b0319821663152a902d60e11b1480610ab357506301ffc9a760e01b6001600160e01b0319831614610ab3565b600a546001600160a01b031633146111765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c74565b6127106001600160601b038216111561194c5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610c74565b6001600160a01b0382166119a25760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610c74565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b60008054821015611a1b5760005b5060008281526004602052604081205490819003611a1157611a0a83612c62565b92506119e9565b600160e01b161590505b919050565b8060005260046000fd5b6daaeb6d7670e522a718067333cd4e3b1561184c57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611a97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611abb9190612c79565b61184c57604051633b79c77360e21b81526001600160a01b0382166004820152602401610c74565b610b5582826001612167565b80471015611b3f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c74565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611b8c576040519150601f19603f3d011682016040523d82523d6000602084013e611b91565b606091505b5050905080610c3a5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c74565b6000611c1382611e99565b6001600160a01b039485169490915081168414611c3957611c3962a1148160e81b611a20565b60008281526006602052604090208054338082146001600160a01b03881690911417611c7d57611c698633610a5a565b611c7d57611c7d632ce44b5f60e11b611a20565b8015611c8857600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611d1a57600184016000818152600460205260408120549003611d18576000548114611d185760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a480600003611d6457611d64633a954ecd60e21b611a20565b50505050505050565b610c3a838383604051806020016040528060008152506114c8565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610c3a90849061220a565b6000805490829003611df657611df663b562e8dd60e01b611a20565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b17811790915580845260059092528220805468010000000000000001860201905590819003611e5457611e54622e076360e81b611a20565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4818160010191508103611e59575060005550505050565b60008181526004602052604081205490819003611f0c576000548210611ec957611ec9636f96cda160e11b611a20565b5b50600019016000818152600460205260409020548015611eca57600160e01b8116600003611ef757919050565b611f07636f96cda160e11b611a20565b611eca565b600160e01b8116600003611f1f57919050565b611a1b636f96cda160e11b611a20565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b546001600160a01b0384166000908152600d6020526040812054909183916120179086612a3c565b6120219190612a69565b6115c69190612c96565b612036848484610d2f565b6001600160a01b0383163b15610d5457612052848484846122dc565b610d5457610d546368d2bf6b60e11b611a20565b60608160000361208d5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120b757806120a181612945565b91506120b09050600a83612a69565b9150612091565b60008167ffffffffffffffff8111156120d2576120d2612823565b6040519080825280601f01601f1916602001820160405280156120fc576020820181803683370190505b5090505b84156115c657612111600183612c96565b915061211e600a86612ca9565b612129906030612a29565b60f81b81838151811061213e5761213e612919565b60200101906001600160f81b031916908160001a905350612160600a86612a69565b9450612100565b600061217283611078565b905081801561218a5750336001600160a01b03821614155b156121ad576121998133610a5a565b6121ad576121ad6367d9dca160e11b611a20565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b600061225f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166123be9092919063ffffffff16565b805190915015610c3a578080602001905181019061227d9190612c79565b610c3a5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610c74565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612311903390899088908890600401612cbd565b6020604051808303816000875af192505050801561234c575060408051601f3d908101601f1916820190925261234991810190612cfa565b60015b6123a1573d80801561237a576040519150601f19603f3d011682016040523d82523d6000602084013e61237f565b606091505b508051600003612399576123996368d2bf6b60e11b611a20565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606115c6848460008585600080866001600160a01b031685876040516123e59190612d17565b60006040518083038185875af1925050503d8060008114612422576040519150601f19603f3d011682016040523d82523d6000602084013e612427565b606091505b509150915061243887838387612443565b979650505050505050565b606083156124b25782516000036124ab576001600160a01b0385163b6124ab5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c74565b50816115c6565b6115c683838151156124c75781518083602001fd5b8060405162461bcd60e51b8152600401610c74919061266f565b6001600160e01b03198116811461184c57600080fd5b60006020828403121561250957600080fd5b813561141b816124e1565b60008083601f84011261252657600080fd5b50813567ffffffffffffffff81111561253e57600080fd5b6020830191508360208260051b8501011115610e0e57600080fd5b6000806000806040858703121561256f57600080fd5b843567ffffffffffffffff8082111561258757600080fd5b61259388838901612514565b909650945060208701359150808211156125ac57600080fd5b506125b987828801612514565b95989497509550505050565b6001600160a01b038116811461184c57600080fd5b600080604083850312156125ed57600080fd5b82356125f8816125c5565b915060208301356001600160601b038116811461261457600080fd5b809150509250929050565b60005b8381101561263a578181015183820152602001612622565b50506000910152565b6000815180845261265b81602086016020860161261f565b601f01601f19169290920160200192915050565b60208152600061141b6020830184612643565b60006020828403121561269457600080fd5b5035919050565b600080604083850312156126ae57600080fd5b82356126b9816125c5565b946020939093013593505050565b6000602082840312156126d957600080fd5b813561141b816125c5565b6000806000606084860312156126f957600080fd5b8335612704816125c5565b92506020840135612714816125c5565b929592945050506040919091013590565b6000806040838503121561273857600080fd5b50508035926020909101359150565b6000806040838503121561275a57600080fd5b8235612765816125c5565b91506020830135612614816125c5565b6000806020838503121561278857600080fd5b823567ffffffffffffffff808211156127a057600080fd5b818501915085601f8301126127b457600080fd5b8135818111156127c357600080fd5b8660208285010111156127d557600080fd5b60209290920196919550909350505050565b801515811461184c57600080fd5b6000806040838503121561280857600080fd5b8235612813816125c5565b91506020830135612614816127e7565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561284f57600080fd5b843561285a816125c5565b9350602085013561286a816125c5565b925060408501359150606085013567ffffffffffffffff8082111561288e57600080fd5b818701915087601f8301126128a257600080fd5b8135818111156128b4576128b4612823565b604051601f8201601f19908116603f011681019083821181831017156128dc576128dc612823565b816040528281528a60208487010111156128f557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016129575761295761292f565b5060010190565b600181811c9082168061297257607f821691505b60208210810361299257634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b80820180821115610ab357610ab361292f565b8082028115828204841417610ab357610ab361292f565b634e487b7160e01b600052601260045260246000fd5b600082612a7857612a78612a53565b500490565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b601f821115610c3a57600081815260208120601f850160051c81016020861015612adb5750805b601f850160051c820191505b81811015612afa57828155600101612ae7565b505050505050565b67ffffffffffffffff831115612b1a57612b1a612823565b612b2e83612b28835461295e565b83612ab4565b6000601f841160018114612b625760008515612b4a5750838201355b600019600387901b1c1916600186901b178355610b3c565b600083815260209020601f19861690835b82811015612b935786850135825560209485019460019092019101612b73565b5086821015612bb05760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600060208284031215612bd457600080fd5b5051919050565b6000808454612be98161295e565b60018281168015612c015760018114612c1657612c45565b60ff1984168752821515830287019450612c45565b8860005260208060002060005b85811015612c3c5781548a820152908401908201612c23565b50505082870194505b505050508351612c5981836020880161261f565b01949350505050565b600081612c7157612c7161292f565b506000190190565b600060208284031215612c8b57600080fd5b815161141b816127e7565b81810381811115610ab357610ab361292f565b600082612cb857612cb8612a53565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612cf090830184612643565b9695505050505050565b600060208284031215612d0c57600080fd5b815161141b816124e1565b60008251612d2981846020870161261f565b919091019291505056fea26469706673582212204ca8decaa6d986347ffe57177ccbbdb0e695070166fe0490ee352651a4f0a1fb64736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e2ba5bf933f1f7581a7b852ee40f30686a8737b8
-----Decoded View---------------
Arg [0] : _royaltyReceiver (address): 0xE2bA5BF933F1f7581a7B852ee40F30686A8737b8
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e2ba5bf933f1f7581a7b852ee40f30686a8737b8
Deployed Bytecode Sourcemap
108159:6072:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39371:40;35872:10;39371:40;;;-1:-1:-1;;;;;206:32:1;;;188:51;;39401:9:0;270:2:1;255:18;;248:34;161:18;39371:40:0;;;;;;;108159:6072;;;;;114056:172;;;;;;;;;;-1:-1:-1;114056:172:0;;;;;:::i;:::-;;:::i;:::-;;;844:14:1;;837:22;819:41;;807:2;792:18;114056:172:0;;;;;;;;110207:227;;;;;;;;;;-1:-1:-1;110207:227:0;;;;;:::i;:::-;;:::i;:::-;;113591:144;;;;;;;;;;-1:-1:-1;113591:144:0;;;;;:::i;:::-;;:::i;73715:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;80749:227::-;;;;;;;;;;-1:-1:-1;80749:227:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3702:32:1;;;3684:51;;3672:2;3657:18;80749:227:0;3538:203:1;112585:165:0;;;;;;:::i;:::-;;:::i;69457:323::-;;;;;;;;;;-1:-1:-1;69731:12:0;;69518:7;69715:13;:28;69457:323;;;4212:25:1;;;4200:2;4185:18;69457:323:0;4066:177:1;41892:671:0;;;;;;;;;;-1:-1:-1;41892:671:0;;;;;:::i;:::-;;:::i;112758:171::-;;;;;;:::i;:::-;;:::i;110552:86::-;;;;;;;;;;-1:-1:-1;110552:86:0;;;;;:::i;:::-;;:::i;108416:24::-;;;;;;;;;;-1:-1:-1;108416:24:0;;;;;;;;;;;51921:442;;;;;;;;;;-1:-1:-1;51921:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;206:32:1;;;188:51;;270:2;255:18;;248:34;;;;161:18;51921:442:0;14:274:1;39502:91:0;;;;;;;;;;-1:-1:-1;39573:12:0;;39502:91;;40631:135;;;;;;;;;;-1:-1:-1;40631:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;40728:21:0;;;40701:7;40728:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;40631:135;31783:143;;;;;;;;;;;;24241:42;31783:143;;112937:179;;;;;;:::i;:::-;;:::i;42831:792::-;;;;;;;;;;-1:-1:-1;42831:792:0;;;;;:::i;:::-;;:::i;109653:324::-;;;;;;;;;;;;;:::i;108447:20::-;;;;;;;;;;-1:-1:-1;108447:20:0;;;;;;;;;;;111147:102;;;;;;;;;;-1:-1:-1;111147:102:0;;;;;:::i;:::-;;:::i;110937:84::-;;;;;;;;;;;;;:::i;75117:152::-;;;;;;;;;;-1:-1:-1;75117:152:0;;;;;:::i;:::-;;:::i;111916:122::-;;;;;;;;;;-1:-1:-1;111916:122:0;;;;;:::i;:::-;-1:-1:-1;;;;;112007:23:0;111980:7;112007:23;;;:13;:23;;;;;;;111916:122;108504:21;;;;;;;;;;;;;:::i;110442:102::-;;;;;;;;;;-1:-1:-1;110442:102:0;;;;;:::i;:::-;;:::i;70641:242::-;;;;;;;;;;-1:-1:-1;70641:242:0;;;;;:::i;:::-;;:::i;46604:103::-;;;;;;;;;;;;;:::i;110740:89::-;;;;;;;;;;;;;:::i;110837:92::-;;;;;;;;;;;;;:::i;40857:100::-;;;;;;;;;;-1:-1:-1;40857:100:0;;;;;:::i;:::-;;:::i;108474:23::-;;;;;;;;;;;;;:::i;45956:87::-;;;;;;;;;;-1:-1:-1;46029:6:0;;-1:-1:-1;;;;;46029:6:0;45956:87;;110646:86;;;;;;;;;;-1:-1:-1;110646:86:0;;;;;:::i;:::-;;:::i;73891:104::-;;;;;;;;;;;;;:::i;40353:109::-;;;;;;;;;;-1:-1:-1;40353:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;40436:18:0;40409:7;40436:18;;;:9;:18;;;;;;;40353:109;108345:34;;;;;;;;;;;;;;;;109136:509;;;;;;:::i;:::-;;:::i;112401:176::-;;;;;;;;;;-1:-1:-1;112401:176:0;;;;;:::i;:::-;;:::i;41047:225::-;;;;;;;;;;-1:-1:-1;41047:225:0;;;;;:::i;:::-;;:::i;108314:24::-;;;;;;;;;;;;;;;;113743:91;;;;;;;;;;;;;:::i;109985:214::-;;;;;;;;;;-1:-1:-1;109985:214:0;;;;;:::i;:::-;;:::i;113124:245::-;;;;;;:::i;:::-;;:::i;111029:110::-;;;;;;;;;;-1:-1:-1;111029:110:0;;;;;:::i;:::-;;:::i;41432:260::-;;;;;;;;;;-1:-1:-1;41432:260:0;;;;;:::i;:::-;;:::i;111373:328::-;;;;;;;;;;-1:-1:-1;111373:328:0;;;;;:::i;:::-;;:::i;40149:105::-;;;;;;;;;;-1:-1:-1;40149:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;40230:16:0;40203:7;40230:16;;;:7;:16;;;;;;;40149:105;108386:23;;;;;;;;;;-1:-1:-1;108386:23:0;;;;;;;;108277:30;;;;;;;;;;;;;;;;39939:119;;;;;;;;;;-1:-1:-1;39939:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;40024:26:0;39997:7;40024:26;;;:19;:26;;;;;;;39939:119;111709:199;;;;;;;;;;;;;:::i;112046:128::-;;;;;;;;;;-1:-1:-1;112046:128:0;;;;;:::i;:::-;-1:-1:-1;;;;;112140:26:0;112113:7;112140:26;;;:16;:26;;;;;;;112046:128;39687:95;;;;;;;;;;-1:-1:-1;39760:14:0;;39687:95;;81707:164;;;;;;;;;;-1:-1:-1;81707:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;81828:25:0;;;81804:4;81828:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;81707:164;46862:201;;;;;;;;;;-1:-1:-1;46862:201:0;;;;;:::i;:::-;;:::i;114056:172::-;114160:4;114184:36;114208:11;114184:23;:36::i;:::-;114177:43;114056:172;-1:-1:-1;;114056:172:0:o;110207:227::-;45842:13;:11;:13::i;:::-;110324:9:::1;110319:108;110339:16:::0;;::::1;110319:108;;;110406:6;;110413:1;110406:9;;;;;;;:::i;:::-;;;;;;;110377:16;:26;110394:5;;110400:1;110394:8;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;110377:26:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;110377:26:0;:38;110357:3;::::1;::::0;::::1;:::i;:::-;;;;110319:108;;;;110207:227:::0;;;;:::o;113591:144::-;45842:13;:11;:13::i;:::-;113685:42:::1;113704:8;113714:12;113685:18;:42::i;:::-;113591:144:::0;;:::o;73715:100::-;73769:13;73802:5;73795:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73715:100;:::o;80749:227::-;80825:7;80850:16;80858:7;80850;:16::i;:::-;80845:73;;80868:50;-1:-1:-1;;;80868:7:0;:50::i;:::-;-1:-1:-1;80938:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;80938:30:0;;80749:227::o;112585:165::-;112689:8;33565:30;33586:8;33565:20;:30::i;:::-;112710:32:::1;112724:8;112734:7;112710:13;:32::i;:::-;112585:165:::0;;;:::o;41892:671::-;-1:-1:-1;;;;;41968:16:0;;41987:1;41968:16;;;:7;:16;;;;;;41960:71;;;;-1:-1:-1;;;41960:71:0;;;;;;;:::i;:::-;;;;;;;;;42044:15;42062:19;42073:7;42062:10;:19::i;:::-;42044:37;;42102:7;42113:1;42102:12;42094:68;;;;-1:-1:-1;;;42094:68:0;;;;;;;:::i;:::-;42375:7;42357:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;42418:18:0;;;;;;:9;:18;;;;;:29;;;;;;42471:35;42428:7;42440;42471:17;:35::i;:::-;42522:33;;;-1:-1:-1;;;;;206:32:1;;188:51;;270:2;255:18;;248:34;;;42522:33:0;;161:18:1;42522:33:0;;;;;;;41949:614;41892:671;:::o;112758:171::-;112867:4;-1:-1:-1;;;;;33291:18:0;;33299:10;33291:18;33287:83;;33326:32;33347:10;33326:20;:32::i;:::-;112884:37:::1;112903:4;112909:2;112913:7;112884:18;:37::i;:::-;112758:171:::0;;;;:::o;110552:86::-;45842:13;:11;:13::i;:::-;110616:5:::1;:14:::0;110552:86::o;51921:442::-;52018:7;52076:27;;;:17;:27;;;;;;;;52047:56;;;;;;;;;-1:-1:-1;;;;;52047:56:0;;;;;-1:-1:-1;;;52047:56:0;;;-1:-1:-1;;;;;52047:56:0;;;;;;;;52018:7;;52116:92;;-1:-1:-1;52167:29:0;;;;;;;;;52177:19;52167:29;-1:-1:-1;;;;;52167:29:0;;;;-1:-1:-1;;;52167:29:0;;-1:-1:-1;;;;;52167:29:0;;;;;52116:92;52258:23;;;;52220:21;;52729:5;;52245:36;;-1:-1:-1;;;;;52245:36:0;:10;:36;:::i;:::-;52244:58;;;;:::i;:::-;52323:16;;;-1:-1:-1;52220:82:0;;-1:-1:-1;;51921:442:0;;;;;;:::o;112937:179::-;113050:4;-1:-1:-1;;;;;33291:18:0;;33299:10;33291:18;33287:83;;33326:32;33347:10;33326:20;:32::i;:::-;113067:41:::1;113090:4;113096:2;113100:7;113067:22;:41::i;42831:792::-:0;-1:-1:-1;;;;;42913:16:0;;42932:1;42913:16;;;:7;:16;;;;;;42905:71;;;;-1:-1:-1;;;42905:71:0;;;;;;;:::i;:::-;42989:15;43007:26;43018:5;43025:7;43007:10;:26::i;:::-;42989:44;;43054:7;43065:1;43054:12;43046:68;;;;-1:-1:-1;;;43046:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;43369:26:0;;;;;;:19;:26;;;;;:37;;43399:7;;43369:26;:37;;43399:7;;43369:37;:::i;:::-;;;;-1:-1:-1;;;;;;;43442:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;:41;;;;;;43507:47;43457:5;43464:7;43476;43507:22;:47::i;:::-;43570:45;;;-1:-1:-1;;;;;206:32:1;;;188:51;;270:2;255:18;;248:34;;;43570:45:0;;;;;161:18:1;43570:45:0;;;;;;;42894:729;42831:792;;:::o;109653:324::-;23162:1;23760:7;;:19;23752:63;;;;-1:-1:-1;;;23752:63:0;;;;;;;:::i;:::-;23162:1;23893:7;:18;109745:10:::1;109703:22;109728:28:::0;;;:16:::1;:28;::::0;;;;;109775:12:::1;::::0;::::1;::::0;::::1;;;109767:39;;;::::0;-1:-1:-1;;;109767:39:0;;12307:2:1;109767:39:0::1;::::0;::::1;12289:21:1::0;12346:2;12326:18;;;12319:30;-1:-1:-1;;;12365:18:1;;;12358:44;12419:18;;109767:39:0::1;12105:338:1::0;109767:39:0::1;109842:1;109825:14;:18;109817:63;;;::::0;-1:-1:-1;;;109817:63:0;;12650:2:1;109817:63:0::1;::::0;::::1;12632:21:1::0;;;12669:18;;;12662:30;12728:34;12708:18;;;12701:62;12780:18;;109817:63:0::1;12448:356:1::0;109817:63:0::1;109910:10;109924:1;109893:28:::0;;;:16:::1;:28;::::0;;;;:32;109936:33:::1;::::0;109954:14;109936:5:::1;:33::i;:::-;-1:-1:-1::0;23118:1:0;24072:7;:22;109653:324::o;111147:102::-;45842:13;:11;:13::i;:::-;111223:7:::1;:18;111233:8:::0;;111223:7;:18:::1;:::i;110937:84::-:0;45842:13;:11;:13::i;:::-;111005:8:::1;::::0;;-1:-1:-1;;110993:20:0;::::1;111005:8:::0;;;;::::1;;;111004:9;110993:20:::0;;::::1;;::::0;;110937:84::o;75117:152::-;75189:7;75232:27;75251:7;75232:18;:27::i;108504:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;110442:102::-;45842:13;:11;:13::i;:::-;110514:9:::1;:22:::0;110442:102::o;70641:242::-;70713:7;-1:-1:-1;;;;;70737:19:0;;70733:69;;70758:44;-1:-1:-1;;;70758:7:0;:44::i;:::-;-1:-1:-1;;;;;;70820:25:0;;;;;:18;:25;;;;;;64800:13;70820:55;;70641:242::o;46604:103::-;45842:13;:11;:13::i;:::-;46669:30:::1;46696:1;46669:18;:30::i;:::-;46604:103::o:0;110740:89::-;45842:13;:11;:13::i;:::-;110810:11:::1;::::0;;-1:-1:-1;;110795:26:0;::::1;110810:11;::::0;;::::1;110809:12;110795:26;::::0;;110740:89::o;110837:92::-;45842:13;:11;:13::i;:::-;110909:12:::1;::::0;;-1:-1:-1;;110893:28:0;::::1;110909:12;::::0;;;::::1;;;110908:13;110893:28:::0;;::::1;;::::0;;110837:92::o;40857:100::-;40908:7;40935;40943:5;40935:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;40935:14:0;;40857:100;-1:-1:-1;;40857:100:0:o;108474:23::-;;;;;;;:::i;110646:86::-;45842:13;:11;:13::i;:::-;110710:5:::1;:14:::0;110646:86::o;73891:104::-;73947:13;73980:7;73973:14;;;;;:::i;109136:509::-;23162:1;23760:7;;:19;23752:63;;;;-1:-1:-1;;;23752:63:0;;;;;;;:::i;:::-;23162:1;23893:7;:18;109249:5:::1;::::0;109215:14:::1;::::0;109232:22:::1;::::0;:14;:22:::1;:::i;:::-;109273:11;::::0;109215:39;;-1:-1:-1;109273:11:0::1;;109265:37;;;::::0;-1:-1:-1;;;109265:37:0;;15069:2:1;109265:37:0::1;::::0;::::1;15051:21:1::0;15108:2;15088:18;;;15081:30;-1:-1:-1;;;15127:18:1;;;15120:43;15180:18;;109265:37:0::1;14867:337:1::0;109265:37:0::1;109355:9;;109337:14;109321:13;69731:12:::0;;69518:7;69715:13;:28;;69457:323;109321:13:::1;:30;;;;:::i;:::-;:43;;109313:71;;;::::0;-1:-1:-1;;;109313:71:0;;15411:2:1;109313:71:0::1;::::0;::::1;15393:21:1::0;15450:2;15430:18;;;15423:30;-1:-1:-1;;;15469:18:1;;;15462:45;15524:18;;109313:71:0::1;15209:339:1::0;109313:71:0::1;109449:5;::::0;109417:10:::1;109403:25;::::0;;;:13:::1;:25;::::0;;;;;:42:::1;::::0;109431:14;;109403:42:::1;:::i;:::-;:51;;109395:83;;;::::0;-1:-1:-1;;;109395:83:0;;15755:2:1;109395:83:0::1;::::0;::::1;15737:21:1::0;15794:2;15774:18;;;15767:30;-1:-1:-1;;;15813:18:1;;;15806:49;15872:18;;109395:83:0::1;15553:343:1::0;109395:83:0::1;109510:6;109497:9;:19;;109489:48;;;::::0;-1:-1:-1;;;109489:48:0;;16103:2:1;109489:48:0::1;::::0;::::1;16085:21:1::0;16142:2;16122:18;;;16115:30;-1:-1:-1;;;16161:18:1;;;16154:46;16217:18;;109489:48:0::1;15901:340:1::0;109489:48:0::1;109564:10;109550:25;::::0;;;:13:::1;:25;::::0;;;;:43;;109579:14;;109550:25;:43:::1;::::0;109579:14;;109550:43:::1;:::i;:::-;::::0;;;-1:-1:-1;109604:33:0::1;::::0;-1:-1:-1;109610:10:0::1;109622:14:::0;109604:5:::1;:33::i;:::-;-1:-1:-1::0;;23118:1:0;24072:7;:22;109136:509::o;112401:176::-;112505:8;33565:30;33586:8;33565:20;:30::i;:::-;112526:43:::1;112550:8;112560;112526:23;:43::i;41047:225::-:0;41105:7;41125:21;41173:15;39760:14;;;39687:95;41173:15;41149:39;;:21;:39;:::i;:::-;41125:63;;41206:58;41222:7;41231:13;41246:17;41255:7;-1:-1:-1;;;;;40436:18:0;40409:7;40436:18;;;:9;:18;;;;;;;40353:109;41246:17;41206:15;:58::i;:::-;41199:65;41047:225;-1:-1:-1;;;41047:225:0:o;113743:91::-;45842:13;:11;:13::i;:::-;113803:23:::1;53489:19:::0;;53482:26;53421:95;109985:214;45842:13;:11;:13::i;:::-;23162:1:::1;23760:7;;:19:::0;23752:63:::1;;;;-1:-1:-1::0;;;23752:63:0::1;;;;;;;:::i;:::-;23162:1;23893:7;:18:::0;110124:9:::2;::::0;110106:14;110090:13:::2;69731:12:::0;;69518:7;69715:13;:28;;69457:323;110090:13:::2;:30;;;;:::i;:::-;:43;;110082:71;;;::::0;-1:-1:-1;;;110082:71:0;;15411:2:1;110082:71:0::2;::::0;::::2;15393:21:1::0;15450:2;15430:18;;;15423:30;-1:-1:-1;;;15469:18:1;;;15462:45;15524:18;;110082:71:0::2;15209:339:1::0;110082:71:0::2;110166:25;110172:2;110176:14;110166:5;:25::i;113124:245::-:0;113292:4;-1:-1:-1;;;;;33291:18:0;;33299:10;33291:18;33287:83;;33326:32;33347:10;33326:20;:32::i;:::-;113314:47:::1;113337:4;113343:2;113347:7;113356:4;113314:22;:47::i;111029:110::-:0;45842:13;:11;:13::i;:::-;111109:9:::1;:22;111121:10:::0;;111109:9;:22:::1;:::i;41432:260::-:0;-1:-1:-1;;;;;40024:26:0;;41504:7;40024:26;;;:19;:26;;;;;;41504:7;;41548:30;;-1:-1:-1;;;41548:30:0;;41572:4;41548:30;;;3684:51:1;-1:-1:-1;;;;;41548:15:0;;;;;3657:18:1;;41548:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;40728:21:0;;;40701:7;40728:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;41524:77;;-1:-1:-1;41619:65:0;;41635:7;;41524:77;;41206:15;:58::i;41619:65::-;41612:72;41432:260;-1:-1:-1;;;;41432:260:0:o;111373:328::-;111438:13;111472:16;111480:7;111472;:16::i;:::-;111464:46;;;;-1:-1:-1;;;111464:46:0;;16637:2:1;111464:46:0;;;16619:21:1;16676:2;16656:18;;;16649:30;-1:-1:-1;;;16695:18:1;;;16688:47;16752:18;;111464:46:0;16435:341:1;111464:46:0;111527:8;;;;;;;111523:142;;;111565:7;111559:21;;;;;:::i;:::-;;;111584:1;111559:26;:94;;;;;;;;;;;;;;;;;111612:7;111621:25;111638:7;111621:16;:25::i;:::-;111595:52;;;;;;;;;:::i;:::-;;;;;;;;;;;;;111552:101;111373:328;-1:-1:-1;;111373:328:0:o;111523:142::-;111684:9;111677:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111373:328;;;:::o;111709:199::-;45842:13;:11;:13::i;:::-;23162:1:::1;23760:7;;:19:::0;23752:63:::1;;;;-1:-1:-1::0;;;23752:63:0::1;;;;;;;:::i;:::-;23162:1;23893:7;:18:::0;111800:49:::2;::::0;111782:12:::2;::::0;111800:10:::2;::::0;111823:21:::2;::::0;111782:12;111800:49;111782:12;111800:49;111823:21;111800:10;:49:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111781:68;;;111868:7;111860:40;;;::::0;-1:-1:-1;;;111860:40:0;;18218:2:1;111860:40:0::2;::::0;::::2;18200:21:1::0;18257:2;18237:18;;;18230:30;-1:-1:-1;;;18276:18:1;;;18269:50;18336:18;;111860:40:0::2;18016:344:1::0;46862:201:0;45842:13;:11;:13::i;:::-;-1:-1:-1;;;;;46951:22:0;::::1;46943:73;;;::::0;-1:-1:-1;;;46943:73:0;;18567:2:1;46943:73:0::1;::::0;::::1;18549:21:1::0;18606:2;18586:18;;;18579:30;18645:34;18625:18;;;18618:62;-1:-1:-1;;;18696:18:1;;;18689:36;18742:19;;46943:73:0::1;18365:402:1::0;46943:73:0::1;47027:28;47046:8;47027:18;:28::i;:::-;46862:201:::0;:::o;51651:215::-;51753:4;-1:-1:-1;;;;;;51777:41:0;;-1:-1:-1;;;51777:41:0;;:81;;-1:-1:-1;;;;;;;;;;49312:40:0;;;51822:36;49203:157;46121:132;46029:6;;-1:-1:-1;;;;;46029:6:0;35872:10;46185:23;46177:68;;;;-1:-1:-1;;;46177:68:0;;18974:2:1;46177:68:0;;;18956:21:1;;;18993:18;;;18986:30;19052:34;19032:18;;;19025:62;19104:18;;46177:68:0;18772:356:1;53013:332:0;52729:5;-1:-1:-1;;;;;53116:33:0;;;;53108:88;;;;-1:-1:-1;;;53108:88:0;;19335:2:1;53108:88:0;;;19317:21:1;19374:2;19354:18;;;19347:30;19413:34;19393:18;;;19386:62;-1:-1:-1;;;19464:18:1;;;19457:40;19514:19;;53108:88:0;19133:406:1;53108:88:0;-1:-1:-1;;;;;53215:22:0;;53207:60;;;;-1:-1:-1;;;53207:60:0;;19746:2:1;53207:60:0;;;19728:21:1;19785:2;19765:18;;;19758:30;19824:27;19804:18;;;19797:55;19869:18;;53207:60:0;19544:349:1;53207:60:0;53302:35;;;;;;;;;-1:-1:-1;;;;;53302:35:0;;;;;;-1:-1:-1;;;;;53302:35:0;;;;;;;;;;-1:-1:-1;;;53280:57:0;;;;:19;:57;53013:332::o;82129:368::-;82194:11;82279:13;;82269:7;:23;82265:214;;;82313:14;82346:60;-1:-1:-1;82363:26:0;;;;:17;:26;;;;;;;82353:42;;;82346:60;;82397:9;;;:::i;:::-;;;82346:60;;;-1:-1:-1;;;82434:24:0;:29;;-1:-1:-1;82265:214:0;82129:368;;;:::o;107907:165::-;108008:13;108002:4;107995:27;108049:4;108043;108036:18;33708:647;24241:42;33899:45;:49;33895:453;;34198:67;;-1:-1:-1;;;34198:67:0;;34249:4;34198:67;;;20251:34:1;-1:-1:-1;;;;;20321:15:1;;20301:18;;;20294:43;24241:42:0;;34198;;20186:18:1;;34198:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;34193:144;;34293:28;;-1:-1:-1;;;34293:28:0;;-1:-1:-1;;;;;3702:32:1;;34293:28:0;;;3684:51:1;3657:18;;34293:28:0;3538:203:1;80466:124:0;80555:27;80564:2;80568:7;80577:4;80555:8;:27::i;2527:317::-;2642:6;2617:21;:31;;2609:73;;;;-1:-1:-1;;;2609:73:0;;20800:2:1;2609:73:0;;;20782:21:1;20839:2;20819:18;;;20812:30;20878:31;20858:18;;;20851:59;20927:18;;2609:73:0;20598:353:1;2609:73:0;2696:12;2714:9;-1:-1:-1;;;;;2714:14:0;2736:6;2714:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2695:52;;;2766:7;2758:78;;;;-1:-1:-1;;;2758:78:0;;21158:2:1;2758:78:0;;;21140:21:1;21197:2;21177:18;;;21170:30;21236:34;21216:18;;;21209:62;21307:28;21287:18;;;21280:56;21353:19;;2758:78:0;20956:422:1;84483:3523:0;84625:27;84655;84674:7;84655:18;:27::i;:::-;-1:-1:-1;;;;;84810:22:0;;;;84625:57;;-1:-1:-1;84870:45:0;;;;84866:95;;84917:44;-1:-1:-1;;;84917:7:0;:44::i;:::-;84975:27;83591:24;;;:15;:24;;;;;83819:26;;35872:10;83216:30;;;-1:-1:-1;;;;;82909:28:0;;83194:20;;;83191:56;85161:189;;85254:43;85271:4;35872:10;81707:164;:::i;85254:43::-;85249:101;;85299:51;-1:-1:-1;;;85299:7:0;:51::i;:::-;85499:15;85496:160;;;85639:1;85618:19;85611:30;85496:160;-1:-1:-1;;;;;86036:24:0;;;;;;;:18;:24;;;;;;86034:26;;-1:-1:-1;;86034:26:0;;;86105:22;;;;;;;;;86103:24;;-1:-1:-1;86103:24:0;;;79568:11;79543:23;79539:41;79526:63;-1:-1:-1;;;79526:63:0;86398:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;86693:47:0;;:52;;86689:627;;86798:1;86788:11;;86766:19;86921:30;;;:17;:30;;;;;;:35;;86917:384;;87059:13;;87044:11;:28;87040:242;;87206:30;;;;:17;:30;;;;;:52;;;87040:242;86747:569;86689:627;-1:-1:-1;;;;;87448:20:0;;87828:7;87448:20;87758:4;87700:25;87429:16;;87565:299;87889:8;87901:1;87889:13;87885:58;;87904:39;-1:-1:-1;;;87904:7:0;:39::i;:::-;84614:3392;;;;84483:3523;;;:::o;88102:193::-;88248:39;88265:4;88271:2;88275:7;88248:39;;;;;;;;;;;;:16;:39::i;15436:211::-;15580:58;;;-1:-1:-1;;;;;206:32:1;;15580:58:0;;;188:51:1;255:18;;;;248:34;;;15580:58:0;;;;;;;;;;161:18:1;;;;15580:58:0;;;;;;;;-1:-1:-1;;;;;15580:58:0;-1:-1:-1;;;15580:58:0;;;15553:86;;15573:5;;15553:19;:86::i;92546:2305::-;92619:20;92642:13;;;92670;;;92666:53;;92685:34;-1:-1:-1;;;92685:7:0;:34::i;:::-;93232:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;79394:28:0;;79568:11;79543:23;79539:41;80012:1;79999:15;;79973:24;79969:46;79536:52;79526:63;;93232:173;;;93623:22;;;:18;:22;;;;;:71;;93661:32;93649:45;;93623:71;;;79394:28;93884:13;;;93880:54;;93899:35;-1:-1:-1;;;93899:7:0;:35::i;:::-;93965:23;;;:12;94050:676;94469:7;94425:8;94380:1;94314:25;94251:1;94186;94155:358;94721:3;94708:9;;;;;;:16;94050:676;;-1:-1:-1;94742:13:0;:19;-1:-1:-1;112585:165:0;;;:::o;76597:2012::-;76747:26;;;;:17;:26;;;;;;;76873:11;;;76869:1292;;76920:13;;76909:7;:24;76905:77;;76935:47;-1:-1:-1;;;76935:7:0;:47::i;:::-;77539:607;-1:-1:-1;;;77635:9:0;77617:28;;;;:17;:28;;;;;;77691:25;;77539:607;77691:25;-1:-1:-1;;;77743:6:0;:24;77771:1;77743:29;77739:48;;76597:2012;;;:::o;77739:48::-;78079:47;-1:-1:-1;;;78079:7:0;:47::i;:::-;77539:607;;76869:1292;-1:-1:-1;;;78488:6:0;:24;78516:1;78488:29;78484:48;;76597:2012;;;:::o;78484:48::-;78554:47;-1:-1:-1;;;78554:7:0;:47::i;47223:191::-;47316:6;;;-1:-1:-1;;;;;47333:17:0;;;-1:-1:-1;;;;;;47333:17:0;;;;;;;47366:40;;47316:6;;;47333:17;47316:6;;47366:40;;47297:16;;47366:40;47286:128;47223:191;:::o;81316:234::-;35872:10;81411:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;81411:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;81411:60:0;;;;;;;;;;81487:55;;819:41:1;;;81411:49:0;;35872:10;81487:55;;792:18:1;81487:55:0;;;;;;;81316:234;;:::o;43801:248::-;44011:12;;-1:-1:-1;;;;;43991:16:0;;43947:7;43991:16;;;:7;:16;;;;;;43947:7;;44026:15;;43975:32;;:13;:32;:::i;:::-;43974:49;;;;:::i;:::-;:67;;;;:::i;88893:416::-;89068:31;89081:4;89087:2;89091:7;89068:12;:31::i;:::-;-1:-1:-1;;;;;89114:14:0;;;:19;89110:192;;89153:56;89184:4;89190:2;89194:7;89203:5;89153:30;:56::i;:::-;89148:154;;89230:56;-1:-1:-1;;;89230:7:0;:56::i;19591:723::-;19647:13;19868:5;19877:1;19868:10;19864:53;;-1:-1:-1;;19895:10:0;;;;;;;;;;;;-1:-1:-1;;;19895:10:0;;;;;19591:723::o;19864:53::-;19942:5;19927:12;19983:78;19990:9;;19983:78;;20016:8;;;;:::i;:::-;;-1:-1:-1;20039:10:0;;-1:-1:-1;20047:2:0;20039:10;;:::i;:::-;;;19983:78;;;20071:19;20103:6;20093:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20093:17:0;;20071:39;;20121:154;20128:10;;20121:154;;20155:11;20165:1;20155:11;;:::i;:::-;;-1:-1:-1;20224:10:0;20232:2;20224:5;:10;:::i;:::-;20211:24;;:2;:24;:::i;:::-;20198:39;;20181:6;20188;20181:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;20181:56:0;;;;;;;;-1:-1:-1;20252:11:0;20261:2;20252:11;;:::i;:::-;;;20121:154;;99340:474;99469:13;99485:16;99493:7;99485;:16::i;:::-;99469:32;;99518:13;:45;;;;-1:-1:-1;35872:10:0;-1:-1:-1;;;;;99535:28:0;;;;99518:45;99514:201;;;99583:44;99600:5;35872:10;81707:164;:::i;99583:44::-;99578:137;;99648:51;-1:-1:-1;;;99648:7:0;:51::i;:::-;99727:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;99727:35:0;-1:-1:-1;;;;;99727:35:0;;;;;;;;;99778:28;;99727:24;;99778:28;;;;;;;99458:356;99340:474;;;:::o;18503:716::-;18927:23;18953:69;18981:4;18953:69;;;;;;;;;;;;;;;;;18961:5;-1:-1:-1;;;;;18953:27:0;;;:69;;;;;:::i;:::-;19037:17;;18927:95;;-1:-1:-1;19037:21:0;19033:179;;19134:10;19123:30;;;;;;;;;;;;:::i;:::-;19115:85;;;;-1:-1:-1;;;19115:85:0;;21835:2:1;19115:85:0;;;21817:21:1;21874:2;21854:18;;;21847:30;21913:34;21893:18;;;21886:62;-1:-1:-1;;;21964:18:1;;;21957:40;22014:19;;19115:85:0;21633:406:1;91393:691:0;91577:88;;-1:-1:-1;;;91577:88:0;;91556:4;;-1:-1:-1;;;;;91577:45:0;;;;;:88;;35872:10;;91644:4;;91650:7;;91659:5;;91577:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;91577:88:0;;;;;;;;-1:-1:-1;;91577:88:0;;;;;;;;;;;;:::i;:::-;;;91573:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91860:6;:13;91877:1;91860:18;91856:115;;91899:56;-1:-1:-1;;;91899:7:0;:56::i;:::-;92043:6;92037:13;92028:6;92024:2;92020:15;92013:38;91573:504;-1:-1:-1;;;;;;91736:64:0;-1:-1:-1;;;91736:64:0;;-1:-1:-1;91393:691:0;;;;;;:::o;4023:229::-;4160:12;4192:52;4214:6;4222:4;4228:1;4231:12;4160;5431;5445:23;5472:6;-1:-1:-1;;;;;5472:11:0;5491:5;5498:4;5472:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5430:73;;;;5521:69;5548:6;5556:7;5565:10;5577:12;5521:26;:69::i;:::-;5514:76;5143:455;-1:-1:-1;;;;;;;5143:455:0:o;7716:644::-;7901:12;7930:7;7926:427;;;7958:10;:17;7979:1;7958:22;7954:290;;-1:-1:-1;;;;;1561:19:0;;;8168:60;;;;-1:-1:-1;;;8168:60:0;;23693:2:1;8168:60:0;;;23675:21:1;23732:2;23712:18;;;23705:30;23771:31;23751:18;;;23744:59;23820:18;;8168:60:0;23491:353:1;8168:60:0;-1:-1:-1;8265:10:0;8258:17;;7926:427;8308:33;8316:10;8328:12;9063:17;;:21;9059:388;;9295:10;9289:17;9352:15;9339:10;9335:2;9331:19;9324:44;9059:388;9422:12;9415:20;;-1:-1:-1;;;9415:20:0;;;;;;;;:::i;293:131:1:-;-1:-1:-1;;;;;;367:32:1;;357:43;;347:71;;414:1;411;404:12;429:245;487:6;540:2;528:9;519:7;515:23;511:32;508:52;;;556:1;553;546:12;508:52;595:9;582:23;614:30;638:5;614:30;:::i;871:367::-;934:8;944:6;998:3;991:4;983:6;979:17;975:27;965:55;;1016:1;1013;1006:12;965:55;-1:-1:-1;1039:20:1;;1082:18;1071:30;;1068:50;;;1114:1;1111;1104:12;1068:50;1151:4;1143:6;1139:17;1127:29;;1211:3;1204:4;1194:6;1191:1;1187:14;1179:6;1175:27;1171:38;1168:47;1165:67;;;1228:1;1225;1218:12;1243:773;1365:6;1373;1381;1389;1442:2;1430:9;1421:7;1417:23;1413:32;1410:52;;;1458:1;1455;1448:12;1410:52;1498:9;1485:23;1527:18;1568:2;1560:6;1557:14;1554:34;;;1584:1;1581;1574:12;1554:34;1623:70;1685:7;1676:6;1665:9;1661:22;1623:70;:::i;:::-;1712:8;;-1:-1:-1;1597:96:1;-1:-1:-1;1800:2:1;1785:18;;1772:32;;-1:-1:-1;1816:16:1;;;1813:36;;;1845:1;1842;1835:12;1813:36;;1884:72;1948:7;1937:8;1926:9;1922:24;1884:72;:::i;:::-;1243:773;;;;-1:-1:-1;1975:8:1;-1:-1:-1;;;;1243:773:1:o;2021:131::-;-1:-1:-1;;;;;2096:31:1;;2086:42;;2076:70;;2142:1;2139;2132:12;2157:435;2224:6;2232;2285:2;2273:9;2264:7;2260:23;2256:32;2253:52;;;2301:1;2298;2291:12;2253:52;2340:9;2327:23;2359:31;2384:5;2359:31;:::i;:::-;2409:5;-1:-1:-1;2466:2:1;2451:18;;2438:32;-1:-1:-1;;;;;2501:40:1;;2489:53;;2479:81;;2556:1;2553;2546:12;2479:81;2579:7;2569:17;;;2157:435;;;;;:::o;2597:250::-;2682:1;2692:113;2706:6;2703:1;2700:13;2692:113;;;2782:11;;;2776:18;2763:11;;;2756:39;2728:2;2721:10;2692:113;;;-1:-1:-1;;2839:1:1;2821:16;;2814:27;2597:250::o;2852:271::-;2894:3;2932:5;2926:12;2959:6;2954:3;2947:19;2975:76;3044:6;3037:4;3032:3;3028:14;3021:4;3014:5;3010:16;2975:76;:::i;:::-;3105:2;3084:15;-1:-1:-1;;3080:29:1;3071:39;;;;3112:4;3067:50;;2852:271;-1:-1:-1;;2852:271:1:o;3128:220::-;3277:2;3266:9;3259:21;3240:4;3297:45;3338:2;3327:9;3323:18;3315:6;3297:45;:::i;3353:180::-;3412:6;3465:2;3453:9;3444:7;3440:23;3436:32;3433:52;;;3481:1;3478;3471:12;3433:52;-1:-1:-1;3504:23:1;;3353:180;-1:-1:-1;3353:180:1:o;3746:315::-;3814:6;3822;3875:2;3863:9;3854:7;3850:23;3846:32;3843:52;;;3891:1;3888;3881:12;3843:52;3930:9;3917:23;3949:31;3974:5;3949:31;:::i;:::-;3999:5;4051:2;4036:18;;;;4023:32;;-1:-1:-1;;;3746:315:1:o;4248:255::-;4315:6;4368:2;4356:9;4347:7;4343:23;4339:32;4336:52;;;4384:1;4381;4374:12;4336:52;4423:9;4410:23;4442:31;4467:5;4442:31;:::i;4508:456::-;4585:6;4593;4601;4654:2;4642:9;4633:7;4629:23;4625:32;4622:52;;;4670:1;4667;4660:12;4622:52;4709:9;4696:23;4728:31;4753:5;4728:31;:::i;:::-;4778:5;-1:-1:-1;4835:2:1;4820:18;;4807:32;4848:33;4807:32;4848:33;:::i;:::-;4508:456;;4900:7;;-1:-1:-1;;;4954:2:1;4939:18;;;;4926:32;;4508:456::o;4969:248::-;5037:6;5045;5098:2;5086:9;5077:7;5073:23;5069:32;5066:52;;;5114:1;5111;5104:12;5066:52;-1:-1:-1;;5137:23:1;;;5207:2;5192:18;;;5179:32;;-1:-1:-1;4969:248:1:o;5222:402::-;5304:6;5312;5365:2;5353:9;5344:7;5340:23;5336:32;5333:52;;;5381:1;5378;5371:12;5333:52;5420:9;5407:23;5439:31;5464:5;5439:31;:::i;:::-;5489:5;-1:-1:-1;5546:2:1;5531:18;;5518:32;5559:33;5518:32;5559:33;:::i;5869:592::-;5940:6;5948;6001:2;5989:9;5980:7;5976:23;5972:32;5969:52;;;6017:1;6014;6007:12;5969:52;6057:9;6044:23;6086:18;6127:2;6119:6;6116:14;6113:34;;;6143:1;6140;6133:12;6113:34;6181:6;6170:9;6166:22;6156:32;;6226:7;6219:4;6215:2;6211:13;6207:27;6197:55;;6248:1;6245;6238:12;6197:55;6288:2;6275:16;6314:2;6306:6;6303:14;6300:34;;;6330:1;6327;6320:12;6300:34;6375:7;6370:2;6361:6;6357:2;6353:15;6349:24;6346:37;6343:57;;;6396:1;6393;6386:12;6343:57;6427:2;6419:11;;;;;6449:6;;-1:-1:-1;5869:592:1;;-1:-1:-1;;;;5869:592:1:o;6718:118::-;6804:5;6797:13;6790:21;6783:5;6780:32;6770:60;;6826:1;6823;6816:12;6841:382;6906:6;6914;6967:2;6955:9;6946:7;6942:23;6938:32;6935:52;;;6983:1;6980;6973:12;6935:52;7022:9;7009:23;7041:31;7066:5;7041:31;:::i;:::-;7091:5;-1:-1:-1;7148:2:1;7133:18;;7120:32;7161:30;7120:32;7161:30;:::i;7228:127::-;7289:10;7284:3;7280:20;7277:1;7270:31;7320:4;7317:1;7310:15;7344:4;7341:1;7334:15;7360:1266;7455:6;7463;7471;7479;7532:3;7520:9;7511:7;7507:23;7503:33;7500:53;;;7549:1;7546;7539:12;7500:53;7588:9;7575:23;7607:31;7632:5;7607:31;:::i;:::-;7657:5;-1:-1:-1;7714:2:1;7699:18;;7686:32;7727:33;7686:32;7727:33;:::i;:::-;7779:7;-1:-1:-1;7833:2:1;7818:18;;7805:32;;-1:-1:-1;7888:2:1;7873:18;;7860:32;7911:18;7941:14;;;7938:34;;;7968:1;7965;7958:12;7938:34;8006:6;7995:9;7991:22;7981:32;;8051:7;8044:4;8040:2;8036:13;8032:27;8022:55;;8073:1;8070;8063:12;8022:55;8109:2;8096:16;8131:2;8127;8124:10;8121:36;;;8137:18;;:::i;:::-;8212:2;8206:9;8180:2;8266:13;;-1:-1:-1;;8262:22:1;;;8286:2;8258:31;8254:40;8242:53;;;8310:18;;;8330:22;;;8307:46;8304:72;;;8356:18;;:::i;:::-;8396:10;8392:2;8385:22;8431:2;8423:6;8416:18;8471:7;8466:2;8461;8457;8453:11;8449:20;8446:33;8443:53;;;8492:1;8489;8482:12;8443:53;8548:2;8543;8539;8535:11;8530:2;8522:6;8518:15;8505:46;8593:1;8588:2;8583;8575:6;8571:15;8567:24;8560:35;8614:6;8604:16;;;;;;;7360:1266;;;;;;;:::o;9290:127::-;9351:10;9346:3;9342:20;9339:1;9332:31;9382:4;9379:1;9372:15;9406:4;9403:1;9396:15;9422:127;9483:10;9478:3;9474:20;9471:1;9464:31;9514:4;9511:1;9504:15;9538:4;9535:1;9528:15;9554:135;9593:3;9614:17;;;9611:43;;9634:18;;:::i;:::-;-1:-1:-1;9681:1:1;9670:13;;9554:135::o;9694:380::-;9773:1;9769:12;;;;9816;;;9837:61;;9891:4;9883:6;9879:17;9869:27;;9837:61;9944:2;9936:6;9933:14;9913:18;9910:38;9907:161;;9990:10;9985:3;9981:20;9978:1;9971:31;10025:4;10022:1;10015:15;10053:4;10050:1;10043:15;9907:161;;9694:380;;;:::o;10079:402::-;10281:2;10263:21;;;10320:2;10300:18;;;10293:30;10359:34;10354:2;10339:18;;10332:62;-1:-1:-1;;;10425:2:1;10410:18;;10403:36;10471:3;10456:19;;10079:402::o;10486:407::-;10688:2;10670:21;;;10727:2;10707:18;;;10700:30;10766:34;10761:2;10746:18;;10739:62;-1:-1:-1;;;10832:2:1;10817:18;;10810:41;10883:3;10868:19;;10486:407::o;10898:125::-;10963:9;;;10984:10;;;10981:36;;;10997:18;;:::i;11315:168::-;11388:9;;;11419;;11436:15;;;11430:22;;11416:37;11406:71;;11457:18;;:::i;11488:127::-;11549:10;11544:3;11540:20;11537:1;11530:31;11580:4;11577:1;11570:15;11604:4;11601:1;11594:15;11620:120;11660:1;11686;11676:35;;11691:18;;:::i;:::-;-1:-1:-1;11725:9:1;;11620:120::o;11745:355::-;11947:2;11929:21;;;11986:2;11966:18;;;11959:30;12025:33;12020:2;12005:18;;11998:61;12091:2;12076:18;;11745:355::o;12935:545::-;13037:2;13032:3;13029:11;13026:448;;;13073:1;13098:5;13094:2;13087:17;13143:4;13139:2;13129:19;13213:2;13201:10;13197:19;13194:1;13190:27;13184:4;13180:38;13249:4;13237:10;13234:20;13231:47;;;-1:-1:-1;13272:4:1;13231:47;13327:2;13322:3;13318:12;13315:1;13311:20;13305:4;13301:31;13291:41;;13382:82;13400:2;13393:5;13390:13;13382:82;;;13445:17;;;13426:1;13415:13;13382:82;;;13386:3;;;12935:545;;;:::o;13656:1206::-;13780:18;13775:3;13772:27;13769:53;;;13802:18;;:::i;:::-;13831:94;13921:3;13881:38;13913:4;13907:11;13881:38;:::i;:::-;13875:4;13831:94;:::i;:::-;13951:1;13976:2;13971:3;13968:11;13993:1;13988:616;;;;14648:1;14665:3;14662:93;;;-1:-1:-1;14721:19:1;;;14708:33;14662:93;-1:-1:-1;;13613:1:1;13609:11;;;13605:24;13601:29;13591:40;13637:1;13633:11;;;13588:57;14768:78;;13961:895;;13988:616;12882:1;12875:14;;;12919:4;12906:18;;-1:-1:-1;;14024:17:1;;;14125:9;14147:229;14161:7;14158:1;14155:14;14147:229;;;14250:19;;;14237:33;14222:49;;14357:4;14342:20;;;;14310:1;14298:14;;;;14177:12;14147:229;;;14151:3;14404;14395:7;14392:16;14389:159;;;14528:1;14524:6;14518:3;14512;14509:1;14505:11;14501:21;14497:34;14493:39;14480:9;14475:3;14471:19;14458:33;14454:79;14446:6;14439:95;14389:159;;;14591:1;14585:3;14582:1;14578:11;14574:19;14568:4;14561:33;13961:895;;13656:1206;;;:::o;16246:184::-;16316:6;16369:2;16357:9;16348:7;16344:23;16340:32;16337:52;;;16385:1;16382;16375:12;16337:52;-1:-1:-1;16408:16:1;;16246:184;-1:-1:-1;16246:184:1:o;16781:1020::-;16957:3;16986:1;17019:6;17013:13;17049:36;17075:9;17049:36;:::i;:::-;17104:1;17121:18;;;17148:133;;;;17295:1;17290:356;;;;17114:532;;17148:133;-1:-1:-1;;17181:24:1;;17169:37;;17254:14;;17247:22;17235:35;;17226:45;;;-1:-1:-1;17148:133:1;;17290:356;17321:6;17318:1;17311:17;17351:4;17396:2;17393:1;17383:16;17421:1;17435:165;17449:6;17446:1;17443:13;17435:165;;;17527:14;;17514:11;;;17507:35;17570:16;;;;17464:10;;17435:165;;;17439:3;;;17629:6;17624:3;17620:16;17613:23;;17114:532;;;;;17677:6;17671:13;17693:68;17752:8;17747:3;17740:4;17732:6;17728:17;17693:68;:::i;:::-;17777:18;;16781:1020;-1:-1:-1;;;;16781:1020:1:o;19898:136::-;19937:3;19965:5;19955:39;;19974:18;;:::i;:::-;-1:-1:-1;;;20010:18:1;;19898:136::o;20348:245::-;20415:6;20468:2;20456:9;20447:7;20443:23;20439:32;20436:52;;;20484:1;20481;20474:12;20436:52;20516:9;20510:16;20535:28;20557:5;20535:28;:::i;21383:128::-;21450:9;;;21471:11;;;21468:37;;;21485:18;;:::i;21516:112::-;21548:1;21574;21564:35;;21579:18;;:::i;:::-;-1:-1:-1;21613:9:1;;21516:112::o;22044:489::-;-1:-1:-1;;;;;22313:15:1;;;22295:34;;22365:15;;22360:2;22345:18;;22338:43;22412:2;22397:18;;22390:34;;;22460:3;22455:2;22440:18;;22433:31;;;22238:4;;22481:46;;22507:19;;22499:6;22481:46;:::i;:::-;22473:54;22044:489;-1:-1:-1;;;;;;22044:489:1:o;22538:249::-;22607:6;22660:2;22648:9;22639:7;22635:23;22631:32;22628:52;;;22676:1;22673;22666:12;22628:52;22708:9;22702:16;22727:30;22751:5;22727:30;:::i;23199:287::-;23328:3;23366:6;23360:13;23382:66;23441:6;23436:3;23429:4;23421:6;23417:17;23382:66;:::i;:::-;23464:16;;;;;23199:287;-1:-1:-1;;23199:287:1:o
Swarm Source
ipfs://4ca8decaa6d986347ffe57177ccbbdb0e695070166fe0490ee352651a4f0a1fb
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.