ERC-20
Overview
Max Total Supply
100,000,000 CLOAK
Holders
105
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000000011098109 CLOAKValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Cloak
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* ▄████▄ ██▓ ▒█████ ▄▄▄ ██ ▄█▀ ▒██▀ ▀█ ▓██▒ ▒██▒ ██▒▒████▄ ██▄█▒ ▒▓█ ▄ ▒██░ ▒██░ ██▒▒██ ▀█▄ ▓███▄░ ▒▓▓▄ ▄██▒▒██░ ▒██ ██░░██▄▄▄▄██ ▓██ █▄ ▒ ▓███▀ ░░██████▒░ ████▓▒░ ▓█ ▓██▒▒██▒ █▄ ░ ░▒ ▒ ░░ ▒░▓ ░░ ▒░▒░▒░ ▒▒ ▓▒█░▒ ▒▒ ▓▒ ░ ▒ ░ ░ ▒ ░ ░ ▒ ▒░ ▒ ▒▒ ░░ ░▒ ▒░ ░ ░ ░ ░ ░ ░ ▒ ░ ▒ ░ ░░ ░ ░ ░ ░ ░ ░ ░ ░ ░░ ░ ░ The purpose-built Web3 GenAI engine for the privacy conscious individual or business. Website: https://cloakai.xyz/ Twitter: https://twitter.com/Cloak_xyz Telegram: https://t.me/cloakai */ pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; contract Cloak is ERC20, ReentrancyGuard, Ownable { using Address for address; uint256 public maxTxAmount; uint256 public maxWalletAmount; uint256 public protocolFee = 15; address public protocolWallet; bool public sent = false; // Router and Pair addresses IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; mapping(address => bool) private _isExcludedFromLimits; mapping(address => bool) private _ammPairs; constructor(address initialOwner, address protocolWallet_) ERC20("Cloak", "CLOAK") Ownable(initialOwner) { // Set protocolWallet protocolWallet = protocolWallet_; // Set limits maxTxAmount = 1_300_000 * 10**decimals(); // 1.3% maxWalletAmount = 1_300_000 * 10**decimals(); // 1.3% // Configure pairs and router uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH()); // Exclusions _isExcludedFromLimits[owner()] = true; _isExcludedFromLimits[address(this)] = true; _isExcludedFromLimits[address(0)] = true; _isExcludedFromLimits[protocolWallet] = true; _isExcludedFromLimits[address(uniswapV2Router)] = true; _isExcludedFromLimits[address(uniswapV2Pair)] = true; _ammPairs[address(uniswapV2Pair)] = true; // Mint supply _mint(initialOwner, 100_000_000 * 10**decimals()); } function setProtocolWallet(address protocolWallet_) external onlyOwner { protocolWallet = protocolWallet_; } function setMaxWalletAmount(uint256 maxWalletAmount_) external onlyOwner { maxWalletAmount = maxWalletAmount_; } function setMaxTxAmount(uint256 maxTxAmount_) external onlyOwner { maxTxAmount = maxTxAmount_; } function addAmmPair(address pair) external onlyOwner { _ammPairs[pair] = true; } function removeAmmPair(address pair) external onlyOwner { require(pair != uniswapV2Pair, "The pair cannot be removed from ammPairs"); _ammPairs[pair] = false; } function excludeFromLimits(address account) external onlyOwner { _isExcludedFromLimits[account] = true; } function includeInLimits(address account) external onlyOwner { _isExcludedFromLimits[account] = false; } function sendIt() external onlyOwner { sent = true; } function setProtocolFee(uint256 amount) external onlyOwner { require(amount <= 100, "Can't set fee above 100%"); protocolFee = amount; } function _update(address from, address to, uint256 amount) internal override { require(to != address(0), "ERC20: transfer to the zero address"); // Enforce limits if (from != owner() && to != owner()) { require(sent, "Trading not enabled"); if (_ammPairs[from] && !_isExcludedFromLimits[to]) { // Buy require(amount <= maxTxAmount, "Transfer amount exceeds the maxTxAmount"); } else if (_ammPairs[to] && !_isExcludedFromLimits[from]) { // Sell require(amount <= maxTxAmount, "Transfer amount exceeds the maxTxAmount"); } else if (!_isExcludedFromLimits[to]) { // Transfer require(amount + balanceOf(to) <= maxWalletAmount, "Max wallet exceeded"); } // Charge fees uint256 fees = 0; if(!_isExcludedFromLimits[from] && !_isExcludedFromLimits[to]) { fees = calculateFees(amount); amount -= fees; super._transfer(from, address(this), fees); super._transfer(address(this), protocolWallet, fees); } } super._update(from, to, amount); } function calculateFees(uint256 amount) private view returns (uint256) { return (amount * protocolFee) / 100; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 19. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error AddressInsufficientBalance(address account); /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedInnerCall(); /** * @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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert AddressInsufficientBalance(address(this)); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert FailedInnerCall(); } } /** * @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 or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {FailedInnerCall} error. * * 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. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @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`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert AddressInsufficientBalance(address(this)); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an * unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {FailedInnerCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}. */ function _revert(bytes memory returndata) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert FailedInnerCall(); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol) pragma solidity ^0.8.20; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant NOT_ENTERED = 1; uint256 private constant ENTERED = 2; uint256 private _status; /** * @dev Unauthorized reentrant call. */ error ReentrancyGuardReentrantCall(); constructor() { _status = NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be NOT_ENTERED if (_status == ENTERED) { revert ReentrancyGuardReentrantCall(); } // Any calls to nonReentrant after this point will fail _status = ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == ENTERED; } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "evmVersion": "paris", "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"},{"internalType":"address","name":"protocolWallet_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","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":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"addAmmPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"removeAmmPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sendIt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sent","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxAmount_","type":"uint256"}],"name":"setMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxWalletAmount_","type":"uint256"}],"name":"setMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setProtocolFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"protocolWallet_","type":"address"}],"name":"setProtocolWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60c0604052600f6009556000600a60146101000a81548160ff0219169083151502179055503480156200003157600080fd5b5060405162003c4838038062003c488339818101604052810190620000579190620011ac565b816040518060400160405280600581526020017f436c6f616b0000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f434c4f414b0000000000000000000000000000000000000000000000000000008152508160039081620000d591906200146d565b508060049081620000e791906200146d565b5050506001600581905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620001675760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016200015e919062001565565b60405180910390fd5b6200017881620006ed60201b60201c565b5080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001ca620007b360201b60201c565b600a620001d8919062001712565b6213d620620001e8919062001763565b600781905550620001fe620007b360201b60201c565b600a6200020c919062001712565b6213d6206200021c919062001763565b600881905550737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505060805173ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002b8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002de9190620017ae565b73ffffffffffffffffffffffffffffffffffffffff1663c9c653963060805173ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000348573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200036e9190620017ae565b6040518363ffffffff1660e01b81526004016200038d929190620017e0565b6020604051808303816000875af1158015620003ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003d39190620017ae565b73ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250506001600b60006200041c620007bc60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60008073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b600060805173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b600060a05173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600c600060a05173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620006e582620006ba620007b360201b60201c565b600a620006c8919062001712565b6305f5e100620006d9919062001763565b620007e660201b60201c565b505062001b7a565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006012905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200085b5760006040517fec442f0500000000000000000000000000000000000000000000000000000000815260040162000852919062001565565b60405180910390fd5b6200086f600083836200087360201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620008e5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008dc9062001894565b60405180910390fd5b620008f5620007bc60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156200096c57506200093c620007bc60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1562000d8957600a60149054906101000a900460ff16620009c4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620009bb9062001906565b60405180910390fd5b600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801562000a685750600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1562000abc5760075481111562000ab6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000aad906200199e565b60405180910390fd5b62000c6e565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801562000b605750600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1562000bb45760075481111562000bae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000ba5906200199e565b60405180910390fd5b62000c6d565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1662000c6c5760085462000c1a8362000da160201b60201c565b8262000c279190620019c0565b111562000c6b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000c629062001a4b565b60405180910390fd5b5b5b5b6000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801562000d155750600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1562000d875762000d2c8262000de960201b60201c565b9050808262000d3c919062001a6d565b915062000d5184308362000e1060201b60201c565b62000d8630600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168362000e1060201b60201c565b5b505b62000d9c83838362000f1260201b60201c565b505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600060646009548362000dfd919062001763565b62000e09919062001ad7565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000e855760006040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040162000e7c919062001565565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000efa5760006040517fec442f0500000000000000000000000000000000000000000000000000000000815260040162000ef1919062001565565b60405180910390fd5b62000f0d8383836200087360201b60201c565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000f6857806002600082825462000f5b9190620019c0565b925050819055506200103e565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101562000ff7578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040162000fee9392919062001b20565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620010895780600260008282540392505081905550620010d6565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162001135919062001b5d565b60405180910390a3505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620011748262001147565b9050919050565b620011868162001167565b81146200119257600080fd5b50565b600081519050620011a6816200117b565b92915050565b60008060408385031215620011c657620011c562001142565b5b6000620011d68582860162001195565b9250506020620011e98582860162001195565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200127557607f821691505b6020821081036200128b576200128a6200122d565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620012f57fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620012b6565b620013018683620012b6565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200134e62001348620013428462001319565b62001323565b62001319565b9050919050565b6000819050919050565b6200136a836200132d565b62001382620013798262001355565b848454620012c3565b825550505050565b600090565b620013996200138a565b620013a68184846200135f565b505050565b5b81811015620013ce57620013c26000826200138f565b600181019050620013ac565b5050565b601f8211156200141d57620013e78162001291565b620013f284620012a6565b8101602085101562001402578190505b6200141a6200141185620012a6565b830182620013ab565b50505b505050565b600082821c905092915050565b6000620014426000198460080262001422565b1980831691505092915050565b60006200145d83836200142f565b9150826002028217905092915050565b6200147882620011f3565b67ffffffffffffffff811115620014945762001493620011fe565b5b620014a082546200125c565b620014ad828285620013d2565b600060209050601f831160018114620014e55760008415620014d0578287015190505b620014dc85826200144f565b8655506200154c565b601f198416620014f58662001291565b60005b828110156200151f57848901518255600182019150602085019450602081019050620014f8565b868310156200153f57848901516200153b601f8916826200142f565b8355505b6001600288020188555050505b505050505050565b6200155f8162001167565b82525050565b60006020820190506200157c600083018462001554565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b60018511156200161057808604811115620015e857620015e762001582565b5b6001851615620015f85780820291505b80810290506200160885620015b1565b9450620015c8565b94509492505050565b6000826200162b5760019050620016fe565b816200163b5760009050620016fe565b81600181146200165457600281146200165f5762001695565b6001915050620016fe565b60ff84111562001674576200167362001582565b5b8360020a9150848211156200168e576200168d62001582565b5b50620016fe565b5060208310610133831016604e8410600b8410161715620016cf5782820a905083811115620016c957620016c862001582565b5b620016fe565b620016de8484846001620015be565b92509050818404811115620016f857620016f762001582565b5b81810290505b9392505050565b600060ff82169050919050565b60006200171f8262001319565b91506200172c8362001705565b92506200175b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462001619565b905092915050565b6000620017708262001319565b91506200177d8362001319565b92508282026200178d8162001319565b91508282048414831517620017a757620017a662001582565b5b5092915050565b600060208284031215620017c757620017c662001142565b5b6000620017d78482850162001195565b91505092915050565b6000604082019050620017f7600083018562001554565b62001806602083018462001554565b9392505050565b600082825260208201905092915050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006200187c6023836200180d565b915062001889826200181e565b604082019050919050565b60006020820190508181036000830152620018af816200186d565b9050919050565b7f54726164696e67206e6f7420656e61626c656400000000000000000000000000600082015250565b6000620018ee6013836200180d565b9150620018fb82620018b6565b602082019050919050565b600060208201905081810360008301526200192181620018df565b9050919050565b7f5472616e7366657220616d6f756e74206578636565647320746865206d61785460008201527f78416d6f756e7400000000000000000000000000000000000000000000000000602082015250565b6000620019866027836200180d565b9150620019938262001928565b604082019050919050565b60006020820190508181036000830152620019b98162001977565b9050919050565b6000620019cd8262001319565b9150620019da8362001319565b9250828201905080821115620019f557620019f462001582565b5b92915050565b7f4d61782077616c6c657420657863656564656400000000000000000000000000600082015250565b600062001a336013836200180d565b915062001a4082620019fb565b602082019050919050565b6000602082019050818103600083015262001a668162001a24565b9050919050565b600062001a7a8262001319565b915062001a878362001319565b925082820390508181111562001aa25762001aa162001582565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062001ae48262001319565b915062001af18362001319565b92508262001b045762001b0362001aa8565b5b828204905092915050565b62001b1a8162001319565b82525050565b600060608201905062001b37600083018662001554565b62001b46602083018562001b0f565b62001b55604083018462001b0f565b949350505050565b600060208201905062001b74600083018462001b0f565b92915050565b60805160a0516120a162001ba7600039600081816106160152610777015260006106ff01526120a16000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80637a294176116100f9578063b0e21e8a11610097578063df376d0b11610071578063df376d0b146104c1578063ec28438a146104dd578063f01e9a8b146104f9578063f2fde38b14610515576101c4565b8063b0e21e8a14610455578063c2bfccc014610473578063dd62ed3e14610491576101c4565b806395d89b41116100d357806395d89b41146103cd57806396c772e6146103eb578063a9059cbb14610407578063aa4bde2814610437576101c4565b80637a294176146103875780638c0b5e22146103915780638da5cb5b146103af576101c4565b806327a14fc21161016657806369ce640d1161014057806369ce640d1461031557806370a0823114610331578063715018a614610361578063787dce3d1461036b576101c4565b806327a14fc2146102bd578063313ce567146102d957806349bd5a5e146102f7576101c4565b80630c24fbf1116101a25780630c24fbf1146102355780631694505e1461025157806318160ddd1461026f57806323b872dd1461028d576101c4565b806306d6e63f146101c957806306fdde03146101e7578063095ea7b314610205575b600080fd5b6101d1610531565b6040516101de919061182f565b60405180910390f35b6101ef610557565b6040516101fc91906118da565b60405180910390f35b61021f600480360381019061021a9190611963565b6105e9565b60405161022c91906119be565b60405180910390f35b61024f600480360381019061024a91906119d9565b61060c565b005b6102596106fd565b6040516102669190611a65565b60405180910390f35b610277610721565b6040516102849190611a8f565b60405180910390f35b6102a760048036038101906102a29190611aaa565b61072b565b6040516102b491906119be565b60405180910390f35b6102d760048036038101906102d29190611afd565b61075a565b005b6102e161076c565b6040516102ee9190611b46565b60405180910390f35b6102ff610775565b60405161030c919061182f565b60405180910390f35b61032f600480360381019061032a91906119d9565b610799565b005b61034b600480360381019061034691906119d9565b6107fc565b6040516103589190611a8f565b60405180910390f35b610369610844565b005b61038560048036038101906103809190611afd565b610858565b005b61038f6108ae565b005b6103996108d3565b6040516103a69190611a8f565b60405180910390f35b6103b76108d9565b6040516103c4919061182f565b60405180910390f35b6103d5610903565b6040516103e291906118da565b60405180910390f35b610405600480360381019061040091906119d9565b610995565b005b610421600480360381019061041c9190611963565b6109f8565b60405161042e91906119be565b60405180910390f35b61043f610a1b565b60405161044c9190611a8f565b60405180910390f35b61045d610a21565b60405161046a9190611a8f565b60405180910390f35b61047b610a27565b60405161048891906119be565b60405180910390f35b6104ab60048036038101906104a69190611b61565b610a3a565b6040516104b89190611a8f565b60405180910390f35b6104db60048036038101906104d691906119d9565b610ac1565b005b6104f760048036038101906104f29190611afd565b610b24565b005b610513600480360381019061050e91906119d9565b610b36565b005b61052f600480360381019061052a91906119d9565b610b82565b005b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606003805461056690611bd0565b80601f016020809104026020016040519081016040528092919081815260200182805461059290611bd0565b80156105df5780601f106105b4576101008083540402835291602001916105df565b820191906000526020600020905b8154815290600101906020018083116105c257829003601f168201915b5050505050905090565b6000806105f4610c08565b9050610601818585610c10565b600191505092915050565b610614610c22565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036106a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069990611c73565b60405180910390fd5b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600254905090565b600080610736610c08565b9050610743858285610ca9565b61074e858585610d3d565b60019150509392505050565b610762610c22565b8060088190555050565b60006012905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6107a1610c22565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61084c610c22565b6108566000610e31565b565b610860610c22565b60648111156108a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089b90611cdf565b60405180910390fd5b8060098190555050565b6108b6610c22565b6001600a60146101000a81548160ff021916908315150217905550565b60075481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461091290611bd0565b80601f016020809104026020016040519081016040528092919081815260200182805461093e90611bd0565b801561098b5780601f106109605761010080835404028352916020019161098b565b820191906000526020600020905b81548152906001019060200180831161096e57829003601f168201915b5050505050905090565b61099d610c22565b6001600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600080610a03610c08565b9050610a10818585610d3d565b600191505092915050565b60085481565b60095481565b600a60149054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610ac9610c22565b6001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610b2c610c22565b8060078190555050565b610b3e610c22565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610b8a610c22565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610bfc5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610bf3919061182f565b60405180910390fd5b610c0581610e31565b50565b600033905090565b610c1d8383836001610ef7565b505050565b610c2a610c08565b73ffffffffffffffffffffffffffffffffffffffff16610c486108d9565b73ffffffffffffffffffffffffffffffffffffffff1614610ca757610c6b610c08565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610c9e919061182f565b60405180910390fd5b565b6000610cb58484610a3a565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610d375781811015610d27578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610d1e93929190611cff565b60405180910390fd5b610d3684848484036000610ef7565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610daf5760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610da6919061182f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e215760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610e18919061182f565b60405180910390fd5b610e2c8383836110ce565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610f695760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610f60919061182f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610fdb5760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610fd2919061182f565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080156110c8578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516110bf9190611a8f565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361113d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113490611da8565b60405180910390fd5b6111456108d9565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156111b357506111836108d9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561159657600a60149054906101000a900460ff16611207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fe90611e14565b60405180910390fd5b600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156112aa5750600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156112f9576007548111156112f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112eb90611ea6565b60405180910390fd5b611497565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801561139c5750600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156113eb576007548111156113e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113dd90611ea6565b60405180910390fd5b611496565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661149557600854611448836107fc565b826114539190611ef5565b1115611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b90611f75565b60405180910390fd5b5b5b5b6000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561153d5750600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156115945761154b826115a6565b905080826115599190611f95565b9150611566843083610d3d565b61159330600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683610d3d565b5b505b6115a18383836115c9565b505050565b60006064600954836115b89190611fc9565b6115c2919061203a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361161b57806002600082825461160f9190611ef5565b925050819055506116ee565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156116a7578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161169e93929190611cff565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117375780600260008282540392505081905550611784565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117e19190611a8f565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611819826117ee565b9050919050565b6118298161180e565b82525050565b60006020820190506118446000830184611820565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611884578082015181840152602081019050611869565b60008484015250505050565b6000601f19601f8301169050919050565b60006118ac8261184a565b6118b68185611855565b93506118c6818560208601611866565b6118cf81611890565b840191505092915050565b600060208201905081810360008301526118f481846118a1565b905092915050565b600080fd5b61190a8161180e565b811461191557600080fd5b50565b60008135905061192781611901565b92915050565b6000819050919050565b6119408161192d565b811461194b57600080fd5b50565b60008135905061195d81611937565b92915050565b6000806040838503121561197a576119796118fc565b5b600061198885828601611918565b92505060206119998582860161194e565b9150509250929050565b60008115159050919050565b6119b8816119a3565b82525050565b60006020820190506119d360008301846119af565b92915050565b6000602082840312156119ef576119ee6118fc565b5b60006119fd84828501611918565b91505092915050565b6000819050919050565b6000611a2b611a26611a21846117ee565b611a06565b6117ee565b9050919050565b6000611a3d82611a10565b9050919050565b6000611a4f82611a32565b9050919050565b611a5f81611a44565b82525050565b6000602082019050611a7a6000830184611a56565b92915050565b611a898161192d565b82525050565b6000602082019050611aa46000830184611a80565b92915050565b600080600060608486031215611ac357611ac26118fc565b5b6000611ad186828701611918565b9350506020611ae286828701611918565b9250506040611af38682870161194e565b9150509250925092565b600060208284031215611b1357611b126118fc565b5b6000611b218482850161194e565b91505092915050565b600060ff82169050919050565b611b4081611b2a565b82525050565b6000602082019050611b5b6000830184611b37565b92915050565b60008060408385031215611b7857611b776118fc565b5b6000611b8685828601611918565b9250506020611b9785828601611918565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611be857607f821691505b602082108103611bfb57611bfa611ba1565b5b50919050565b7f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060008201527f616d6d5061697273000000000000000000000000000000000000000000000000602082015250565b6000611c5d602883611855565b9150611c6882611c01565b604082019050919050565b60006020820190508181036000830152611c8c81611c50565b9050919050565b7f43616e277420736574206665652061626f766520313030250000000000000000600082015250565b6000611cc9601883611855565b9150611cd482611c93565b602082019050919050565b60006020820190508181036000830152611cf881611cbc565b9050919050565b6000606082019050611d146000830186611820565b611d216020830185611a80565b611d2e6040830184611a80565b949350505050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611d92602383611855565b9150611d9d82611d36565b604082019050919050565b60006020820190508181036000830152611dc181611d85565b9050919050565b7f54726164696e67206e6f7420656e61626c656400000000000000000000000000600082015250565b6000611dfe601383611855565b9150611e0982611dc8565b602082019050919050565b60006020820190508181036000830152611e2d81611df1565b9050919050565b7f5472616e7366657220616d6f756e74206578636565647320746865206d61785460008201527f78416d6f756e7400000000000000000000000000000000000000000000000000602082015250565b6000611e90602783611855565b9150611e9b82611e34565b604082019050919050565b60006020820190508181036000830152611ebf81611e83565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611f008261192d565b9150611f0b8361192d565b9250828201905080821115611f2357611f22611ec6565b5b92915050565b7f4d61782077616c6c657420657863656564656400000000000000000000000000600082015250565b6000611f5f601383611855565b9150611f6a82611f29565b602082019050919050565b60006020820190508181036000830152611f8e81611f52565b9050919050565b6000611fa08261192d565b9150611fab8361192d565b9250828203905081811115611fc357611fc2611ec6565b5b92915050565b6000611fd48261192d565b9150611fdf8361192d565b9250828202611fed8161192d565b9150828204841483151761200457612003611ec6565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006120458261192d565b91506120508361192d565b9250826120605761205f61200b565b5b82820490509291505056fea2646970667358221220c0f1b641c3e313f4386578ebdb0b24fc8b21c4ca2c21f400e143ff44b3bd629264736f6c63430008180033000000000000000000000000fa921ab385f2621d393a1fd19be11454977264c200000000000000000000000007ddba2cc45970bbf81a79406db9b19c68943f88
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80637a294176116100f9578063b0e21e8a11610097578063df376d0b11610071578063df376d0b146104c1578063ec28438a146104dd578063f01e9a8b146104f9578063f2fde38b14610515576101c4565b8063b0e21e8a14610455578063c2bfccc014610473578063dd62ed3e14610491576101c4565b806395d89b41116100d357806395d89b41146103cd57806396c772e6146103eb578063a9059cbb14610407578063aa4bde2814610437576101c4565b80637a294176146103875780638c0b5e22146103915780638da5cb5b146103af576101c4565b806327a14fc21161016657806369ce640d1161014057806369ce640d1461031557806370a0823114610331578063715018a614610361578063787dce3d1461036b576101c4565b806327a14fc2146102bd578063313ce567146102d957806349bd5a5e146102f7576101c4565b80630c24fbf1116101a25780630c24fbf1146102355780631694505e1461025157806318160ddd1461026f57806323b872dd1461028d576101c4565b806306d6e63f146101c957806306fdde03146101e7578063095ea7b314610205575b600080fd5b6101d1610531565b6040516101de919061182f565b60405180910390f35b6101ef610557565b6040516101fc91906118da565b60405180910390f35b61021f600480360381019061021a9190611963565b6105e9565b60405161022c91906119be565b60405180910390f35b61024f600480360381019061024a91906119d9565b61060c565b005b6102596106fd565b6040516102669190611a65565b60405180910390f35b610277610721565b6040516102849190611a8f565b60405180910390f35b6102a760048036038101906102a29190611aaa565b61072b565b6040516102b491906119be565b60405180910390f35b6102d760048036038101906102d29190611afd565b61075a565b005b6102e161076c565b6040516102ee9190611b46565b60405180910390f35b6102ff610775565b60405161030c919061182f565b60405180910390f35b61032f600480360381019061032a91906119d9565b610799565b005b61034b600480360381019061034691906119d9565b6107fc565b6040516103589190611a8f565b60405180910390f35b610369610844565b005b61038560048036038101906103809190611afd565b610858565b005b61038f6108ae565b005b6103996108d3565b6040516103a69190611a8f565b60405180910390f35b6103b76108d9565b6040516103c4919061182f565b60405180910390f35b6103d5610903565b6040516103e291906118da565b60405180910390f35b610405600480360381019061040091906119d9565b610995565b005b610421600480360381019061041c9190611963565b6109f8565b60405161042e91906119be565b60405180910390f35b61043f610a1b565b60405161044c9190611a8f565b60405180910390f35b61045d610a21565b60405161046a9190611a8f565b60405180910390f35b61047b610a27565b60405161048891906119be565b60405180910390f35b6104ab60048036038101906104a69190611b61565b610a3a565b6040516104b89190611a8f565b60405180910390f35b6104db60048036038101906104d691906119d9565b610ac1565b005b6104f760048036038101906104f29190611afd565b610b24565b005b610513600480360381019061050e91906119d9565b610b36565b005b61052f600480360381019061052a91906119d9565b610b82565b005b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606003805461056690611bd0565b80601f016020809104026020016040519081016040528092919081815260200182805461059290611bd0565b80156105df5780601f106105b4576101008083540402835291602001916105df565b820191906000526020600020905b8154815290600101906020018083116105c257829003601f168201915b5050505050905090565b6000806105f4610c08565b9050610601818585610c10565b600191505092915050565b610614610c22565b7f0000000000000000000000000589557fec411ab53f97603c704472550a3d413c73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036106a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069990611c73565b60405180910390fd5b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6000600254905090565b600080610736610c08565b9050610743858285610ca9565b61074e858585610d3d565b60019150509392505050565b610762610c22565b8060088190555050565b60006012905090565b7f0000000000000000000000000589557fec411ab53f97603c704472550a3d413c81565b6107a1610c22565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61084c610c22565b6108566000610e31565b565b610860610c22565b60648111156108a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089b90611cdf565b60405180910390fd5b8060098190555050565b6108b6610c22565b6001600a60146101000a81548160ff021916908315150217905550565b60075481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461091290611bd0565b80601f016020809104026020016040519081016040528092919081815260200182805461093e90611bd0565b801561098b5780601f106109605761010080835404028352916020019161098b565b820191906000526020600020905b81548152906001019060200180831161096e57829003601f168201915b5050505050905090565b61099d610c22565b6001600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600080610a03610c08565b9050610a10818585610d3d565b600191505092915050565b60085481565b60095481565b600a60149054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610ac9610c22565b6001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610b2c610c22565b8060078190555050565b610b3e610c22565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610b8a610c22565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610bfc5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610bf3919061182f565b60405180910390fd5b610c0581610e31565b50565b600033905090565b610c1d8383836001610ef7565b505050565b610c2a610c08565b73ffffffffffffffffffffffffffffffffffffffff16610c486108d9565b73ffffffffffffffffffffffffffffffffffffffff1614610ca757610c6b610c08565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610c9e919061182f565b60405180910390fd5b565b6000610cb58484610a3a565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610d375781811015610d27578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610d1e93929190611cff565b60405180910390fd5b610d3684848484036000610ef7565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610daf5760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610da6919061182f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e215760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610e18919061182f565b60405180910390fd5b610e2c8383836110ce565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610f695760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610f60919061182f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610fdb5760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610fd2919061182f565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080156110c8578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516110bf9190611a8f565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361113d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113490611da8565b60405180910390fd5b6111456108d9565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156111b357506111836108d9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561159657600a60149054906101000a900460ff16611207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fe90611e14565b60405180910390fd5b600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156112aa5750600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156112f9576007548111156112f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112eb90611ea6565b60405180910390fd5b611497565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801561139c5750600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156113eb576007548111156113e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113dd90611ea6565b60405180910390fd5b611496565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661149557600854611448836107fc565b826114539190611ef5565b1115611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b90611f75565b60405180910390fd5b5b5b5b6000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561153d5750600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156115945761154b826115a6565b905080826115599190611f95565b9150611566843083610d3d565b61159330600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683610d3d565b5b505b6115a18383836115c9565b505050565b60006064600954836115b89190611fc9565b6115c2919061203a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361161b57806002600082825461160f9190611ef5565b925050819055506116ee565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156116a7578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161169e93929190611cff565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117375780600260008282540392505081905550611784565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117e19190611a8f565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611819826117ee565b9050919050565b6118298161180e565b82525050565b60006020820190506118446000830184611820565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611884578082015181840152602081019050611869565b60008484015250505050565b6000601f19601f8301169050919050565b60006118ac8261184a565b6118b68185611855565b93506118c6818560208601611866565b6118cf81611890565b840191505092915050565b600060208201905081810360008301526118f481846118a1565b905092915050565b600080fd5b61190a8161180e565b811461191557600080fd5b50565b60008135905061192781611901565b92915050565b6000819050919050565b6119408161192d565b811461194b57600080fd5b50565b60008135905061195d81611937565b92915050565b6000806040838503121561197a576119796118fc565b5b600061198885828601611918565b92505060206119998582860161194e565b9150509250929050565b60008115159050919050565b6119b8816119a3565b82525050565b60006020820190506119d360008301846119af565b92915050565b6000602082840312156119ef576119ee6118fc565b5b60006119fd84828501611918565b91505092915050565b6000819050919050565b6000611a2b611a26611a21846117ee565b611a06565b6117ee565b9050919050565b6000611a3d82611a10565b9050919050565b6000611a4f82611a32565b9050919050565b611a5f81611a44565b82525050565b6000602082019050611a7a6000830184611a56565b92915050565b611a898161192d565b82525050565b6000602082019050611aa46000830184611a80565b92915050565b600080600060608486031215611ac357611ac26118fc565b5b6000611ad186828701611918565b9350506020611ae286828701611918565b9250506040611af38682870161194e565b9150509250925092565b600060208284031215611b1357611b126118fc565b5b6000611b218482850161194e565b91505092915050565b600060ff82169050919050565b611b4081611b2a565b82525050565b6000602082019050611b5b6000830184611b37565b92915050565b60008060408385031215611b7857611b776118fc565b5b6000611b8685828601611918565b9250506020611b9785828601611918565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611be857607f821691505b602082108103611bfb57611bfa611ba1565b5b50919050565b7f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060008201527f616d6d5061697273000000000000000000000000000000000000000000000000602082015250565b6000611c5d602883611855565b9150611c6882611c01565b604082019050919050565b60006020820190508181036000830152611c8c81611c50565b9050919050565b7f43616e277420736574206665652061626f766520313030250000000000000000600082015250565b6000611cc9601883611855565b9150611cd482611c93565b602082019050919050565b60006020820190508181036000830152611cf881611cbc565b9050919050565b6000606082019050611d146000830186611820565b611d216020830185611a80565b611d2e6040830184611a80565b949350505050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611d92602383611855565b9150611d9d82611d36565b604082019050919050565b60006020820190508181036000830152611dc181611d85565b9050919050565b7f54726164696e67206e6f7420656e61626c656400000000000000000000000000600082015250565b6000611dfe601383611855565b9150611e0982611dc8565b602082019050919050565b60006020820190508181036000830152611e2d81611df1565b9050919050565b7f5472616e7366657220616d6f756e74206578636565647320746865206d61785460008201527f78416d6f756e7400000000000000000000000000000000000000000000000000602082015250565b6000611e90602783611855565b9150611e9b82611e34565b604082019050919050565b60006020820190508181036000830152611ebf81611e83565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611f008261192d565b9150611f0b8361192d565b9250828201905080821115611f2357611f22611ec6565b5b92915050565b7f4d61782077616c6c657420657863656564656400000000000000000000000000600082015250565b6000611f5f601383611855565b9150611f6a82611f29565b602082019050919050565b60006020820190508181036000830152611f8e81611f52565b9050919050565b6000611fa08261192d565b9150611fab8361192d565b9250828203905081811115611fc357611fc2611ec6565b5b92915050565b6000611fd48261192d565b9150611fdf8361192d565b9250828202611fed8161192d565b9150828204841483151761200457612003611ec6565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006120458261192d565b91506120508361192d565b9250826120605761205f61200b565b5b82820490509291505056fea2646970667358221220c0f1b641c3e313f4386578ebdb0b24fc8b21c4ca2c21f400e143ff44b3bd629264736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000fa921ab385f2621d393a1fd19be11454977264c200000000000000000000000007ddba2cc45970bbf81a79406db9b19c68943f88
-----Decoded View---------------
Arg [0] : initialOwner (address): 0xFA921AB385f2621d393A1Fd19bE11454977264C2
Arg [1] : protocolWallet_ (address): 0x07DDBa2cc45970BBf81A79406DB9b19C68943F88
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000fa921ab385f2621d393a1fd19be11454977264c2
Arg [1] : 00000000000000000000000007ddba2cc45970bbf81a79406db9b19c68943f88
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.