ERC-721
Overview
Max Total Supply
158 AAO
Holders
60
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 AAOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
AfroApes
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-02-13 */ // SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } /** * @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); } } /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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); } } } } /** * @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; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } /** * @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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @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); } /** * @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`, 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; } /** * @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 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; } } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @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 || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require( owner != address(0), "ERC721: balance query for the zero address" ); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require( owner != address(0), "ERC721: owner query for nonexistent token" ); return owner; } /** * @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 {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require( _exists(tokenId), "ERC721: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_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 { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721: 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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require( _exists(tokenId), "ERC721: operator query for nonexistent token" ); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require( ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own" ); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @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.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert( "ERC721: transfer to non ERC721Receiver implementer" ); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } contract AfroApes is ERC721, Ownable { using SafeMath for uint256; using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIds; Counters.Counter private ogTokenCounter; uint256 private OG_MINT_PRICE = 0.2 ether; //0.2 ETH uint256 public constant OG_MAX = 50; /** * @dev represents the maximum for number of apes available in this collection * *for the origin collection the max apes is proposed to 160. * - 50 OG, * - 100 Marketplaces Auction, * - 10 For Team, */ uint256 public constant MAX_APES = 160; /** * @dev returns true if Origin sale is active */ bool public saleIsActive = true; mapping(uint256 => string) private _tokenURIs; mapping(address => bool) private AfroLists; /** * @dev addresses of OG's that have minted */ mapping(address => bool) private OGMintedAddresses; /** * @dev triggered when OGMint */ event OGMinted(address indexed to, string imageHash, uint256 tokenId); /** * @dev Throws if called by any account other than afroListed Addresses. */ modifier onlyAfroLists() { require( AfroLists[msg.sender], "OnlyAfroList: caller is not on the AfroList" ); _; } // Base URI string private _AfroBaseURI = "https://api.afroapes.com/v1/collections/afro-apes-the-origin/"; constructor() ERC721("Afro Apes: The Origin", "AAO") { } /** * @dev set some apes aside (e.g. set 10 apes aside for Team). * * This function mints specified number of apes to the caller * -Requirements: * -- @param amount: number of apes to reserve * * @dev This function should be called only by the owner. */ function mintMultiple(uint256 amount) external onlyOwner { for (uint256 i = 0; i < amount; i++) { _safeMint(owner(), totalSupply()); _tokenIds.increment(); } } /** * @dev adds array of addresses to AfroList (OG addresses) * - 50 OG, 50 addresses * @param _address: array of addresses */ function addAddressesForAfroList(address[] calldata _address) external onlyOwner { for (uint256 i = 0; i < _address.length; i++) { AfroLists[_address[i]] = true; } } /** * Verify Addres in on AL */ function verifyAddressIsAfroListed(address _address) external view returns(bool){ return AfroLists[_address]; } /** * Pause OG sale if active, make active if paused * usecase: emergency. */ function toggleMintState() external onlyOwner { saleIsActive = !saleIsActive; } /** * @dev OG mint. Only for OG afroListed adresses */ function mint(string memory imageHash) external payable onlyAfroLists { require(saleIsActive, "Sale is not active"); require( !OGMintedAddresses[msg.sender], "caller has previously minted" ); require( totalOGsMinted().add(1) <= OG_MAX, "Purchase exceeds presale supply" ); require(OG_MINT_PRICE <= msg.value, "Ether value sent is not correct"); _safeMint(msg.sender, totalSupply()); emit OGMinted(msg.sender, imageHash, totalSupply()); OGMintedAddresses[msg.sender] = true; ogTokenCounter.increment(); _tokenIds.increment(); if (msg.value > OG_MINT_PRICE) { Address.sendValue(payable(msg.sender), msg.value - OG_MINT_PRICE); } } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return bytes(baseURI()).length > 0 ? string( abi.encodePacked(baseURI(), tokenId.toString()) ) : ""; } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view virtual returns (string memory) { return _AfroBaseURI; } /** * Set Base URI. * usecase: set or remove mask on all token * @param baseURI_: url to metadata. must have closing "/" * e.g : https://example.com/ */ function setBaseURI(string calldata baseURI_) external virtual { _AfroBaseURI = baseURI_; } /** *@dev returns total OG minted */ function totalOGsMinted() public view returns (uint256) { return ogTokenCounter.current(); } /** * @dev returns total Apes Minted * - maximum supply is MAX_APES */ function totalSupply() public view returns (uint256) { return _tokenIds.current(); } /** * @dev return price in ETH for OG minting */ function getMintPrice() external view returns (uint256) { return OG_MINT_PRICE; } /** * @dev Withdraw all funds from contracts. */ function withdraw() external onlyOwner { uint256 balance = address(this).balance; Address.sendValue(payable(owner()), balance); } /** * @dev Withdraw funds from contracts. */ function withdrawOnly(uint256 amount) external onlyOwner { uint256 balance = address(this).balance; require(balance >= amount, "Amount exceeds total funds in contract"); Address.sendValue(payable(owner()), amount); } }
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":"to","type":"address"},{"indexed":false,"internalType":"string","name":"imageHash","type":"string"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"OGMinted","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":[],"name":"MAX_APES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OG_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_address","type":"address[]"}],"name":"addAddressesForAfroList","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":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"string","name":"imageHash","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalOGsMinted","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":[{"internalType":"address","name":"_address","type":"address"}],"name":"verifyAddressIsAfroListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawOnly","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6702c68af0bb140000600955600a805460ff1916600117905560e0604052603d608081815290620022fc60a03980516200004291600e9160209091019062000140565b503480156200005057600080fd5b50604080518082018252601581527f4166726f20417065733a20546865204f726967696e000000000000000000000060208083019182528351808501909452600384526241414f60e81b908401528151919291620000b19160009162000140565b508051620000c790600190602084019062000140565b505050620000e4620000de620000ea60201b60201c565b620000ee565b62000223565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014e90620001e6565b90600052602060002090601f016020900481019282620001725760008555620001bd565b82601f106200018d57805160ff1916838001178555620001bd565b82800160010185558215620001bd579182015b82811115620001bd578251825591602001919060010190620001a0565b50620001cb929150620001cf565b5090565b5b80821115620001cb5760008155600101620001d0565b600181811c90821680620001fb57607f821691505b602082108114156200021d57634e487b7160e01b600052602260045260246000fd5b50919050565b6120c980620002336000396000f3fe6080604052600436106101d85760003560e01c806370a0823111610102578063ae08649c11610095578063d85d3d2711610064578063d85d3d2714610525578063e985e9c514610538578063eb8d244414610581578063f2fde38b1461059b57600080fd5b8063ae08649c146104bb578063b88d4fde146104d0578063bb8a16bd146104f0578063c87b56dd1461050557600080fd5b80639e63351b116100d15780639e63351b1461042d578063a22cb46514610466578063a7f93ebd14610486578063abbb5a551461049b57600080fd5b806370a08231146103c5578063715018a6146103e55780638da5cb5b146103fa57806395d89b411461041857600080fd5b80633ccfd60b1161017a57806358299a251161014957806358299a251461035b578063601309bd146103705780636352211e146103905780636c0360eb146103b057600080fd5b80633ccfd60b146102f157806342842e0e14610306578063510db75a1461032657806355f804b31461033b57600080fd5b8063095ea7b3116101b6578063095ea7b31461026c57806318160ddd1461028e57806323b872dd146102b15780632e824c13146102d157600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611cab565b6105bb565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b5061022761060d565b6040516102099190611e3f565b34801561024057600080fd5b5061025461024f366004611d8e565b61069f565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c610287366004611c0c565b610739565b005b34801561029a57600080fd5b506102a361084f565b604051908152602001610209565b3480156102bd57600080fd5b5061028c6102cc366004611b18565b61085f565b3480156102dd57600080fd5b5061028c6102ec366004611d8e565b610890565b3480156102fd57600080fd5b5061028c610939565b34801561031257600080fd5b5061028c610321366004611b18565b610982565b34801561033257600080fd5b5061028c61099d565b34801561034757600080fd5b5061028c610356366004611ce5565b6109db565b34801561036757600080fd5b506102a36109e7565b34801561037c57600080fd5b5061028c61038b366004611c36565b6109f2565b34801561039c57600080fd5b506102546103ab366004611d8e565b610a8e565b3480156103bc57600080fd5b50610227610b05565b3480156103d157600080fd5b506102a36103e0366004611aca565b610b14565b3480156103f157600080fd5b5061028c610b9b565b34801561040657600080fd5b506006546001600160a01b0316610254565b34801561042457600080fd5b50610227610bd1565b34801561043957600080fd5b506101fd610448366004611aca565b6001600160a01b03166000908152600c602052604090205460ff1690565b34801561047257600080fd5b5061028c610481366004611bd0565b610be0565b34801561049257600080fd5b506009546102a3565b3480156104a757600080fd5b5061028c6104b6366004611d8e565b610beb565b3480156104c757600080fd5b506102a3603281565b3480156104dc57600080fd5b5061028c6104eb366004611b54565b610c62565b3480156104fc57600080fd5b506102a360a081565b34801561051157600080fd5b50610227610520366004611d8e565b610c9a565b61028c610533366004611d45565b610d75565b34801561054457600080fd5b506101fd610553366004611ae5565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561058d57600080fd5b50600a546101fd9060ff1681565b3480156105a757600080fd5b5061028c6105b6366004611aca565b610fe8565b60006001600160e01b031982166380ac58cd60e01b14806105ec57506001600160e01b03198216634992a2a160e11b145b8061060757506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461061c90611fbb565b80601f016020809104026020016040519081016040528092919081815260200182805461064890611fbb565b80156106955780601f1061066a57610100808354040283529160200191610695565b820191906000526020600020905b81548152906001019060200180831161067857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661071d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061074482610a8e565b9050806001600160a01b0316836001600160a01b031614156107b25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610714565b336001600160a01b03821614806107ce57506107ce8133610553565b6108405760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610714565b61084a8383611080565b505050565b600061085a60075490565b905090565b61086933826110ee565b6108855760405162461bcd60e51b815260040161071490611efb565b61084a8383836111e5565b6006546001600160a01b031633146108ba5760405162461bcd60e51b815260040161071490611ec6565b478181101561091a5760405162461bcd60e51b815260206004820152602660248201527f416d6f756e74206578636565647320746f74616c2066756e647320696e20636f6044820152651b9d1c9858dd60d21b6064820152608401610714565b61093561092f6006546001600160a01b031690565b83611385565b5050565b6006546001600160a01b031633146109635760405162461bcd60e51b815260040161071490611ec6565b4761097f6109796006546001600160a01b031690565b82611385565b50565b61084a83838360405180602001604052806000815250610c62565b6006546001600160a01b031633146109c75760405162461bcd60e51b815260040161071490611ec6565b600a805460ff19811660ff90911615179055565b61084a600e838361199f565b600061085a60085490565b6006546001600160a01b03163314610a1c5760405162461bcd60e51b815260040161071490611ec6565b60005b8181101561084a576001600c6000858585818110610a3f57610a3f612051565b9050602002016020810190610a549190611aca565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a8681611ff6565b915050610a1f565b6000818152600260205260408120546001600160a01b0316806106075760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610714565b6060600e805461061c90611fbb565b60006001600160a01b038216610b7f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610714565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610bc55760405162461bcd60e51b815260040161071490611ec6565b610bcf600061149e565b565b60606001805461061c90611fbb565b6109353383836114f0565b6006546001600160a01b03163314610c155760405162461bcd60e51b815260040161071490611ec6565b60005b8181101561093557610c42610c356006546001600160a01b031690565b610c3d61084f565b6115bf565b610c50600780546001019055565b80610c5a81611ff6565b915050610c18565b610c6c33836110ee565b610c885760405162461bcd60e51b815260040161071490611efb565b610c94848484846115d9565b50505050565b6000818152600260205260409020546060906001600160a01b0316610d195760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610714565b6000610d23610b05565b5111610d3e5760405180602001604052806000815250610607565b610d46610b05565b610d4f8361160c565b604051602001610d60929190611dd3565b60405160208183030381529060405292915050565b336000908152600c602052604090205460ff16610de85760405162461bcd60e51b815260206004820152602b60248201527f4f6e6c794166726f4c6973743a2063616c6c6572206973206e6f74206f6e207460448201526a1a194810599c9bd31a5cdd60aa1b6064820152608401610714565b600a5460ff16610e2f5760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b6044820152606401610714565b336000908152600d602052604090205460ff1615610e8f5760405162461bcd60e51b815260206004820152601c60248201527f63616c6c6572206861732070726576696f75736c79206d696e746564000000006044820152606401610714565b6032610ea46001610e9e6109e7565b9061170a565b1115610ef25760405162461bcd60e51b815260206004820152601f60248201527f507572636861736520657863656564732070726573616c6520737570706c79006044820152606401610714565b346009541115610f445760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610714565b610f5033610c3d61084f565b337f223b452868dea1810309c1ff7107f04ac782227a2be15d3df02de8e4ef2076ac82610f7b61084f565b604051610f89929190611e52565b60405180910390a2336000908152600d60205260409020805460ff19166001179055610fb9600880546001019055565b610fc7600780546001019055565b60095434111561097f5761097f3360095434610fe39190611f78565b611385565b6006546001600160a01b031633146110125760405162461bcd60e51b815260040161071490611ec6565b6001600160a01b0381166110775760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610714565b61097f8161149e565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906110b582610a8e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166111675760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610714565b600061117283610a8e565b9050806001600160a01b0316846001600160a01b031614806111ad5750836001600160a01b03166111a28461069f565b6001600160a01b0316145b806111dd57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166111f882610a8e565b6001600160a01b0316146112605760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610714565b6001600160a01b0382166112c25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610714565b6112cd600082611080565b6001600160a01b03831660009081526003602052604081208054600192906112f6908490611f78565b90915550506001600160a01b0382166000908152600360205260408120805460019290611324908490611f4c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b804710156113d55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610714565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611422576040519150601f19603f3d011682016040523d82523d6000602084013e611427565b606091505b505090508061084a5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610714565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156115525760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610714565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61093582826040518060200160405280600081525061171d565b6115e48484846111e5565b6115f084848484611750565b610c945760405162461bcd60e51b815260040161071490611e74565b6060816116305750506040805180820190915260018152600360fc1b602082015290565b8160005b811561165a578061164481611ff6565b91506116539050600a83611f64565b9150611634565b60008167ffffffffffffffff81111561167557611675612067565b6040519080825280601f01601f19166020018201604052801561169f576020820181803683370190505b5090505b84156111dd576116b4600183611f78565b91506116c1600a86612011565b6116cc906030611f4c565b60f81b8183815181106116e1576116e1612051565b60200101906001600160f81b031916908160001a905350611703600a86611f64565b94506116a3565b60006117168284611f4c565b9392505050565b611727838361185d565b6117346000848484611750565b61084a5760405162461bcd60e51b815260040161071490611e74565b60006001600160a01b0384163b1561185257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611794903390899088908890600401611e02565b602060405180830381600087803b1580156117ae57600080fd5b505af19250505080156117de575060408051601f3d908101601f191682019092526117db91810190611cc8565b60015b611838573d80801561180c576040519150601f19603f3d011682016040523d82523d6000602084013e611811565b606091505b5080516118305760405162461bcd60e51b815260040161071490611e74565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111dd565b506001949350505050565b6001600160a01b0382166118b35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610714565b6000818152600260205260409020546001600160a01b0316156119185760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610714565b6001600160a01b0382166000908152600360205260408120805460019290611941908490611f4c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546119ab90611fbb565b90600052602060002090601f0160209004810192826119cd5760008555611a13565b82601f106119e65782800160ff19823516178555611a13565b82800160010185558215611a13579182015b82811115611a135782358255916020019190600101906119f8565b50611a1f929150611a23565b5090565b5b80821115611a1f5760008155600101611a24565b600067ffffffffffffffff80841115611a5357611a53612067565b604051601f8501601f19908116603f01168101908282118183101715611a7b57611a7b612067565b81604052809350858152868686011115611a9457600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611ac557600080fd5b919050565b600060208284031215611adc57600080fd5b61171682611aae565b60008060408385031215611af857600080fd5b611b0183611aae565b9150611b0f60208401611aae565b90509250929050565b600080600060608486031215611b2d57600080fd5b611b3684611aae565b9250611b4460208501611aae565b9150604084013590509250925092565b60008060008060808587031215611b6a57600080fd5b611b7385611aae565b9350611b8160208601611aae565b925060408501359150606085013567ffffffffffffffff811115611ba457600080fd5b8501601f81018713611bb557600080fd5b611bc487823560208401611a38565b91505092959194509250565b60008060408385031215611be357600080fd5b611bec83611aae565b915060208301358015158114611c0157600080fd5b809150509250929050565b60008060408385031215611c1f57600080fd5b611c2883611aae565b946020939093013593505050565b60008060208385031215611c4957600080fd5b823567ffffffffffffffff80821115611c6157600080fd5b818501915085601f830112611c7557600080fd5b813581811115611c8457600080fd5b8660208260051b8501011115611c9957600080fd5b60209290920196919550909350505050565b600060208284031215611cbd57600080fd5b81356117168161207d565b600060208284031215611cda57600080fd5b81516117168161207d565b60008060208385031215611cf857600080fd5b823567ffffffffffffffff80821115611d1057600080fd5b818501915085601f830112611d2457600080fd5b813581811115611d3357600080fd5b866020828501011115611c9957600080fd5b600060208284031215611d5757600080fd5b813567ffffffffffffffff811115611d6e57600080fd5b8201601f81018413611d7f57600080fd5b6111dd84823560208401611a38565b600060208284031215611da057600080fd5b5035919050565b60008151808452611dbf816020860160208601611f8f565b601f01601f19169290920160200192915050565b60008351611de5818460208801611f8f565b835190830190611df9818360208801611f8f565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e3590830184611da7565b9695505050505050565b6020815260006117166020830184611da7565b604081526000611e656040830185611da7565b90508260208301529392505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611f5f57611f5f612025565b500190565b600082611f7357611f7361203b565b500490565b600082821015611f8a57611f8a612025565b500390565b60005b83811015611faa578181015183820152602001611f92565b83811115610c945750506000910152565b600181811c90821680611fcf57607f821691505b60208210811415611ff057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561200a5761200a612025565b5060010190565b6000826120205761202061203b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461097f57600080fdfea26469706673582212206f8746bd03a0457c1711db2133e108d96505ffe8c695315a8c2f3be2c1ed527a64736f6c6343000807003368747470733a2f2f6170692e6166726f617065732e636f6d2f76312f636f6c6c656374696f6e732f6166726f2d617065732d7468652d6f726967696e2f
Deployed Bytecode
0x6080604052600436106101d85760003560e01c806370a0823111610102578063ae08649c11610095578063d85d3d2711610064578063d85d3d2714610525578063e985e9c514610538578063eb8d244414610581578063f2fde38b1461059b57600080fd5b8063ae08649c146104bb578063b88d4fde146104d0578063bb8a16bd146104f0578063c87b56dd1461050557600080fd5b80639e63351b116100d15780639e63351b1461042d578063a22cb46514610466578063a7f93ebd14610486578063abbb5a551461049b57600080fd5b806370a08231146103c5578063715018a6146103e55780638da5cb5b146103fa57806395d89b411461041857600080fd5b80633ccfd60b1161017a57806358299a251161014957806358299a251461035b578063601309bd146103705780636352211e146103905780636c0360eb146103b057600080fd5b80633ccfd60b146102f157806342842e0e14610306578063510db75a1461032657806355f804b31461033b57600080fd5b8063095ea7b3116101b6578063095ea7b31461026c57806318160ddd1461028e57806323b872dd146102b15780632e824c13146102d157600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611cab565b6105bb565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b5061022761060d565b6040516102099190611e3f565b34801561024057600080fd5b5061025461024f366004611d8e565b61069f565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c610287366004611c0c565b610739565b005b34801561029a57600080fd5b506102a361084f565b604051908152602001610209565b3480156102bd57600080fd5b5061028c6102cc366004611b18565b61085f565b3480156102dd57600080fd5b5061028c6102ec366004611d8e565b610890565b3480156102fd57600080fd5b5061028c610939565b34801561031257600080fd5b5061028c610321366004611b18565b610982565b34801561033257600080fd5b5061028c61099d565b34801561034757600080fd5b5061028c610356366004611ce5565b6109db565b34801561036757600080fd5b506102a36109e7565b34801561037c57600080fd5b5061028c61038b366004611c36565b6109f2565b34801561039c57600080fd5b506102546103ab366004611d8e565b610a8e565b3480156103bc57600080fd5b50610227610b05565b3480156103d157600080fd5b506102a36103e0366004611aca565b610b14565b3480156103f157600080fd5b5061028c610b9b565b34801561040657600080fd5b506006546001600160a01b0316610254565b34801561042457600080fd5b50610227610bd1565b34801561043957600080fd5b506101fd610448366004611aca565b6001600160a01b03166000908152600c602052604090205460ff1690565b34801561047257600080fd5b5061028c610481366004611bd0565b610be0565b34801561049257600080fd5b506009546102a3565b3480156104a757600080fd5b5061028c6104b6366004611d8e565b610beb565b3480156104c757600080fd5b506102a3603281565b3480156104dc57600080fd5b5061028c6104eb366004611b54565b610c62565b3480156104fc57600080fd5b506102a360a081565b34801561051157600080fd5b50610227610520366004611d8e565b610c9a565b61028c610533366004611d45565b610d75565b34801561054457600080fd5b506101fd610553366004611ae5565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561058d57600080fd5b50600a546101fd9060ff1681565b3480156105a757600080fd5b5061028c6105b6366004611aca565b610fe8565b60006001600160e01b031982166380ac58cd60e01b14806105ec57506001600160e01b03198216634992a2a160e11b145b8061060757506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461061c90611fbb565b80601f016020809104026020016040519081016040528092919081815260200182805461064890611fbb565b80156106955780601f1061066a57610100808354040283529160200191610695565b820191906000526020600020905b81548152906001019060200180831161067857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661071d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061074482610a8e565b9050806001600160a01b0316836001600160a01b031614156107b25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610714565b336001600160a01b03821614806107ce57506107ce8133610553565b6108405760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610714565b61084a8383611080565b505050565b600061085a60075490565b905090565b61086933826110ee565b6108855760405162461bcd60e51b815260040161071490611efb565b61084a8383836111e5565b6006546001600160a01b031633146108ba5760405162461bcd60e51b815260040161071490611ec6565b478181101561091a5760405162461bcd60e51b815260206004820152602660248201527f416d6f756e74206578636565647320746f74616c2066756e647320696e20636f6044820152651b9d1c9858dd60d21b6064820152608401610714565b61093561092f6006546001600160a01b031690565b83611385565b5050565b6006546001600160a01b031633146109635760405162461bcd60e51b815260040161071490611ec6565b4761097f6109796006546001600160a01b031690565b82611385565b50565b61084a83838360405180602001604052806000815250610c62565b6006546001600160a01b031633146109c75760405162461bcd60e51b815260040161071490611ec6565b600a805460ff19811660ff90911615179055565b61084a600e838361199f565b600061085a60085490565b6006546001600160a01b03163314610a1c5760405162461bcd60e51b815260040161071490611ec6565b60005b8181101561084a576001600c6000858585818110610a3f57610a3f612051565b9050602002016020810190610a549190611aca565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a8681611ff6565b915050610a1f565b6000818152600260205260408120546001600160a01b0316806106075760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610714565b6060600e805461061c90611fbb565b60006001600160a01b038216610b7f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610714565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610bc55760405162461bcd60e51b815260040161071490611ec6565b610bcf600061149e565b565b60606001805461061c90611fbb565b6109353383836114f0565b6006546001600160a01b03163314610c155760405162461bcd60e51b815260040161071490611ec6565b60005b8181101561093557610c42610c356006546001600160a01b031690565b610c3d61084f565b6115bf565b610c50600780546001019055565b80610c5a81611ff6565b915050610c18565b610c6c33836110ee565b610c885760405162461bcd60e51b815260040161071490611efb565b610c94848484846115d9565b50505050565b6000818152600260205260409020546060906001600160a01b0316610d195760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610714565b6000610d23610b05565b5111610d3e5760405180602001604052806000815250610607565b610d46610b05565b610d4f8361160c565b604051602001610d60929190611dd3565b60405160208183030381529060405292915050565b336000908152600c602052604090205460ff16610de85760405162461bcd60e51b815260206004820152602b60248201527f4f6e6c794166726f4c6973743a2063616c6c6572206973206e6f74206f6e207460448201526a1a194810599c9bd31a5cdd60aa1b6064820152608401610714565b600a5460ff16610e2f5760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b6044820152606401610714565b336000908152600d602052604090205460ff1615610e8f5760405162461bcd60e51b815260206004820152601c60248201527f63616c6c6572206861732070726576696f75736c79206d696e746564000000006044820152606401610714565b6032610ea46001610e9e6109e7565b9061170a565b1115610ef25760405162461bcd60e51b815260206004820152601f60248201527f507572636861736520657863656564732070726573616c6520737570706c79006044820152606401610714565b346009541115610f445760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610714565b610f5033610c3d61084f565b337f223b452868dea1810309c1ff7107f04ac782227a2be15d3df02de8e4ef2076ac82610f7b61084f565b604051610f89929190611e52565b60405180910390a2336000908152600d60205260409020805460ff19166001179055610fb9600880546001019055565b610fc7600780546001019055565b60095434111561097f5761097f3360095434610fe39190611f78565b611385565b6006546001600160a01b031633146110125760405162461bcd60e51b815260040161071490611ec6565b6001600160a01b0381166110775760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610714565b61097f8161149e565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906110b582610a8e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166111675760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610714565b600061117283610a8e565b9050806001600160a01b0316846001600160a01b031614806111ad5750836001600160a01b03166111a28461069f565b6001600160a01b0316145b806111dd57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166111f882610a8e565b6001600160a01b0316146112605760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610714565b6001600160a01b0382166112c25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610714565b6112cd600082611080565b6001600160a01b03831660009081526003602052604081208054600192906112f6908490611f78565b90915550506001600160a01b0382166000908152600360205260408120805460019290611324908490611f4c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b804710156113d55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610714565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611422576040519150601f19603f3d011682016040523d82523d6000602084013e611427565b606091505b505090508061084a5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610714565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156115525760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610714565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61093582826040518060200160405280600081525061171d565b6115e48484846111e5565b6115f084848484611750565b610c945760405162461bcd60e51b815260040161071490611e74565b6060816116305750506040805180820190915260018152600360fc1b602082015290565b8160005b811561165a578061164481611ff6565b91506116539050600a83611f64565b9150611634565b60008167ffffffffffffffff81111561167557611675612067565b6040519080825280601f01601f19166020018201604052801561169f576020820181803683370190505b5090505b84156111dd576116b4600183611f78565b91506116c1600a86612011565b6116cc906030611f4c565b60f81b8183815181106116e1576116e1612051565b60200101906001600160f81b031916908160001a905350611703600a86611f64565b94506116a3565b60006117168284611f4c565b9392505050565b611727838361185d565b6117346000848484611750565b61084a5760405162461bcd60e51b815260040161071490611e74565b60006001600160a01b0384163b1561185257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611794903390899088908890600401611e02565b602060405180830381600087803b1580156117ae57600080fd5b505af19250505080156117de575060408051601f3d908101601f191682019092526117db91810190611cc8565b60015b611838573d80801561180c576040519150601f19603f3d011682016040523d82523d6000602084013e611811565b606091505b5080516118305760405162461bcd60e51b815260040161071490611e74565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111dd565b506001949350505050565b6001600160a01b0382166118b35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610714565b6000818152600260205260409020546001600160a01b0316156119185760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610714565b6001600160a01b0382166000908152600360205260408120805460019290611941908490611f4c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546119ab90611fbb565b90600052602060002090601f0160209004810192826119cd5760008555611a13565b82601f106119e65782800160ff19823516178555611a13565b82800160010185558215611a13579182015b82811115611a135782358255916020019190600101906119f8565b50611a1f929150611a23565b5090565b5b80821115611a1f5760008155600101611a24565b600067ffffffffffffffff80841115611a5357611a53612067565b604051601f8501601f19908116603f01168101908282118183101715611a7b57611a7b612067565b81604052809350858152868686011115611a9457600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611ac557600080fd5b919050565b600060208284031215611adc57600080fd5b61171682611aae565b60008060408385031215611af857600080fd5b611b0183611aae565b9150611b0f60208401611aae565b90509250929050565b600080600060608486031215611b2d57600080fd5b611b3684611aae565b9250611b4460208501611aae565b9150604084013590509250925092565b60008060008060808587031215611b6a57600080fd5b611b7385611aae565b9350611b8160208601611aae565b925060408501359150606085013567ffffffffffffffff811115611ba457600080fd5b8501601f81018713611bb557600080fd5b611bc487823560208401611a38565b91505092959194509250565b60008060408385031215611be357600080fd5b611bec83611aae565b915060208301358015158114611c0157600080fd5b809150509250929050565b60008060408385031215611c1f57600080fd5b611c2883611aae565b946020939093013593505050565b60008060208385031215611c4957600080fd5b823567ffffffffffffffff80821115611c6157600080fd5b818501915085601f830112611c7557600080fd5b813581811115611c8457600080fd5b8660208260051b8501011115611c9957600080fd5b60209290920196919550909350505050565b600060208284031215611cbd57600080fd5b81356117168161207d565b600060208284031215611cda57600080fd5b81516117168161207d565b60008060208385031215611cf857600080fd5b823567ffffffffffffffff80821115611d1057600080fd5b818501915085601f830112611d2457600080fd5b813581811115611d3357600080fd5b866020828501011115611c9957600080fd5b600060208284031215611d5757600080fd5b813567ffffffffffffffff811115611d6e57600080fd5b8201601f81018413611d7f57600080fd5b6111dd84823560208401611a38565b600060208284031215611da057600080fd5b5035919050565b60008151808452611dbf816020860160208601611f8f565b601f01601f19169290920160200192915050565b60008351611de5818460208801611f8f565b835190830190611df9818360208801611f8f565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e3590830184611da7565b9695505050505050565b6020815260006117166020830184611da7565b604081526000611e656040830185611da7565b90508260208301529392505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611f5f57611f5f612025565b500190565b600082611f7357611f7361203b565b500490565b600082821015611f8a57611f8a612025565b500390565b60005b83811015611faa578181015183820152602001611f92565b83811115610c945750506000910152565b600181811c90821680611fcf57607f821691505b60208210811415611ff057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561200a5761200a612025565b5060010190565b6000826120205761202061203b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461097f57600080fdfea26469706673582212206f8746bd03a0457c1711db2133e108d96505ffe8c695315a8c2f3be2c1ed527a64736f6c63430008070033
Deployed Bytecode Sourcemap
43542:6051:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31023:355;;;;;;;;;;-1:-1:-1;31023:355:0;;;;;:::i;:::-;;:::i;:::-;;;7073:14:1;;7066:22;7048:41;;7036:2;7021:18;31023:355:0;;;;;;;;32192:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33004:308::-;;;;;;;;;;-1:-1:-1;33004:308:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6371:32:1;;;6353:51;;6341:2;6326:18;33004:308:0;6207:203:1;32527:411:0;;;;;;;;;;-1:-1:-1;32527:411:0;;;;;:::i;:::-;;:::i;:::-;;48777:98;;;;;;;;;;;;;:::i;:::-;;;17175:25:1;;;17163:2;17148:18;48777:98:0;17029:177:1;33923:376:0;;;;;;;;;;-1:-1:-1;33923:376:0;;;;;:::i;:::-;;:::i;49342:248::-;;;;;;;;;;-1:-1:-1;49342:248:0;;;;;:::i;:::-;;:::i;49120:152::-;;;;;;;;;;;;;:::i;34370:185::-;;;;;;;;;;-1:-1:-1;34370:185:0;;;;;:::i;:::-;;:::i;46336:93::-;;;;;;;;;;;;;:::i;48402:105::-;;;;;;;;;;-1:-1:-1;48402:105:0;;;;;:::i;:::-;;:::i;48569:106::-;;;;;;;;;;;;;:::i;45820:224::-;;;;;;;;;;-1:-1:-1;45820:224:0;;;;;:::i;:::-;;:::i;31799:326::-;;;;;;;;;;-1:-1:-1;31799:326:0;;;;;:::i;:::-;;:::i;48093:101::-;;;;;;;;;;;;;:::i;31442:295::-;;;;;;;;;;-1:-1:-1;31442:295:0;;;;;:::i;:::-;;:::i;21112:103::-;;;;;;;;;;;;;:::i;20461:87::-;;;;;;;;;;-1:-1:-1;20534:6:0;;-1:-1:-1;;;;;20534:6:0;20461:87;;32361:104;;;;;;;;;;;;;:::i;46102:127::-;;;;;;;;;;-1:-1:-1;46102:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;46201:19:0;46177:4;46201:19;;;:9;:19;;;;;;;;;46102:127;33384:187;;;;;;;;;;-1:-1:-1;33384:187:0;;;;;:::i;:::-;;:::i;48951:95::-;;;;;;;;;;-1:-1:-1;49025:13:0;;48951:95;;45444:208;;;;;;;;;;-1:-1:-1;45444:208:0;;;;;:::i;:::-;;:::i;43844:35::-;;;;;;;;;;;;43877:2;43844:35;;34626:365;;;;;;;;;;-1:-1:-1;34626:365:0;;;;;:::i;:::-;;:::i;44146:38::-;;;;;;;;;;;;44181:3;44146:38;;47401:449;;;;;;;;;;-1:-1:-1;47401:449:0;;;;;:::i;:::-;;:::i;46509:821::-;;;;;;:::i;:::-;;:::i;33642:214::-;;;;;;;;;;-1:-1:-1;33642:214:0;;;;;:::i;:::-;-1:-1:-1;;;;;33813:25:0;;;33784:4;33813:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;33642:214;44262:31;;;;;;;;;;-1:-1:-1;44262:31:0;;;;;;;;21370:238;;;;;;;;;;-1:-1:-1;21370:238:0;;;;;:::i;:::-;;:::i;31023:355::-;31170:4;-1:-1:-1;;;;;;31212:40:0;;-1:-1:-1;;;31212:40:0;;:105;;-1:-1:-1;;;;;;;31269:48:0;;-1:-1:-1;;;31269:48:0;31212:105;:158;;;-1:-1:-1;;;;;;;;;;29741:40:0;;;31334:36;31192:178;31023:355;-1:-1:-1;;31023:355:0:o;32192:100::-;32246:13;32279:5;32272:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32192:100;:::o;33004:308::-;33125:7;36627:16;;;:7;:16;;;;;;-1:-1:-1;;;;;36627:16:0;33150:110;;;;-1:-1:-1;;;33150:110:0;;14451:2:1;33150:110:0;;;14433:21:1;14490:2;14470:18;;;14463:30;14529:34;14509:18;;;14502:62;-1:-1:-1;;;14580:18:1;;;14573:42;14632:19;;33150:110:0;;;;;;;;;-1:-1:-1;33280:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;33280:24:0;;33004:308::o;32527:411::-;32608:13;32624:23;32639:7;32624:14;:23::i;:::-;32608:39;;32672:5;-1:-1:-1;;;;;32666:11:0;:2;-1:-1:-1;;;;;32666:11:0;;;32658:57;;;;-1:-1:-1;;;32658:57:0;;16051:2:1;32658:57:0;;;16033:21:1;16090:2;16070:18;;;16063:30;16129:34;16109:18;;;16102:62;-1:-1:-1;;;16180:18:1;;;16173:31;16221:19;;32658:57:0;15849:397:1;32658:57:0;19383:10;-1:-1:-1;;;;;32750:21:0;;;;:62;;-1:-1:-1;32775:37:0;32792:5;19383:10;33642:214;:::i;32775:37::-;32728:168;;;;-1:-1:-1;;;32728:168:0;;12844:2:1;32728:168:0;;;12826:21:1;12883:2;12863:18;;;12856:30;12922:34;12902:18;;;12895:62;12993:26;12973:18;;;12966:54;13037:19;;32728:168:0;12642:420:1;32728:168:0;32909:21;32918:2;32922:7;32909:8;:21::i;:::-;32597:341;32527:411;;:::o;48777:98::-;48821:7;48848:19;:9;887:14;;795:114;48848:19;48841:26;;48777:98;:::o;33923:376::-;34132:41;19383:10;34165:7;34132:18;:41::i;:::-;34110:140;;;;-1:-1:-1;;;34110:140:0;;;;;;;:::i;:::-;34263:28;34273:4;34279:2;34283:7;34263:9;:28::i;49342:248::-;20534:6;;-1:-1:-1;;;;;20534:6:0;19383:10;20681:23;20673:68;;;;-1:-1:-1;;;20673:68:0;;;;;;;:::i;:::-;49428:21:::1;49468:17:::0;;::::1;;49460:68;;;::::0;-1:-1:-1;;;49460:68:0;;11666:2:1;49460:68:0::1;::::0;::::1;11648:21:1::0;11705:2;11685:18;;;11678:30;11744:34;11724:18;;;11717:62;-1:-1:-1;;;11795:18:1;;;11788:36;11841:19;;49460:68:0::1;11464:402:1::0;49460:68:0::1;49539:43;49565:7;20534:6:::0;;-1:-1:-1;;;;;20534:6:0;;20461:87;49565:7:::1;49575:6;49539:17;:43::i;:::-;49399:191;49342:248:::0;:::o;49120:152::-;20534:6;;-1:-1:-1;;;;;20534:6:0;19383:10;20681:23;20673:68;;;;-1:-1:-1;;;20673:68:0;;;;;;;:::i;:::-;49188:21:::1;49220:44;49246:7;20534:6:::0;;-1:-1:-1;;;;;20534:6:0;;20461:87;49246:7:::1;49256;49220:17;:44::i;:::-;49159:113;49120:152::o:0;34370:185::-;34508:39;34525:4;34531:2;34535:7;34508:39;;;;;;;;;;;;:16;:39::i;46336:93::-;20534:6;;-1:-1:-1;;;;;20534:6:0;19383:10;20681:23;20673:68;;;;-1:-1:-1;;;20673:68:0;;;;;;;:::i;:::-;46409:12:::1;::::0;;-1:-1:-1;;46393:28:0;::::1;46409:12;::::0;;::::1;46408:13;46393:28;::::0;;46336:93::o;48402:105::-;48476:23;:12;48491:8;;48476:23;:::i;48569:106::-;48616:7;48643:24;:14;887;;795:114;45820:224;20534:6;;-1:-1:-1;;;;;20534:6:0;19383:10;20681:23;20673:68;;;;-1:-1:-1;;;20673:68:0;;;;;;;:::i;:::-;45940:9:::1;45935:102;45955:19:::0;;::::1;45935:102;;;46021:4;45996:9;:22;46006:8;;46015:1;46006:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;45996:22:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;45996:22:0;:29;;-1:-1:-1;;45996:29:0::1;::::0;::::1;;::::0;;;::::1;::::0;;45976:3;::::1;::::0;::::1;:::i;:::-;;;;45935:102;;31799:326:::0;31916:7;31957:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31957:16:0;32006:19;31984:110;;;;-1:-1:-1;;;31984:110:0;;13680:2:1;31984:110:0;;;13662:21:1;13719:2;13699:18;;;13692:30;13758:34;13738:18;;;13731:62;-1:-1:-1;;;13809:18:1;;;13802:39;13858:19;;31984:110:0;13478:405:1;48093:101:0;48141:13;48174:12;48167:19;;;;;:::i;31442:295::-;31559:7;-1:-1:-1;;;;;31606:19:0;;31584:111;;;;-1:-1:-1;;;31584:111:0;;13269:2:1;31584:111:0;;;13251:21:1;13308:2;13288:18;;;13281:30;13347:34;13327:18;;;13320:62;-1:-1:-1;;;13398:18:1;;;13391:40;13448:19;;31584:111:0;13067:406:1;31584:111:0;-1:-1:-1;;;;;;31713:16:0;;;;;:9;:16;;;;;;;31442:295::o;21112:103::-;20534:6;;-1:-1:-1;;;;;20534:6:0;19383:10;20681:23;20673:68;;;;-1:-1:-1;;;20673:68:0;;;;;;;:::i;:::-;21177:30:::1;21204:1;21177:18;:30::i;:::-;21112:103::o:0;32361:104::-;32417:13;32450:7;32443:14;;;;;:::i;33384:187::-;33511:52;19383:10;33544:8;33554;33511:18;:52::i;45444:208::-;20534:6;;-1:-1:-1;;;;;20534:6:0;19383:10;20681:23;20673:68;;;;-1:-1:-1;;;20673:68:0;;;;;;;:::i;:::-;45517:9:::1;45512:133;45536:6;45532:1;:10;45512:133;;;45564:33;45574:7;20534:6:::0;;-1:-1:-1;;;;;20534:6:0;;20461:87;45574:7:::1;45583:13;:11;:13::i;:::-;45564:9;:33::i;:::-;45612:21;:9;1006:19:::0;;1024:1;1006:19;;;917:127;45612:21:::1;45544:3:::0;::::1;::::0;::::1;:::i;:::-;;;;45512:133;;34626:365:::0;34815:41;19383:10;34848:7;34815:18;:41::i;:::-;34793:140;;;;-1:-1:-1;;;34793:140:0;;;;;;;:::i;:::-;34944:39;34958:4;34964:2;34968:7;34977:5;34944:13;:39::i;:::-;34626:365;;;;:::o;47401:449::-;36603:4;36627:16;;;:7;:16;;;;;;47501:13;;-1:-1:-1;;;;;36627:16:0;47532:113;;;;-1:-1:-1;;;47532:113:0;;15635:2:1;47532:113:0;;;15617:21:1;15674:2;15654:18;;;15647:30;15713:34;15693:18;;;15686:62;-1:-1:-1;;;15764:18:1;;;15757:45;15819:19;;47532:113:0;15433:411:1;47532:113:0;47704:1;47684:9;:7;:9::i;:::-;47678:23;:27;:164;;;;;;;;;;;;;;;;;47771:9;:7;:9::i;:::-;47782:18;:7;:16;:18::i;:::-;47754:47;;;;;;;;;:::i;:::-;;;;;;;;;;;;;47658:184;47401:449;-1:-1:-1;;47401:449:0:o;46509:821::-;44826:10;44816:21;;;;:9;:21;;;;;;;;44794:114;;;;-1:-1:-1;;;44794:114:0;;10827:2:1;44794:114:0;;;10809:21:1;10866:2;10846:18;;;10839:30;10905:34;10885:18;;;10878:62;-1:-1:-1;;;10956:18:1;;;10949:41;11007:19;;44794:114:0;10625:407:1;44794:114:0;46598:12:::1;::::0;::::1;;46590:43;;;::::0;-1:-1:-1;;;46590:43:0;;10120:2:1;46590:43:0::1;::::0;::::1;10102:21:1::0;10159:2;10139:18;;;10132:30;-1:-1:-1;;;10178:18:1;;;10171:48;10236:18;;46590:43:0::1;9918:342:1::0;46590:43:0::1;46685:10;46667:29;::::0;;;:17:::1;:29;::::0;;;;;::::1;;46666:30;46644:108;;;::::0;-1:-1:-1;;;46644:108:0;;9004:2:1;46644:108:0::1;::::0;::::1;8986:21:1::0;9043:2;9023:18;;;9016:30;9082;9062:18;;;9055:58;9130:18;;46644:108:0::1;8802:352:1::0;46644:108:0::1;43877:2;46785:23;46806:1;46785:16;:14;:16::i;:::-;:20:::0;::::1;:23::i;:::-;:33;;46763:114;;;::::0;-1:-1:-1;;;46763:114:0;;16871:2:1;46763:114:0::1;::::0;::::1;16853:21:1::0;16910:2;16890:18;;;16883:30;16949:33;16929:18;;;16922:61;17000:18;;46763:114:0::1;16669:355:1::0;46763:114:0::1;46913:9;46896:13;;:26;;46888:70;;;::::0;-1:-1:-1;;;46888:70:0;;10467:2:1;46888:70:0::1;::::0;::::1;10449:21:1::0;10506:2;10486:18;;;10479:30;10545:33;10525:18;;;10518:61;10596:18;;46888:70:0::1;10265:355:1::0;46888:70:0::1;46971:36;46981:10;46993:13;:11;:13::i;46971:36::-;47032:10;47023:46;47044:9:::0;47055:13:::1;:11;:13::i;:::-;47023:46;;;;;;;:::i;:::-;;;;;;;;47100:10;47082:29;::::0;;;:17:::1;:29;::::0;;;;:36;;-1:-1:-1;;47082:36:0::1;47114:4;47082:36;::::0;;47129:26:::1;:14;1006:19:::0;;1024:1;1006:19;;;917:127;47129:26:::1;47166:21;:9;1006:19:::0;;1024:1;1006:19;;;917:127;47166:21:::1;47216:13;;47204:9;:25;47200:123;;;47246:65;47272:10;47297:13;;47285:9;:25;;;;:::i;:::-;47246:17;:65::i;21370:238::-:0;20534:6;;-1:-1:-1;;;;;20534:6:0;19383:10;20681:23;20673:68;;;;-1:-1:-1;;;20673:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;21473:22:0;::::1;21451:110;;;::::0;-1:-1:-1;;;21451:110:0;;8240:2:1;21451:110:0::1;::::0;::::1;8222:21:1::0;8279:2;8259:18;;;8252:30;8318:34;8298:18;;;8291:62;-1:-1:-1;;;8369:18:1;;;8362:36;8415:19;;21451:110:0::1;8038:402:1::0;21451:110:0::1;21572:28;21591:8;21572:18;:28::i;40661:174::-:0;40736:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;40736:29:0;-1:-1:-1;;;;;40736:29:0;;;;;;;;:24;;40790:23;40736:24;40790:14;:23::i;:::-;-1:-1:-1;;;;;40781:46:0;;;;;;;;;;;40661:174;;:::o;36832:452::-;36961:4;36627:16;;;:7;:16;;;;;;-1:-1:-1;;;;;36627:16:0;36983:110;;;;-1:-1:-1;;;36983:110:0;;12431:2:1;36983:110:0;;;12413:21:1;12470:2;12450:18;;;12443:30;12509:34;12489:18;;;12482:62;-1:-1:-1;;;12560:18:1;;;12553:42;12612:19;;36983:110:0;12229:408:1;36983:110:0;37104:13;37120:23;37135:7;37120:14;:23::i;:::-;37104:39;;37173:5;-1:-1:-1;;;;;37162:16:0;:7;-1:-1:-1;;;;;37162:16:0;;:64;;;;37219:7;-1:-1:-1;;;;;37195:31:0;:20;37207:7;37195:11;:20::i;:::-;-1:-1:-1;;;;;37195:31:0;;37162:64;:113;;;-1:-1:-1;;;;;;33813:25:0;;;33784:4;33813:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;37243:32;37154:122;36832:452;-1:-1:-1;;;;36832:452:0:o;39928:615::-;40101:4;-1:-1:-1;;;;;40074:31:0;:23;40089:7;40074:14;:23::i;:::-;-1:-1:-1;;;;;40074:31:0;;40052:122;;;;-1:-1:-1;;;40052:122:0;;15225:2:1;40052:122:0;;;15207:21:1;15264:2;15244:18;;;15237:30;15303:34;15283:18;;;15276:62;-1:-1:-1;;;15354:18:1;;;15347:39;15403:19;;40052:122:0;15023:405:1;40052:122:0;-1:-1:-1;;;;;40193:16:0;;40185:65;;;;-1:-1:-1;;;40185:65:0;;9361:2:1;40185:65:0;;;9343:21:1;9400:2;9380:18;;;9373:30;9439:34;9419:18;;;9412:62;-1:-1:-1;;;9490:18:1;;;9483:34;9534:19;;40185:65:0;9159:400:1;40185:65:0;40367:29;40384:1;40388:7;40367:8;:29::i;:::-;-1:-1:-1;;;;;40409:15:0;;;;;;:9;:15;;;;;:20;;40428:1;;40409:15;:20;;40428:1;;40409:20;:::i;:::-;;;;-1:-1:-1;;;;;;;40440:13:0;;;;;;:9;:13;;;;;:18;;40457:1;;40440:13;:18;;40457:1;;40440:18;:::i;:::-;;;;-1:-1:-1;;40469:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;40469:21:0;-1:-1:-1;;;;;40469:21:0;;;;;;;;;40508:27;;40469:16;;40508:27;;;;;;;39928:615;;;:::o;12287:391::-;12416:6;12391:21;:31;;12369:110;;;;-1:-1:-1;;;12369:110:0;;12073:2:1;12369:110:0;;;12055:21:1;12112:2;12092:18;;;12085:30;12151:31;12131:18;;;12124:59;12200:18;;12369:110:0;11871:353:1;12369:110:0;12493:12;12511:9;-1:-1:-1;;;;;12511:14:0;12533:6;12511:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12492:52;;;12577:7;12555:115;;;;-1:-1:-1;;;12555:115:0;;11239:2:1;12555:115:0;;;11221:21:1;11278:2;11258:18;;;11251:30;11317:34;11297:18;;;11290:62;11388:28;11368:18;;;11361:56;11434:19;;12555:115:0;11037:422:1;21768:191:0;21861:6;;;-1:-1:-1;;;;;21878:17:0;;;-1:-1:-1;;;;;;21878:17:0;;;;;;;21911:40;;21861:6;;;21878:17;21861:6;;21911:40;;21842:16;;21911:40;21831:128;21768:191;:::o;40977:315::-;41132:8;-1:-1:-1;;;;;41123:17:0;:5;-1:-1:-1;;;;;41123:17:0;;;41115:55;;;;-1:-1:-1;;;41115:55:0;;9766:2:1;41115:55:0;;;9748:21:1;9805:2;9785:18;;;9778:30;9844:27;9824:18;;;9817:55;9889:18;;41115:55:0;9564:349:1;41115:55:0;-1:-1:-1;;;;;41181:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;41181:46:0;;;;;;;;;;41243:41;;7048::1;;;41243::0;;7021:18:1;41243:41:0;;;;;;;40977:315;;;:::o;37626:110::-;37702:26;37712:2;37716:7;37702:26;;;;;;;;;;;;:9;:26::i;35873:352::-;36030:28;36040:4;36046:2;36050:7;36030:9;:28::i;:::-;36091:48;36114:4;36120:2;36124:7;36133:5;36091:22;:48::i;:::-;36069:148;;;;-1:-1:-1;;;36069:148:0;;;;;;;:::i;8493:723::-;8549:13;8770:10;8766:53;;-1:-1:-1;;8797:10:0;;;;;;;;;;;;-1:-1:-1;;;8797:10:0;;;;;8493:723::o;8766:53::-;8844:5;8829:12;8885:78;8892:9;;8885:78;;8918:8;;;;:::i;:::-;;-1:-1:-1;8941:10:0;;-1:-1:-1;8949:2:0;8941:10;;:::i;:::-;;;8885:78;;;8973:19;9005:6;8995:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8995:17:0;;8973:39;;9023:154;9030:10;;9023:154;;9057:11;9067:1;9057:11;;:::i;:::-;;-1:-1:-1;9126:10:0;9134:2;9126:5;:10;:::i;:::-;9113:24;;:2;:24;:::i;:::-;9100:39;;9083:6;9090;9083:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;9083:56:0;;;;;;;;-1:-1:-1;9154:11:0;9163:2;9154:11;;:::i;:::-;;;9023:154;;4102:98;4160:7;4187:5;4191:1;4187;:5;:::i;:::-;4180:12;4102:98;-1:-1:-1;;;4102:98:0:o;37963:321::-;38093:18;38099:2;38103:7;38093:5;:18::i;:::-;38144:54;38175:1;38179:2;38183:7;38192:5;38144:22;:54::i;:::-;38122:154;;;;-1:-1:-1;;;38122:154:0;;;;;;;:::i;41857:980::-;42012:4;-1:-1:-1;;;;;42033:13:0;;11288:20;11336:8;42029:801;;42086:175;;-1:-1:-1;;;42086:175:0;;-1:-1:-1;;;;;42086:36:0;;;;;:175;;19383:10;;42180:4;;42207:7;;42237:5;;42086:175;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42086:175:0;;;;;;;;-1:-1:-1;;42086:175:0;;;;;;;;;;;;:::i;:::-;;;42065:710;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42444:13:0;;42440:320;;42487:108;;-1:-1:-1;;;42487:108:0;;;;;;;:::i;42440:320::-;42710:6;42704:13;42695:6;42691:2;42687:15;42680:38;42065:710;-1:-1:-1;;;;;;42325:51:0;-1:-1:-1;;;42325:51:0;;-1:-1:-1;42318:58:0;;42029:801;-1:-1:-1;42814:4:0;41857:980;;;;;;:::o;38620:382::-;-1:-1:-1;;;;;38700:16:0;;38692:61;;;;-1:-1:-1;;;38692:61:0;;14090:2:1;38692:61:0;;;14072:21:1;;;14109:18;;;14102:30;14168:34;14148:18;;;14141:62;14220:18;;38692:61:0;13888:356:1;38692:61:0;36603:4;36627:16;;;:7;:16;;;;;;-1:-1:-1;;;;;36627:16:0;:30;38764:58;;;;-1:-1:-1;;;38764:58:0;;8647:2:1;38764:58:0;;;8629:21:1;8686:2;8666:18;;;8659:30;8725;8705:18;;;8698:58;8773:18;;38764:58:0;8445:352:1;38764:58:0;-1:-1:-1;;;;;38893:13:0;;;;;;:9;:13;;;;;:18;;38910:1;;38893:13;:18;;38910:1;;38893:18;:::i;:::-;;;;-1:-1:-1;;38922:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;38922:21:0;-1:-1:-1;;;;;38922:21:0;;;;;;;;38961:33;;38922:16;;;38961:33;;38922:16;;38961:33;38620:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;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:615::-;2985:6;2993;3046:2;3034:9;3025:7;3021:23;3017:32;3014:52;;;3062:1;3059;3052:12;3014:52;3102:9;3089:23;3131:18;3172:2;3164:6;3161:14;3158:34;;;3188:1;3185;3178:12;3158:34;3226:6;3215:9;3211:22;3201:32;;3271:7;3264:4;3260:2;3256:13;3252:27;3242:55;;3293:1;3290;3283:12;3242:55;3333:2;3320:16;3359:2;3351:6;3348:14;3345:34;;;3375:1;3372;3365:12;3345:34;3428:7;3423:2;3413:6;3410:1;3406:14;3402:2;3398:23;3394:32;3391:45;3388:65;;;3449:1;3446;3439:12;3388:65;3480:2;3472:11;;;;;3502:6;;-1:-1:-1;2899:615:1;;-1:-1:-1;;;;2899:615:1:o;3519:245::-;3577:6;3630:2;3618:9;3609:7;3605:23;3601:32;3598:52;;;3646:1;3643;3636:12;3598:52;3685:9;3672:23;3704:30;3728:5;3704:30;:::i;3769:249::-;3838:6;3891:2;3879:9;3870:7;3866:23;3862:32;3859:52;;;3907:1;3904;3897:12;3859:52;3939:9;3933:16;3958:30;3982:5;3958:30;:::i;4023:592::-;4094:6;4102;4155:2;4143:9;4134:7;4130:23;4126:32;4123:52;;;4171:1;4168;4161:12;4123:52;4211:9;4198:23;4240:18;4281:2;4273:6;4270:14;4267:34;;;4297:1;4294;4287:12;4267:34;4335:6;4324:9;4320:22;4310:32;;4380:7;4373:4;4369:2;4365:13;4361:27;4351:55;;4402:1;4399;4392:12;4351:55;4442:2;4429:16;4468:2;4460:6;4457:14;4454:34;;;4484:1;4481;4474:12;4454:34;4529:7;4524:2;4515:6;4511:2;4507:15;4503:24;4500:37;4497:57;;;4550:1;4547;4540:12;4620:450;4689:6;4742:2;4730:9;4721:7;4717:23;4713:32;4710:52;;;4758:1;4755;4748:12;4710:52;4798:9;4785:23;4831:18;4823:6;4820:30;4817:50;;;4863:1;4860;4853:12;4817:50;4886:22;;4939:4;4931:13;;4927:27;-1:-1:-1;4917:55:1;;4968:1;4965;4958:12;4917:55;4991:73;5056:7;5051:2;5038:16;5033:2;5029;5025:11;4991:73;:::i;5075:180::-;5134:6;5187:2;5175:9;5166:7;5162:23;5158:32;5155:52;;;5203:1;5200;5193:12;5155:52;-1:-1:-1;5226:23:1;;5075:180;-1:-1:-1;5075:180:1:o;5260:257::-;5301:3;5339:5;5333:12;5366:6;5361:3;5354:19;5382:63;5438:6;5431:4;5426:3;5422:14;5415:4;5408:5;5404:16;5382:63;:::i;:::-;5499:2;5478:15;-1:-1:-1;;5474:29:1;5465:39;;;;5506:4;5461:50;;5260:257;-1:-1:-1;;5260:257:1:o;5522:470::-;5701:3;5739:6;5733:13;5755:53;5801:6;5796:3;5789:4;5781:6;5777:17;5755:53;:::i;:::-;5871:13;;5830:16;;;;5893:57;5871:13;5830:16;5927:4;5915:17;;5893:57;:::i;:::-;5966:20;;5522:470;-1:-1:-1;;;;5522:470:1:o;6415:488::-;-1:-1:-1;;;;;6684:15:1;;;6666:34;;6736:15;;6731:2;6716:18;;6709:43;6783:2;6768:18;;6761:34;;;6831:3;6826:2;6811:18;;6804:31;;;6609:4;;6852:45;;6877:19;;6869:6;6852:45;:::i;:::-;6844:53;6415:488;-1:-1:-1;;;;;;6415:488:1:o;7100:219::-;7249:2;7238:9;7231:21;7212:4;7269:44;7309:2;7298:9;7294:18;7286:6;7269:44;:::i;7324:290::-;7501:2;7490:9;7483:21;7464:4;7521:44;7561:2;7550:9;7546:18;7538:6;7521:44;:::i;:::-;7513:52;;7601:6;7596:2;7585:9;7581:18;7574:34;7324:290;;;;;:::o;7619:414::-;7821:2;7803:21;;;7860:2;7840:18;;;7833:30;7899:34;7894:2;7879:18;;7872:62;-1:-1:-1;;;7965:2:1;7950:18;;7943:48;8023:3;8008:19;;7619:414::o;14662:356::-;14864:2;14846:21;;;14883:18;;;14876:30;14942:34;14937:2;14922:18;;14915:62;15009:2;14994:18;;14662:356::o;16251:413::-;16453:2;16435:21;;;16492:2;16472:18;;;16465:30;16531:34;16526:2;16511:18;;16504:62;-1:-1:-1;;;16597:2:1;16582:18;;16575:47;16654:3;16639:19;;16251:413::o;17211:128::-;17251:3;17282:1;17278:6;17275:1;17272:13;17269:39;;;17288:18;;:::i;:::-;-1:-1:-1;17324:9:1;;17211:128::o;17344:120::-;17384:1;17410;17400:35;;17415:18;;:::i;:::-;-1:-1:-1;17449:9:1;;17344:120::o;17469:125::-;17509:4;17537:1;17534;17531:8;17528:34;;;17542:18;;:::i;:::-;-1:-1:-1;17579:9:1;;17469:125::o;17599:258::-;17671:1;17681:113;17695:6;17692:1;17689:13;17681:113;;;17771:11;;;17765:18;17752:11;;;17745:39;17717:2;17710:10;17681:113;;;17812:6;17809:1;17806:13;17803:48;;;-1:-1:-1;;17847:1:1;17829:16;;17822:27;17599:258::o;17862:380::-;17941:1;17937:12;;;;17984;;;18005:61;;18059:4;18051:6;18047:17;18037:27;;18005:61;18112:2;18104:6;18101:14;18081:18;18078:38;18075:161;;;18158:10;18153:3;18149:20;18146:1;18139:31;18193:4;18190:1;18183:15;18221:4;18218:1;18211:15;18075:161;;17862:380;;;:::o;18247:135::-;18286:3;-1:-1:-1;;18307:17:1;;18304:43;;;18327:18;;:::i;:::-;-1:-1:-1;18374:1:1;18363:13;;18247:135::o;18387:112::-;18419:1;18445;18435:35;;18450:18;;:::i;:::-;-1:-1:-1;18484:9:1;;18387:112::o;18504:127::-;18565:10;18560:3;18556:20;18553:1;18546:31;18596:4;18593:1;18586:15;18620:4;18617:1;18610:15;18636:127;18697:10;18692:3;18688:20;18685:1;18678:31;18728:4;18725:1;18718:15;18752:4;18749:1;18742:15;18768:127;18829:10;18824:3;18820:20;18817:1;18810:31;18860:4;18857:1;18850:15;18884:4;18881:1;18874:15;18900:127;18961:10;18956:3;18952:20;18949:1;18942:31;18992:4;18989:1;18982:15;19016:4;19013:1;19006:15;19032:131;-1:-1:-1;;;;;;19106:32:1;;19096:43;;19086:71;;19153:1;19150;19143:12
Swarm Source
ipfs://6f8746bd03a0457c1711db2133e108d96505ffe8c695315a8c2f3be2c1ed527a
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.