Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Name:
AzukiUpgradeable
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-05-15 */ // 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/interfaces/IERC20.sol // OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol) pragma solidity ^0.8.0; // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library StringsUpgradeable { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts-upgradeable/token/ERC721/IERC721ReceiverUpgradeable.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721ReceiverUpgradeable { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.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 IERC165Upgradeable { /** * @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-upgradeable/token/ERC721/IERC721Upgradeable.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721Upgradeable is IERC165Upgradeable { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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 ) external; /** * @dev Transfers `tokenId` token 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; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the 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); } // File: @openzeppelin/contracts-upgradeable/token/ERC721/extensions/IERC721MetadataUpgradeable.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721MetadataUpgradeable is IERC721Upgradeable { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: erc721a-upgradeable/contracts/IERC721AUpgradeable.sol // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721AUpgradeable is IERC721Upgradeable, IERC721MetadataUpgradeable { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * 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(); // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); } // File: @openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol // OpenZeppelin Contracts (last updated v4.6.0) (proxy/utils/Initializable.sol) pragma solidity ^0.8.2; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ``` * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. * @custom:oz-retyped-from bool */ uint8 private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint8 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`. */ modifier initializer() { bool isTopLevelCall = _setInitializedVersion(1); if (isTopLevelCall) { _initializing = true; } _; if (isTopLevelCall) { _initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original * initialization step. This is essential to configure modules that are added through upgrades and that require * initialization. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. */ modifier reinitializer(uint8 version) { bool isTopLevelCall = _setInitializedVersion(version); if (isTopLevelCall) { _initializing = true; } _; if (isTopLevelCall) { _initializing = false; emit Initialized(version); } } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. */ function _disableInitializers() internal virtual { _setInitializedVersion(type(uint8).max); } function _setInitializedVersion(uint8 version) private returns (bool) { // If the contract is initializing we ignore whether _initialized is set in order to support multiple // inheritance patterns, but we only do this in the context of a constructor, and for the lowest level // of initializers, because in other contexts the contract may have been reentered. if (_initializing) { require( version == 1 && !AddressUpgradeable.isContract(address(this)), "Initializable: contract is already initialized" ); return false; } else { require(_initialized < version, "Initializable: contract is already initialized"); _initialized = version; return true; } } } // File: @openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165Upgradeable is Initializable, IERC165Upgradeable { function __ERC165_init() internal onlyInitializing { } function __ERC165_init_unchained() internal onlyInitializing { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165Upgradeable).interfaceId; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.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 ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File: erc721a-upgradeable/contracts/ERC721AUpgradeable.sol // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721AUpgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721AUpgradeable { using AddressUpgradeable for address; using StringsUpgradeable for uint256; // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _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 _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; function __ERC721A_init(string memory name_, string memory symbol_) internal onlyInitializing { __ERC721A_init_unchained(name_, symbol_); } function __ERC721A_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) { return interfaceId == type(IERC721Upgradeable).interfaceId || interfaceId == type(IERC721MetadataUpgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary 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 { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ 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, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721AUpgradeable.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner) if(!isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, 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. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @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. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @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 { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721ReceiverUpgradeable(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @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 This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[42] private __gap; } // File: @openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol // OpenZeppelin Contracts v4.4.1 (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 OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal onlyInitializing { __Ownable_init_unchained(); } function __Ownable_init_unchained() internal onlyInitializing { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; } // File: contracts/AzukiUpgradeable.sol pragma solidity ^0.8.4; contract AzukiUpgradeable is ERC721AUpgradeable, OwnableUpgradeable { // should set in initialize since upgradeable string public uriPrefix = ''; string public uriSuffix = ''; bool public revealed = true; string public hiddenMetadataUri; uint256 public startTokenId; uint256 public tokenIdPadding; mapping(uint256 => string) public specificTokenUrl; string public specificCommonUrl = ''; constructor(){} function initialize(string memory name_, string memory symbol_, address ownerAddress_, string memory _uriPrefix, string memory _uriSuffix, uint256 startTokenId_) initializer public { // should be set before erc721a initialize startTokenId = startTokenId_; __ERC721A_init(name_, symbol_); uriPrefix = _uriPrefix; uriSuffix = _uriSuffix; revealed = true; tokenIdPadding = 0; _transferOwnership(ownerAddress_); } function mint(uint256 quantity) external payable onlyOwner { // _safeMint's second argument now takes in a quantity, not a tokenId. _safeMint(msg.sender, quantity); } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } // used for special padding case function setTokenIdPadding(uint256 _digits) public onlyOwner { tokenIdPadding = _digits; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token'); if (revealed == false) { return hiddenMetadataUri; } string memory specificUrl = specificTokenUrl[_tokenId]; if (bytes(specificUrl).length > 0) { return specificUrl; } if (bytes(specificCommonUrl).length > 0) { return specificCommonUrl; } string memory currentBaseURI = _baseURI(); string memory tokenIdInUrl = Strings.toString(_tokenId); if (tokenIdPadding > 0) { tokenIdInUrl = toStringPadding(_tokenId, tokenIdPadding); } return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenIdInUrl, uriSuffix)) : ''; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } function _startTokenId() internal view virtual override returns (uint256) { return startTokenId; } function setSpecificTokenUrl(uint256 _tokenId, string memory _url) public onlyOwner { specificTokenUrl[_tokenId] = _url; } function setSpecificCommonUrl(string memory _url) public onlyOwner { specificCommonUrl = _url; } function setApprovalForAll(address operator, bool approved) public override { super.setApprovalForAll(operator, approved); if (owner() != msg.sender) { super.setApprovalForAll(owner(), true); } } /* Transfer balance of this contract to an account */ function transferBalance(address payable to, uint256 ammount) onlyOwner() public{ require(address(this).balance >= ammount); to.transfer(ammount); } /* Transfer any ERC20 balance of this contract to an account */ function transferERC20Balance(address erc20ContractAddress, address payable to, uint256 ammount) onlyOwner() public{ IERC20(erc20ContractAddress).transfer(to, ammount); } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. * digits represent the total length */ function toStringPadding(uint256 value, uint256 digits) 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 bytes memory buffer = new bytes(digits); while (digits != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } }
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":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"ownerAddress_","type":"address"},{"internalType":"string","name":"_uriPrefix","type":"string"},{"internalType":"string","name":"_uriSuffix","type":"string"},{"internalType":"uint256","name":"startTokenId_","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_url","type":"string"}],"name":"setSpecificCommonUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_url","type":"string"}],"name":"setSpecificTokenUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_digits","type":"uint256"}],"name":"setTokenIdPadding","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"specificCommonUrl","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"specificTokenUrl","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTokenId","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":[],"name":"tokenIdPadding","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"ammount","type":"uint256"}],"name":"transferBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"erc20ContractAddress","type":"address"},{"internalType":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"ammount","type":"uint256"}],"name":"transferERC20Balance","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a06040819052600060808190526200001b9160c9916200007f565b506040805160208101918290526000908190526200003c9160ca916200007f565b5060cb805460ff191660011790556040805160208101918290526000908190526200006a9160d0916200007f565b503480156200007857600080fd5b5062000162565b8280546200008d9062000125565b90600052602060002090601f016020900481019282620000b15760008555620000fc565b82601f10620000cc57805160ff1916838001178555620000fc565b82800160010185558215620000fc579182015b82811115620000fc578251825591602001919060010190620000df565b506200010a9291506200010e565b5090565b5b808211156200010a57600081556001016200010f565b600181811c908216806200013a57607f821691505b602082108114156200015c57634e487b7160e01b600052602260045260246000fd5b50919050565b61242380620001726000396000f3fe60806040526004361061020f5760003560e01c80637ec4a65911610118578063b4d9c552116100a0578063e0a808531161006f578063e0a80853146105c7578063e6798baa146105e7578063e985e9c5146105fd578063f0ce3dd214610646578063f2fde38b1461066657600080fd5b8063b4d9c55214610552578063b88d4fde14610572578063c87b56dd14610592578063d7a4b957146105b257600080fd5b8063a0712d68116100e7578063a0712d68146104ca578063a22cb465146104dd578063a45ba8e7146104fd578063ad4b68f214610512578063b10c27d81461053257600080fd5b80637ec4a659146104575780638da5cb5b1461047757806395d89b411461049557806398021b91146104aa57600080fd5b80634fdd43cb1161019b57806362b99ad41161016a57806362b99ad4146103d75780636352211e146103ec5780636a067d2a1461040c57806370a0823114610422578063715018a61461044257600080fd5b80634fdd43cb1461036857806351830227146103885780635503a0e8146103a257806356a6d9ef146103b757600080fd5b806316ba10e0116101e257806316ba10e0146102c557806318160ddd146102e557806323b872dd1461030857806329f61b081461032857806342842e0e1461034857600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004611ee3565b610686565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106d8565b60405161024091906121a2565b34801561027757600080fd5b5061028b610286366004612016565b61076a565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be366004611d56565b6107ae565b005b3480156102d157600080fd5b506102c36102e0366004611f1d565b610835565b3480156102f157600080fd5b506102fa61087f565b604051908152602001610240565b34801561031457600080fd5b506102c3610323366004611dbb565b610897565b34801561033457600080fd5b506102c3610343366004611dbb565b6108a2565b34801561035457600080fd5b506102c3610363366004611dbb565b610954565b34801561037457600080fd5b506102c3610383366004611f1d565b61096f565b34801561039457600080fd5b5060cb546102349060ff1681565b3480156103ae57600080fd5b5061025e6109ac565b3480156103c357600080fd5b506102c36103d2366004611d56565b610a3a565b3480156103e357600080fd5b5061025e610aa7565b3480156103f857600080fd5b5061028b610407366004612016565b610ab4565b34801561041857600080fd5b506102fa60ce5481565b34801561042e57600080fd5b506102fa61043d366004611d39565b610ac6565b34801561044e57600080fd5b506102c3610b14565b34801561046357600080fd5b506102c3610472366004611f1d565b610b4a565b34801561048357600080fd5b506097546001600160a01b031661028b565b3480156104a157600080fd5b5061025e610b87565b3480156104b657600080fd5b506102c36104c5366004612016565b610b96565b6102c36104d8366004612016565b610bc5565b3480156104e957600080fd5b506102c36104f8366004611e7b565b610bfc565b34801561050957600080fd5b5061025e610c43565b34801561051e57600080fd5b5061025e61052d366004612016565b610c50565b34801561053e57600080fd5b506102c361054d366004611f1d565b610c69565b34801561055e57600080fd5b506102c361056d36600461202f565b610ca6565b34801561057e57600080fd5b506102c361058d366004611dfc565b610cef565b34801561059e57600080fd5b5061025e6105ad366004612016565b610d33565b3480156105be57600080fd5b5061025e61100f565b3480156105d357600080fd5b506102c36105e2366004611ea9565b61101c565b3480156105f357600080fd5b506102fa60cd5481565b34801561060957600080fd5b50610234610618366004611d82565b6001600160a01b039182166000908152606c6020908152604080832093909416825291909152205460ff1690565b34801561065257600080fd5b506102c3610661366004611f51565b611059565b34801561067257600080fd5b506102c3610681366004611d39565b61111e565b60006001600160e01b031982166380ac58cd60e01b14806106b757506001600160e01b03198216635b5e139f60e01b145b806106d257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060606780546106e7906122f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610713906122f2565b80156107605780601f1061073557610100808354040283529160200191610760565b820191906000526020600020905b81548152906001019060200180831161074357829003601f168201915b5050505050905090565b6000610775826111b6565b610792576040516333d1c03960e21b815260040160405180910390fd5b506000908152606b60205260409020546001600160a01b031690565b60006107b982610ab4565b9050806001600160a01b0316836001600160a01b031614156107ee5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610825576108088133610618565b610825576040516367d9dca160e11b815260040160405180910390fd5b6108308383836111f6565b505050565b6097546001600160a01b031633146108685760405162461bcd60e51b815260040161085f90612203565b60405180910390fd5b805161087b9060ca906020840190611c00565b5050565b600061088a60cd5490565b6066546065540303905090565b610830838383611252565b6097546001600160a01b031633146108cc5760405162461bcd60e51b815260040161085f90612203565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb90604401602060405180830381600087803b15801561091657600080fd5b505af115801561092a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094e9190611ec6565b50505050565b61083083838360405180602001604052806000815250610cef565b6097546001600160a01b031633146109995760405162461bcd60e51b815260040161085f90612203565b805161087b9060cc906020840190611c00565b60ca80546109b9906122f2565b80601f01602080910402602001604051908101604052809291908181526020018280546109e5906122f2565b8015610a325780601f10610a0757610100808354040283529160200191610a32565b820191906000526020600020905b815481529060010190602001808311610a1557829003601f168201915b505050505081565b6097546001600160a01b03163314610a645760405162461bcd60e51b815260040161085f90612203565b80471015610a7157600080fd5b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610830573d6000803e3d6000fd5b60c980546109b9906122f2565b6000610abf8261143f565b5192915050565b60006001600160a01b038216610aef576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152606a60205260409020546001600160401b031690565b6097546001600160a01b03163314610b3e5760405162461bcd60e51b815260040161085f90612203565b610b486000611568565b565b6097546001600160a01b03163314610b745760405162461bcd60e51b815260040161085f90612203565b805161087b9060c9906020840190611c00565b6060606880546106e7906122f2565b6097546001600160a01b03163314610bc05760405162461bcd60e51b815260040161085f90612203565b60ce55565b6097546001600160a01b03163314610bef5760405162461bcd60e51b815260040161085f90612203565b610bf933826115ba565b50565b610c0682826115d4565b33610c196097546001600160a01b031690565b6001600160a01b03161461087b5761087b610c3c6097546001600160a01b031690565b60016115d4565b60cc80546109b9906122f2565b60cf60205260009081526040902080546109b9906122f2565b6097546001600160a01b03163314610c935760405162461bcd60e51b815260040161085f90612203565b805161087b9060d0906020840190611c00565b6097546001600160a01b03163314610cd05760405162461bcd60e51b815260040161085f90612203565b600082815260cf60209081526040909120825161083092840190611c00565b610cfa848484611252565b6001600160a01b0383163b1561094e57610d168484848461166a565b61094e576040516368d2bf6b60e11b815260040160405180910390fd5b6060610d3e826111b6565b610da25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161085f565b60cb5460ff16610e3e5760cc8054610db9906122f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610de5906122f2565b8015610e325780601f10610e0757610100808354040283529160200191610e32565b820191906000526020600020905b815481529060010190602001808311610e1557829003601f168201915b50505050509050919050565b600082815260cf602052604081208054610e57906122f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610e83906122f2565b8015610ed05780601f10610ea557610100808354040283529160200191610ed0565b820191906000526020600020905b815481529060010190602001808311610eb357829003601f168201915b50505050509050600081511115610ee75792915050565b600060d08054610ef6906122f2565b90501115610f915760d08054610f0b906122f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610f37906122f2565b8015610f845780601f10610f5957610100808354040283529160200191610f84565b820191906000526020600020905b815481529060010190602001808311610f6757829003601f168201915b5050505050915050919050565b6000610f9b611762565b90506000610fa885611771565b60ce5490915015610fc257610fbf8560ce5461186e565b90505b6000825111610fe05760405180602001604052806000815250611006565b818160ca604051602001610ff6939291906120a1565b6040516020818303038152906040525b95945050505050565b60d080546109b9906122f2565b6097546001600160a01b031633146110465760405162461bcd60e51b815260040161085f90612203565b60cb805460ff1916911515919091179055565b60006110656001611926565b9050801561107d576000805461ff0019166101001790555b60cd82905561108c87876119b3565b835161109f9060c9906020870190611c00565b5082516110b39060ca906020860190611c00565b5060cb805460ff19166001179055600060ce556110cf85611568565b8015611115576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050565b6097546001600160a01b031633146111485760405162461bcd60e51b815260040161085f90612203565b6001600160a01b0381166111ad5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161085f565b610bf981611568565b6000816111c260cd5490565b111580156111d1575060655482105b80156106d2575050600090815260696020526040902054600160e01b900460ff161590565b6000828152606b602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061125d8261143f565b9050836001600160a01b031681600001516001600160a01b0316146112945760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806112b257506112b28533610618565b806112cd5750336112c28461076a565b6001600160a01b0316145b9050806112ed57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661131457604051633a954ecd60e21b815260040160405180910390fd5b611320600084876111f6565b6001600160a01b038581166000908152606a60209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652606990945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166113f45760655482146113f457805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6040805160608101825260008082526020820181905291810191909152818061146760cd5490565b1161154f5760655481101561154f57600081815260696020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529061154d5780516001600160a01b0316156114e4579392505050565b5060001901600081815260696020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611548579392505050565b6114e4565b505b604051636f96cda160e11b815260040160405180910390fd5b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61087b8282604051806020016040528060008152506119e4565b6001600160a01b0382163314156115fe5760405163b06307db60e01b815260040160405180910390fd5b336000818152606c602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061169f903390899088908890600401612165565b602060405180830381600087803b1580156116b957600080fd5b505af19250505080156116e9575060408051601f3d908101601f191682019092526116e691810190611f00565b60015b611744573d808015611717576040519150601f19603f3d011682016040523d82523d6000602084013e61171c565b606091505b50805161173c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060c980546106e7906122f2565b6060816117955750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117bf57806117a98161232d565b91506117b89050600a8361229b565b9150611799565b6000816001600160401b038111156117d9576117d961239e565b6040519080825280601f01601f191660200182016040528015611803576020820181803683370190505b5090505b841561175a576118186001836122af565b9150611825600a86612348565b611830906030612283565b60f81b81838151811061184557611845612388565b60200101906001600160f81b031916908160001a905350611867600a8661229b565b9450611807565b60606000826001600160401b0381111561188a5761188a61239e565b6040519080825280601f01601f1916602001820160405280156118b4576020820181803683370190505b5090505b821561191f576118c96001846122af565b92506118d6600a85612348565b6118e1906030612283565b60f81b8184815181106118f6576118f6612388565b60200101906001600160f81b031916908160001a905350611918600a8561229b565b93506118b8565b9392505050565b60008054610100900460ff161561196d578160ff1660011480156119495750303b155b6119655760405162461bcd60e51b815260040161085f906121b5565b506000919050565b60005460ff8084169116106119945760405162461bcd60e51b815260040161085f906121b5565b506000805460ff191660ff92909216919091179055600190565b919050565b600054610100900460ff166119da5760405162461bcd60e51b815260040161085f90612238565b61087b8282611ba7565b6065546001600160a01b038416611a0d57604051622e076360e81b815260040160405180910390fd5b82611a2b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0384166000818152606a6020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452606990925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15611b53575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611b1c600087848060010195508761166a565b611b39576040516368d2bf6b60e11b815260040160405180910390fd5b808210611ad1578260655414611b4e57600080fd5b611b98565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611b54575b5060655561094e600085838684565b600054610100900460ff16611bce5760405162461bcd60e51b815260040161085f90612238565b8151611be1906067906020850190611c00565b508051611bf5906068906020840190611c00565b5060cd546065555050565b828054611c0c906122f2565b90600052602060002090601f016020900481019282611c2e5760008555611c74565b82601f10611c4757805160ff1916838001178555611c74565b82800160010185558215611c74579182015b82811115611c74578251825591602001919060010190611c59565b50611c80929150611c84565b5090565b5b80821115611c805760008155600101611c85565b60006001600160401b0380841115611cb357611cb361239e565b604051601f8501601f19908116603f01168101908282118183101715611cdb57611cdb61239e565b81604052809350858152868686011115611cf457600080fd5b858560208301376000602087830101525050509392505050565b80356119ae816123b4565b600082601f830112611d2a57600080fd5b61191f83833560208501611c99565b600060208284031215611d4b57600080fd5b813561191f816123b4565b60008060408385031215611d6957600080fd5b8235611d74816123b4565b946020939093013593505050565b60008060408385031215611d9557600080fd5b8235611da0816123b4565b91506020830135611db0816123b4565b809150509250929050565b600080600060608486031215611dd057600080fd5b8335611ddb816123b4565b92506020840135611deb816123b4565b929592945050506040919091013590565b60008060008060808587031215611e1257600080fd5b8435611e1d816123b4565b93506020850135611e2d816123b4565b92506040850135915060608501356001600160401b03811115611e4f57600080fd5b8501601f81018713611e6057600080fd5b611e6f87823560208401611c99565b91505092959194509250565b60008060408385031215611e8e57600080fd5b8235611e99816123b4565b91506020830135611db0816123c9565b600060208284031215611ebb57600080fd5b813561191f816123c9565b600060208284031215611ed857600080fd5b815161191f816123c9565b600060208284031215611ef557600080fd5b813561191f816123d7565b600060208284031215611f1257600080fd5b815161191f816123d7565b600060208284031215611f2f57600080fd5b81356001600160401b03811115611f4557600080fd5b61175a84828501611d19565b60008060008060008060c08789031215611f6a57600080fd5b86356001600160401b0380821115611f8157600080fd5b611f8d8a838b01611d19565b97506020890135915080821115611fa357600080fd5b611faf8a838b01611d19565b9650611fbd60408a01611d0e565b95506060890135915080821115611fd357600080fd5b611fdf8a838b01611d19565b94506080890135915080821115611ff557600080fd5b5061200289828a01611d19565b92505060a087013590509295509295509295565b60006020828403121561202857600080fd5b5035919050565b6000806040838503121561204257600080fd5b8235915060208301356001600160401b0381111561205f57600080fd5b61206b85828601611d19565b9150509250929050565b6000815180845261208d8160208601602086016122c6565b601f01601f19169290920160200192915050565b6000845160206120b48285838a016122c6565b8551918401916120c78184848a016122c6565b8554920191600090600181811c90808316806120e457607f831692505b85831081141561210257634e487b7160e01b85526022600452602485fd5b808015612116576001811461212757612154565b60ff19851688528388019550612154565b60008b81526020902060005b8581101561214c5781548a820152908401908801612133565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061219890830184612075565b9695505050505050565b60208152600061191f6020830184612075565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600082198211156122965761229661235c565b500190565b6000826122aa576122aa612372565b500490565b6000828210156122c1576122c161235c565b500390565b60005b838110156122e15781810151838201526020016122c9565b8381111561094e5750506000910152565b600181811c9082168061230657607f821691505b6020821081141561232757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123415761234161235c565b5060010190565b60008261235757612357612372565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610bf957600080fd5b8015158114610bf957600080fd5b6001600160e01b031981168114610bf957600080fdfea2646970667358221220baf02539bde2d3b3325c37d223dd4b4c5cd139fb554c3e644d74ab648e3baa2c64736f6c63430008070033
Deployed Bytecode
0x60806040526004361061020f5760003560e01c80637ec4a65911610118578063b4d9c552116100a0578063e0a808531161006f578063e0a80853146105c7578063e6798baa146105e7578063e985e9c5146105fd578063f0ce3dd214610646578063f2fde38b1461066657600080fd5b8063b4d9c55214610552578063b88d4fde14610572578063c87b56dd14610592578063d7a4b957146105b257600080fd5b8063a0712d68116100e7578063a0712d68146104ca578063a22cb465146104dd578063a45ba8e7146104fd578063ad4b68f214610512578063b10c27d81461053257600080fd5b80637ec4a659146104575780638da5cb5b1461047757806395d89b411461049557806398021b91146104aa57600080fd5b80634fdd43cb1161019b57806362b99ad41161016a57806362b99ad4146103d75780636352211e146103ec5780636a067d2a1461040c57806370a0823114610422578063715018a61461044257600080fd5b80634fdd43cb1461036857806351830227146103885780635503a0e8146103a257806356a6d9ef146103b757600080fd5b806316ba10e0116101e257806316ba10e0146102c557806318160ddd146102e557806323b872dd1461030857806329f61b081461032857806342842e0e1461034857600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004611ee3565b610686565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106d8565b60405161024091906121a2565b34801561027757600080fd5b5061028b610286366004612016565b61076a565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be366004611d56565b6107ae565b005b3480156102d157600080fd5b506102c36102e0366004611f1d565b610835565b3480156102f157600080fd5b506102fa61087f565b604051908152602001610240565b34801561031457600080fd5b506102c3610323366004611dbb565b610897565b34801561033457600080fd5b506102c3610343366004611dbb565b6108a2565b34801561035457600080fd5b506102c3610363366004611dbb565b610954565b34801561037457600080fd5b506102c3610383366004611f1d565b61096f565b34801561039457600080fd5b5060cb546102349060ff1681565b3480156103ae57600080fd5b5061025e6109ac565b3480156103c357600080fd5b506102c36103d2366004611d56565b610a3a565b3480156103e357600080fd5b5061025e610aa7565b3480156103f857600080fd5b5061028b610407366004612016565b610ab4565b34801561041857600080fd5b506102fa60ce5481565b34801561042e57600080fd5b506102fa61043d366004611d39565b610ac6565b34801561044e57600080fd5b506102c3610b14565b34801561046357600080fd5b506102c3610472366004611f1d565b610b4a565b34801561048357600080fd5b506097546001600160a01b031661028b565b3480156104a157600080fd5b5061025e610b87565b3480156104b657600080fd5b506102c36104c5366004612016565b610b96565b6102c36104d8366004612016565b610bc5565b3480156104e957600080fd5b506102c36104f8366004611e7b565b610bfc565b34801561050957600080fd5b5061025e610c43565b34801561051e57600080fd5b5061025e61052d366004612016565b610c50565b34801561053e57600080fd5b506102c361054d366004611f1d565b610c69565b34801561055e57600080fd5b506102c361056d36600461202f565b610ca6565b34801561057e57600080fd5b506102c361058d366004611dfc565b610cef565b34801561059e57600080fd5b5061025e6105ad366004612016565b610d33565b3480156105be57600080fd5b5061025e61100f565b3480156105d357600080fd5b506102c36105e2366004611ea9565b61101c565b3480156105f357600080fd5b506102fa60cd5481565b34801561060957600080fd5b50610234610618366004611d82565b6001600160a01b039182166000908152606c6020908152604080832093909416825291909152205460ff1690565b34801561065257600080fd5b506102c3610661366004611f51565b611059565b34801561067257600080fd5b506102c3610681366004611d39565b61111e565b60006001600160e01b031982166380ac58cd60e01b14806106b757506001600160e01b03198216635b5e139f60e01b145b806106d257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060606780546106e7906122f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610713906122f2565b80156107605780601f1061073557610100808354040283529160200191610760565b820191906000526020600020905b81548152906001019060200180831161074357829003601f168201915b5050505050905090565b6000610775826111b6565b610792576040516333d1c03960e21b815260040160405180910390fd5b506000908152606b60205260409020546001600160a01b031690565b60006107b982610ab4565b9050806001600160a01b0316836001600160a01b031614156107ee5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610825576108088133610618565b610825576040516367d9dca160e11b815260040160405180910390fd5b6108308383836111f6565b505050565b6097546001600160a01b031633146108685760405162461bcd60e51b815260040161085f90612203565b60405180910390fd5b805161087b9060ca906020840190611c00565b5050565b600061088a60cd5490565b6066546065540303905090565b610830838383611252565b6097546001600160a01b031633146108cc5760405162461bcd60e51b815260040161085f90612203565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb90604401602060405180830381600087803b15801561091657600080fd5b505af115801561092a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094e9190611ec6565b50505050565b61083083838360405180602001604052806000815250610cef565b6097546001600160a01b031633146109995760405162461bcd60e51b815260040161085f90612203565b805161087b9060cc906020840190611c00565b60ca80546109b9906122f2565b80601f01602080910402602001604051908101604052809291908181526020018280546109e5906122f2565b8015610a325780601f10610a0757610100808354040283529160200191610a32565b820191906000526020600020905b815481529060010190602001808311610a1557829003601f168201915b505050505081565b6097546001600160a01b03163314610a645760405162461bcd60e51b815260040161085f90612203565b80471015610a7157600080fd5b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610830573d6000803e3d6000fd5b60c980546109b9906122f2565b6000610abf8261143f565b5192915050565b60006001600160a01b038216610aef576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152606a60205260409020546001600160401b031690565b6097546001600160a01b03163314610b3e5760405162461bcd60e51b815260040161085f90612203565b610b486000611568565b565b6097546001600160a01b03163314610b745760405162461bcd60e51b815260040161085f90612203565b805161087b9060c9906020840190611c00565b6060606880546106e7906122f2565b6097546001600160a01b03163314610bc05760405162461bcd60e51b815260040161085f90612203565b60ce55565b6097546001600160a01b03163314610bef5760405162461bcd60e51b815260040161085f90612203565b610bf933826115ba565b50565b610c0682826115d4565b33610c196097546001600160a01b031690565b6001600160a01b03161461087b5761087b610c3c6097546001600160a01b031690565b60016115d4565b60cc80546109b9906122f2565b60cf60205260009081526040902080546109b9906122f2565b6097546001600160a01b03163314610c935760405162461bcd60e51b815260040161085f90612203565b805161087b9060d0906020840190611c00565b6097546001600160a01b03163314610cd05760405162461bcd60e51b815260040161085f90612203565b600082815260cf60209081526040909120825161083092840190611c00565b610cfa848484611252565b6001600160a01b0383163b1561094e57610d168484848461166a565b61094e576040516368d2bf6b60e11b815260040160405180910390fd5b6060610d3e826111b6565b610da25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161085f565b60cb5460ff16610e3e5760cc8054610db9906122f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610de5906122f2565b8015610e325780601f10610e0757610100808354040283529160200191610e32565b820191906000526020600020905b815481529060010190602001808311610e1557829003601f168201915b50505050509050919050565b600082815260cf602052604081208054610e57906122f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610e83906122f2565b8015610ed05780601f10610ea557610100808354040283529160200191610ed0565b820191906000526020600020905b815481529060010190602001808311610eb357829003601f168201915b50505050509050600081511115610ee75792915050565b600060d08054610ef6906122f2565b90501115610f915760d08054610f0b906122f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610f37906122f2565b8015610f845780601f10610f5957610100808354040283529160200191610f84565b820191906000526020600020905b815481529060010190602001808311610f6757829003601f168201915b5050505050915050919050565b6000610f9b611762565b90506000610fa885611771565b60ce5490915015610fc257610fbf8560ce5461186e565b90505b6000825111610fe05760405180602001604052806000815250611006565b818160ca604051602001610ff6939291906120a1565b6040516020818303038152906040525b95945050505050565b60d080546109b9906122f2565b6097546001600160a01b031633146110465760405162461bcd60e51b815260040161085f90612203565b60cb805460ff1916911515919091179055565b60006110656001611926565b9050801561107d576000805461ff0019166101001790555b60cd82905561108c87876119b3565b835161109f9060c9906020870190611c00565b5082516110b39060ca906020860190611c00565b5060cb805460ff19166001179055600060ce556110cf85611568565b8015611115576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050565b6097546001600160a01b031633146111485760405162461bcd60e51b815260040161085f90612203565b6001600160a01b0381166111ad5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161085f565b610bf981611568565b6000816111c260cd5490565b111580156111d1575060655482105b80156106d2575050600090815260696020526040902054600160e01b900460ff161590565b6000828152606b602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061125d8261143f565b9050836001600160a01b031681600001516001600160a01b0316146112945760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806112b257506112b28533610618565b806112cd5750336112c28461076a565b6001600160a01b0316145b9050806112ed57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661131457604051633a954ecd60e21b815260040160405180910390fd5b611320600084876111f6565b6001600160a01b038581166000908152606a60209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652606990945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166113f45760655482146113f457805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6040805160608101825260008082526020820181905291810191909152818061146760cd5490565b1161154f5760655481101561154f57600081815260696020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529061154d5780516001600160a01b0316156114e4579392505050565b5060001901600081815260696020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611548579392505050565b6114e4565b505b604051636f96cda160e11b815260040160405180910390fd5b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61087b8282604051806020016040528060008152506119e4565b6001600160a01b0382163314156115fe5760405163b06307db60e01b815260040160405180910390fd5b336000818152606c602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061169f903390899088908890600401612165565b602060405180830381600087803b1580156116b957600080fd5b505af19250505080156116e9575060408051601f3d908101601f191682019092526116e691810190611f00565b60015b611744573d808015611717576040519150601f19603f3d011682016040523d82523d6000602084013e61171c565b606091505b50805161173c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060c980546106e7906122f2565b6060816117955750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117bf57806117a98161232d565b91506117b89050600a8361229b565b9150611799565b6000816001600160401b038111156117d9576117d961239e565b6040519080825280601f01601f191660200182016040528015611803576020820181803683370190505b5090505b841561175a576118186001836122af565b9150611825600a86612348565b611830906030612283565b60f81b81838151811061184557611845612388565b60200101906001600160f81b031916908160001a905350611867600a8661229b565b9450611807565b60606000826001600160401b0381111561188a5761188a61239e565b6040519080825280601f01601f1916602001820160405280156118b4576020820181803683370190505b5090505b821561191f576118c96001846122af565b92506118d6600a85612348565b6118e1906030612283565b60f81b8184815181106118f6576118f6612388565b60200101906001600160f81b031916908160001a905350611918600a8561229b565b93506118b8565b9392505050565b60008054610100900460ff161561196d578160ff1660011480156119495750303b155b6119655760405162461bcd60e51b815260040161085f906121b5565b506000919050565b60005460ff8084169116106119945760405162461bcd60e51b815260040161085f906121b5565b506000805460ff191660ff92909216919091179055600190565b919050565b600054610100900460ff166119da5760405162461bcd60e51b815260040161085f90612238565b61087b8282611ba7565b6065546001600160a01b038416611a0d57604051622e076360e81b815260040160405180910390fd5b82611a2b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0384166000818152606a6020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452606990925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15611b53575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611b1c600087848060010195508761166a565b611b39576040516368d2bf6b60e11b815260040160405180910390fd5b808210611ad1578260655414611b4e57600080fd5b611b98565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611b54575b5060655561094e600085838684565b600054610100900460ff16611bce5760405162461bcd60e51b815260040161085f90612238565b8151611be1906067906020850190611c00565b508051611bf5906068906020840190611c00565b5060cd546065555050565b828054611c0c906122f2565b90600052602060002090601f016020900481019282611c2e5760008555611c74565b82601f10611c4757805160ff1916838001178555611c74565b82800160010185558215611c74579182015b82811115611c74578251825591602001919060010190611c59565b50611c80929150611c84565b5090565b5b80821115611c805760008155600101611c85565b60006001600160401b0380841115611cb357611cb361239e565b604051601f8501601f19908116603f01168101908282118183101715611cdb57611cdb61239e565b81604052809350858152868686011115611cf457600080fd5b858560208301376000602087830101525050509392505050565b80356119ae816123b4565b600082601f830112611d2a57600080fd5b61191f83833560208501611c99565b600060208284031215611d4b57600080fd5b813561191f816123b4565b60008060408385031215611d6957600080fd5b8235611d74816123b4565b946020939093013593505050565b60008060408385031215611d9557600080fd5b8235611da0816123b4565b91506020830135611db0816123b4565b809150509250929050565b600080600060608486031215611dd057600080fd5b8335611ddb816123b4565b92506020840135611deb816123b4565b929592945050506040919091013590565b60008060008060808587031215611e1257600080fd5b8435611e1d816123b4565b93506020850135611e2d816123b4565b92506040850135915060608501356001600160401b03811115611e4f57600080fd5b8501601f81018713611e6057600080fd5b611e6f87823560208401611c99565b91505092959194509250565b60008060408385031215611e8e57600080fd5b8235611e99816123b4565b91506020830135611db0816123c9565b600060208284031215611ebb57600080fd5b813561191f816123c9565b600060208284031215611ed857600080fd5b815161191f816123c9565b600060208284031215611ef557600080fd5b813561191f816123d7565b600060208284031215611f1257600080fd5b815161191f816123d7565b600060208284031215611f2f57600080fd5b81356001600160401b03811115611f4557600080fd5b61175a84828501611d19565b60008060008060008060c08789031215611f6a57600080fd5b86356001600160401b0380821115611f8157600080fd5b611f8d8a838b01611d19565b97506020890135915080821115611fa357600080fd5b611faf8a838b01611d19565b9650611fbd60408a01611d0e565b95506060890135915080821115611fd357600080fd5b611fdf8a838b01611d19565b94506080890135915080821115611ff557600080fd5b5061200289828a01611d19565b92505060a087013590509295509295509295565b60006020828403121561202857600080fd5b5035919050565b6000806040838503121561204257600080fd5b8235915060208301356001600160401b0381111561205f57600080fd5b61206b85828601611d19565b9150509250929050565b6000815180845261208d8160208601602086016122c6565b601f01601f19169290920160200192915050565b6000845160206120b48285838a016122c6565b8551918401916120c78184848a016122c6565b8554920191600090600181811c90808316806120e457607f831692505b85831081141561210257634e487b7160e01b85526022600452602485fd5b808015612116576001811461212757612154565b60ff19851688528388019550612154565b60008b81526020902060005b8581101561214c5781548a820152908401908801612133565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061219890830184612075565b9695505050505050565b60208152600061191f6020830184612075565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600082198211156122965761229661235c565b500190565b6000826122aa576122aa612372565b500490565b6000828210156122c1576122c161235c565b500390565b60005b838110156122e15781810151838201526020016122c9565b8381111561094e5750506000910152565b600181811c9082168061230657607f821691505b6020821081141561232757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123415761234161235c565b5060010190565b60008261235757612357612372565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610bf957600080fd5b8015158114610bf957600080fd5b6001600160e01b031981168114610bf957600080fdfea2646970667358221220baf02539bde2d3b3325c37d223dd4b4c5cd139fb554c3e644d74ab648e3baa2c64736f6c63430008070033
Deployed Bytecode Sourcemap
60357:4592:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38045:349;;;;;;;;;;-1:-1:-1;38045:349:0;;;;;:::i;:::-;;:::i;:::-;;;10371:14:1;;10364:22;10346:41;;10334:2;10319:18;38045:349:0;;;;;;;;41204:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;42719:204::-;;;;;;;;;;-1:-1:-1;42719:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;9382:32:1;;;9364:51;;9352:2;9337:18;42719:204:0;9218:203:1;42270:383:0;;;;;;;;;;-1:-1:-1;42270:383:0;;;;;:::i;:::-;;:::i;:::-;;61626:100;;;;;;;;;;-1:-1:-1;61626:100:0;;;;;:::i;:::-;;:::i;37285:312::-;;;;;;;;;;;;;:::i;:::-;;;12978:25:1;;;12966:2;12951:18;37285:312:0;12832:177:1;43584:170:0;;;;;;;;;;-1:-1:-1;43584:170:0;;;;;:::i;:::-;;:::i;64068:186::-;;;;;;;;;;-1:-1:-1;64068:186:0;;;;;:::i;:::-;;:::i;43825:185::-;;;;;;;;;;-1:-1:-1;43825:185:0;;;;;:::i;:::-;;:::i;62885:132::-;;;;;;;;;;-1:-1:-1;62885:132:0;;;;;:::i;:::-;;:::i;60555:27::-;;;;;;;;;;-1:-1:-1;60555:27:0;;;;;;;;60520:28;;;;;;;;;;;;;:::i;63816:171::-;;;;;;;;;;-1:-1:-1;63816:171:0;;;;;:::i;:::-;;:::i;60485:28::-;;;;;;;;;;;;;:::i;41012:125::-;;;;;;;;;;-1:-1:-1;41012:125:0;;;;;:::i;:::-;;:::i;60661:29::-;;;;;;;;;;;;;;;;38458:206;;;;;;;;;;-1:-1:-1;38458:206:0;;;;;:::i;:::-;;:::i;59162:103::-;;;;;;;;;;;;;:::i;61520:100::-;;;;;;;;;;-1:-1:-1;61520:100:0;;;;;:::i;:::-;;:::i;58511:87::-;;;;;;;;;;-1:-1:-1;58584:6:0;;-1:-1:-1;;;;;58584:6:0;58511:87;;41373:104;;;;;;;;;;;;;:::i;61772:98::-;;;;;;;;;;-1:-1:-1;61772:98:0;;;;;:::i;:::-;;:::i;61333:179::-;;;;;;:::i;:::-;;:::i;63509:238::-;;;;;;;;;;-1:-1:-1;63509:238:0;;;;;:::i;:::-;;:::i;60589:31::-;;;;;;;;;;;;;:::i;60697:50::-;;;;;;;;;;-1:-1:-1;60697:50:0;;;;;:::i;:::-;;:::i;63393:110::-;;;;;;;;;;-1:-1:-1;63393:110:0;;;;;:::i;:::-;;:::i;63251:136::-;;;;;;;;;;-1:-1:-1;63251:136:0;;;;;:::i;:::-;;:::i;44081:370::-;;;;;;;;;;-1:-1:-1;44081:370:0;;;;;:::i;:::-;;:::i;61878:910::-;;;;;;;;;;-1:-1:-1;61878:910:0;;;;;:::i;:::-;;:::i;60754:36::-;;;;;;;;;;;;;:::i;62796:81::-;;;;;;;;;;-1:-1:-1;62796:81:0;;;;;:::i;:::-;;:::i;60627:27::-;;;;;;;;;;;;;;;;43353:164;;;;;;;;;;-1:-1:-1;43353:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;43474:25:0;;;43450:4;43474:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;43353:164;60820:507;;;;;;;;;;-1:-1:-1;60820:507:0;;;;;:::i;:::-;;:::i;59420:201::-;;;;;;;;;;-1:-1:-1;59420:201:0;;;;;:::i;:::-;;:::i;38045:349::-;38169:4;-1:-1:-1;;;;;;38206:51:0;;-1:-1:-1;;;38206:51:0;;:127;;-1:-1:-1;;;;;;;38274:59:0;;-1:-1:-1;;;38274:59:0;38206:127;:180;;;-1:-1:-1;;;;;;;;;;33129:51:0;;;38350:36;38186:200;38045:349;-1:-1:-1;;38045:349:0:o;41204:100::-;41258:13;41291:5;41284:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41204:100;:::o;42719:204::-;42787:7;42812:16;42820:7;42812;:16::i;:::-;42807:64;;42837:34;;-1:-1:-1;;;42837:34:0;;;;;;;;;;;42807:64;-1:-1:-1;42891:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;42891:24:0;;42719:204::o;42270:383::-;42343:13;42359:35;42386:7;42359:26;:35::i;:::-;42343:51;;42415:5;-1:-1:-1;;;;;42409:11:0;:2;-1:-1:-1;;;;;42409:11:0;;42405:48;;;42429:24;;-1:-1:-1;;;42429:24:0;;;;;;;;;;;42405:48;34449:10;-1:-1:-1;;;;;42470:21:0;;;42466:139;;42497:37;42514:5;34449:10;43353:164;:::i;42497:37::-;42493:112;;42558:35;;-1:-1:-1;;;42558:35:0;;;;;;;;;;;42493:112;42617:28;42626:2;42630:7;42639:5;42617:8;:28::i;:::-;42332:321;42270:383;;:::o;61626:100::-;58584:6;;-1:-1:-1;;;;;58584:6:0;34449:10;58731:23;58723:68;;;;-1:-1:-1;;;58723:68:0;;;;;;;:::i;:::-;;;;;;;;;61698:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;61626:100:::0;:::o;37285:312::-;37338:7;37563:15;63225:12;;;63137:106;37563:15;37548:12;;37532:13;;:28;:46;37525:53;;37285:312;:::o;43584:170::-;43718:28;43728:4;43734:2;43738:7;43718:9;:28::i;64068:186::-;58584:6;;-1:-1:-1;;;;;58584:6:0;34449:10;58731:23;58723:68;;;;-1:-1:-1;;;58723:68:0;;;;;;;:::i;:::-;64196:50:::1;::::0;-1:-1:-1;;;64196:50:0;;-1:-1:-1;;;;;9626:32:1;;;64196:50:0::1;::::0;::::1;9608:51:1::0;9675:18;;;9668:34;;;64196:37:0;::::1;::::0;::::1;::::0;9581:18:1;;64196:50:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;64068:186:::0;;;:::o;43825:185::-;43963:39;43980:4;43986:2;43990:7;43963:39;;;;;;;;;;;;:16;:39::i;62885:132::-;58584:6;;-1:-1:-1;;;;;58584:6:0;34449:10;58731:23;58723:68;;;;-1:-1:-1;;;58723:68:0;;;;;;;:::i;:::-;62973:38;;::::1;::::0;:17:::1;::::0;:38:::1;::::0;::::1;::::0;::::1;:::i;60520:28::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;63816:171::-;58584:6;;-1:-1:-1;;;;;58584:6:0;34449:10;58731:23;58723:68;;;;-1:-1:-1;;;58723:68:0;;;;;;;:::i;:::-;63940:7:::1;63915:21;:32;;63907:41;;;::::0;::::1;;63959:20;::::0;-1:-1:-1;;;;;63959:11:0;::::1;::::0;:20;::::1;;;::::0;63971:7;;63959:20:::1;::::0;;;63971:7;63959:11;:20;::::1;;;;;;;;;;;;;::::0;::::1;;;;60485:28:::0;;;;;;;:::i;41012:125::-;41076:7;41103:21;41116:7;41103:12;:21::i;:::-;:26;;41012:125;-1:-1:-1;;41012:125:0:o;38458:206::-;38522:7;-1:-1:-1;;;;;38546:19:0;;38542:60;;38574:28;;-1:-1:-1;;;38574:28:0;;;;;;;;;;;38542:60;-1:-1:-1;;;;;;38628:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;38628:27:0;;38458:206::o;59162:103::-;58584:6;;-1:-1:-1;;;;;58584:6:0;34449:10;58731:23;58723:68;;;;-1:-1:-1;;;58723:68:0;;;;;;;:::i;:::-;59227:30:::1;59254:1;59227:18;:30::i;:::-;59162:103::o:0;61520:100::-;58584:6;;-1:-1:-1;;;;;58584:6:0;34449:10;58731:23;58723:68;;;;-1:-1:-1;;;58723:68:0;;;;;;;:::i;:::-;61592:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;41373:104::-:0;41429:13;41462:7;41455:14;;;;;:::i;61772:98::-;58584:6;;-1:-1:-1;;;;;58584:6:0;34449:10;58731:23;58723:68;;;;-1:-1:-1;;;58723:68:0;;;;;;;:::i;:::-;61840:14:::1;:24:::0;61772:98::o;61333:179::-;58584:6;;-1:-1:-1;;;;;58584:6:0;34449:10;58731:23;58723:68;;;;-1:-1:-1;;;58723:68:0;;;;;;;:::i;:::-;61475:31:::1;61485:10;61497:8;61475:9;:31::i;:::-;61333:179:::0;:::o;63509:238::-;63596:43;63620:8;63630;63596:23;:43::i;:::-;63665:10;63654:7;58584:6;;-1:-1:-1;;;;;58584:6:0;;58511:87;63654:7;-1:-1:-1;;;;;63654:21:0;;63650:90;;63690:38;63714:7;58584:6;;-1:-1:-1;;;;;58584:6:0;;58511:87;63714:7;63723:4;63690:23;:38::i;60589:31::-;;;;;;;:::i;60697:50::-;;;;;;;;;;;;;;;;:::i;63393:110::-;58584:6;;-1:-1:-1;;;;;58584:6:0;34449:10;58731:23;58723:68;;;;-1:-1:-1;;;58723:68:0;;;;;;;:::i;:::-;63471:24;;::::1;::::0;:17:::1;::::0;:24:::1;::::0;::::1;::::0;::::1;:::i;63251:136::-:0;58584:6;;-1:-1:-1;;;;;58584:6:0;34449:10;58731:23;58723:68;;;;-1:-1:-1;;;58723:68:0;;;;;;;:::i;:::-;63346:26:::1;::::0;;;:16:::1;:26;::::0;;;;;;;:33;;::::1;::::0;;::::1;::::0;::::1;:::i;44081:370::-:0;44248:28;44258:4;44264:2;44268:7;44248:9;:28::i;:::-;-1:-1:-1;;;;;44291:13:0;;19703:19;:23;44287:157;;44312:56;44343:4;44349:2;44353:7;44362:5;44312:30;:56::i;:::-;44308:136;;44392:40;;-1:-1:-1;;;44392:40:0;;;;;;;;;;;61878:910;61952:13;61986:17;61994:8;61986:7;:17::i;:::-;61978:77;;;;-1:-1:-1;;;61978:77:0;;12206:2:1;61978:77:0;;;12188:21:1;12245:2;12225:18;;;12218:30;12284:34;12264:18;;;12257:62;-1:-1:-1;;;12335:18:1;;;12328:45;12390:19;;61978:77:0;12004:411:1;61978:77:0;62072:8;;;;62068:70;;62109:17;62102:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61878:910;;;:::o;62068:70::-;62150:25;62178:26;;;:16;:26;;;;;62150:54;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62247:1;62225:11;62219:25;:29;62215:80;;;62272:11;61878:910;-1:-1:-1;;61878:910:0:o;62215:80::-;62343:1;62315:17;62309:31;;;;;:::i;:::-;;;:35;62305:92;;;62368:17;62361:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61878:910;;;:::o;62305:92::-;62409:28;62440:10;:8;:10::i;:::-;62409:41;;62461:26;62490;62507:8;62490:16;:26::i;:::-;62531:14;;62461:55;;-1:-1:-1;62531:18:0;62527:107;;62581:41;62597:8;62607:14;;62581:15;:41::i;:::-;62566:56;;62527:107;62682:1;62657:14;62651:28;:32;:131;;;;;;;;;;;;;;;;;62723:14;62739:12;62753:9;62706:57;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;62651:131;62644:138;61878:910;-1:-1:-1;;;;;61878:910:0:o;60754:36::-;;;;;;;:::i;62796:81::-;58584:6;;-1:-1:-1;;;;;58584:6:0;34449:10;58731:23;58723:68;;;;-1:-1:-1;;;58723:68:0;;;;;;;:::i;:::-;62854:8:::1;:17:::0;;-1:-1:-1;;62854:17:0::1;::::0;::::1;;::::0;;;::::1;::::0;;62796:81::o;60820:507::-;28891:19;28913:25;28936:1;28913:22;:25::i;:::-;28891:47;;28953:14;28949:67;;;28984:13;:20;;-1:-1:-1;;28984:20:0;;;;;28949:67;61101:12:::1;:28:::0;;;61138:30:::1;61153:5:::0;61160:7;61138:14:::1;:30::i;:::-;61175:22:::0;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;61204:22:0;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;61239:8:0::1;:15:::0;;-1:-1:-1;;61239:15:0::1;61250:4;61239:15;::::0;;:8:::1;61261:14;:18:::0;61288:33:::1;61307:13:::0;61288:18:::1;:33::i;:::-;29042:14:::0;29038:102;;;29089:5;29073:21;;-1:-1:-1;;29073:21:0;;;29114:14;;-1:-1:-1;10550:36:1;;29114:14:0;;10538:2:1;10523:18;29114:14:0;;;;;;;29038:102;28880:267;60820:507;;;;;;:::o;59420:201::-;58584:6;;-1:-1:-1;;;;;58584:6:0;34449:10;58731:23;58723:68;;;;-1:-1:-1;;;58723:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;59509:22:0;::::1;59501:73;;;::::0;-1:-1:-1;;;59501:73:0;;11023:2:1;59501:73:0::1;::::0;::::1;11005:21:1::0;11062:2;11042:18;;;11035:30;11101:34;11081:18;;;11074:62;-1:-1:-1;;;11152:18:1;;;11145:36;11198:19;;59501:73:0::1;10821:402:1::0;59501:73:0::1;59585:28;59604:8;59585:18;:28::i;44706:174::-:0;44763:4;44806:7;44787:15;63225:12;;;63137:106;44787:15;:26;;:53;;;;;44827:13;;44817:7;:23;44787:53;:85;;;;-1:-1:-1;;44845:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;44845:27:0;;;;44844:28;;44706:174::o;53928:196::-;54043:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;54043:29:0;-1:-1:-1;;;;;54043:29:0;;;;;;;;;54088:28;;54043:24;;54088:28;;;;;;;53928:196;;;:::o;48876:2130::-;48991:35;49029:21;49042:7;49029:12;:21::i;:::-;48991:59;;49089:4;-1:-1:-1;;;;;49067:26:0;:13;:18;;;-1:-1:-1;;;;;49067:26:0;;49063:67;;49102:28;;-1:-1:-1;;;49102:28:0;;;;;;;;;;;49063:67;49143:22;34449:10;-1:-1:-1;;;;;49169:20:0;;;;:73;;-1:-1:-1;49206:36:0;49223:4;34449:10;43353:164;:::i;49206:36::-;49169:126;;;-1:-1:-1;34449:10:0;49259:20;49271:7;49259:11;:20::i;:::-;-1:-1:-1;;;;;49259:36:0;;49169:126;49143:153;;49314:17;49309:66;;49340:35;;-1:-1:-1;;;49340:35:0;;;;;;;;;;;49309:66;-1:-1:-1;;;;;49390:16:0;;49386:52;;49415:23;;-1:-1:-1;;;49415:23:0;;;;;;;;;;;49386:52;49559:35;49576:1;49580:7;49589:4;49559:8;:35::i;:::-;-1:-1:-1;;;;;49890:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;49890:31:0;;;-1:-1:-1;;;;;49890:31:0;;;-1:-1:-1;;49890:31:0;;;;;;;49936:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;49936:29:0;;;;;;;;;;;50016:20;;;:11;:20;;;;;;50051:18;;-1:-1:-1;;;;;;50084:49:0;;;;-1:-1:-1;;;50117:15:0;50084:49;;;;;;;;;;50407:11;;50467:24;;;;;50510:13;;50016:20;;50467:24;;50510:13;50506:384;;50720:13;;50705:11;:28;50701:174;;50758:20;;50827:28;;;;-1:-1:-1;;;;;50801:54:0;-1:-1:-1;;;50801:54:0;-1:-1:-1;;;;;;50801:54:0;;;-1:-1:-1;;;;;50758:20:0;;50801:54;;;;50701:174;49865:1036;;;50937:7;50933:2;-1:-1:-1;;;;;50918:27:0;50927:4;-1:-1:-1;;;;;50918:27:0;;;;;;;;;;;48980:2026;;48876:2130;;;:::o;39839:1111::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;39950:7:0;;39999:15;63225:12;;;63137:106;39999:15;:23;39995:888;;40035:13;;40028:4;:20;40024:859;;;40069:31;40103:17;;;:11;:17;;;;;;;;;40069:51;;;;;;;;;-1:-1:-1;;;;;40069:51:0;;;;-1:-1:-1;;;40069:51:0;;-1:-1:-1;;;;;40069:51:0;;;;;;;;-1:-1:-1;;;40069:51:0;;;;;;;;;;;;;;40139:729;;40189:14;;-1:-1:-1;;;;;40189:28:0;;40185:101;;40253:9;39839:1111;-1:-1:-1;;;39839:1111:0:o;40185:101::-;-1:-1:-1;;;40628:6:0;40673:17;;;;:11;:17;;;;;;;;;40661:29;;;;;;;;;-1:-1:-1;;;;;40661:29:0;;;;;-1:-1:-1;;;40661:29:0;;-1:-1:-1;;;;;40661:29:0;;;;;;;;-1:-1:-1;;;40661:29:0;;;;;;;;;;;;;40721:28;40717:109;;40789:9;39839:1111;-1:-1:-1;;;39839:1111:0:o;40717:109::-;40588:261;;;40050:833;40024:859;40911:31;;-1:-1:-1;;;40911:31:0;;;;;;;;;;;59781:191;59874:6;;;-1:-1:-1;;;;;59891:17:0;;;-1:-1:-1;;;;;;59891:17:0;;;;;;;59924:40;;59874:6;;;59891:17;59874:6;;59924:40;;59855:16;;59924:40;59844:128;59781:191;:::o;44964:104::-;45033:27;45043:2;45047:8;45033:27;;;;;;;;;;;;:9;:27::i;42995:287::-;-1:-1:-1;;;;;43094:24:0;;34449:10;43094:24;43090:54;;;43127:17;;-1:-1:-1;;;43127:17:0;;;;;;;;;;;43090:54;34449:10;43157:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;43157:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;43157:53:0;;;;;;;;;;43226:48;;10346:41:1;;;43157:42:0;;34449:10;43226:48;;10319:18:1;43226:48:0;;;;;;;42995:287;;:::o;54616:689::-;54800:83;;-1:-1:-1;;;54800:83:0;;54779:4;;-1:-1:-1;;;;;54800:47:0;;;;;:83;;34449:10;;54862:4;;54868:7;;54877:5;;54800:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54800:83:0;;;;;;;;-1:-1:-1;;54800:83:0;;;;;;;;;;;;:::i;:::-;;;54796:502;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55056:13:0;;55052:235;;55102:40;;-1:-1:-1;;;55102:40:0;;;;;;;;;;;55052:235;55245:6;55239:13;55230:6;55226:2;55222:15;55215:38;54796:502;-1:-1:-1;;;;;;54930:66:0;-1:-1:-1;;;54930:66:0;;-1:-1:-1;54796:502:0;54616:689;;;;;;:::o;63025:104::-;63085:13;63114:9;63107:16;;;;;:::i;3393:723::-;3449:13;3670:10;3666:53;;-1:-1:-1;;3697:10:0;;;;;;;;;;;;-1:-1:-1;;;3697:10:0;;;;;3393:723::o;3666:53::-;3744:5;3729:12;3785:78;3792:9;;3785:78;;3818:8;;;;:::i;:::-;;-1:-1:-1;3841:10:0;;-1:-1:-1;3849:2:0;3841:10;;:::i;:::-;;;3785:78;;;3873:19;3905:6;-1:-1:-1;;;;;3895:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3895:17:0;;3873:39;;3923:154;3930:10;;3923:154;;3957:11;3967:1;3957:11;;:::i;:::-;;-1:-1:-1;4026:10:0;4034:2;4026:5;:10;:::i;:::-;4013:24;;:2;:24;:::i;:::-;4000:39;;3983:6;3990;3983:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;3983:56:0;;;;;;;;-1:-1:-1;4054:11:0;4063:2;4054:11;;:::i;:::-;;;3923:154;;64406:540;64485:13;64702:19;64734:6;-1:-1:-1;;;;;64724:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64724:17:0;;64702:39;;64752:155;64759:11;;64752:155;;64787:11;64797:1;64787:11;;:::i;:::-;;-1:-1:-1;64856:10:0;64864:2;64856:5;:10;:::i;:::-;64843:24;;:2;:24;:::i;:::-;64830:39;;64813:6;64820;64813:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;64813:56:0;;;;;;;;-1:-1:-1;64884:11:0;64893:2;64884:11;;:::i;:::-;;;64752:155;;;64931:6;64406:540;-1:-1:-1;;;64406:540:0:o;31121:823::-;31185:4;31522:13;;;;;;;31518:419;;;31578:7;:12;;31589:1;31578:12;:61;;;;-1:-1:-1;31633:4:0;19703:19;:23;31578:61;31552:169;;;;-1:-1:-1;;;31552:169:0;;;;;;;:::i;:::-;-1:-1:-1;31743:5:0;;31121:823;-1:-1:-1;31121:823:0:o;31518:419::-;31789:12;;:22;;;;:12;;:22;31781:81;;;;-1:-1:-1;;;31781:81:0;;;;;;;:::i;:::-;-1:-1:-1;31877:12:0;:22;;-1:-1:-1;;31877:22:0;;;;;;;;;;;;-1:-1:-1;;31121:823:0:o;31518:419::-;31121:823;;;:::o;36595:153::-;30518:13;;;;;;;30510:69;;;;-1:-1:-1;;;30510:69:0;;;;;;;:::i;:::-;36700:40:::1;36725:5;36732:7;36700:24;:40::i;45441:1749::-:0;45587:13;;-1:-1:-1;;;;;45615:16:0;;45611:48;;45640:19;;-1:-1:-1;;;45640:19:0;;;;;;;;;;;45611:48;45674:13;45670:44;;45696:18;;-1:-1:-1;;;45696:18:0;;;;;;;;;;;45670:44;-1:-1:-1;;;;;46065:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;46124:49:0;;-1:-1:-1;;;;;46065:44:0;;;;;;;46124:49;;;;-1:-1:-1;;46065:44:0;;;;;;46124:49;;;;;;;;;;;;;;;;46190:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;46240:66:0;;;-1:-1:-1;;;46290:15:0;46240:66;;;;;;;;;;;;;46190:25;;46387:23;;;;19703:19;:23;46427:631;;46467:313;46498:38;;46523:12;;-1:-1:-1;;;;;46498:38:0;;;46515:1;;46498:38;;46515:1;;46498:38;46564:69;46603:1;46607:2;46611:14;;;;;;46627:5;46564:30;:69::i;:::-;46559:174;;46669:40;;-1:-1:-1;;;46669:40:0;;;;;;;;;;;46559:174;46775:3;46760:12;:18;46467:313;;46861:12;46844:13;;:29;46840:43;;46875:8;;;46840:43;46427:631;;;46924:119;46955:40;;46980:14;;;;;-1:-1:-1;;;;;46955:40:0;;;46972:1;;46955:40;;46972:1;;46955:40;47038:3;47023:12;:18;46924:119;;46427:631;-1:-1:-1;47072:13:0;:28;47122:60;47151:1;47155:2;47159:12;47173:8;47122:60;:::i;36756:206::-;30518:13;;;;;;;30510:69;;;;-1:-1:-1;;;30510:69:0;;;;;;;:::i;:::-;36871:13;;::::1;::::0;:5:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;36895:17:0;;::::1;::::0;:7:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;63225:12:0;;36923:13:::1;:31:::0;-1:-1:-1;;36756:206:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;-1:-1:-1;;;;;149:2:1;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:134::-;718:20;;747:31;718:20;747:31;:::i;789:221::-;832:5;885:3;878:4;870:6;866:17;862:27;852:55;;903:1;900;893:12;852:55;925:79;1000:3;991:6;978:20;971:4;963:6;959:17;925:79;:::i;1015:247::-;1074:6;1127:2;1115:9;1106:7;1102:23;1098:32;1095:52;;;1143:1;1140;1133:12;1095:52;1182:9;1169:23;1201:31;1226:5;1201:31;:::i;1267:323::-;1343:6;1351;1404:2;1392:9;1383:7;1379:23;1375:32;1372:52;;;1420:1;1417;1410:12;1372:52;1459:9;1446:23;1478:31;1503:5;1478:31;:::i;:::-;1528:5;1580:2;1565:18;;;;1552:32;;-1:-1:-1;;;1267:323:1:o;1595:388::-;1663:6;1671;1724:2;1712:9;1703:7;1699:23;1695:32;1692:52;;;1740:1;1737;1730:12;1692:52;1779:9;1766:23;1798:31;1823:5;1798:31;:::i;:::-;1848:5;-1:-1:-1;1905:2:1;1890:18;;1877:32;1918:33;1877:32;1918:33;:::i;:::-;1970:7;1960:17;;;1595:388;;;;;:::o;1988:464::-;2073:6;2081;2089;2142:2;2130:9;2121:7;2117:23;2113:32;2110:52;;;2158:1;2155;2148:12;2110:52;2197:9;2184:23;2216:31;2241:5;2216:31;:::i;:::-;2266:5;-1:-1:-1;2323:2:1;2308:18;;2295:32;2336:33;2295:32;2336:33;:::i;:::-;1988:464;;2388:7;;-1:-1:-1;;;2442:2:1;2427:18;;;;2414:32;;1988:464::o;2918:794::-;3013:6;3021;3029;3037;3090:3;3078:9;3069:7;3065:23;3061:33;3058:53;;;3107:1;3104;3097:12;3058:53;3146:9;3133:23;3165:31;3190:5;3165:31;:::i;:::-;3215:5;-1:-1:-1;3272:2:1;3257:18;;3244:32;3285:33;3244:32;3285:33;:::i;:::-;3337:7;-1:-1:-1;3391:2:1;3376:18;;3363:32;;-1:-1:-1;3446:2:1;3431:18;;3418:32;-1:-1:-1;;;;;3462:30:1;;3459:50;;;3505:1;3502;3495:12;3459:50;3528:22;;3581:4;3573:13;;3569:27;-1:-1:-1;3559:55:1;;3610:1;3607;3600:12;3559:55;3633:73;3698:7;3693:2;3680:16;3675:2;3671;3667:11;3633:73;:::i;:::-;3623:83;;;2918:794;;;;;;;:::o;3717:382::-;3782:6;3790;3843:2;3831:9;3822:7;3818:23;3814:32;3811:52;;;3859:1;3856;3849:12;3811:52;3898:9;3885:23;3917:31;3942:5;3917:31;:::i;:::-;3967:5;-1:-1:-1;4024:2:1;4009:18;;3996:32;4037:30;3996:32;4037:30;:::i;4424:241::-;4480:6;4533:2;4521:9;4512:7;4508:23;4504:32;4501:52;;;4549:1;4546;4539:12;4501:52;4588:9;4575:23;4607:28;4629:5;4607:28;:::i;4670:245::-;4737:6;4790:2;4778:9;4769:7;4765:23;4761:32;4758:52;;;4806:1;4803;4796:12;4758:52;4838:9;4832:16;4857:28;4879:5;4857:28;:::i;4920:245::-;4978:6;5031:2;5019:9;5010:7;5006:23;5002:32;4999:52;;;5047:1;5044;5037:12;4999:52;5086:9;5073:23;5105:30;5129:5;5105:30;:::i;5170:249::-;5239:6;5292:2;5280:9;5271:7;5267:23;5263:32;5260:52;;;5308:1;5305;5298:12;5260:52;5340:9;5334:16;5359:30;5383:5;5359:30;:::i;5424:322::-;5493:6;5546:2;5534:9;5525:7;5521:23;5517:32;5514:52;;;5562:1;5559;5552:12;5514:52;5602:9;5589:23;-1:-1:-1;;;;;5627:6:1;5624:30;5621:50;;;5667:1;5664;5657:12;5621:50;5690;5732:7;5723:6;5712:9;5708:22;5690:50;:::i;5751:1088::-;5895:6;5903;5911;5919;5927;5935;5988:3;5976:9;5967:7;5963:23;5959:33;5956:53;;;6005:1;6002;5995:12;5956:53;6045:9;6032:23;-1:-1:-1;;;;;6115:2:1;6107:6;6104:14;6101:34;;;6131:1;6128;6121:12;6101:34;6154:50;6196:7;6187:6;6176:9;6172:22;6154:50;:::i;:::-;6144:60;;6257:2;6246:9;6242:18;6229:32;6213:48;;6286:2;6276:8;6273:16;6270:36;;;6302:1;6299;6292:12;6270:36;6325:52;6369:7;6358:8;6347:9;6343:24;6325:52;:::i;:::-;6315:62;;6396:38;6430:2;6419:9;6415:18;6396:38;:::i;:::-;6386:48;;6487:2;6476:9;6472:18;6459:32;6443:48;;6516:2;6506:8;6503:16;6500:36;;;6532:1;6529;6522:12;6500:36;6555:52;6599:7;6588:8;6577:9;6573:24;6555:52;:::i;:::-;6545:62;;6660:3;6649:9;6645:19;6632:33;6616:49;;6690:2;6680:8;6677:16;6674:36;;;6706:1;6703;6696:12;6674:36;;6729:52;6773:7;6762:8;6751:9;6747:24;6729:52;:::i;:::-;6719:62;;;6828:3;6817:9;6813:19;6800:33;6790:43;;5751:1088;;;;;;;;:::o;6844:180::-;6903:6;6956:2;6944:9;6935:7;6931:23;6927:32;6924:52;;;6972:1;6969;6962:12;6924:52;-1:-1:-1;6995:23:1;;6844:180;-1:-1:-1;6844:180:1:o;7029:390::-;7107:6;7115;7168:2;7156:9;7147:7;7143:23;7139:32;7136:52;;;7184:1;7181;7174:12;7136:52;7220:9;7207:23;7197:33;;7281:2;7270:9;7266:18;7253:32;-1:-1:-1;;;;;7300:6:1;7297:30;7294:50;;;7340:1;7337;7330:12;7294:50;7363;7405:7;7396:6;7385:9;7381:22;7363:50;:::i;:::-;7353:60;;;7029:390;;;;;:::o;7424:257::-;7465:3;7503:5;7497:12;7530:6;7525:3;7518:19;7546:63;7602:6;7595:4;7590:3;7586:14;7579:4;7572:5;7568:16;7546:63;:::i;:::-;7663:2;7642:15;-1:-1:-1;;7638:29:1;7629:39;;;;7670:4;7625:50;;7424:257;-1:-1:-1;;7424:257:1:o;7686:1527::-;7910:3;7948:6;7942:13;7974:4;7987:51;8031:6;8026:3;8021:2;8013:6;8009:15;7987:51;:::i;:::-;8101:13;;8060:16;;;;8123:55;8101:13;8060:16;8145:15;;;8123:55;:::i;:::-;8267:13;;8200:20;;;8240:1;;8327;8349:18;;;;8402;;;;8429:93;;8507:4;8497:8;8493:19;8481:31;;8429:93;8570:2;8560:8;8557:16;8537:18;8534:40;8531:167;;;-1:-1:-1;;;8597:33:1;;8653:4;8650:1;8643:15;8683:4;8604:3;8671:17;8531:167;8714:18;8741:110;;;;8865:1;8860:328;;;;8707:481;;8741:110;-1:-1:-1;;8776:24:1;;8762:39;;8821:20;;;;-1:-1:-1;8741:110:1;;8860:328;13087:1;13080:14;;;13124:4;13111:18;;8955:1;8969:169;8983:8;8980:1;8977:15;8969:169;;;9065:14;;9050:13;;;9043:37;9108:16;;;;9000:10;;8969:169;;;8973:3;;9169:8;9162:5;9158:20;9151:27;;8707:481;-1:-1:-1;9204:3:1;;7686:1527;-1:-1:-1;;;;;;;;;;;7686:1527:1:o;9713:488::-;-1:-1:-1;;;;;9982:15:1;;;9964:34;;10034:15;;10029:2;10014:18;;10007:43;10081:2;10066:18;;10059:34;;;10129:3;10124:2;10109:18;;10102:31;;;9907:4;;10150:45;;10175:19;;10167:6;10150:45;:::i;:::-;10142:53;9713:488;-1:-1:-1;;;;;;9713:488:1:o;10597:219::-;10746:2;10735:9;10728:21;10709:4;10766:44;10806:2;10795:9;10791:18;10783:6;10766:44;:::i;11228:410::-;11430:2;11412:21;;;11469:2;11449:18;;;11442:30;11508:34;11503:2;11488:18;;11481:62;-1:-1:-1;;;11574:2:1;11559:18;;11552:44;11628:3;11613:19;;11228:410::o;11643:356::-;11845:2;11827:21;;;11864:18;;;11857:30;11923:34;11918:2;11903:18;;11896:62;11990:2;11975:18;;11643:356::o;12420:407::-;12622:2;12604:21;;;12661:2;12641:18;;;12634:30;12700:34;12695:2;12680:18;;12673:62;-1:-1:-1;;;12766:2:1;12751:18;;12744:41;12817:3;12802:19;;12420:407::o;13140:128::-;13180:3;13211:1;13207:6;13204:1;13201:13;13198:39;;;13217:18;;:::i;:::-;-1:-1:-1;13253:9:1;;13140:128::o;13273:120::-;13313:1;13339;13329:35;;13344:18;;:::i;:::-;-1:-1:-1;13378:9:1;;13273:120::o;13398:125::-;13438:4;13466:1;13463;13460:8;13457:34;;;13471:18;;:::i;:::-;-1:-1:-1;13508:9:1;;13398:125::o;13528:258::-;13600:1;13610:113;13624:6;13621:1;13618:13;13610:113;;;13700:11;;;13694:18;13681:11;;;13674:39;13646:2;13639:10;13610:113;;;13741:6;13738:1;13735:13;13732:48;;;-1:-1:-1;;13776:1:1;13758:16;;13751:27;13528:258::o;13791:380::-;13870:1;13866:12;;;;13913;;;13934:61;;13988:4;13980:6;13976:17;13966:27;;13934:61;14041:2;14033:6;14030:14;14010:18;14007:38;14004:161;;;14087:10;14082:3;14078:20;14075:1;14068:31;14122:4;14119:1;14112:15;14150:4;14147:1;14140:15;14004:161;;13791:380;;;:::o;14176:135::-;14215:3;-1:-1:-1;;14236:17:1;;14233:43;;;14256:18;;:::i;:::-;-1:-1:-1;14303:1:1;14292:13;;14176:135::o;14316:112::-;14348:1;14374;14364:35;;14379:18;;:::i;:::-;-1:-1:-1;14413:9:1;;14316:112::o;14433:127::-;14494:10;14489:3;14485:20;14482:1;14475:31;14525:4;14522:1;14515:15;14549:4;14546:1;14539:15;14565:127;14626:10;14621:3;14617:20;14614:1;14607:31;14657:4;14654:1;14647:15;14681:4;14678:1;14671:15;14697:127;14758:10;14753:3;14749:20;14746:1;14739:31;14789:4;14786:1;14779:15;14813:4;14810:1;14803:15;14829:127;14890:10;14885:3;14881:20;14878:1;14871:31;14921:4;14918:1;14911:15;14945:4;14942:1;14935:15;14961:131;-1:-1:-1;;;;;15036:31:1;;15026:42;;15016:70;;15082:1;15079;15072:12;15097:118;15183:5;15176:13;15169:21;15162:5;15159:32;15149:60;;15205:1;15202;15195:12;15220:131;-1:-1:-1;;;;;;15294:32:1;;15284:43;;15274:71;;15341:1;15338;15331:12
Swarm Source
ipfs://baf02539bde2d3b3325c37d223dd4b4c5cd139fb554c3e644d74ab648e3baa2c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.