ERC-721
NFT
Overview
Max Total Supply
8,215 ROTA
Holders
729
Market
Volume (24H)
0.1871 ETH
Min Price (24H)
$39.13 @ 0.015500 ETH
Max Price (24H)
$55.54 @ 0.022000 ETH
Other Info
Token Contract
Balance
0 ROTALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ROTA
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-26 */ // SPDX-License-Identifier: MIT // Rise of the Apes (ROTA). Written by NiftyLabs (https://niftylabs.dev/). // .#%&&% // /&&%% &%/ // #&# .%# // %%* #%% // %## .*,&%%. // #%%. .* .#&%%. // .%&( ./ . %%% // *%%, .* . (%% // %% .* &% // ,%/ *%%%&, /%%, .%%#(##%%&&&&&&#. // %%, *%&&%%&%%%%%. ,& */ # &. %( .&/,& // *&%%%%% #%%%%&%. ,%&%%&&%%& &.% ,.& % % & // (% ( ,%%%%* /%&%%%% ( % % * %% #*/# // #% %%%. (%%%%%( & / % & .(#/ *% // %% #%% ,&&&%&% %.# ,.%,%(# %.,%. // .%( %%% #%%%%%%&%# &.# ..,%. # % /& // *% %%%%%%/ /&%%%%%%%%&%%%%% .%..( % ,& #% &# // *% #%%%%%%%%%%%%%%%%%%&%%%%%%%%%%# .%&( /%%. &% // /% %%%%#%%%%%%%%%%%%% #%&%%%%%/ .%&%%%* . && // %# /%%%%%( %%%%#%%%%%%%%%%%%%%%%%%%%%%%%%(*% && // ,%% (%#%%%%%%%%%%%%%%%%%%%%%%%#%%%&%%%%#% /%/ (%# // *%* (%%%%%%%#%%%%%%%%%%%#%%%%%###%#%%%%%%%.#. /% // #%* %%%%#%%%%#%%%%%%%%%%%%%%%%%#%%%%#%%%%%%%%%*.%, #% // (% (%% %%##%%%##%%###%%%%%##%#%%%%%#%%#%%%% #%/ ##. // #* /%% * #%%%#%%%#%#%%%%%##%%%##%%%,#%%% #% %% // ##( %% %%%/ #%%# /%%%%.(###% *%%# .%% %% ,%/ // %#(( ##( %% ## %%%( ###* % ,# %( // ## .%% ( %/ ## // /%. #%% ## *% // *%* %#% .* ,, (% #* // ## #%#. #% ## #% ## // %# %#%* #%/ ,%# .##* ## // /#, %%%#%%/ #% ##### #% // %# ,%#%%%### %%# #%#%%%##% ## // ,%% (####%%##%###%%( #% // %# ,(#%(. .## // ### /#( // ##/ (#/ // ###/ ./(##* // ,*/*. // // File: operator-filter-registry/src/lib/Constants.sol pragma solidity ^0.8.17; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; // File: operator-filter-registry/src/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: operator-filter-registry/src/UpdatableOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title UpdatableOperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. This contract allows the Owner to update the * OperatorFilterRegistry address via updateOperatorFilterRegistryAddress, including to the zero address, * which will bypass registry checks. * Note that OpenSea will still disable creator earnings enforcement if filtered operators begin fulfilling orders * on-chain, eg, if the registry is revoked or bypassed. * @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. */ abstract contract UpdatableOperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); /// @dev Emitted when someone other than the owner is trying to call an only owner function. error OnlyOwner(); event OperatorFilterRegistryAddressUpdated(address newRegistry); IOperatorFilterRegistry public operatorFilterRegistry; /// @dev The constructor that is called when the contract is being deployed. constructor(address _registry, address subscriptionOrRegistrantToCopy, bool subscribe) { IOperatorFilterRegistry registry = IOperatorFilterRegistry(_registry); operatorFilterRegistry = registry; // 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(registry).code.length > 0) { if (subscribe) { registry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { registry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { registry.register(address(this)); } } } } /** * @dev A helper function to check if the 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 the operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @notice Update the address that the contract will make OperatorFilter checks against. When set to the zero * address, checks will be bypassed. OnlyOwner. */ function updateOperatorFilterRegistryAddress(address newRegistry) public virtual { if (msg.sender != owner()) { revert OnlyOwner(); } operatorFilterRegistry = IOperatorFilterRegistry(newRegistry); emit OperatorFilterRegistryAddressUpdated(newRegistry); } /** * @dev Assume the contract has an owner, but leave specific Ownable implementation up to inheriting contract. */ function owner() public view virtual returns (address); /** * @dev A helper function to check if the operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { IOperatorFilterRegistry registry = operatorFilterRegistry; // Check registry code length to facilitate testing in environments without a deployed registry. if (address(registry) != address(0) && address(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 (!registry.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File: operator-filter-registry/src/RevokableOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title RevokableOperatorFilterer * @notice This contract is meant to allow contracts to permanently skip OperatorFilterRegistry checks if desired. The * Registry itself has an "unregister" function, but if the contract is ownable, the owner can re-register at * any point. As implemented, this abstract contract allows the contract owner to permanently skip the * OperatorFilterRegistry checks by calling revokeOperatorFilterRegistry. Once done, the registry * address cannot be further updated. * Note that OpenSea will still disable creator earnings enforcement if filtered operators begin fulfilling orders * on-chain, eg, if the registry is revoked or bypassed. */ abstract contract RevokableOperatorFilterer is UpdatableOperatorFilterer { /// @dev Emitted when the registry has already been revoked. error RegistryHasBeenRevoked(); /// @dev Emitted when the initial registry address is attempted to be set to the zero address. error InitialRegistryAddressCannotBeZeroAddress(); event OperatorFilterRegistryRevoked(); bool public isOperatorFilterRegistryRevoked; /// @dev The constructor that is called when the contract is being deployed. constructor(address _registry, address subscriptionOrRegistrantToCopy, bool subscribe) UpdatableOperatorFilterer(_registry, subscriptionOrRegistrantToCopy, subscribe) { // don't allow creating a contract with a permanently revoked registry if (_registry == address(0)) { revert InitialRegistryAddressCannotBeZeroAddress(); } } /** * @notice Update the address that the contract will make OperatorFilter checks against. When set to the zero * address, checks will be permanently bypassed, and the address cannot be updated again. OnlyOwner. */ function updateOperatorFilterRegistryAddress(address newRegistry) public override { if (msg.sender != owner()) { revert OnlyOwner(); } // if registry has been revoked, do not allow further updates if (isOperatorFilterRegistryRevoked) { revert RegistryHasBeenRevoked(); } operatorFilterRegistry = IOperatorFilterRegistry(newRegistry); emit OperatorFilterRegistryAddressUpdated(newRegistry); } /** * @notice Revoke the OperatorFilterRegistry address, permanently bypassing checks. OnlyOwner. */ function revokeOperatorFilterRegistry() public { if (msg.sender != owner()) { revert OnlyOwner(); } // if registry has been revoked, do not allow further updates if (isOperatorFilterRegistryRevoked) { revert RegistryHasBeenRevoked(); } // set to zero address to bypass checks operatorFilterRegistry = IOperatorFilterRegistry(address(0)); isOperatorFilterRegistryRevoked = true; emit OperatorFilterRegistryRevoked(); } } // File: operator-filter-registry/src/RevokableDefaultOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title RevokableDefaultOperatorFilterer * @notice Inherits from RevokableOperatorFilterer and automatically subscribes to the default OpenSea subscription. * Note that OpenSea will disable creator earnings enforcement if filtered operators begin fulfilling orders * on-chain, eg, if the registry is revoked or bypassed. */ abstract contract RevokableDefaultOperatorFilterer is RevokableOperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() RevokableOperatorFilterer(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS, CANONICAL_CORI_SUBSCRIPTION, true) {} } // 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/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.8.0) (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() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: erc721a/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: erc721a/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(); 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(); 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 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) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // 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, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @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. * 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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @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(); 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) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @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); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (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(); if (to == address(0)) revert TransferToZeroAddress(); _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; } } } } emit Transfer(from, to, tokenId); _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(); } } /** * @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(); } else { 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(); _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: // - `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) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // 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`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _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(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _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(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // 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(); } _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(); 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) } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // 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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol // OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // 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/token/ERC1155/IERC1155.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); } // 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/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: ROTA.sol pragma solidity ^ 0.8.17; interface LookingGlass { function burnForAddress(uint256 _id, address _address) external; } interface MintPass1155 { function burnForAddress(uint256 _id, uint256 _quantity, address _address) external; } contract ROTA is ERC721A, Ownable, RevokableDefaultOperatorFilterer, PaymentSplitter, ReentrancyGuard { event NonMutationMint(uint256 tokenId, uint256 amount); event MutationMint(uint256 tokenId, uint16 genesisId, uint16 lookingGlassId); event TokenTypeUpdate(uint256 tokenId, uint16 newValue); enum MintType { PUBLIC, BRONZE, SILVER, GOLD } address private GENESIS_ATS = 0x7CB90567a118cd9F6CA326067A0813b289bdCb54; address private LOOKING_GLASS = 0x775D576F54901B4bf23CB66B21dD14343c8AF888; address private MINT_PASS = 0xa1656eB49E965084A8BF1B1E9c1eDB843395dD84; address private signer = 0xdD92ADeA037A7a6206A5e39644F26621D01CE4e4; address private crossMint = 0xdAb1a1854214684acE522439684a145E62505233; address public futureUtilityContract; string public _metadata; uint256 constant MAX_SUPPLY = 10108; uint256 constant MAX_ALLOWLIST_PUBLIC = 7000; uint256 constant MAX_MUTATIONS = 2331; uint256 constant MAX_RESERVED = 777; mapping(MintType => uint256) private mintCost; mapping(MintType => uint256) private mintMax; mapping(MintType => bool) private mintActive; mapping(MintType => mapping(address => uint256)) public typeToWalletMinted; bool public isBurnActive = false; bool public isReservedActive = false; bool public isMutationsActive = false; uint256 public nonMutatedMinted; mapping(uint16 => uint16) public tokenToType; mapping(uint16 => bool) public genesisMinted; /// @notice collection payouts address[] private addressList = [ 0x98eF98AfF49eA1b3e759d46715cc76620777685e, 0xd72192822D7E8FF5707a80B63Df004B6c3817579, 0x4778E346f9686218F071f250F6B493e30b1Ee510, 0x9aB0FC7c84694780c298766e7574f763DD7968cE, 0xa69B6935B0F38506b81224B4612d7Ea49A4B0aCC, 0xfF745F093B4B32b6655AC66E57A7aF645F8f9e8f, 0xFcFdc91CE1A75e397a963141D4e43bFD32D1848B, 0x6E8c8B9E868dA7aC2a46403C7F530e565CbFB762, 0xfca06e64f9Fea9d02c4a38D54347D4e628a1085F, 0x178cb7c511B557e413f03e9A8A6fA7243d96c436, 0x3978a70Acce93153f524e8fcdcBA1E3ace0aC05B ]; uint256[] private shareList = [ 20, 15, 15, 7, 5, 2, 2, 1, 1, 1, 31 ]; constructor() ERC721A("Rise of the Apes", "ROTA") PaymentSplitter(addressList, shareList) { mintCost[MintType.PUBLIC] = 0.059 ether; mintCost[MintType.BRONZE] = 0.059 ether; mintCost[MintType.SILVER] = 0.059 ether; mintCost[MintType.GOLD] = 0.049 ether; mintMax[MintType.PUBLIC] = 10; mintMax[MintType.BRONZE] = 5; mintMax[MintType.SILVER] = 5; mintMax[MintType.GOLD] = 2; mintActive[MintType.PUBLIC] = false; mintActive[MintType.BRONZE] = false; mintActive[MintType.SILVER] = false; mintActive[MintType.GOLD] = false; } function genesisMint(uint16 genesisId, uint16 lookingGlassId) public nonReentrant { require(isMutationsActive); require(_totalMinted() + 1 <= MAX_SUPPLY, "Minted out"); require(msg.sender == tx.origin, "EOA only"); _mutationMint(genesisId, lookingGlassId); } function _mutationMint(uint16 genesisId, uint16 lookingGlassId) internal { require(msg.sender == IERC721A(GENESIS_ATS).ownerOf(genesisId), "Not owner"); require(!genesisMinted[genesisId], "Already minted"); uint16 tokenId = uint16(_totalMinted()); genesisMinted[genesisId] = true; LookingGlass(LOOKING_GLASS).burnForAddress(lookingGlassId, msg.sender); tokenToType[tokenId] = lookingGlassId; _mint(msg.sender, 1); emit MutationMint(tokenId, genesisId, lookingGlassId); } function reservedMint(uint256 amount) public nonReentrant { require(isReservedActive); require(msg.sender == tx.origin, "EOA only"); require(_totalMinted() + amount <= MAX_SUPPLY, "Minted out"); MintPass1155(MINT_PASS).burnForAddress(1, amount, msg.sender); _mint(msg.sender, amount); emit NonMutationMint(_totalMinted(), amount); } function mint(address wallet, bytes calldata voucher, uint256 amount, bool isCrossmint, MintType mintType) external payable nonReentrant { uint256 costPerMint = mintCost[mintType]; uint256 maxToMint = mintMax[mintType]; //Mint active also guards against non existant mint type. require(mintActive[mintType], "Mint type not active"); require(msg.sender == tx.origin, "EOA only"); //Supply checks require(_totalMinted() + amount <= MAX_SUPPLY, "Minted out"); require(nonMutatedMinted + amount <= MAX_ALLOWLIST_PUBLIC, "Allowlist minted out"); //Cost check require(msg.value >= costPerMint * amount, "Ether value sent is not correct"); //Crossmint checks if(isCrossmint) require(msg.sender == crossMint, "Crossmint only"); else require(msg.sender == wallet, "Not your voucher"); require(typeToWalletMinted[mintType][wallet] + amount <= maxToMint, "Too many"); if(mintType != MintType.PUBLIC) { bytes32 hash = keccak256(abi.encodePacked(wallet)); require(_verifySignature(signer, hash, voucher), "Invalid voucher"); } nonMutatedMinted += amount; typeToWalletMinted[mintType][wallet] += amount; _mint(wallet, amount); emit NonMutationMint(_totalMinted(), amount); } function mintAdmin(uint256 amount) external payable nonReentrant onlyOwner { require(_totalMinted() + amount <= MAX_SUPPLY, "Minted out"); _mint(msg.sender, amount); emit NonMutationMint(_totalMinted(), amount); } function burn(uint256[] memory tokenIds) public nonReentrant { require(isBurnActive); for(uint i = 0; i < tokenIds.length; i++) _burn(tokenIds[i], true); } function _verifySignature(address _signer, bytes32 _hash, bytes memory _signature) internal pure returns (bool) { return _signer == ECDSA.recover(ECDSA.toEthSignedMessageHash(_hash), _signature); } function setSigner(address _signer) external onlyOwner { signer = _signer; } 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); } function setMetadata(string memory metadata) public onlyOwner { _metadata = metadata; } function _baseURI() internal view virtual override returns(string memory) { return _metadata; } function setMintActive(MintType mintType, bool state) public onlyOwner { mintActive[mintType] = state; } function setBurnActive() public onlyOwner { isBurnActive = !isBurnActive; } function setReservedActive() public onlyOwner { isReservedActive = !isReservedActive; } function setMutationsActive() public onlyOwner { isMutationsActive = !isMutationsActive; } function setMintCost(MintType mintType, uint256 newCost) public onlyOwner { mintCost[mintType] = newCost; } function setMintMax(MintType mintType, uint256 newMax) public onlyOwner { mintMax[mintType] = newMax; } function updateTokenType(uint16 tokenId, uint16 newValue) external onlyTypeChanger { tokenToType[tokenId] = newValue; emit TokenTypeUpdate(tokenId, newValue); } function setGenesisContract(address _contract) public onlyOwner { GENESIS_ATS = _contract; } function setLookingGlassContract(address _contract) public onlyOwner { LOOKING_GLASS = _contract; } function setMintPassContract(address _contract) public onlyOwner { MINT_PASS = _contract; } function emergencyWithdraw() public payable onlyOwner { (bool success, ) = payable(msg.sender).call {value: address(this).balance}(""); require(success); } modifier onlyTypeChanger { require(msg.sender == owner() || msg.sender == futureUtilityContract); _; } function getAmountMintedPerType(MintType mintType, address _address) public view returns (uint256) { return typeToWalletMinted[mintType][_address]; } function owner() public view override(Ownable, UpdatableOperatorFilterer) returns (address) { return Ownable.owner(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InitialRegistryAddressCannotBeZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OnlyOwner","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":"RegistryHasBeenRevoked","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":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint16","name":"genesisId","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"lookingGlassId","type":"uint16"}],"name":"MutationMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"NonMutationMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newRegistry","type":"address"}],"name":"OperatorFilterRegistryAddressUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"OperatorFilterRegistryRevoked","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":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint16","name":"newValue","type":"uint16"}],"name":"TokenTypeUpdate","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":"_metadata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"futureUtilityContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"genesisId","type":"uint16"},{"internalType":"uint16","name":"lookingGlassId","type":"uint16"}],"name":"genesisMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"genesisMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum ROTA.MintType","name":"mintType","type":"uint8"},{"internalType":"address","name":"_address","type":"address"}],"name":"getAmountMintedPerType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBurnActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMutationsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOperatorFilterRegistryRevoked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isReservedActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"bytes","name":"voucher","type":"bytes"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"isCrossmint","type":"bool"},{"internalType":"enum ROTA.MintType","name":"mintType","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintAdmin","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nonMutatedMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilterRegistry","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"reservedMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revokeOperatorFilterRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":[],"name":"setBurnActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setGenesisContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setLookingGlassContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"metadata","type":"string"}],"name":"setMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum ROTA.MintType","name":"mintType","type":"uint8"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum ROTA.MintType","name":"mintType","type":"uint8"},{"internalType":"uint256","name":"newCost","type":"uint256"}],"name":"setMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum ROTA.MintType","name":"mintType","type":"uint8"},{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMintMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setMintPassContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setMutationsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setReservedActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","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":"uint16","name":"","type":"uint16"}],"name":"tokenToType","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","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"},{"inputs":[{"internalType":"enum ROTA.MintType","name":"","type":"uint8"},{"internalType":"address","name":"","type":"address"}],"name":"typeToWalletMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newRegistry","type":"address"}],"name":"updateOperatorFilterRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"tokenId","type":"uint16"},{"internalType":"uint16","name":"newValue","type":"uint16"}],"name":"updateTokenType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
601280546001600160a01b0319908116737cb90567a118cd9f6ca326067a0813b289bdcb541790915560138054821673775d576f54901b4bf23cb66b21dd14343c8af88817905560148054821673a1656eb49e965084a8bf1b1e9c1edb843395dd8417905560158054821673dd92adea037a7a6206a5e39644f26621d01ce4e41790556016805490911673dab1a1854214684ace522439684a145e62505233179055601d805462ffffff191690556101e06040527398ef98aff49ea1b3e759d46715cc76620777685e608090815273d72192822d7e8ff5707a80b63df004b6c381757960a052734778e346f9686218f071f250f6b493e30b1ee51060c052739ab0fc7c84694780c298766e7574f763dd7968ce60e05273a69b6935b0f38506b81224b4612d7ea49a4b0acc6101005273ff745f093b4b32b6655ac66e57a7af645f8f9e8f6101205273fcfdc91ce1a75e397a963141d4e43bfd32d1848b61014052736e8c8b9e868da7ac2a46403c7f530e565cbfb7626101605273fca06e64f9fea9d02c4a38d54347d4e628a1085f6101805273178cb7c511b557e413f03e9a8a6fa7243d96c4366101a052733978a70acce93153f524e8fcdcba1e3ace0ac05b6101c052620001d490602190600b62000a5f565b50604080516101608101825260148152600f60208201819052918101919091526007606082015260056080820152600260a0820181905260c0820152600160e082018190526101008201819052610120820152601f6101408201526200023f90602290600b62000ac9565b503480156200024d57600080fd5b506021805480602002602001604051908101604052809291908181526020018280548015620002a657602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000287575b50505050506022805480602002602001604051908101604052809291908181526020018280548015620002f957602002820191906000526020600020905b815481526020019060010190808311620002e4575b50505050506daaeb6d7670e522a718067333cd4e733cc6cdda760b79bafa08df41ecfa224f810dceb660018282826040518060400160405280601081526020016f52697365206f6620746865204170657360801b81525060405180604001604052806004815260200163524f544160e01b81525081600290816200037e919062000bc8565b5060036200038d828262000bc8565b505060008055506200039f336200081f565b600980546001600160a01b0319166001600160a01b03851690811790915583903b15620004d85781156200043757604051633e9f1edf60e11b81523060048201526001600160a01b038481166024830152821690637d3e3dbe906044015b600060405180830381600087803b1580156200041857600080fd5b505af11580156200042d573d6000803e3d6000fd5b50505050620004d8565b6001600160a01b038316156200047c5760405163a0af290360e01b81523060048201526001600160a01b03848116602483015282169063a0af290390604401620003fd565b604051632210724360e11b81523060048201526001600160a01b03821690634420e48690602401600060405180830381600087803b158015620004be57600080fd5b505af1158015620004d3573d6000803e3d6000fd5b505050505b5050506001600160a01b0384169050620005055760405163c49d17ad60e01b815260040160405180910390fd5b50505080518251146200057a5760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620005cd5760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000571565b60005b8251811015620006395762000624838281518110620005f357620005f362000c94565b602002602001015183838151811062000610576200061062000c94565b60200260200101516200087160201b60201c565b80620006308162000cc0565b915050620005d0565b505060016011555066d19c2ff9bf80007fd2ac945fcc0096878c763e37d6929b78378c1a2defabde8ba7ee5ed1d6e7a5b28190557ffc941c3961fb6541da34150022cddf959da0fb2353866a6bfbd249c2da0929148190557f6f678ad17c55bce407239525f4bf7f1fe99197d3eb69bfdd9a0db84a9a11b5815566ae153d89fe80007f3e323a6e0522b016fa22111dfed945f89456f9f44f69eac00209d92607a5b94055600a7fb75ecc04ed35f89790e98640e901bda41eceff0cb896cf2765fb6976802537505560057ff88cd8d612926ebb404e40725c01084b6e9b3ce0344cde068570342cbd448c618190557f4c287b3e2c2cb129ae3ba596d613d760b15affdac7242e12903c37a886ea1c4f55600360005260027f4ac83fca211703e3ddb90093cd219714e5e3715bf0b4fd15b0441390534a24e255601b6020527f584f46c60af19681376031579adb04a2416e54ee5505351c2a8435e3766026ea805460ff199081169091557f9fafca4c9c0d5c2cbf85f49fd8ab8212430ce78c2a0cb75b51e0f9c4f9ace0038054821690557f1dd2f4b94a51cfb409e6e317a497f7cfd9013960a1c723f830c49c05a25f08a58054821690557f804a3d0621e73505f5f0c57c922f3e57d6b48e175551184eb12f80d7b4a9c7838054909116905562000cf8565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620008de5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000571565b60008111620009305760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000571565b6001600160a01b0382166000908152600c602052604090205415620009ac5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000571565b600e8054600181019091557fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0180546001600160a01b0319166001600160a01b0384169081179091556000908152600c60205260409020819055600a5462000a1690829062000cdc565b600a55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b82805482825590600052602060002090810192821562000ab7579160200282015b8281111562000ab757825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000a80565b5062000ac592915062000b0c565b5090565b82805482825590600052602060002090810192821562000ab7579160200282015b8281111562000ab7578251829060ff1690559160200191906001019062000aea565b5b8082111562000ac5576000815560010162000b0d565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000b4e57607f821691505b60208210810362000b6f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000bc357600081815260208120601f850160051c8101602086101562000b9e5750805b601f850160051c820191505b8181101562000bbf5782815560010162000baa565b5050505b505050565b81516001600160401b0381111562000be45762000be462000b23565b62000bfc8162000bf5845462000b39565b8462000b75565b602080601f83116001811462000c34576000841562000c1b5750858301515b600019600386901b1c1916600185901b17855562000bbf565b600085815260208120601f198616915b8281101562000c655788860151825594840194600190910190840162000c44565b508582101562000c845787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820162000cd55762000cd562000caa565b5060010190565b8082018082111562000cf25762000cf262000caa565b92915050565b613a708062000d086000396000f3fe60806040526004361061039b5760003560e01c80638c74bf0e116101dc578063b88d4fde11610102578063d20f2b48116100a0578063e33b7de31161006f578063e33b7de314610af6578063e985e9c514610b0b578063ecba222a14610b54578063f2fde38b14610b7557600080fd5b8063d20f2b4814610a8d578063d79779b214610aa2578063da034adb14610ad8578063db2e21bc14610aee57600080fd5b8063c4be7153116100dc578063c4be715314610a04578063c87b56dd14610a24578063ce7c2ac214610a44578063d1e31fbb14610a7a57600080fd5b8063b88d4fde146109b1578063b8d1e532146109c4578063c45ac050146109e457600080fd5b8063a22cb4651161017a578063acc160ba11610149578063acc160ba14610937578063b0ccc31e14610957578063b1a6676e14610977578063b80f55c91461099157600080fd5b8063a22cb465146108b7578063a28cd752146108d7578063a3f8eace146108f7578063a49a1e7d1461091757600080fd5b80639481d354116101b65780639481d3541461081d57806395d89b411461083d57806397a08fab146108525780639852595c1461088157600080fd5b80638c74bf0e146107a45780638da5cb5b146107c457806390940115146107d957600080fd5b80635314da4e116102c1578063677ab70b1161025f57806371faf9351161022e57806371faf9351461070c578063735d2a271461072c57806377cee13b1461074c5780638b83209b1461078457600080fd5b8063677ab70b146106a45780636c19e783146106b757806370a08231146106d7578063715018a6146106f757600080fd5b8063594866301161029b57806359486630146106305780635e8d37281461064f5780635ef9432a1461066f5780636352211e1461068457600080fd5b80635314da4e146105d05780635398fb80146105f05780635771026f1461061057600080fd5b806323b872dd1161033957806340cee7011161030857806340cee7011461057357806342842e0e1461058857806348b750441461059b5780634fd2b02a146105bb57600080fd5b806323b872dd146104f057806339371b25146105035780633a98ef3914610518578063406072a91461052d57600080fd5b8063081812fc11610375578063081812fc14610478578063095ea7b31461049857806318160ddd146104ad57806319165587146104d057600080fd5b806301ffc9a7146103e9578063023fcce11461041e57806306fdde031461045657600080fd5b366103e4577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103f557600080fd5b5061040961040436600461311d565b610b95565b60405190151581526020015b60405180910390f35b34801561042a57600080fd5b5060175461043e906001600160a01b031681565b6040516001600160a01b039091168152602001610415565b34801561046257600080fd5b5061046b610be7565b604051610415919061318a565b34801561048457600080fd5b5061043e61049336600461319d565b610c79565b6104ab6104a63660046131cb565b610cbd565b005b3480156104b957600080fd5b50600154600054035b604051908152602001610415565b3480156104dc57600080fd5b506104ab6104eb3660046131f7565b610cd6565b6104ab6104fe366004613214565b610dc7565b34801561050f57600080fd5b5061046b610df2565b34801561052457600080fd5b50600a546104c2565b34801561053957600080fd5b506104c2610548366004613255565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205490565b34801561057f57600080fd5b506104ab610e80565b6104ab610596366004613214565b610ea7565b3480156105a757600080fd5b506104ab6105b6366004613255565b610ecc565b3480156105c757600080fd5b506104ab610fdd565b3480156105dc57600080fd5b506104ab6105eb3660046132b0565b611002565b3480156105fc57600080fd5b506104ab61060b3660046132dc565b611055565b34801561061c57600080fd5b50601d546104099062010000900460ff1681565b34801561063c57600080fd5b50601d5461040990610100900460ff1681565b34801561065b57600080fd5b506104ab61066a3660046131f7565b61109a565b34801561067b57600080fd5b506104ab6110c4565b34801561069057600080fd5b5061043e61069f36600461319d565b611169565b6104ab6106b236600461319d565b611174565b3480156106c357600080fd5b506104ab6106d23660046131f7565b611211565b3480156106e357600080fd5b506104c26106f23660046131f7565b61123b565b34801561070357600080fd5b506104ab61128a565b34801561071857600080fd5b506104ab6107273660046131f7565b61129e565b34801561073857600080fd5b506104ab6107473660046131f7565b6112c8565b34801561075857600080fd5b506104c26107673660046132f8565b601c60209081526000928352604080842090915290825290205481565b34801561079057600080fd5b5061043e61079f36600461319d565b6112f2565b3480156107b057600080fd5b506104ab6107bf36600461319d565b611322565b3480156107d057600080fd5b5061043e611407565b3480156107e557600080fd5b5061080a6107f4366004613326565b601f6020526000908152604090205461ffff1681565b60405161ffff9091168152602001610415565b34801561082957600080fd5b506104ab610838366004613341565b611420565b34801561084957600080fd5b5061046b6114b4565b34801561085e57600080fd5b5061040961086d366004613326565b602080526000908152604090205460ff1681565b34801561088d57600080fd5b506104c261089c3660046131f7565b6001600160a01b03166000908152600d602052604090205490565b3480156108c357600080fd5b506104ab6108d2366004613374565b6114c3565b3480156108e357600080fd5b506104c26108f23660046132f8565b6114d7565b34801561090357600080fd5b506104c26109123660046131f7565b61153a565b34801561092357600080fd5b506104ab610932366004613431565b611582565b34801561094357600080fd5b506104ab610952366004613341565b61159a565b34801561096357600080fd5b5060095461043e906001600160a01b031681565b34801561098357600080fd5b50601d546104099060ff1681565b34801561099d57600080fd5b506104ab6109ac36600461347a565b61161f565b6104ab6109bf366004613520565b611683565b3480156109d057600080fd5b506104ab6109df3660046131f7565b6116b0565b3480156109f057600080fd5b506104c26109ff366004613255565b611768565b348015610a1057600080fd5b506104ab610a1f3660046132dc565b611833565b348015610a3057600080fd5b5061046b610a3f36600461319d565b611852565b348015610a5057600080fd5b506104c2610a5f3660046131f7565b6001600160a01b03166000908152600c602052604090205490565b6104ab610a883660046135a0565b6118d5565b348015610a9957600080fd5b506104ab611dd3565b348015610aae57600080fd5b506104c2610abd3660046131f7565b6001600160a01b03166000908152600f602052604090205490565b348015610ae457600080fd5b506104c2601e5481565b6104ab611def565b348015610b0257600080fd5b50600b546104c2565b348015610b1757600080fd5b50610409610b26366004613255565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610b6057600080fd5b5060095461040990600160a01b900460ff1681565b348015610b8157600080fd5b506104ab610b903660046131f7565b611e4c565b60006301ffc9a760e01b6001600160e01b031983161480610bc657506380ac58cd60e01b6001600160e01b03198316145b80610be15750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610bf690613651565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2290613651565b8015610c6f5780601f10610c4457610100808354040283529160200191610c6f565b820191906000526020600020905b815481529060010190602001808311610c5257829003601f168201915b5050505050905090565b6000610c8482611ec2565b610ca1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610cc781611ee9565b610cd18383611fab565b505050565b6001600160a01b0381166000908152600c6020526040902054610d145760405162461bcd60e51b8152600401610d0b9061368b565b60405180910390fd5b6000610d1f8261153a565b905080600003610d415760405162461bcd60e51b8152600401610d0b906136d1565b80600b6000828254610d539190613732565b90915550506001600160a01b0382166000908152600d60205260409020805482019055610d80828261204b565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05691015b60405180910390a15050565b826001600160a01b0381163314610de157610de133611ee9565b610dec848484612164565b50505050565b60188054610dff90613651565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2b90613651565b8015610e785780601f10610e4d57610100808354040283529160200191610e78565b820191906000526020600020905b815481529060010190602001808311610e5b57829003601f168201915b505050505081565b610e886122f1565b601d805462ff0000198116620100009182900460ff1615909102179055565b826001600160a01b0381163314610ec157610ec133611ee9565b610dec848484612350565b6001600160a01b0381166000908152600c6020526040902054610f015760405162461bcd60e51b8152600401610d0b9061368b565b6000610f0d8383611768565b905080600003610f2f5760405162461bcd60e51b8152600401610d0b906136d1565b6001600160a01b0383166000908152600f602052604081208054839290610f57908490613732565b90915550506001600160a01b038084166000908152601060209081526040808320938616835292905220805482019055610f9283838361236b565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b610fe56122f1565b601d805461ff001981166101009182900460ff1615909102179055565b61100a6122f1565b80601b600084600381111561102157611021613745565b600381111561103257611032613745565b81526020810191909152604001600020805460ff19169115159190911790555050565b61105d6122f1565b80601a600084600381111561107457611074613745565b600381111561108557611085613745565b81526020810191909152604001600020555050565b6110a26122f1565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6110cc611407565b6001600160a01b0316336001600160a01b0316146110fd57604051635fc483c560e01b815260040160405180910390fd5b600954600160a01b900460ff161561112857604051631551a48f60e11b815260040160405180910390fd5b600980546001600160a81b031916600160a01b1790556040517f51e2d870cc2e10853e38dc06fcdae46ad3c3f588f326608803dac6204541ad1690600090a1565b6000610be1826123bd565b61117c612424565b6111846122f1565b61277c8161119160005490565b61119b9190613732565b11156111b95760405162461bcd60e51b8152600401610d0b9061375b565b6111c3338261247d565b7faa7986cfc8c3cf2c022256104764ae7bed92d0699f0b8570ee203e4477678aff6111ed60005490565b60408051918252602082018490520160405180910390a161120e6001601155565b50565b6112196122f1565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216611264576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6112926122f1565b61129c6000612557565b565b6112a66122f1565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6112d06122f1565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b6000600e82815481106113075761130761377f565b6000918252602090912001546001600160a01b031692915050565b61132a612424565b601d54610100900460ff1661133e57600080fd5b33321461135d5760405162461bcd60e51b8152600401610d0b90613795565b61277c8161136a60005490565b6113749190613732565b11156113925760405162461bcd60e51b8152600401610d0b9061375b565b60145460405163029fc4d960e51b815260016004820152602481018390523360448201526001600160a01b03909116906353f89b2090606401600060405180830381600087803b1580156113e557600080fd5b505af11580156113f9573d6000803e3d6000fd5b505050506111c3338261247d565b600061141b6008546001600160a01b031690565b905090565b611428611407565b6001600160a01b0316336001600160a01b0316148061145157506017546001600160a01b031633145b61145a57600080fd5b61ffff8281166000818152601f6020908152604091829020805461ffff1916948616948517905581519283528201929092527f5caf289c3b6d274f55f49ef6c3d4db24562f85961d661fe8e00d1a120ad41b4b9101610dbb565b606060038054610bf690613651565b816114cd81611ee9565b610cd183836125a9565b6000601c60008460038111156114ef576114ef613745565b600381111561150057611500613745565b81526020019081526020016000206000836001600160a01b03166001600160a01b0316815260200190815260200160002054905092915050565b600080611546600b5490565b6115509047613732565b905061157b8382611576866001600160a01b03166000908152600d602052604090205490565b612615565b9392505050565b61158a6122f1565b601861159682826137fd565b5050565b6115a2612424565b601d5462010000900460ff166115b757600080fd5b61277c6115c360005490565b6115ce906001613732565b11156115ec5760405162461bcd60e51b8152600401610d0b9061375b565b33321461160b5760405162461bcd60e51b8152600401610d0b90613795565b6116158282612653565b6115966001601155565b611627612424565b601d5460ff1661163657600080fd5b60005b8151811015611678576116668282815181106116575761165761377f565b60200260200101516001612868565b80611670816138bd565b915050611639565b5061120e6001601155565b836001600160a01b038116331461169d5761169d33611ee9565b6116a9858585856129a0565b5050505050565b6116b8611407565b6001600160a01b0316336001600160a01b0316146116e957604051635fc483c560e01b815260040160405180910390fd5b600954600160a01b900460ff161561171457604051631551a48f60e11b815260040160405180910390fd5b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527f9f513fe86dc42fdbac355fa4d9b1d5be7b5e6cd2df67e30db8003766568de4769060200160405180910390a150565b6001600160a01b0382166000908152600f602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa1580156117c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117eb91906138d6565b6117f59190613732565b6001600160a01b0380861660009081526010602090815260408083209388168352929052205490915061182b9084908390612615565b949350505050565b61183b6122f1565b806019600084600381111561107457611074613745565b606061185d82611ec2565b61187a57604051630a14c4b560e41b815260040160405180910390fd5b60006118846129e4565b905080516000036118a4576040518060200160405280600081525061157b565b806118ae846129f3565b6040516020016118bf9291906138ef565b6040516020818303038152906040529392505050565b6118dd612424565b6000601960008360038111156118f5576118f5613745565b600381111561190657611906613745565b81526020019081526020016000205490506000601a600084600381111561192f5761192f613745565b600381111561194057611940613745565b8152602001908152602001600020549050601b600084600381111561196757611967613745565b600381111561197857611978613745565b815260208101919091526040016000205460ff166119cf5760405162461bcd60e51b81526020600482015260146024820152734d696e742074797065206e6f742061637469766560601b6044820152606401610d0b565b3332146119ee5760405162461bcd60e51b8152600401610d0b90613795565b61277c856119fb60005490565b611a059190613732565b1115611a235760405162461bcd60e51b8152600401610d0b9061375b565b611b5885601e54611a349190613732565b1115611a795760405162461bcd60e51b8152602060048201526014602482015273105b1b1bdddb1a5cdd081b5a5b9d1959081bdd5d60621b6044820152606401610d0b565b611a83858361391e565b341015611ad25760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610d0b565b8315611b28576016546001600160a01b03163314611b235760405162461bcd60e51b815260206004820152600e60248201526d43726f73736d696e74206f6e6c7960901b6044820152606401610d0b565b611b73565b336001600160a01b03891614611b735760405162461bcd60e51b815260206004820152601060248201526f2737ba103cb7bab9103b37bab1b432b960811b6044820152606401610d0b565b8085601c6000866003811115611b8b57611b8b613745565b6003811115611b9c57611b9c613745565b815260200190815260200160002060008b6001600160a01b03166001600160a01b0316815260200190815260200160002054611bd89190613732565b1115611c115760405162461bcd60e51b8152602060048201526008602482015267546f6f206d616e7960c01b6044820152606401610d0b565b6000836003811115611c2557611c25613745565b14611cee576040516bffffffffffffffffffffffff1960608a901b16602082015260009060340160408051601f198184030181528282528051602091820120601554601f8c018390048302850183019093528a84529350611cae926001600160a01b039092169184918c908c9081908401838280828437600092019190915250612a3792505050565b611cec5760405162461bcd60e51b815260206004820152600f60248201526e24b73b30b634b2103b37bab1b432b960891b6044820152606401610d0b565b505b84601e6000828254611d009190613732565b90915550859050601c6000856003811115611d1d57611d1d613745565b6003811115611d2e57611d2e613745565b815260200190815260200160002060008a6001600160a01b03166001600160a01b031681526020019081526020016000206000828254611d6e9190613732565b90915550611d7e9050888661247d565b7faa7986cfc8c3cf2c022256104764ae7bed92d0699f0b8570ee203e4477678aff611da860005490565b60408051918252602082018890520160405180910390a15050611dcb6001601155565b505050505050565b611ddb6122f1565b601d805460ff19811660ff90911615179055565b611df76122f1565b604051600090339047908381818185875af1925050503d8060008114611e39576040519150601f19603f3d011682016040523d82523d6000602084013e611e3e565b606091505b505090508061120e57600080fd5b611e546122f1565b6001600160a01b038116611eb95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d0b565b61120e81612557565b6000805482108015610be1575050600090815260046020526040902054600160e01b161590565b6009546001600160a01b03168015801590611f0e57506000816001600160a01b03163b115b1561159657604051633185c44d60e21b81523060048201526001600160a01b03838116602483015282169063c617113490604401602060405180830381865afa158015611f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f839190613935565b61159657604051633b79c77360e21b81526001600160a01b0383166004820152602401610d0b565b6000611fb682611169565b9050336001600160a01b03821614611fef57611fd28133610b26565b611fef576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b8047101561209b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610d0b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146120e8576040519150601f19603f3d011682016040523d82523d6000602084013e6120ed565b606091505b5050905080610cd15760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610d0b565b600061216f826123bd565b9050836001600160a01b0316816001600160a01b0316146121a25760405162a1148160e81b815260040160405180910390fd5b600082815260066020526040902080546121ce8187335b6001600160a01b039081169116811491141790565b6121f9576121dc8633610b26565b6121f957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661222057604051633a954ecd60e21b815260040160405180910390fd5b801561222b57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036122bd576001840160008181526004602052604081205490036122bb5760005481146122bb5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b0316600080516020613a1b83398151915260405160405180910390a4611dcb565b336122fa611407565b6001600160a01b03161461129c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d0b565b610cd183838360405180602001604052806000815250611683565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610cd1908490612ab6565b60008160005481101561240b5760008181526004602052604081205490600160e01b82169003612409575b8060000361157b5750600019016000818152600460205260409020546123e8565b505b604051636f96cda160e11b815260040160405180910390fd5b6002601154036124765760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d0b565b6002601155565b60008054908290036124a25760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020613a1b8339815191528180a4600183015b81811461252d5780836000600080516020613a1b833981519152600080a4600101612507565b508160000361254e57604051622e076360e81b815260040160405180910390fd5b60005550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b0384166000908152600c60205260408120549091839161263f908661391e565b6126499190613952565b61182b9190613974565b6012546040516331a9108f60e11b815261ffff841660048201526001600160a01b0390911690636352211e90602401602060405180830381865afa15801561269f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c39190613987565b6001600160a01b0316336001600160a01b03161461270f5760405162461bcd60e51b81526020600482015260096024820152682737ba1037bbb732b960b91b6044820152606401610d0b565b61ffff8216600090815260208052604090205460ff16156127635760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b5a5b9d195960921b6044820152606401610d0b565b6000805461ffff848116600090815260208052604090819020805460ff191660011790556013549051635209071360e01b815291851660048301523360248301529192506001600160a01b0390911690635209071390604401600060405180830381600087803b1580156127d657600080fd5b505af11580156127ea573d6000803e3d6000fd5b5050505061ffff8181166000908152601f60205260409020805461ffff191691841691909117905561281d33600161247d565b6040805161ffff8381168252858116602083015284168183015290517ff8c89bff827a9904e12125a891cb1896a9ec6b6b72efe44b9a0af070f889c45f9181900360600190a1505050565b6000612873836123bd565b90508060008061289186600090815260066020526040902080549091565b9150915084156128d1576128a68184336121b9565b6128d1576128b48333610b26565b6128d157604051632ce44b5f60e11b815260040160405180910390fd5b80156128dc57600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b8516900361296a576001860160008181526004602052604081205490036129685760005481146129685760008181526004602052604090208590555b505b60405186906000906001600160a01b03861690600080516020613a1b833981519152908390a45050600180548101905550505050565b6129ab848484610dc7565b6001600160a01b0383163b15610dec576129c784848484612b88565b610dec576040516368d2bf6b60e11b815260040160405180910390fd5b606060188054610bf690613651565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480612a0d5750819003601f19909101908152919050565b6000612a99612a93846040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b83612c73565b6001600160a01b0316846001600160a01b03161490509392505050565b6000612b0b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612c979092919063ffffffff16565b805190915015610cd15780806020019051810190612b299190613935565b610cd15760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d0b565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612bbd9033908990889088906004016139a4565b6020604051808303816000875af1925050508015612bf8575060408051601f3d908101601f19168201909252612bf5918101906139e1565b60015b612c56573d808015612c26576040519150601f19603f3d011682016040523d82523d6000602084013e612c2b565b606091505b508051600003612c4e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6000806000612c828585612ca6565b91509150612c8f81612ceb565b509392505050565b606061182b8484600085612ea1565b6000808251604103612cdc5760208301516040840151606085015160001a612cd087828585612f7c565b94509450505050612ce4565b506000905060025b9250929050565b6000816004811115612cff57612cff613745565b03612d075750565b6001816004811115612d1b57612d1b613745565b03612d685760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610d0b565b6002816004811115612d7c57612d7c613745565b03612dc95760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610d0b565b6003816004811115612ddd57612ddd613745565b03612e355760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610d0b565b6004816004811115612e4957612e49613745565b0361120e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610d0b565b606082471015612f025760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610d0b565b600080866001600160a01b03168587604051612f1e91906139fe565b60006040518083038185875af1925050503d8060008114612f5b576040519150601f19603f3d011682016040523d82523d6000602084013e612f60565b606091505b5091509150612f7187838387613069565b979650505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612fb35750600090506003613060565b8460ff16601b14158015612fcb57508460ff16601c14155b15612fdc5750600090506004613060565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613030573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661305957600060019250925050613060565b9150600090505b94509492505050565b606083156130d85782516000036130d1576001600160a01b0385163b6130d15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d0b565b508161182b565b61182b83838151156130ed5781518083602001fd5b8060405162461bcd60e51b8152600401610d0b919061318a565b6001600160e01b03198116811461120e57600080fd5b60006020828403121561312f57600080fd5b813561157b81613107565b60005b8381101561315557818101518382015260200161313d565b50506000910152565b6000815180845261317681602086016020860161313a565b601f01601f19169290920160200192915050565b60208152600061157b602083018461315e565b6000602082840312156131af57600080fd5b5035919050565b6001600160a01b038116811461120e57600080fd5b600080604083850312156131de57600080fd5b82356131e9816131b6565b946020939093013593505050565b60006020828403121561320957600080fd5b813561157b816131b6565b60008060006060848603121561322957600080fd5b8335613234816131b6565b92506020840135613244816131b6565b929592945050506040919091013590565b6000806040838503121561326857600080fd5b8235613273816131b6565b91506020830135613283816131b6565b809150509250929050565b80356004811061329d57600080fd5b919050565b801515811461120e57600080fd5b600080604083850312156132c357600080fd5b6132cc8361328e565b91506020830135613283816132a2565b600080604083850312156132ef57600080fd5b6131e98361328e565b6000806040838503121561330b57600080fd5b6132738361328e565b803561ffff8116811461329d57600080fd5b60006020828403121561333857600080fd5b61157b82613314565b6000806040838503121561335457600080fd5b61335d83613314565b915061336b60208401613314565b90509250929050565b6000806040838503121561338757600080fd5b82356132cc816131b6565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156133d1576133d1613392565b604052919050565b600067ffffffffffffffff8311156133f3576133f3613392565b613406601f8401601f19166020016133a8565b905082815283838301111561341a57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561344357600080fd5b813567ffffffffffffffff81111561345a57600080fd5b8201601f8101841361346b57600080fd5b61182b848235602084016133d9565b6000602080838503121561348d57600080fd5b823567ffffffffffffffff808211156134a557600080fd5b818501915085601f8301126134b957600080fd5b8135818111156134cb576134cb613392565b8060051b91506134dc8483016133a8565b81815291830184019184810190888411156134f657600080fd5b938501935b83851015613514578435825293850193908501906134fb565b98975050505050505050565b6000806000806080858703121561353657600080fd5b8435613541816131b6565b93506020850135613551816131b6565b925060408501359150606085013567ffffffffffffffff81111561357457600080fd5b8501601f8101871361358557600080fd5b613594878235602084016133d9565b91505092959194509250565b60008060008060008060a087890312156135b957600080fd5b86356135c4816131b6565b9550602087013567ffffffffffffffff808211156135e157600080fd5b818901915089601f8301126135f557600080fd5b81358181111561360457600080fd5b8a602082850101111561361657600080fd5b602083019750809650505050604087013592506060870135613637816132a2565b91506136456080880161328e565b90509295509295509295565b600181811c9082168061366557607f821691505b60208210810361368557634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610be157610be161371c565b634e487b7160e01b600052602160045260246000fd5b6020808252600a9082015269135a5b9d1959081bdd5d60b21b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b602080825260089082015267454f41206f6e6c7960c01b604082015260600190565b601f821115610cd157600081815260208120601f850160051c810160208610156137de5750805b601f850160051c820191505b81811015611dcb578281556001016137ea565b815167ffffffffffffffff81111561381757613817613392565b61382b816138258454613651565b846137b7565b602080601f83116001811461386057600084156138485750858301515b600019600386901b1c1916600185901b178555611dcb565b600085815260208120601f198616915b8281101561388f57888601518255948401946001909101908401613870565b50858210156138ad5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016138cf576138cf61371c565b5060010190565b6000602082840312156138e857600080fd5b5051919050565b6000835161390181846020880161313a565b83519083019061391581836020880161313a565b01949350505050565b8082028115828204841417610be157610be161371c565b60006020828403121561394757600080fd5b815161157b816132a2565b60008261396f57634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610be157610be161371c565b60006020828403121561399957600080fd5b815161157b816131b6565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906139d79083018461315e565b9695505050505050565b6000602082840312156139f357600080fd5b815161157b81613107565b60008251613a1081846020870161313a565b919091019291505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220dac32bd4bc566052b444de0f9b7072e5e4e506bac5b608bab1271e6bb9f4abd164736f6c63430008110033
Deployed Bytecode
0x60806040526004361061039b5760003560e01c80638c74bf0e116101dc578063b88d4fde11610102578063d20f2b48116100a0578063e33b7de31161006f578063e33b7de314610af6578063e985e9c514610b0b578063ecba222a14610b54578063f2fde38b14610b7557600080fd5b8063d20f2b4814610a8d578063d79779b214610aa2578063da034adb14610ad8578063db2e21bc14610aee57600080fd5b8063c4be7153116100dc578063c4be715314610a04578063c87b56dd14610a24578063ce7c2ac214610a44578063d1e31fbb14610a7a57600080fd5b8063b88d4fde146109b1578063b8d1e532146109c4578063c45ac050146109e457600080fd5b8063a22cb4651161017a578063acc160ba11610149578063acc160ba14610937578063b0ccc31e14610957578063b1a6676e14610977578063b80f55c91461099157600080fd5b8063a22cb465146108b7578063a28cd752146108d7578063a3f8eace146108f7578063a49a1e7d1461091757600080fd5b80639481d354116101b65780639481d3541461081d57806395d89b411461083d57806397a08fab146108525780639852595c1461088157600080fd5b80638c74bf0e146107a45780638da5cb5b146107c457806390940115146107d957600080fd5b80635314da4e116102c1578063677ab70b1161025f57806371faf9351161022e57806371faf9351461070c578063735d2a271461072c57806377cee13b1461074c5780638b83209b1461078457600080fd5b8063677ab70b146106a45780636c19e783146106b757806370a08231146106d7578063715018a6146106f757600080fd5b8063594866301161029b57806359486630146106305780635e8d37281461064f5780635ef9432a1461066f5780636352211e1461068457600080fd5b80635314da4e146105d05780635398fb80146105f05780635771026f1461061057600080fd5b806323b872dd1161033957806340cee7011161030857806340cee7011461057357806342842e0e1461058857806348b750441461059b5780634fd2b02a146105bb57600080fd5b806323b872dd146104f057806339371b25146105035780633a98ef3914610518578063406072a91461052d57600080fd5b8063081812fc11610375578063081812fc14610478578063095ea7b31461049857806318160ddd146104ad57806319165587146104d057600080fd5b806301ffc9a7146103e9578063023fcce11461041e57806306fdde031461045657600080fd5b366103e4577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103f557600080fd5b5061040961040436600461311d565b610b95565b60405190151581526020015b60405180910390f35b34801561042a57600080fd5b5060175461043e906001600160a01b031681565b6040516001600160a01b039091168152602001610415565b34801561046257600080fd5b5061046b610be7565b604051610415919061318a565b34801561048457600080fd5b5061043e61049336600461319d565b610c79565b6104ab6104a63660046131cb565b610cbd565b005b3480156104b957600080fd5b50600154600054035b604051908152602001610415565b3480156104dc57600080fd5b506104ab6104eb3660046131f7565b610cd6565b6104ab6104fe366004613214565b610dc7565b34801561050f57600080fd5b5061046b610df2565b34801561052457600080fd5b50600a546104c2565b34801561053957600080fd5b506104c2610548366004613255565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205490565b34801561057f57600080fd5b506104ab610e80565b6104ab610596366004613214565b610ea7565b3480156105a757600080fd5b506104ab6105b6366004613255565b610ecc565b3480156105c757600080fd5b506104ab610fdd565b3480156105dc57600080fd5b506104ab6105eb3660046132b0565b611002565b3480156105fc57600080fd5b506104ab61060b3660046132dc565b611055565b34801561061c57600080fd5b50601d546104099062010000900460ff1681565b34801561063c57600080fd5b50601d5461040990610100900460ff1681565b34801561065b57600080fd5b506104ab61066a3660046131f7565b61109a565b34801561067b57600080fd5b506104ab6110c4565b34801561069057600080fd5b5061043e61069f36600461319d565b611169565b6104ab6106b236600461319d565b611174565b3480156106c357600080fd5b506104ab6106d23660046131f7565b611211565b3480156106e357600080fd5b506104c26106f23660046131f7565b61123b565b34801561070357600080fd5b506104ab61128a565b34801561071857600080fd5b506104ab6107273660046131f7565b61129e565b34801561073857600080fd5b506104ab6107473660046131f7565b6112c8565b34801561075857600080fd5b506104c26107673660046132f8565b601c60209081526000928352604080842090915290825290205481565b34801561079057600080fd5b5061043e61079f36600461319d565b6112f2565b3480156107b057600080fd5b506104ab6107bf36600461319d565b611322565b3480156107d057600080fd5b5061043e611407565b3480156107e557600080fd5b5061080a6107f4366004613326565b601f6020526000908152604090205461ffff1681565b60405161ffff9091168152602001610415565b34801561082957600080fd5b506104ab610838366004613341565b611420565b34801561084957600080fd5b5061046b6114b4565b34801561085e57600080fd5b5061040961086d366004613326565b602080526000908152604090205460ff1681565b34801561088d57600080fd5b506104c261089c3660046131f7565b6001600160a01b03166000908152600d602052604090205490565b3480156108c357600080fd5b506104ab6108d2366004613374565b6114c3565b3480156108e357600080fd5b506104c26108f23660046132f8565b6114d7565b34801561090357600080fd5b506104c26109123660046131f7565b61153a565b34801561092357600080fd5b506104ab610932366004613431565b611582565b34801561094357600080fd5b506104ab610952366004613341565b61159a565b34801561096357600080fd5b5060095461043e906001600160a01b031681565b34801561098357600080fd5b50601d546104099060ff1681565b34801561099d57600080fd5b506104ab6109ac36600461347a565b61161f565b6104ab6109bf366004613520565b611683565b3480156109d057600080fd5b506104ab6109df3660046131f7565b6116b0565b3480156109f057600080fd5b506104c26109ff366004613255565b611768565b348015610a1057600080fd5b506104ab610a1f3660046132dc565b611833565b348015610a3057600080fd5b5061046b610a3f36600461319d565b611852565b348015610a5057600080fd5b506104c2610a5f3660046131f7565b6001600160a01b03166000908152600c602052604090205490565b6104ab610a883660046135a0565b6118d5565b348015610a9957600080fd5b506104ab611dd3565b348015610aae57600080fd5b506104c2610abd3660046131f7565b6001600160a01b03166000908152600f602052604090205490565b348015610ae457600080fd5b506104c2601e5481565b6104ab611def565b348015610b0257600080fd5b50600b546104c2565b348015610b1757600080fd5b50610409610b26366004613255565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610b6057600080fd5b5060095461040990600160a01b900460ff1681565b348015610b8157600080fd5b506104ab610b903660046131f7565b611e4c565b60006301ffc9a760e01b6001600160e01b031983161480610bc657506380ac58cd60e01b6001600160e01b03198316145b80610be15750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610bf690613651565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2290613651565b8015610c6f5780601f10610c4457610100808354040283529160200191610c6f565b820191906000526020600020905b815481529060010190602001808311610c5257829003601f168201915b5050505050905090565b6000610c8482611ec2565b610ca1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610cc781611ee9565b610cd18383611fab565b505050565b6001600160a01b0381166000908152600c6020526040902054610d145760405162461bcd60e51b8152600401610d0b9061368b565b60405180910390fd5b6000610d1f8261153a565b905080600003610d415760405162461bcd60e51b8152600401610d0b906136d1565b80600b6000828254610d539190613732565b90915550506001600160a01b0382166000908152600d60205260409020805482019055610d80828261204b565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05691015b60405180910390a15050565b826001600160a01b0381163314610de157610de133611ee9565b610dec848484612164565b50505050565b60188054610dff90613651565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2b90613651565b8015610e785780601f10610e4d57610100808354040283529160200191610e78565b820191906000526020600020905b815481529060010190602001808311610e5b57829003601f168201915b505050505081565b610e886122f1565b601d805462ff0000198116620100009182900460ff1615909102179055565b826001600160a01b0381163314610ec157610ec133611ee9565b610dec848484612350565b6001600160a01b0381166000908152600c6020526040902054610f015760405162461bcd60e51b8152600401610d0b9061368b565b6000610f0d8383611768565b905080600003610f2f5760405162461bcd60e51b8152600401610d0b906136d1565b6001600160a01b0383166000908152600f602052604081208054839290610f57908490613732565b90915550506001600160a01b038084166000908152601060209081526040808320938616835292905220805482019055610f9283838361236b565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b610fe56122f1565b601d805461ff001981166101009182900460ff1615909102179055565b61100a6122f1565b80601b600084600381111561102157611021613745565b600381111561103257611032613745565b81526020810191909152604001600020805460ff19169115159190911790555050565b61105d6122f1565b80601a600084600381111561107457611074613745565b600381111561108557611085613745565b81526020810191909152604001600020555050565b6110a26122f1565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6110cc611407565b6001600160a01b0316336001600160a01b0316146110fd57604051635fc483c560e01b815260040160405180910390fd5b600954600160a01b900460ff161561112857604051631551a48f60e11b815260040160405180910390fd5b600980546001600160a81b031916600160a01b1790556040517f51e2d870cc2e10853e38dc06fcdae46ad3c3f588f326608803dac6204541ad1690600090a1565b6000610be1826123bd565b61117c612424565b6111846122f1565b61277c8161119160005490565b61119b9190613732565b11156111b95760405162461bcd60e51b8152600401610d0b9061375b565b6111c3338261247d565b7faa7986cfc8c3cf2c022256104764ae7bed92d0699f0b8570ee203e4477678aff6111ed60005490565b60408051918252602082018490520160405180910390a161120e6001601155565b50565b6112196122f1565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216611264576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6112926122f1565b61129c6000612557565b565b6112a66122f1565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6112d06122f1565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b6000600e82815481106113075761130761377f565b6000918252602090912001546001600160a01b031692915050565b61132a612424565b601d54610100900460ff1661133e57600080fd5b33321461135d5760405162461bcd60e51b8152600401610d0b90613795565b61277c8161136a60005490565b6113749190613732565b11156113925760405162461bcd60e51b8152600401610d0b9061375b565b60145460405163029fc4d960e51b815260016004820152602481018390523360448201526001600160a01b03909116906353f89b2090606401600060405180830381600087803b1580156113e557600080fd5b505af11580156113f9573d6000803e3d6000fd5b505050506111c3338261247d565b600061141b6008546001600160a01b031690565b905090565b611428611407565b6001600160a01b0316336001600160a01b0316148061145157506017546001600160a01b031633145b61145a57600080fd5b61ffff8281166000818152601f6020908152604091829020805461ffff1916948616948517905581519283528201929092527f5caf289c3b6d274f55f49ef6c3d4db24562f85961d661fe8e00d1a120ad41b4b9101610dbb565b606060038054610bf690613651565b816114cd81611ee9565b610cd183836125a9565b6000601c60008460038111156114ef576114ef613745565b600381111561150057611500613745565b81526020019081526020016000206000836001600160a01b03166001600160a01b0316815260200190815260200160002054905092915050565b600080611546600b5490565b6115509047613732565b905061157b8382611576866001600160a01b03166000908152600d602052604090205490565b612615565b9392505050565b61158a6122f1565b601861159682826137fd565b5050565b6115a2612424565b601d5462010000900460ff166115b757600080fd5b61277c6115c360005490565b6115ce906001613732565b11156115ec5760405162461bcd60e51b8152600401610d0b9061375b565b33321461160b5760405162461bcd60e51b8152600401610d0b90613795565b6116158282612653565b6115966001601155565b611627612424565b601d5460ff1661163657600080fd5b60005b8151811015611678576116668282815181106116575761165761377f565b60200260200101516001612868565b80611670816138bd565b915050611639565b5061120e6001601155565b836001600160a01b038116331461169d5761169d33611ee9565b6116a9858585856129a0565b5050505050565b6116b8611407565b6001600160a01b0316336001600160a01b0316146116e957604051635fc483c560e01b815260040160405180910390fd5b600954600160a01b900460ff161561171457604051631551a48f60e11b815260040160405180910390fd5b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527f9f513fe86dc42fdbac355fa4d9b1d5be7b5e6cd2df67e30db8003766568de4769060200160405180910390a150565b6001600160a01b0382166000908152600f602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa1580156117c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117eb91906138d6565b6117f59190613732565b6001600160a01b0380861660009081526010602090815260408083209388168352929052205490915061182b9084908390612615565b949350505050565b61183b6122f1565b806019600084600381111561107457611074613745565b606061185d82611ec2565b61187a57604051630a14c4b560e41b815260040160405180910390fd5b60006118846129e4565b905080516000036118a4576040518060200160405280600081525061157b565b806118ae846129f3565b6040516020016118bf9291906138ef565b6040516020818303038152906040529392505050565b6118dd612424565b6000601960008360038111156118f5576118f5613745565b600381111561190657611906613745565b81526020019081526020016000205490506000601a600084600381111561192f5761192f613745565b600381111561194057611940613745565b8152602001908152602001600020549050601b600084600381111561196757611967613745565b600381111561197857611978613745565b815260208101919091526040016000205460ff166119cf5760405162461bcd60e51b81526020600482015260146024820152734d696e742074797065206e6f742061637469766560601b6044820152606401610d0b565b3332146119ee5760405162461bcd60e51b8152600401610d0b90613795565b61277c856119fb60005490565b611a059190613732565b1115611a235760405162461bcd60e51b8152600401610d0b9061375b565b611b5885601e54611a349190613732565b1115611a795760405162461bcd60e51b8152602060048201526014602482015273105b1b1bdddb1a5cdd081b5a5b9d1959081bdd5d60621b6044820152606401610d0b565b611a83858361391e565b341015611ad25760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610d0b565b8315611b28576016546001600160a01b03163314611b235760405162461bcd60e51b815260206004820152600e60248201526d43726f73736d696e74206f6e6c7960901b6044820152606401610d0b565b611b73565b336001600160a01b03891614611b735760405162461bcd60e51b815260206004820152601060248201526f2737ba103cb7bab9103b37bab1b432b960811b6044820152606401610d0b565b8085601c6000866003811115611b8b57611b8b613745565b6003811115611b9c57611b9c613745565b815260200190815260200160002060008b6001600160a01b03166001600160a01b0316815260200190815260200160002054611bd89190613732565b1115611c115760405162461bcd60e51b8152602060048201526008602482015267546f6f206d616e7960c01b6044820152606401610d0b565b6000836003811115611c2557611c25613745565b14611cee576040516bffffffffffffffffffffffff1960608a901b16602082015260009060340160408051601f198184030181528282528051602091820120601554601f8c018390048302850183019093528a84529350611cae926001600160a01b039092169184918c908c9081908401838280828437600092019190915250612a3792505050565b611cec5760405162461bcd60e51b815260206004820152600f60248201526e24b73b30b634b2103b37bab1b432b960891b6044820152606401610d0b565b505b84601e6000828254611d009190613732565b90915550859050601c6000856003811115611d1d57611d1d613745565b6003811115611d2e57611d2e613745565b815260200190815260200160002060008a6001600160a01b03166001600160a01b031681526020019081526020016000206000828254611d6e9190613732565b90915550611d7e9050888661247d565b7faa7986cfc8c3cf2c022256104764ae7bed92d0699f0b8570ee203e4477678aff611da860005490565b60408051918252602082018890520160405180910390a15050611dcb6001601155565b505050505050565b611ddb6122f1565b601d805460ff19811660ff90911615179055565b611df76122f1565b604051600090339047908381818185875af1925050503d8060008114611e39576040519150601f19603f3d011682016040523d82523d6000602084013e611e3e565b606091505b505090508061120e57600080fd5b611e546122f1565b6001600160a01b038116611eb95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d0b565b61120e81612557565b6000805482108015610be1575050600090815260046020526040902054600160e01b161590565b6009546001600160a01b03168015801590611f0e57506000816001600160a01b03163b115b1561159657604051633185c44d60e21b81523060048201526001600160a01b03838116602483015282169063c617113490604401602060405180830381865afa158015611f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f839190613935565b61159657604051633b79c77360e21b81526001600160a01b0383166004820152602401610d0b565b6000611fb682611169565b9050336001600160a01b03821614611fef57611fd28133610b26565b611fef576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b8047101561209b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610d0b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146120e8576040519150601f19603f3d011682016040523d82523d6000602084013e6120ed565b606091505b5050905080610cd15760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610d0b565b600061216f826123bd565b9050836001600160a01b0316816001600160a01b0316146121a25760405162a1148160e81b815260040160405180910390fd5b600082815260066020526040902080546121ce8187335b6001600160a01b039081169116811491141790565b6121f9576121dc8633610b26565b6121f957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661222057604051633a954ecd60e21b815260040160405180910390fd5b801561222b57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036122bd576001840160008181526004602052604081205490036122bb5760005481146122bb5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b0316600080516020613a1b83398151915260405160405180910390a4611dcb565b336122fa611407565b6001600160a01b03161461129c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d0b565b610cd183838360405180602001604052806000815250611683565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610cd1908490612ab6565b60008160005481101561240b5760008181526004602052604081205490600160e01b82169003612409575b8060000361157b5750600019016000818152600460205260409020546123e8565b505b604051636f96cda160e11b815260040160405180910390fd5b6002601154036124765760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d0b565b6002601155565b60008054908290036124a25760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020613a1b8339815191528180a4600183015b81811461252d5780836000600080516020613a1b833981519152600080a4600101612507565b508160000361254e57604051622e076360e81b815260040160405180910390fd5b60005550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b0384166000908152600c60205260408120549091839161263f908661391e565b6126499190613952565b61182b9190613974565b6012546040516331a9108f60e11b815261ffff841660048201526001600160a01b0390911690636352211e90602401602060405180830381865afa15801561269f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c39190613987565b6001600160a01b0316336001600160a01b03161461270f5760405162461bcd60e51b81526020600482015260096024820152682737ba1037bbb732b960b91b6044820152606401610d0b565b61ffff8216600090815260208052604090205460ff16156127635760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b5a5b9d195960921b6044820152606401610d0b565b6000805461ffff848116600090815260208052604090819020805460ff191660011790556013549051635209071360e01b815291851660048301523360248301529192506001600160a01b0390911690635209071390604401600060405180830381600087803b1580156127d657600080fd5b505af11580156127ea573d6000803e3d6000fd5b5050505061ffff8181166000908152601f60205260409020805461ffff191691841691909117905561281d33600161247d565b6040805161ffff8381168252858116602083015284168183015290517ff8c89bff827a9904e12125a891cb1896a9ec6b6b72efe44b9a0af070f889c45f9181900360600190a1505050565b6000612873836123bd565b90508060008061289186600090815260066020526040902080549091565b9150915084156128d1576128a68184336121b9565b6128d1576128b48333610b26565b6128d157604051632ce44b5f60e11b815260040160405180910390fd5b80156128dc57600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b8516900361296a576001860160008181526004602052604081205490036129685760005481146129685760008181526004602052604090208590555b505b60405186906000906001600160a01b03861690600080516020613a1b833981519152908390a45050600180548101905550505050565b6129ab848484610dc7565b6001600160a01b0383163b15610dec576129c784848484612b88565b610dec576040516368d2bf6b60e11b815260040160405180910390fd5b606060188054610bf690613651565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480612a0d5750819003601f19909101908152919050565b6000612a99612a93846040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b83612c73565b6001600160a01b0316846001600160a01b03161490509392505050565b6000612b0b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612c979092919063ffffffff16565b805190915015610cd15780806020019051810190612b299190613935565b610cd15760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d0b565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612bbd9033908990889088906004016139a4565b6020604051808303816000875af1925050508015612bf8575060408051601f3d908101601f19168201909252612bf5918101906139e1565b60015b612c56573d808015612c26576040519150601f19603f3d011682016040523d82523d6000602084013e612c2b565b606091505b508051600003612c4e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6000806000612c828585612ca6565b91509150612c8f81612ceb565b509392505050565b606061182b8484600085612ea1565b6000808251604103612cdc5760208301516040840151606085015160001a612cd087828585612f7c565b94509450505050612ce4565b506000905060025b9250929050565b6000816004811115612cff57612cff613745565b03612d075750565b6001816004811115612d1b57612d1b613745565b03612d685760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610d0b565b6002816004811115612d7c57612d7c613745565b03612dc95760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610d0b565b6003816004811115612ddd57612ddd613745565b03612e355760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610d0b565b6004816004811115612e4957612e49613745565b0361120e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610d0b565b606082471015612f025760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610d0b565b600080866001600160a01b03168587604051612f1e91906139fe565b60006040518083038185875af1925050503d8060008114612f5b576040519150601f19603f3d011682016040523d82523d6000602084013e612f60565b606091505b5091509150612f7187838387613069565b979650505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612fb35750600090506003613060565b8460ff16601b14158015612fcb57508460ff16601c14155b15612fdc5750600090506004613060565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613030573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661305957600060019250925050613060565b9150600090505b94509492505050565b606083156130d85782516000036130d1576001600160a01b0385163b6130d15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d0b565b508161182b565b61182b83838151156130ed5781518083602001fd5b8060405162461bcd60e51b8152600401610d0b919061318a565b6001600160e01b03198116811461120e57600080fd5b60006020828403121561312f57600080fd5b813561157b81613107565b60005b8381101561315557818101518382015260200161313d565b50506000910152565b6000815180845261317681602086016020860161313a565b601f01601f19169290920160200192915050565b60208152600061157b602083018461315e565b6000602082840312156131af57600080fd5b5035919050565b6001600160a01b038116811461120e57600080fd5b600080604083850312156131de57600080fd5b82356131e9816131b6565b946020939093013593505050565b60006020828403121561320957600080fd5b813561157b816131b6565b60008060006060848603121561322957600080fd5b8335613234816131b6565b92506020840135613244816131b6565b929592945050506040919091013590565b6000806040838503121561326857600080fd5b8235613273816131b6565b91506020830135613283816131b6565b809150509250929050565b80356004811061329d57600080fd5b919050565b801515811461120e57600080fd5b600080604083850312156132c357600080fd5b6132cc8361328e565b91506020830135613283816132a2565b600080604083850312156132ef57600080fd5b6131e98361328e565b6000806040838503121561330b57600080fd5b6132738361328e565b803561ffff8116811461329d57600080fd5b60006020828403121561333857600080fd5b61157b82613314565b6000806040838503121561335457600080fd5b61335d83613314565b915061336b60208401613314565b90509250929050565b6000806040838503121561338757600080fd5b82356132cc816131b6565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156133d1576133d1613392565b604052919050565b600067ffffffffffffffff8311156133f3576133f3613392565b613406601f8401601f19166020016133a8565b905082815283838301111561341a57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561344357600080fd5b813567ffffffffffffffff81111561345a57600080fd5b8201601f8101841361346b57600080fd5b61182b848235602084016133d9565b6000602080838503121561348d57600080fd5b823567ffffffffffffffff808211156134a557600080fd5b818501915085601f8301126134b957600080fd5b8135818111156134cb576134cb613392565b8060051b91506134dc8483016133a8565b81815291830184019184810190888411156134f657600080fd5b938501935b83851015613514578435825293850193908501906134fb565b98975050505050505050565b6000806000806080858703121561353657600080fd5b8435613541816131b6565b93506020850135613551816131b6565b925060408501359150606085013567ffffffffffffffff81111561357457600080fd5b8501601f8101871361358557600080fd5b613594878235602084016133d9565b91505092959194509250565b60008060008060008060a087890312156135b957600080fd5b86356135c4816131b6565b9550602087013567ffffffffffffffff808211156135e157600080fd5b818901915089601f8301126135f557600080fd5b81358181111561360457600080fd5b8a602082850101111561361657600080fd5b602083019750809650505050604087013592506060870135613637816132a2565b91506136456080880161328e565b90509295509295509295565b600181811c9082168061366557607f821691505b60208210810361368557634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610be157610be161371c565b634e487b7160e01b600052602160045260246000fd5b6020808252600a9082015269135a5b9d1959081bdd5d60b21b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b602080825260089082015267454f41206f6e6c7960c01b604082015260600190565b601f821115610cd157600081815260208120601f850160051c810160208610156137de5750805b601f850160051c820191505b81811015611dcb578281556001016137ea565b815167ffffffffffffffff81111561381757613817613392565b61382b816138258454613651565b846137b7565b602080601f83116001811461386057600084156138485750858301515b600019600386901b1c1916600185901b178555611dcb565b600085815260208120601f198616915b8281101561388f57888601518255948401946001909101908401613870565b50858210156138ad5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016138cf576138cf61371c565b5060010190565b6000602082840312156138e857600080fd5b5051919050565b6000835161390181846020880161313a565b83519083019061391581836020880161313a565b01949350505050565b8082028115828204841417610be157610be161371c565b60006020828403121561394757600080fd5b815161157b816132a2565b60008261396f57634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610be157610be161371c565b60006020828403121561399957600080fd5b815161157b816131b6565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906139d79083018461315e565b9695505050505050565b6000602082840312156139f357600080fd5b815161157b81613107565b60008251613a1081846020870161313a565b919091019291505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220dac32bd4bc566052b444de0f9b7072e5e4e506bac5b608bab1271e6bb9f4abd164736f6c63430008110033
Deployed Bytecode Sourcemap
123140:9705:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;114817:40;111318:10;114817:40;;;-1:-1:-1;;;;;206:32:1;;;188:51;;114847:9:0;270:2:1;255:18;;248:34;161:18;114817:40:0;;;;;;;123140:9705;;;;;53574:639;;;;;;;;;;-1:-1:-1;53574:639:0;;;;;:::i;:::-;;:::i;:::-;;;844:14:1;;837:22;819:41;;807:2;792:18;53574:639:0;;;;;;;;123903:36;;;;;;;;;;-1:-1:-1;123903:36:0;;;;-1:-1:-1;;;;;123903:36:0;;;;;;-1:-1:-1;;;;;1035:32:1;;;1017:51;;1005:2;990:18;123903:36:0;871:203:1;54476:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;60967:218::-;;;;;;;;;;-1:-1:-1;60967:218:0;;;;;:::i;:::-;;:::i;129863:190::-;;;;;;:::i;:::-;;:::i;:::-;;50227:323;;;;;;;;;;-1:-1:-1;50501:12:0;;50288:7;50485:13;:28;50227:323;;;2622:25:1;;;2610:2;2595:18;50227:323:0;2476:177:1;117338:671:0;;;;;;;;;;-1:-1:-1;117338:671:0;;;;;:::i;:::-;;:::i;130061:205::-;;;;;;:::i;:::-;;:::i;123948:23::-;;;;;;;;;;;;;:::i;114948:91::-;;;;;;;;;;-1:-1:-1;115019:12:0;;114948:91;;116077:135;;;;;;;;;;-1:-1:-1;116077:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;116174:21:0;;;116147:7;116174:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;116077:135;131308:104;;;;;;;;;;;;;:::i;130274:213::-;;;;;;:::i;:::-;;:::i;118277:792::-;;;;;;;;;;-1:-1:-1;118277:792:0;;;;;:::i;:::-;;:::i;131199:101::-;;;;;;;;;;;;;:::i;130976:118::-;;;;;;;;;;-1:-1:-1;130976:118:0;;;;;:::i;:::-;;:::i;131549:117::-;;;;;;;;;;-1:-1:-1;131549:117:0;;;;;:::i;:::-;;:::i;124484:37::-;;;;;;;;;;-1:-1:-1;124484:37:0;;;;;;;;;;;124441:36;;;;;;;;;;-1:-1:-1;124441:36:0;;;;;;;;;;;131981:113;;;;;;;;;;-1:-1:-1;131981:113:0;;;;;:::i;:::-;;:::i;19113:531::-;;;;;;;;;;;;;:::i;55869:152::-;;;;;;;;;;-1:-1:-1;55869:152:0;;;;;:::i;:::-;;:::i;128879:249::-;;;;;;:::i;:::-;;:::i;129556:90::-;;;;;;;;;;-1:-1:-1;129556:90:0;;;;;:::i;:::-;;:::i;51411:233::-;;;;;;;;;;-1:-1:-1;51411:233:0;;;;;:::i;:::-;;:::i;122050:103::-;;;;;;;;;;;;;:::i;131867:106::-;;;;;;;;;;-1:-1:-1;131867:106:0;;;;;:::i;:::-;;:::i;132102:105::-;;;;;;;;;;-1:-1:-1;132102:105:0;;;;;:::i;:::-;;:::i;124319:74::-;;;;;;;;;;-1:-1:-1;124319:74:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;116303:100;;;;;;;;;;-1:-1:-1;116303:100:0;;;;;:::i;:::-;;:::i;127063:405::-;;;;;;;;;;-1:-1:-1;127063:405:0;;;;;:::i;:::-;;:::i;132707:133::-;;;;;;;;;;;;;:::i;124570:44::-;;;;;;;;;;-1:-1:-1;124570:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5805:6:1;5793:19;;;5775:38;;5763:2;5748:18;124570:44:0;5631:188:1;131674:185:0;;;;;;;;;;-1:-1:-1;131674:185:0;;;;;:::i;:::-;;:::i;54652:104::-;;;;;;;;;;;;;:::i;124621:44::-;;;;;;;;;;-1:-1:-1;124621:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;115799:109;;;;;;;;;;-1:-1:-1;115799:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;115882:18:0;115855:7;115882:18;;;:9;:18;;;;;;;115799:109;129654:201;;;;;;;;;;-1:-1:-1;129654:201:0;;;;;:::i;:::-;;:::i;132536:163::-;;;;;;;;;;-1:-1:-1;132536:163:0;;;;;:::i;:::-;;:::i;116493:225::-;;;;;;;;;;-1:-1:-1;116493:225:0;;;;;:::i;:::-;;:::i;130750:101::-;;;;;;;;;;-1:-1:-1;130750:101:0;;;;;:::i;:::-;;:::i;126181:309::-;;;;;;;;;;-1:-1:-1;126181:309:0;;;;;:::i;:::-;;:::i;13142:53::-;;;;;;;;;;-1:-1:-1;13142:53:0;;;;-1:-1:-1;;;;;13142:53:0;;;124402:32;;;;;;;;;;-1:-1:-1;124402:32:0;;;;;;;;129136:193;;;;;;;;;;-1:-1:-1;129136:193:0;;;;;:::i;:::-;;:::i;130495:247::-;;;;;;:::i;:::-;;:::i;18500:487::-;;;;;;;;;;-1:-1:-1;18500:487:0;;;;;:::i;:::-;;:::i;116878:260::-;;;;;;;;;;-1:-1:-1;116878:260:0;;;;;:::i;:::-;;:::i;131420:121::-;;;;;;;;;;-1:-1:-1;131420:121:0;;;;;:::i;:::-;;:::i;54862:318::-;;;;;;;;;;-1:-1:-1;54862:318:0;;;;;:::i;:::-;;:::i;115595:105::-;;;;;;;;;;-1:-1:-1;115595:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;115676:16:0;115649:7;115676:16;;;:7;:16;;;;;;;115595:105;127476:1395;;;;;;:::i;:::-;;:::i;131102:89::-;;;;;;;;;;;;;:::i;115385:119::-;;;;;;;;;;-1:-1:-1;115385:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;115470:26:0;115443:7;115470:26;;;:19;:26;;;;;;;115385:119;124530:31;;;;;;;;;;;;;;;;132215:178;;;:::i;115133:95::-;;;;;;;;;;-1:-1:-1;115206:14:0;;115133:95;;61916:164;;;;;;;;;;-1:-1:-1;61916:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;62037:25:0;;;62013:4;62037:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;61916:164;17726:43;;;;;;;;;;-1:-1:-1;17726:43:0;;;;-1:-1:-1;;;17726:43:0;;;;;;122308:201;;;;;;;;;;-1:-1:-1;122308:201:0;;;;;:::i;:::-;;:::i;53574:639::-;53659:4;-1:-1:-1;;;;;;;;;53983:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;54060:25:0;;;53983:102;:179;;;-1:-1:-1;;;;;;;;;;54137:25:0;;;53983:179;53963:199;53574:639;-1:-1:-1;;53574:639:0:o;54476:100::-;54530:13;54563:5;54556:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54476:100;:::o;60967:218::-;61043:7;61068:16;61076:7;61068;:16::i;:::-;61063:64;;61093:34;;-1:-1:-1;;;61093:34:0;;;;;;;;;;;61063:64;-1:-1:-1;61147:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;61147:30:0;;60967:218::o;129863:190::-;129992:8;14915:30;14936:8;14915:20;:30::i;:::-;130013:32:::1;130027:8;130037:7;130013:13;:32::i;:::-;129863:190:::0;;;:::o;117338:671::-;-1:-1:-1;;;;;117414:16:0;;117433:1;117414:16;;;:7;:16;;;;;;117406:71;;;;-1:-1:-1;;;117406:71:0;;;;;;;:::i;:::-;;;;;;;;;117490:15;117508:19;117519:7;117508:10;:19::i;:::-;117490:37;;117548:7;117559:1;117548:12;117540:68;;;;-1:-1:-1;;;117540:68:0;;;;;;;:::i;:::-;117821:7;117803:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;117864:18:0;;;;;;:9;:18;;;;;:29;;;;;;117917:35;117874:7;117886;117917:17;:35::i;:::-;117968:33;;;-1:-1:-1;;;;;206:32:1;;188:51;;270:2;255:18;;248:34;;;117968:33:0;;161:18:1;117968:33:0;;;;;;;;117395:614;117338:671;:::o;130061:205::-;130204:4;-1:-1:-1;;;;;14640:18:0;;14648:10;14640:18;14636:83;;14675:32;14696:10;14675:20;:32::i;:::-;130221:37:::1;130240:4;130246:2;130250:7;130221:18;:37::i;:::-;130061:205:::0;;;;:::o;123948:23::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;131308:104::-;121288:13;:11;:13::i;:::-;131387:17:::1;::::0;;-1:-1:-1;;131366:38:0;::::1;131387:17:::0;;;;::::1;;;131386:18;131366:38:::0;;::::1;;::::0;;131308:104::o;130274:213::-;130421:4;-1:-1:-1;;;;;14640:18:0;;14648:10;14640:18;14636:83;;14675:32;14696:10;14675:20;:32::i;:::-;130438:41:::1;130461:4;130467:2;130471:7;130438:22;:41::i;118277:792::-:0;-1:-1:-1;;;;;118359:16:0;;118378:1;118359:16;;;:7;:16;;;;;;118351:71;;;;-1:-1:-1;;;118351:71:0;;;;;;;:::i;:::-;118435:15;118453:26;118464:5;118471:7;118453:10;:26::i;:::-;118435:44;;118500:7;118511:1;118500:12;118492:68;;;;-1:-1:-1;;;118492:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;118815:26:0;;;;;;:19;:26;;;;;:37;;118845:7;;118815:26;:37;;118845:7;;118815:37;:::i;:::-;;;;-1:-1:-1;;;;;;;118888:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;:41;;;;;;118953:47;118903:5;118910:7;118922;118953:22;:47::i;:::-;119016:45;;;-1:-1:-1;;;;;206:32:1;;;188:51;;270:2;255:18;;248:34;;;119016:45:0;;;;;161:18:1;119016:45:0;;;;;;;118340:729;118277:792;;:::o;131199:101::-;121288:13;:11;:13::i;:::-;131276:16:::1;::::0;;-1:-1:-1;;131256:36:0;::::1;131276:16;::::0;;;::::1;;;131275:17;131256:36:::0;;::::1;;::::0;;131199:101::o;130976:118::-;121288:13;:11;:13::i;:::-;131081:5:::1;131058:10;:20;131069:8;131058:20;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;131058:20:0;:28;;-1:-1:-1;;131058:28:0::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;;130976:118:0:o;131549:117::-;121288:13;:11;:13::i;:::-;131652:6:::1;131632:7;:17;131640:8;131632:17;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;131632:17:0;:26;-1:-1:-1;;131549:117:0:o;131981:113::-;121288:13;:11;:13::i;:::-;132061::::1;:25:::0;;-1:-1:-1;;;;;;132061:25:0::1;-1:-1:-1::0;;;;;132061:25:0;;;::::1;::::0;;;::::1;::::0;;131981:113::o;19113:531::-;19189:7;:5;:7::i;:::-;-1:-1:-1;;;;;19175:21:0;:10;-1:-1:-1;;;;;19175:21:0;;19171:72;;19220:11;;-1:-1:-1;;;19220:11:0;;;;;;;;;;;19171:72;19328:31;;-1:-1:-1;;;19328:31:0;;;;19324:95;;;19383:24;;-1:-1:-1;;;19383:24:0;;;;;;;;;;;19324:95;19480:22;:60;;-1:-1:-1;;;;;;19551:38:0;-1:-1:-1;;;19551:38:0;;;19605:31;;;;19537:1;;19605:31;19113:531::o;55869:152::-;55941:7;55984:27;56003:7;55984:18;:27::i;128879:249::-;34569:21;:19;:21::i;:::-;121288:13:::1;:11;:13::i;:::-;124010:5:::2;128990:6;128973:14;50703:7:::0;50894:13;;50648:296;128973:14:::2;:23;;;;:::i;:::-;:37;;128965:60;;;;-1:-1:-1::0;;;128965:60:0::2;;;;;;;:::i;:::-;129038:25;129044:10;129056:6;129038:5;:25::i;:::-;129081:39;129097:14;50703:7:::0;50894:13;;50648:296;129097:14:::2;129081:39;::::0;;13829:25:1;;;13885:2;13870:18;;13863:34;;;13802:18;129081:39:0::2;;;;;;;34613:20:::0;34007:1;35133:7;:22;34950:213;34613:20;128879:249;:::o;129556:90::-;121288:13;:11;:13::i;:::-;129622:6:::1;:16:::0;;-1:-1:-1;;;;;;129622:16:0::1;-1:-1:-1::0;;;;;129622:16:0;;;::::1;::::0;;;::::1;::::0;;129556:90::o;51411:233::-;51483:7;-1:-1:-1;;;;;51507:19:0;;51503:60;;51535:28;;-1:-1:-1;;;51535:28:0;;;;;;;;;;;51503:60;-1:-1:-1;;;;;;51581:25:0;;;;;:18;:25;;;;;;45570:13;51581:55;;51411:233::o;122050:103::-;121288:13;:11;:13::i;:::-;122115:30:::1;122142:1;122115:18;:30::i;:::-;122050:103::o:0;131867:106::-;121288:13;:11;:13::i;:::-;131942:11:::1;:23:::0;;-1:-1:-1;;;;;;131942:23:0::1;-1:-1:-1::0;;;;;131942:23:0;;;::::1;::::0;;;::::1;::::0;;131867:106::o;132102:105::-;121288:13;:11;:13::i;:::-;132178:9:::1;:21:::0;;-1:-1:-1;;;;;;132178:21:0::1;-1:-1:-1::0;;;;;132178:21:0;;;::::1;::::0;;;::::1;::::0;;132102:105::o;116303:100::-;116354:7;116381;116389:5;116381:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;116381:14:0;;116303:100;-1:-1:-1;;116303:100:0:o;127063:405::-;34569:21;:19;:21::i;:::-;127140:16:::1;::::0;::::1;::::0;::::1;;;127132:25;;;::::0;::::1;;127176:10;127190:9;127176:23;127168:44;;;;-1:-1:-1::0;;;127168:44:0::1;;;;;;;:::i;:::-;124010:5;127248:6;127231:14;50703:7:::0;50894:13;;50648:296;127231:14:::1;:23;;;;:::i;:::-;:37;;127223:60;;;;-1:-1:-1::0;;;127223:60:0::1;;;;;;;:::i;:::-;127309:9;::::0;127296:61:::1;::::0;-1:-1:-1;;;127296:61:0;;127309:9;127296:61:::1;::::0;::::1;14586:25:1::0;14627:18;;;14620:34;;;127346:10:0::1;14670:18:1::0;;;14663:60;-1:-1:-1;;;;;127309:9:0;;::::1;::::0;127296:38:::1;::::0;14559:18:1;;127296:61:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;127378:25;127384:10;127396:6;127378:5;:25::i;132707:133::-:0;132790:7;132817:15;121475:6;;-1:-1:-1;;;;;121475:6:0;;121402:87;132817:15;132810:22;;132707:133;:::o;131674:185::-;132461:7;:5;:7::i;:::-;-1:-1:-1;;;;;132447:21:0;:10;-1:-1:-1;;;;;132447:21:0;;:60;;;-1:-1:-1;132486:21:0;;-1:-1:-1;;;;;132486:21:0;132472:10;:35;132447:60;132439:69;;;;;;131768:20:::1;::::0;;::::1;;::::0;;;:11:::1;:20;::::0;;;;;;;;:31;;-1:-1:-1;;131768:31:0::1;::::0;;::::1;::::0;;::::1;::::0;;131817:34;;14930::1;;;14980:18;;14973:43;;;;131817:34:0::1;::::0;14878:18:1;131817:34:0::1;14734:288:1::0;54652:104:0;54708:13;54741:7;54734:14;;;;;:::i;129654:201::-;129783:8;14915:30;14936:8;14915:20;:30::i;:::-;129804:43:::1;129828:8;129838;129804:23;:43::i;132536:163::-:0;132626:7;132653:18;:28;132672:8;132653:28;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;132682:8;-1:-1:-1;;;;;132653:38:0;-1:-1:-1;;;;;132653:38:0;;;;;;;;;;;;;132646:45;;132536:163;;;;:::o;116493:225::-;116551:7;116571:21;116619:15;115206:14;;;115133:95;116619:15;116595:39;;:21;:39;:::i;:::-;116571:63;;116652:58;116668:7;116677:13;116692:17;116701:7;-1:-1:-1;;;;;115882:18:0;115855:7;115882:18;;;:9;:18;;;;;;;115799:109;116692:17;116652:15;:58::i;:::-;116645:65;116493:225;-1:-1:-1;;;116493:225:0:o;130750:101::-;121288:13;:11;:13::i;:::-;130823:9:::1;:20;130835:8:::0;130823:9;:20:::1;:::i;:::-;;130750:101:::0;:::o;126181:309::-;34569:21;:19;:21::i;:::-;126282:17:::1;::::0;;;::::1;;;126274:26;;;::::0;::::1;;124010:5;126319:14;50703:7:::0;50894:13;;50648:296;126319:14:::1;:18;::::0;126336:1:::1;126319:18;:::i;:::-;:32;;126311:55;;;;-1:-1:-1::0;;;126311:55:0::1;;;;;;;:::i;:::-;126385:10;126399:9;126385:23;126377:44;;;;-1:-1:-1::0;;;126377:44:0::1;;;;;;;:::i;:::-;126442:40;126456:9;126467:14;126442:13;:40::i;:::-;34613:20:::0;34007:1;35133:7;:22;34950:213;129136:193;34569:21;:19;:21::i;:::-;129216:12:::1;::::0;::::1;;129208:21;;;::::0;::::1;;129244:6;129240:79;129260:8;:15;129256:1;:19;129240:79;;;129295:24;129301:8;129310:1;129301:11;;;;;;;;:::i;:::-;;;;;;;129314:4;129295:5;:24::i;:::-;129277:3:::0;::::1;::::0;::::1;:::i;:::-;;;;129240:79;;;;34613:20:::0;34007:1;35133:7;:22;34950:213;130495:247;130670:4;-1:-1:-1;;;;;14640:18:0;;14648:10;14640:18;14636:83;;14675:32;14696:10;14675:20;:32::i;:::-;130687:47:::1;130710:4;130716:2;130720:7;130729:4;130687:22;:47::i;:::-;130495:247:::0;;;;;:::o;18500:487::-;18611:7;:5;:7::i;:::-;-1:-1:-1;;;;;18597:21:0;:10;-1:-1:-1;;;;;18597:21:0;;18593:72;;18642:11;;-1:-1:-1;;;18642:11:0;;;;;;;;;;;18593:72;18750:31;;-1:-1:-1;;;18750:31:0;;;;18746:95;;;18805:24;;-1:-1:-1;;;18805:24:0;;;;;;;;;;;18746:95;18853:22;:61;;-1:-1:-1;;;;;;18853:61:0;-1:-1:-1;;;;;18853:61:0;;;;;;;;18930:49;;1017:51:1;;;18930:49:0;;1005:2:1;990:18;18930:49:0;;;;;;;18500:487;:::o;116878:260::-;-1:-1:-1;;;;;115470:26:0;;116950:7;115470:26;;;:19;:26;;;;;;116950:7;;116994:30;;-1:-1:-1;;;116994:30:0;;117018:4;116994:30;;;1017:51:1;-1:-1:-1;;;;;116994:15:0;;;;;990:18:1;;116994:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;116174:21:0;;;116147:7;116174:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;116970:77;;-1:-1:-1;117065:65:0;;117081:7;;116970:77;;116652:15;:58::i;117065:65::-;117058:72;116878:260;-1:-1:-1;;;;116878:260:0:o;131420:121::-;121288:13;:11;:13::i;:::-;131526:7:::1;131505:8;:18;131514:8;131505:18;;;;;;;;:::i;54862:318::-:0;54935:13;54966:16;54974:7;54966;:16::i;:::-;54961:59;;54991:29;;-1:-1:-1;;;54991:29:0;;;;;;;;;;;54961:59;55033:21;55057:10;:8;:10::i;:::-;55033:34;;55091:7;55085:21;55110:1;55085:26;:87;;;;;;;;;;;;;;;;;55138:7;55147:18;55157:7;55147:9;:18::i;:::-;55121:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;55078:94;54862:318;-1:-1:-1;;;54862:318:0:o;127476:1395::-;34569:21;:19;:21::i;:::-;127626:19:::1;127648:8;:18;127657:8;127648:18;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;127626:40;;127677:17;127697:7;:17;127705:8;127697:17;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;127677:37;;127802:10;:20;127813:8;127802:20;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;127802:20:0;;::::1;;127794:53;;;::::0;-1:-1:-1;;;127794:53:0;;18263:2:1;127794:53:0::1;::::0;::::1;18245:21:1::0;18302:2;18282:18;;;18275:30;-1:-1:-1;;;18321:18:1;;;18314:50;18381:18;;127794:53:0::1;18061:344:1::0;127794:53:0::1;127868:10;127882:9;127868:23;127860:44;;;;-1:-1:-1::0;;;127860:44:0::1;;;;;;;:::i;:::-;124010:5;127967:6;127950:14;50703:7:::0;50894:13;;50648:296;127950:14:::1;:23;;;;:::i;:::-;:37;;127942:60;;;;-1:-1:-1::0;;;127942:60:0::1;;;;;;;:::i;:::-;124062:4;128040:6;128021:16;;:25;;;;:::i;:::-;:49;;128013:82;;;::::0;-1:-1:-1;;;128013:82:0;;18612:2:1;128013:82:0::1;::::0;::::1;18594:21:1::0;18651:2;18631:18;;;18624:30;-1:-1:-1;;;18670:18:1;;;18663:50;18730:18;;128013:82:0::1;18410:344:1::0;128013:82:0::1;128151:20;128165:6:::0;128151:11;:20:::1;:::i;:::-;128138:9;:33;;128130:77;;;::::0;-1:-1:-1;;;128130:77:0;;19134:2:1;128130:77:0::1;::::0;::::1;19116:21:1::0;19173:2;19153:18;;;19146:30;19212:33;19192:18;;;19185:61;19263:18;;128130:77:0::1;18932:355:1::0;128130:77:0::1;128251:11;128248:131;;;128286:9;::::0;-1:-1:-1;;;;;128286:9:0::1;128272:10;:23;128264:50;;;::::0;-1:-1:-1;;;128264:50:0;;19494:2:1;128264:50:0::1;::::0;::::1;19476:21:1::0;19533:2;19513:18;;;19506:30;-1:-1:-1;;;19552:18:1;;;19545:44;19606:18;;128264:50:0::1;19292:338:1::0;128264:50:0::1;128248:131;;;128338:10;-1:-1:-1::0;;;;;128338:20:0;::::1;;128330:49;;;::::0;-1:-1:-1;;;128330:49:0;;19837:2:1;128330:49:0::1;::::0;::::1;19819:21:1::0;19876:2;19856:18;;;19849:30;-1:-1:-1;;;19895:18:1;;;19888:46;19951:18;;128330:49:0::1;19635:340:1::0;128330:49:0::1;128449:9;128439:6;128400:18;:28;128419:8;128400:28;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;128429:6;-1:-1:-1::0;;;;;128400:36:0::1;-1:-1:-1::0;;;;;128400:36:0::1;;;;;;;;;;;;;:45;;;;:::i;:::-;:58;;128392:79;;;::::0;-1:-1:-1;;;128392:79:0;;20182:2:1;128392:79:0::1;::::0;::::1;20164:21:1::0;20221:1;20201:18;;;20194:29;-1:-1:-1;;;20239:18:1;;;20232:38;20287:18;;128392:79:0::1;19980:331:1::0;128392:79:0::1;128499:15;128487:8;:27;;;;;;;;:::i;:::-;;128484:191;;128556:24;::::0;-1:-1:-1;;20465:2:1;20461:15;;;20457:53;128556:24:0::1;::::0;::::1;20445:66:1::0;128531:12:0::1;::::0;20527::1;;128556:24:0::1;::::0;;-1:-1:-1;;128556:24:0;;::::1;::::0;;;;;;128546:35;;128556:24:::1;128546:35:::0;;::::1;::::0;128621:6:::1;::::0;128604:39:::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;;128546:35;-1:-1:-1;128604:39:0::1;::::0;-1:-1:-1;;;;;128621:6:0;;::::1;::::0;128546:35;;128635:7;;;;;;128604:39;::::1;128635:7:::0;;;;128604:39;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;128604:16:0::1;::::0;-1:-1:-1;;;128604:39:0:i:1;:::-;128596:67;;;::::0;-1:-1:-1;;;128596:67:0;;20752:2:1;128596:67:0::1;::::0;::::1;20734:21:1::0;20791:2;20771:18;;;20764:30;-1:-1:-1;;;20810:18:1;;;20803:45;20865:18;;128596:67:0::1;20550:339:1::0;128596:67:0::1;128516:159;128484:191;128707:6;128687:16;;:26;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;128766:6:0;;-1:-1:-1;128726:18:0::1;:28;128745:8:::0;128726:28:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;128755:6;-1:-1:-1::0;;;;;128726:36:0::1;-1:-1:-1::0;;;;;128726:36:0::1;;;;;;;;;;;;;:46;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;128785:21:0::1;::::0;-1:-1:-1;128791:6:0;128799;128785:5:::1;:21::i;:::-;128824:39;128840:14;50703:7:::0;50894:13;;50648:296;128840:14:::1;128824:39;::::0;;13829:25:1;;;13885:2;13870:18;;13863:34;;;13802:18;128824:39:0::1;;;;;;;127613:1258;;34613:20:::0;34007:1;35133:7;:22;34950:213;34613:20;127476:1395;;;;;;:::o;131102:89::-;121288:13;:11;:13::i;:::-;131171:12:::1;::::0;;-1:-1:-1;;131155:28:0;::::1;131171:12;::::0;;::::1;131170:13;131155:28;::::0;;131102:89::o;132215:178::-;121288:13;:11;:13::i;:::-;132299:59:::1;::::0;132281:12:::1;::::0;132307:10:::1;::::0;132332:21:::1;::::0;132281:12;132299:59;132281:12;132299:59;132332:21;132307:10;132299:59:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;132280:78;;;132377:7;132369:16;;;::::0;::::1;122308:201:::0;121288:13;:11;:13::i;:::-;-1:-1:-1;;;;;122397:22:0;::::1;122389:73;;;::::0;-1:-1:-1;;;122389:73:0;;21306:2:1;122389:73:0::1;::::0;::::1;21288:21:1::0;21345:2;21325:18;;;21318:30;21384:34;21364:18;;;21357:62;-1:-1:-1;;;21435:18:1;;;21428:36;21481:19;;122389:73:0::1;21104:402:1::0;122389:73:0::1;122473:28;122492:8;122473:18;:28::i;62338:282::-:0;62403:4;62493:13;;62483:7;:23;62440:153;;;;-1:-1:-1;;62544:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;62544:44:0;:49;;62338:282::o;15766:718::-;15882:22;;-1:-1:-1;;;;;15882:22:0;16025:31;;;;;:68;;;16092:1;16068:8;-1:-1:-1;;;;;16060:29:0;;:33;16025:68;16021:456;;;16343:51;;-1:-1:-1;;;16343:51:0;;16378:4;16343:51;;;21723:34:1;-1:-1:-1;;;;;21793:15:1;;;21773:18;;;21766:43;16343:26:0;;;;;21658:18:1;;16343:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16338:128;;16422:28;;-1:-1:-1;;;16422:28:0;;-1:-1:-1;;;;;1035:32:1;;16422:28:0;;;1017:51:1;990:18;;16422:28:0;871:203:1;60400:408:0;60489:13;60505:16;60513:7;60505;:16::i;:::-;60489:32;-1:-1:-1;111318:10:0;-1:-1:-1;;;;;60538:28:0;;;60534:175;;60586:44;60603:5;111318:10;61916:164;:::i;60586:44::-;60581:128;;60658:35;;-1:-1:-1;;;60658:35:0;;;;;;;;;;;60581:128;60721:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;60721:35:0;-1:-1:-1;;;;;60721:35:0;;;;;;;;;60772:28;;60721:24;;60772:28;;;;;;;60478:330;60400:408;;:::o;22925:317::-;23040:6;23015:21;:31;;23007:73;;;;-1:-1:-1;;;23007:73:0;;22272:2:1;23007:73:0;;;22254:21:1;22311:2;22291:18;;;22284:30;22350:31;22330:18;;;22323:59;22399:18;;23007:73:0;22070:353:1;23007:73:0;23094:12;23112:9;-1:-1:-1;;;;;23112:14:0;23134:6;23112:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23093:52;;;23164:7;23156:78;;;;-1:-1:-1;;;23156:78:0;;22630:2:1;23156:78:0;;;22612:21:1;22669:2;22649:18;;;22642:30;22708:34;22688:18;;;22681:62;22779:28;22759:18;;;22752:56;22825:19;;23156:78:0;22428:422:1;64606:2825:0;64748:27;64778;64797:7;64778:18;:27::i;:::-;64748:57;;64863:4;-1:-1:-1;;;;;64822:45:0;64838:19;-1:-1:-1;;;;;64822:45:0;;64818:86;;64876:28;;-1:-1:-1;;;64876:28:0;;;;;;;;;;;64818:86;64918:27;63714:24;;;:15;:24;;;;;63942:26;;65109:68;63942:26;65151:4;111318:10;65157:19;-1:-1:-1;;;;;63188:32:0;;;63032:28;;63317:20;;63339:30;;63314:56;;62729:659;65109:68;65104:180;;65197:43;65214:4;111318:10;61916:164;:::i;65197:43::-;65192:92;;65249:35;;-1:-1:-1;;;65249:35:0;;;;;;;;;;;65192:92;-1:-1:-1;;;;;65301:16:0;;65297:52;;65326:23;;-1:-1:-1;;;65326:23:0;;;;;;;;;;;65297:52;65498:15;65495:160;;;65638:1;65617:19;65610:30;65495:160;-1:-1:-1;;;;;66035:24:0;;;;;;;:18;:24;;;;;;66033:26;;-1:-1:-1;;66033:26:0;;;66104:22;;;;;;;;;66102:24;;-1:-1:-1;66102:24:0;;;59258:11;59233:23;59229:41;59216:63;-1:-1:-1;;;59216:63:0;66397:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;66692:47:0;;:52;;66688:627;;66797:1;66787:11;;66765:19;66920:30;;;:17;:30;;;;;;:35;;66916:384;;67058:13;;67043:11;:28;67039:242;;67205:30;;;;:17;:30;;;;;:52;;;67039:242;66746:569;66688:627;67362:7;67358:2;-1:-1:-1;;;;;67343:27:0;67352:4;-1:-1:-1;;;;;67343:27:0;-1:-1:-1;;;;;;;;;;;67343:27:0;;;;;;;;;67381:42;130061:205;121567:132;111318:10;121631:7;:5;:7::i;:::-;-1:-1:-1;;;;;121631:23:0;;121623:68;;;;-1:-1:-1;;;121623:68:0;;23057:2:1;121623:68:0;;;23039:21:1;;;23076:18;;;23069:30;23135:34;23115:18;;;23108:62;23187:18;;121623:68:0;22855:356:1;67527:193:0;67673:39;67690:4;67696:2;67700:7;67673:39;;;;;;;;;;;;:16;:39::i;106769:211::-;106913:58;;;-1:-1:-1;;;;;206:32:1;;106913:58:0;;;188:51:1;255:18;;;;248:34;;;106913:58:0;;;;;;;;;;161:18:1;;;;106913:58:0;;;;;;;;-1:-1:-1;;;;;106913:58:0;-1:-1:-1;;;106913:58:0;;;106886:86;;106906:5;;106886:19;:86::i;57024:1275::-;57091:7;57126;57228:13;;57221:4;:20;57217:1015;;;57266:14;57283:23;;;:17;:23;;;;;;;-1:-1:-1;;;57372:24:0;;:29;;57368:845;;58037:113;58044:6;58054:1;58044:11;58037:113;;-1:-1:-1;;;58115:6:0;58097:25;;;;:17;:25;;;;;;58037:113;;57368:845;57243:989;57217:1015;58260:31;;-1:-1:-1;;;58260:31:0;;;;;;;;;;;34649:293;34051:1;34783:7;;:19;34775:63;;;;-1:-1:-1;;;34775:63:0;;23418:2:1;34775:63:0;;;23400:21:1;23457:2;23437:18;;;23430:30;23496:33;23476:18;;;23469:61;23547:18;;34775:63:0;23216:355:1;34775:63:0;34051:1;34916:7;:18;34649:293::o;71987:2966::-;72060:20;72083:13;;;72111;;;72107:44;;72133:18;;-1:-1:-1;;;72133:18:0;;;;;;;;;;;72107:44;-1:-1:-1;;;;;72639:22:0;;;;;;:18;:22;;;;45708:2;72639:22;;;:71;;72677:32;72665:45;;72639:71;;;72953:31;;;:17;:31;;;;;-1:-1:-1;59689:15:0;;59663:24;59659:46;59258:11;59233:23;59229:41;59226:52;59216:63;;72953:173;;73188:23;;;;72953:31;;72639:22;;-1:-1:-1;;;;;;;;;;;72639:22:0;;73806:335;74467:1;74453:12;74449:20;74407:346;74508:3;74499:7;74496:16;74407:346;;74726:7;74716:8;74713:1;-1:-1:-1;;;;;;;;;;;74683:1:0;74680;74675:59;74561:1;74548:15;74407:346;;;74411:77;74786:8;74798:1;74786:13;74782:45;;74808:19;;-1:-1:-1;;;74808:19:0;;;;;;;;;;;74782:45;74844:13;:19;-1:-1:-1;129863:190:0;;;:::o;122669:191::-;122762:6;;;-1:-1:-1;;;;;122779:17:0;;;-1:-1:-1;;;;;;122779:17:0;;;;;;;122812:40;;122762:6;;;122779:17;122762:6;;122812:40;;122743:16;;122812:40;122732:128;122669:191;:::o;61525:234::-;111318:10;61620:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;61620:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;61620:60:0;;;;;;;;;;61696:55;;819:41:1;;;61620:49:0;;111318:10;61696:55;;792:18:1;61696:55:0;;;;;;;61525:234;;:::o;119247:248::-;119457:12;;-1:-1:-1;;;;;119437:16:0;;119393:7;119437:16;;;:7;:16;;;;;;119393:7;;119472:15;;119421:32;;:13;:32;:::i;:::-;119420:49;;;;:::i;:::-;:67;;;;:::i;126498:557::-;126613:11;;126604:40;;-1:-1:-1;;;126604:40:0;;5805:6:1;5793:19;;126604:40:0;;;5775:38:1;-1:-1:-1;;;;;126613:11:0;;;;126604:29;;5748:18:1;;126604:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;126590:54:0;:10;-1:-1:-1;;;;;126590:54:0;;126582:76;;;;-1:-1:-1;;;126582:76:0;;24583:2:1;126582:76:0;;;24565:21:1;24622:1;24602:18;;;24595:29;-1:-1:-1;;;24640:18:1;;;24633:39;24689:18;;126582:76:0;24381:332:1;126582:76:0;126678:24;;;;;;;:13;:24;;;;;;;;126677:25;126669:52;;;;-1:-1:-1;;;126669:52:0;;24920:2:1;126669:52:0;;;24902:21:1;24959:2;24939:18;;;24932:30;-1:-1:-1;;;24978:18:1;;;24971:44;25032:18;;126669:52:0;24718:338:1;126669:52:0;126734:14;50894:13;;126786:24;;;;;;;;:13;:24;;;;;;;:31;;-1:-1:-1;;126786:31:0;126813:4;126786:31;;;126843:13;;126830:70;;-1:-1:-1;;;126830:70:0;;25252:19:1;;;126830:70:0;;;25234:38:1;126889:10:0;25288:18:1;;;25281:60;126734:39:0;;-1:-1:-1;;;;;;126843:13:0;;;;126830:42;;25207:18:1;;126830:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;126911:20:0;;;;;;;;:11;:20;;;;;:37;;-1:-1:-1;;126911:37:0;;;;;;;;;;126961:20;126967:10;-1:-1:-1;126961:5:0;:20::i;:::-;126999:48;;;25559:6:1;25592:15;;;25574:34;;25644:15;;;25639:2;25624:18;;25617:43;25696:15;;25676:18;;;25669:43;126999:48:0;;;;;;;25537:2:1;126999:48:0;;;126571:484;126498:557;;:::o;79175:3081::-;79255:27;79285;79304:7;79285:18;:27::i;:::-;79255:57;-1:-1:-1;79255:57:0;79325:12;;79447:35;79474:7;63603:27;63714:24;;;:15;:24;;;;;63942:26;;63714:24;;63501:485;79447:35;79390:92;;;;79499:13;79495:316;;;79620:68;79645:15;79662:4;111318:10;79668:19;111238:98;79620:68;79615:184;;79712:43;79729:4;111318:10;61916:164;:::i;79712:43::-;79707:92;;79764:35;;-1:-1:-1;;;79764:35:0;;;;;;;;;;;79707:92;79967:15;79964:160;;;80107:1;80086:19;80079:30;79964:160;-1:-1:-1;;;;;80726:24:0;;;;;;:18;:24;;;;;:60;;80754:32;80726:60;;;59258:11;59233:23;59229:41;59216:63;-1:-1:-1;;;59216:63:0;81024:26;;;;:17;:26;;;;;:205;;;;-1:-1:-1;;;81349:47:0;;:52;;81345:627;;81454:1;81444:11;;81422:19;81577:30;;;:17;:30;;;;;;:35;;81573:384;;81715:13;;81700:11;:28;81696:242;;81862:30;;;;:17;:30;;;;;:52;;;81696:242;81403:569;81345:627;82000:35;;82027:7;;82023:1;;-1:-1:-1;;;;;82000:35:0;;;-1:-1:-1;;;;;;;;;;;82000:35:0;82023:1;;82000:35;-1:-1:-1;;82223:12:0;:14;;;;;;-1:-1:-1;;;;79175:3081:0:o;68318:407::-;68493:31;68506:4;68512:2;68516:7;68493:12;:31::i;:::-;-1:-1:-1;;;;;68539:14:0;;;:19;68535:183;;68578:56;68609:4;68615:2;68619:7;68628:5;68578:30;:56::i;:::-;68573:145;;68662:40;;-1:-1:-1;;;68662:40:0;;;;;;;;;;;130859:109;130918:13;130951:9;130944:16;;;;;:::i;84853:1745::-;84918:17;85352:4;85345;85339:11;85335:22;85444:1;85438:4;85431:15;85519:4;85516:1;85512:12;85505:19;;;85601:1;85596:3;85589:14;85705:3;85944:5;85926:428;85992:1;85987:3;85983:11;85976:18;;86163:2;86157:4;86153:13;86149:2;86145:22;86140:3;86132:36;86257:2;86247:13;;86314:25;85926:428;86314:25;-1:-1:-1;86384:13:0;;;-1:-1:-1;;86499:14:0;;;86561:19;;;86499:14;84853:1745;-1:-1:-1;84853:1745:0:o;129337:211::-;129443:4;129478:62;129492:35;129521:5;96962:58;;27124:66:1;96962:58:0;;;27112:79:1;27207:12;;;27200:28;;;96829:7:0;;27244:12:1;;96962:58:0;;;;;;;;;;;;96952:69;;;;;;96945:76;;96760:269;;;;129492:35;129529:10;129478:13;:62::i;:::-;-1:-1:-1;;;;;129467:73:0;:7;-1:-1:-1;;;;;129467:73:0;;129460:80;;129337:211;;;;;:::o;109836:716::-;110260:23;110286:69;110314:4;110286:69;;;;;;;;;;;;;;;;;110294:5;-1:-1:-1;;;;;110286:27:0;;;:69;;;;;:::i;:::-;110370:17;;110260:95;;-1:-1:-1;110370:21:0;110366:179;;110467:10;110456:30;;;;;;;;;;;;:::i;:::-;110448:85;;;;-1:-1:-1;;;110448:85:0;;25925:2:1;110448:85:0;;;25907:21:1;25964:2;25944:18;;;25937:30;26003:34;25983:18;;;25976:62;-1:-1:-1;;;26054:18:1;;;26047:40;26104:19;;110448:85:0;25723:406:1;70809:716:0;70993:88;;-1:-1:-1;;;70993:88:0;;70972:4;;-1:-1:-1;;;;;70993:45:0;;;;;:88;;111318:10;;71060:4;;71066:7;;71075:5;;70993:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70993:88:0;;;;;;;;-1:-1:-1;;70993:88:0;;;;;;;;;;;;:::i;:::-;;;70989:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71276:6;:13;71293:1;71276:18;71272:235;;71322:40;;-1:-1:-1;;;71322:40:0;;;;;;;;;;;71272:235;71465:6;71459:13;71450:6;71446:2;71442:15;71435:38;70989:529;-1:-1:-1;;;;;;71152:64:0;-1:-1:-1;;;71152:64:0;;-1:-1:-1;70809:716:0;;;;;;:::o;92958:231::-;93036:7;93057:17;93076:18;93098:27;93109:4;93115:9;93098:10;:27::i;:::-;93056:69;;;;93136:18;93148:5;93136:11;:18::i;:::-;-1:-1:-1;93172:9:0;92958:231;-1:-1:-1;;;92958:231:0:o;24421:229::-;24558:12;24590:52;24612:6;24620:4;24626:1;24629:12;24590:21;:52::i;91409:747::-;91490:7;91499:12;91528:9;:16;91548:2;91528:22;91524:625;;91872:4;91857:20;;91851:27;91922:4;91907:20;;91901:27;91980:4;91965:20;;91959:27;91567:9;91951:36;92023:25;92034:4;91951:36;91851:27;91901;92023:10;:25::i;:::-;92016:32;;;;;;;;;91524:625;-1:-1:-1;92097:1:0;;-1:-1:-1;92101:35:0;91524:625;91409:747;;;;;:::o;89680:643::-;89758:20;89749:5;:29;;;;;;;;:::i;:::-;;89745:571;;89680:643;:::o;89745:571::-;89856:29;89847:5;:38;;;;;;;;:::i;:::-;;89843:473;;89902:34;;-1:-1:-1;;;89902:34:0;;27469:2:1;89902:34:0;;;27451:21:1;27508:2;27488:18;;;27481:30;27547:26;27527:18;;;27520:54;27591:18;;89902:34:0;27267:348:1;89843:473:0;89967:35;89958:5;:44;;;;;;;;:::i;:::-;;89954:362;;90019:41;;-1:-1:-1;;;90019:41:0;;27822:2:1;90019:41:0;;;27804:21:1;27861:2;27841:18;;;27834:30;27900:33;27880:18;;;27873:61;27951:18;;90019:41:0;27620:355:1;89954:362:0;90091:30;90082:5;:39;;;;;;;;:::i;:::-;;90078:238;;90138:44;;-1:-1:-1;;;90138:44:0;;28182:2:1;90138:44:0;;;28164:21:1;28221:2;28201:18;;;28194:30;28260:34;28240:18;;;28233:62;-1:-1:-1;;;28311:18:1;;;28304:32;28353:19;;90138:44:0;27980:398:1;90078:238:0;90213:30;90204:5;:39;;;;;;;;:::i;:::-;;90200:116;;90260:44;;-1:-1:-1;;;90260:44:0;;28585:2:1;90260:44:0;;;28567:21:1;28624:2;28604:18;;;28597:30;28663:34;28643:18;;;28636:62;-1:-1:-1;;;28714:18:1;;;28707:32;28756:19;;90260:44:0;28383:398:1;25541:455:0;25711:12;25769:5;25744:21;:30;;25736:81;;;;-1:-1:-1;;;25736:81:0;;28988:2:1;25736:81:0;;;28970:21:1;29027:2;29007:18;;;29000:30;29066:34;29046:18;;;29039:62;-1:-1:-1;;;29117:18:1;;;29110:36;29163:19;;25736:81:0;28786:402:1;25736:81:0;25829:12;25843:23;25870:6;-1:-1:-1;;;;;25870:11:0;25889:5;25896:4;25870:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25828:73;;;;25919:69;25946:6;25954:7;25963:10;25975:12;25919:26;:69::i;:::-;25912:76;25541:455;-1:-1:-1;;;;;;;25541:455:0:o;94410:1632::-;94541:7;;95475:66;95462:79;;95458:163;;;-1:-1:-1;95574:1:0;;-1:-1:-1;95578:30:0;95558:51;;95458:163;95635:1;:7;;95640:2;95635:7;;:18;;;;;95646:1;:7;;95651:2;95646:7;;95635:18;95631:102;;;-1:-1:-1;95686:1:0;;-1:-1:-1;95690:30:0;95670:51;;95631:102;95847:24;;;95830:14;95847:24;;;;;;;;;29712:25:1;;;29785:4;29773:17;;29753:18;;;29746:45;;;;29807:18;;;29800:34;;;29850:18;;;29843:34;;;95847:24:0;;29684:19:1;;95847:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;95847:24:0;;-1:-1:-1;;95847:24:0;;;-1:-1:-1;;;;;;;95886:20:0;;95882:103;;95939:1;95943:29;95923:50;;;;;;;95882:103;96005:6;-1:-1:-1;96013:20:0;;-1:-1:-1;94410:1632:0;;;;;;;;:::o;28114:644::-;28299:12;28328:7;28324:427;;;28356:10;:17;28377:1;28356:22;28352:290;;-1:-1:-1;;;;;21959:19:0;;;28566:60;;;;-1:-1:-1;;;28566:60:0;;30090:2:1;28566:60:0;;;30072:21:1;30129:2;30109:18;;;30102:30;30168:31;30148:18;;;30141:59;30217:18;;28566:60:0;29888:353:1;28566:60:0;-1:-1:-1;28663:10:0;28656:17;;28324:427;28706:33;28714:10;28726:12;29461:17;;:21;29457:388;;29693:10;29687:17;29750:15;29737:10;29733:2;29729:19;29722:44;29457:388;29820:12;29813:20;;-1:-1:-1;;;29813: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;1079:250::-;1164:1;1174:113;1188:6;1185:1;1182:13;1174:113;;;1264:11;;;1258:18;1245:11;;;1238:39;1210:2;1203:10;1174:113;;;-1:-1:-1;;1321:1:1;1303:16;;1296:27;1079:250::o;1334:271::-;1376:3;1414:5;1408:12;1441:6;1436:3;1429:19;1457:76;1526:6;1519:4;1514:3;1510:14;1503:4;1496:5;1492:16;1457:76;:::i;:::-;1587:2;1566:15;-1:-1:-1;;1562:29:1;1553:39;;;;1594:4;1549:50;;1334:271;-1:-1:-1;;1334:271:1:o;1610:220::-;1759:2;1748:9;1741:21;1722:4;1779:45;1820:2;1809:9;1805:18;1797:6;1779:45;:::i;1835:180::-;1894:6;1947:2;1935:9;1926:7;1922:23;1918:32;1915:52;;;1963:1;1960;1953:12;1915:52;-1:-1:-1;1986:23:1;;1835:180;-1:-1:-1;1835:180:1:o;2020:131::-;-1:-1:-1;;;;;2095:31:1;;2085:42;;2075:70;;2141:1;2138;2131:12;2156:315;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;2461:2;2446:18;;;;2433:32;;-1:-1:-1;;;2156:315:1:o;2658:255::-;2725:6;2778:2;2766:9;2757:7;2753:23;2749:32;2746:52;;;2794:1;2791;2784:12;2746:52;2833:9;2820:23;2852:31;2877:5;2852:31;:::i;2918:456::-;2995:6;3003;3011;3064:2;3052:9;3043:7;3039:23;3035:32;3032:52;;;3080:1;3077;3070:12;3032:52;3119:9;3106:23;3138:31;3163:5;3138:31;:::i;:::-;3188:5;-1:-1:-1;3245:2:1;3230:18;;3217:32;3258:33;3217:32;3258:33;:::i;:::-;2918:456;;3310:7;;-1:-1:-1;;;3364:2:1;3349:18;;;;3336:32;;2918:456::o;3379:403::-;3462:6;3470;3523:2;3511:9;3502:7;3498:23;3494:32;3491:52;;;3539:1;3536;3529:12;3491:52;3578:9;3565:23;3597:31;3622:5;3597:31;:::i;:::-;3647:5;-1:-1:-1;3704:2:1;3689:18;;3676:32;3717:33;3676:32;3717:33;:::i;:::-;3769:7;3759:17;;;3379:403;;;;;:::o;3787:149::-;3861:20;;3910:1;3900:12;;3890:40;;3926:1;3923;3916:12;3890:40;3787:149;;;:::o;3941:118::-;4027:5;4020:13;4013:21;4006:5;4003:32;3993:60;;4049:1;4046;4039:12;4064:334;4142:6;4150;4203:2;4191:9;4182:7;4178:23;4174:32;4171:52;;;4219:1;4216;4209:12;4171:52;4242:35;4267:9;4242:35;:::i;:::-;4232:45;;4327:2;4316:9;4312:18;4299:32;4340:28;4362:5;4340:28;:::i;4403:273::-;4484:6;4492;4545:2;4533:9;4524:7;4520:23;4516:32;4513:52;;;4561:1;4558;4551:12;4513:52;4584:35;4609:9;4584:35;:::i;4933:340::-;5014:6;5022;5075:2;5063:9;5054:7;5050:23;5046:32;5043:52;;;5091:1;5088;5081:12;5043:52;5114:35;5139:9;5114:35;:::i;5278:159::-;5345:20;;5405:6;5394:18;;5384:29;;5374:57;;5427:1;5424;5417:12;5442:184;5500:6;5553:2;5541:9;5532:7;5528:23;5524:32;5521:52;;;5569:1;5566;5559:12;5521:52;5592:28;5610:9;5592:28;:::i;5824:256::-;5890:6;5898;5951:2;5939:9;5930:7;5926:23;5922:32;5919:52;;;5967:1;5964;5957:12;5919:52;5990:28;6008:9;5990:28;:::i;:::-;5980:38;;6037:37;6070:2;6059:9;6055:18;6037:37;:::i;:::-;6027:47;;5824:256;;;;;:::o;6085:382::-;6150:6;6158;6211:2;6199:9;6190:7;6186:23;6182:32;6179:52;;;6227:1;6224;6217:12;6179:52;6266:9;6253:23;6285:31;6310:5;6285:31;:::i;6472:127::-;6533:10;6528:3;6524:20;6521:1;6514:31;6564:4;6561:1;6554:15;6588:4;6585:1;6578:15;6604:275;6675:2;6669:9;6740:2;6721:13;;-1:-1:-1;;6717:27:1;6705:40;;6775:18;6760:34;;6796:22;;;6757:62;6754:88;;;6822:18;;:::i;:::-;6858:2;6851:22;6604:275;;-1:-1:-1;6604:275:1:o;6884:407::-;6949:5;6983:18;6975:6;6972:30;6969:56;;;7005:18;;:::i;:::-;7043:57;7088:2;7067:15;;-1:-1:-1;;7063:29:1;7094:4;7059:40;7043:57;:::i;:::-;7034:66;;7123:6;7116:5;7109:21;7163:3;7154:6;7149:3;7145:16;7142:25;7139:45;;;7180:1;7177;7170:12;7139:45;7229:6;7224:3;7217:4;7210:5;7206:16;7193:43;7283:1;7276:4;7267:6;7260:5;7256:18;7252:29;7245:40;6884:407;;;;;:::o;7296:451::-;7365:6;7418:2;7406:9;7397:7;7393:23;7389:32;7386:52;;;7434:1;7431;7424:12;7386:52;7474:9;7461:23;7507:18;7499:6;7496:30;7493:50;;;7539:1;7536;7529:12;7493:50;7562:22;;7615:4;7607:13;;7603:27;-1:-1:-1;7593:55:1;;7644:1;7641;7634:12;7593:55;7667:74;7733:7;7728:2;7715:16;7710:2;7706;7702:11;7667:74;:::i;7991:946::-;8075:6;8106:2;8149;8137:9;8128:7;8124:23;8120:32;8117:52;;;8165:1;8162;8155:12;8117:52;8205:9;8192:23;8234:18;8275:2;8267:6;8264:14;8261:34;;;8291:1;8288;8281:12;8261:34;8329:6;8318:9;8314:22;8304:32;;8374:7;8367:4;8363:2;8359:13;8355:27;8345:55;;8396:1;8393;8386:12;8345:55;8432:2;8419:16;8454:2;8450;8447:10;8444:36;;;8460:18;;:::i;:::-;8506:2;8503:1;8499:10;8489:20;;8529:28;8553:2;8549;8545:11;8529:28;:::i;:::-;8591:15;;;8661:11;;;8657:20;;;8622:12;;;;8689:19;;;8686:39;;;8721:1;8718;8711:12;8686:39;8745:11;;;;8765:142;8781:6;8776:3;8773:15;8765:142;;;8847:17;;8835:30;;8798:12;;;;8885;;;;8765:142;;;8926:5;7991:946;-1:-1:-1;;;;;;;;7991:946:1:o;8942:795::-;9037:6;9045;9053;9061;9114:3;9102:9;9093:7;9089:23;9085:33;9082:53;;;9131:1;9128;9121:12;9082:53;9170:9;9157:23;9189:31;9214:5;9189:31;:::i;:::-;9239:5;-1:-1:-1;9296:2:1;9281:18;;9268:32;9309:33;9268:32;9309:33;:::i;:::-;9361:7;-1:-1:-1;9415:2:1;9400:18;;9387:32;;-1:-1:-1;9470:2:1;9455:18;;9442:32;9497:18;9486:30;;9483:50;;;9529:1;9526;9519:12;9483:50;9552:22;;9605:4;9597:13;;9593:27;-1:-1:-1;9583:55:1;;9634:1;9631;9624:12;9583:55;9657:74;9723:7;9718:2;9705:16;9700:2;9696;9692:11;9657:74;:::i;:::-;9647:84;;;8942:795;;;;;;;:::o;9742:1024::-;9858:6;9866;9874;9882;9890;9898;9951:3;9939:9;9930:7;9926:23;9922:33;9919:53;;;9968:1;9965;9958:12;9919:53;10007:9;9994:23;10026:31;10051:5;10026:31;:::i;:::-;10076:5;-1:-1:-1;10132:2:1;10117:18;;10104:32;10155:18;10185:14;;;10182:34;;;10212:1;10209;10202:12;10182:34;10250:6;10239:9;10235:22;10225:32;;10295:7;10288:4;10284:2;10280:13;10276:27;10266:55;;10317:1;10314;10307:12;10266:55;10357:2;10344:16;10383:2;10375:6;10372:14;10369:34;;;10399:1;10396;10389:12;10369:34;10444:7;10439:2;10430:6;10426:2;10422:15;10418:24;10415:37;10412:57;;;10465:1;10462;10455:12;10412:57;10496:2;10492;10488:11;10478:21;;10518:6;10508:16;;;;;10571:2;10560:9;10556:18;10543:32;10533:42;;10627:2;10616:9;10612:18;10599:32;10640:30;10662:7;10640:30;:::i;:::-;10689:7;-1:-1:-1;10715:45:1;10755:3;10740:19;;10715:45;:::i;:::-;10705:55;;9742:1024;;;;;;;;:::o;11431:380::-;11510:1;11506:12;;;;11553;;;11574:61;;11628:4;11620:6;11616:17;11606:27;;11574:61;11681:2;11673:6;11670:14;11650:18;11647:38;11644:161;;11727:10;11722:3;11718:20;11715:1;11708:31;11762:4;11759:1;11752:15;11790:4;11787:1;11780:15;11644:161;;11431:380;;;:::o;11816:402::-;12018:2;12000:21;;;12057:2;12037:18;;;12030:30;12096:34;12091:2;12076:18;;12069:62;-1:-1:-1;;;12162:2:1;12147:18;;12140:36;12208:3;12193:19;;11816:402::o;12223:407::-;12425:2;12407:21;;;12464:2;12444:18;;;12437:30;12503:34;12498:2;12483:18;;12476:62;-1:-1:-1;;;12569:2:1;12554:18;;12547:41;12620:3;12605:19;;12223:407::o;12635:127::-;12696:10;12691:3;12687:20;12684:1;12677:31;12727:4;12724:1;12717:15;12751:4;12748:1;12741:15;12767:125;12832:9;;;12853:10;;;12850:36;;;12866:18;;:::i;13184:127::-;13245:10;13240:3;13236:20;13233:1;13226:31;13276:4;13273:1;13266:15;13300:4;13297:1;13290:15;13316:334;13518:2;13500:21;;;13557:2;13537:18;;;13530:30;-1:-1:-1;;;13591:2:1;13576:18;;13569:40;13641:2;13626:18;;13316:334::o;13908:127::-;13969:10;13964:3;13960:20;13957:1;13950:31;14000:4;13997:1;13990:15;14024:4;14021:1;14014:15;14040:331;14242:2;14224:21;;;14281:1;14261:18;;;14254:29;-1:-1:-1;;;14314:2:1;14299:18;;14292:38;14362:2;14347:18;;14040:331::o;15153:545::-;15255:2;15250:3;15247:11;15244:448;;;15291:1;15316:5;15312:2;15305:17;15361:4;15357:2;15347:19;15431:2;15419:10;15415:19;15412:1;15408:27;15402:4;15398:38;15467:4;15455:10;15452:20;15449:47;;;-1:-1:-1;15490:4:1;15449:47;15545:2;15540:3;15536:12;15533:1;15529:20;15523:4;15519:31;15509:41;;15600:82;15618:2;15611:5;15608:13;15600:82;;;15663:17;;;15644:1;15633:13;15600:82;;15874:1352;16000:3;15994:10;16027:18;16019:6;16016:30;16013:56;;;16049:18;;:::i;:::-;16078:97;16168:6;16128:38;16160:4;16154:11;16128:38;:::i;:::-;16122:4;16078:97;:::i;:::-;16230:4;;16294:2;16283:14;;16311:1;16306:663;;;;17013:1;17030:6;17027:89;;;-1:-1:-1;17082:19:1;;;17076:26;17027:89;-1:-1:-1;;15831:1:1;15827:11;;;15823:24;15819:29;15809:40;15855:1;15851:11;;;15806:57;17129:81;;16276:944;;16306:663;15100:1;15093:14;;;15137:4;15124:18;;-1:-1:-1;;16342:20:1;;;16460:236;16474:7;16471:1;16468:14;16460:236;;;16563:19;;;16557:26;16542:42;;16655:27;;;;16623:1;16611:14;;;;16490:19;;16460:236;;;16464:3;16724:6;16715:7;16712:19;16709:201;;;16785:19;;;16779:26;-1:-1:-1;;16868:1:1;16864:14;;;16880:3;16860:24;16856:37;16852:42;16837:58;16822:74;;16709:201;-1:-1:-1;;;;;16956:1:1;16940:14;;;16936:22;16923:36;;-1:-1:-1;15874:1352:1:o;17231:135::-;17270:3;17291:17;;;17288:43;;17311:18;;:::i;:::-;-1:-1:-1;17358:1:1;17347:13;;17231:135::o;17371:184::-;17441:6;17494:2;17482:9;17473:7;17469:23;17465:32;17462:52;;;17510:1;17507;17500:12;17462:52;-1:-1:-1;17533:16:1;;17371:184;-1:-1:-1;17371:184:1:o;17560:496::-;17739:3;17777:6;17771:13;17793:66;17852:6;17847:3;17840:4;17832:6;17828:17;17793:66;:::i;:::-;17922:13;;17881:16;;;;17944:70;17922:13;17881:16;17991:4;17979:17;;17944:70;:::i;:::-;18030:20;;17560:496;-1:-1:-1;;;;17560:496:1:o;18759:168::-;18832:9;;;18863;;18880:15;;;18874:22;;18860:37;18850:71;;18901:18;;:::i;21820:245::-;21887:6;21940:2;21928:9;21919:7;21915:23;21911:32;21908:52;;;21956:1;21953;21946:12;21908:52;21988:9;21982:16;22007:28;22029:5;22007:28;:::i;23576:217::-;23616:1;23642;23632:132;;23686:10;23681:3;23677:20;23674:1;23667:31;23721:4;23718:1;23711:15;23749:4;23746:1;23739:15;23632:132;-1:-1:-1;23778:9:1;;23576:217::o;23798:128::-;23865:9;;;23886:11;;;23883:37;;;23900:18;;:::i;24125:251::-;24195:6;24248:2;24236:9;24227:7;24223:23;24219:32;24216:52;;;24264:1;24261;24254:12;24216:52;24296:9;24290:16;24315:31;24340:5;24315:31;:::i;26134:489::-;-1:-1:-1;;;;;26403:15:1;;;26385:34;;26455:15;;26450:2;26435:18;;26428:43;26502:2;26487:18;;26480:34;;;26550:3;26545:2;26530:18;;26523:31;;;26328:4;;26571:46;;26597:19;;26589:6;26571:46;:::i;:::-;26563:54;26134:489;-1:-1:-1;;;;;;26134:489:1:o;26628:249::-;26697:6;26750:2;26738:9;26729:7;26725:23;26721:32;26718:52;;;26766:1;26763;26756:12;26718:52;26798:9;26792:16;26817:30;26841:5;26817:30;:::i;29193:287::-;29322:3;29360:6;29354:13;29376:66;29435:6;29430:3;29423:4;29415:6;29411:17;29376:66;:::i;:::-;29458:16;;;;;29193:287;-1:-1:-1;;29193:287:1:o
Swarm Source
ipfs://dac32bd4bc566052b444de0f9b7072e5e4e506bac5b608bab1271e6bb9f4abd1
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.