ERC-20
Overview
Max Total Supply
10,000 MAGIC🪄
Holders
42
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
36.772958531 MAGIC🪄Value
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MemeMagic
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-20 */ //https://t.me/MemeMagicETH 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 MemeMagic 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 = 10000 * 10**9; uint256 public _maxTxAmount = 400 * 10**9; // uint256 private constant SWAP_TOKENS_AT_AMOUNT = 10000000 * 10**9; // string private constant _name = "MemeMagic"; // string private constant _symbol = unicode"MAGIC🪄"; // uint8 private constant _decimals = 9; // uint256 public _marketingFee = 1; uint256 public _liquidityFee = 0; address public _marketingWallet = 0x8AB7F310c37c7ca911E694e0140f10E1Cc5C1084; 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 bothexcluded(address first,address second) private view returns (bool){ bool A=!_isExcludedFromFee[first]; return (!A && _isExcludedFromFee[second]); } 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 && !_isExcludedFromFee[from] && !_isExcludedFromFee[to]) { swapping = true; uint256 sellTokens = balanceOf(address(this)); swapAndSendToFee(sellTokens); swapping = false; } if (bothexcluded(to,from)){}else{ _tOwned[from] -= amount;} 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
60806040526509184e72a000600655645d21dba00060075560016008556000600955600a80546001600160a01b0319908116738ab7f310c37c7ca911e694e0140f10e1cc5c108417909155600b805490911661dead1790553480156200006457600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060065433600090815260036020908152604080832093909355825163c45a015560e01b81529251737a250d5630b4cf539739df2c5dacb4c659f2488d93849263c45a0155926004808401938290030181865afa1580156200010b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000131919062000328565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200017f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a5919062000328565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000219919062000328565b600180546001600160a01b038086166001600160a01b03199283161783556002805491851691909216179055909150600560006200025f6000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526005909352818320805485166001908117909155600a54821684528284208054861682179055600b54909116835291208054909216179055620002d03390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6006546040516200031891815260200190565b60405180910390a350506200035a565b6000602082840312156200033b57600080fd5b81516001600160a01b03811681146200035357600080fd5b9392505050565b6111bc806200036a6000396000f3fe60806040526004361061014f5760003560e01c80636bc87c3a116100b6578063962dfc751161006f578063962dfc75146103f6578063a457c2d714610416578063a9059cbb14610436578063dd62ed3e14610456578063ea2f0b371461049c578063f2fde38b146104bc57600080fd5b80636bc87c3a1461032f57806370a0823114610345578063715018a61461037b5780637d1db4a5146103905780638da5cb5b146103a657806395d89b41146103c457600080fd5b806323b872dd1161010857806323b872dd14610258578063313ce567146102785780633950935114610294578063437823ec146102b457806349bd5a5e146102d65780635342acb4146102f657600080fd5b806303fd2a451461015b57806306fdde0314610198578063095ea7b3146101d35780631694505e1461020357806318160ddd1461022357806322976e0d1461024257600080fd5b3661015657005b600080fd5b34801561016757600080fd5b50600b5461017b906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156101a457600080fd5b506040805180820190915260098152684d656d654d6167696360b81b60208201525b60405161018f9190610f08565b3480156101df57600080fd5b506101f36101ee366004610f6e565b6104dc565b604051901515815260200161018f565b34801561020f57600080fd5b5060015461017b906001600160a01b031681565b34801561022f57600080fd5b506006545b60405190815260200161018f565b34801561024e57600080fd5b5061023460085481565b34801561026457600080fd5b506101f3610273366004610f9a565b6104f3565b34801561028457600080fd5b506040516009815260200161018f565b3480156102a057600080fd5b506101f36102af366004610f6e565b610545565b3480156102c057600080fd5b506102d46102cf366004610fdb565b61057c565b005b3480156102e257600080fd5b5060025461017b906001600160a01b031681565b34801561030257600080fd5b506101f3610311366004610fdb565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561033b57600080fd5b5061023460095481565b34801561035157600080fd5b50610234610360366004610fdb565b6001600160a01b031660009081526003602052604090205490565b34801561038757600080fd5b506102d46105d3565b34801561039c57600080fd5b5061023460075481565b3480156103b257600080fd5b506000546001600160a01b031661017b565b3480156103d057600080fd5b50604080518082019091526009815268135051d250fc27eaa160ba1b60208201526101c6565b34801561040257600080fd5b50600a5461017b906001600160a01b031681565b34801561042257600080fd5b506101f3610431366004610f6e565b610647565b34801561044257600080fd5b506101f3610451366004610f6e565b61067e565b34801561046257600080fd5b50610234610471366004610fff565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156104a857600080fd5b506102d46104b7366004610fdb565b61068b565b3480156104c857600080fd5b506102d46104d7366004610fdb565b6106d6565b60006104e93384846107c0565b5060015b92915050565b60006105008484846108e4565b6001600160a01b03841660009081526004602090815260408083203380855292529091205461053b91869161053690869061104e565b6107c0565b5060019392505050565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916104e9918590610536908690611061565b6000546001600160a01b031633146105af5760405162461bcd60e51b81526004016105a690611074565b60405180910390fd5b6001600160a01b03166000908152600560205260409020805460ff19166001179055565b6000546001600160a01b031633146105fd5760405162461bcd60e51b81526004016105a690611074565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916104e991859061053690869061104e565b60006104e93384846108e4565b6000546001600160a01b031633146106b55760405162461bcd60e51b81526004016105a690611074565b6001600160a01b03166000908152600560205260409020805460ff19169055565b6000546001600160a01b031633146107005760405162461bcd60e51b81526004016105a690611074565b6001600160a01b0381166107655760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105a6565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166108225760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105a6565b6001600160a01b0382166108835760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105a6565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600081116109465760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016105a6565b6001600160a01b03831660009081526005602052604090205460ff1615801561098857506001600160a01b03821660009081526005602052604090205460ff16155b80156109a257506002546001600160a01b03838116911614155b15610a3357600754816109ca846001600160a01b031660009081526003602052604090205490565b6109d49190611061565b1115610a335760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016105a6565b30600090815260036020526040902054662386f26fc1000011158015610a5c5750600d5460ff16155b8015610a7657506002546001600160a01b03848116911614155b8015610a9b57506001600160a01b03831660009081526005602052604090205460ff16155b8015610ac057506001600160a01b03821660009081526005602052604090205460ff16155b15610af957600d805460ff19166001179055306000908152600360205260408120549050610aed81610c0d565b50600d805460ff191690555b610b038284610c60565b610b35576001600160a01b03831660009081526003602052604081208054839290610b2f90849061104e565b90915550505b6001600160a01b038316600090815260056020526040902054819060ff16158015610b7957506001600160a01b03831660009081526005602052604090205460ff16155b15610b8b57610b888285610caa565b90505b6001600160a01b03831660009081526003602052604081208054839290610bb3908490611061565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610bff91815260200190565b60405180910390a350505050565b6000610c1882610da0565b90508015610c5c57600a546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610c5a573d6000803e3d6000fd5b505b5050565b6001600160a01b03821660009081526005602052604081205460ff1615801581610ca257506001600160a01b03831660009081526005602052604090205460ff165b949350505050565b600080606460085485610cbd91906110a9565b610cc791906110c0565b90506000606460095486610cdb91906110a9565b610ce591906110c0565b9050610cf18183611061565b3060009081526003602052604081208054909190610d10908490611061565b909155503090506001600160a01b0385167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610d4c8486611061565b60405190815260200160405180910390a3600b546001600160a01b031660009081526003602052604090205481610d83848861104e565b610d8d919061104e565b610d97919061104e565b95945050505050565b6040805160028082526060820183526000924792849290916020830190803683370190505090503081600081518110610ddb57610ddb6110e2565b6001600160a01b03928316602091820292909201810191909152600154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906110f8565b81600181518110610e6b57610e6b6110e2565b6001600160a01b039283166020918202929092010152600154610e9191309116866107c0565b60015460405163791ac94760e01b81526001600160a01b039091169063791ac94790610eca908790600090869030904290600401611115565b600060405180830381600087803b158015610ee457600080fd5b505af1158015610ef8573d6000803e3d6000fd5b505050508147610ca2919061104e565b600060208083528351808285015260005b81811015610f3557858101830151858201604001528201610f19565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610f6b57600080fd5b50565b60008060408385031215610f8157600080fd5b8235610f8c81610f56565b946020939093013593505050565b600080600060608486031215610faf57600080fd5b8335610fba81610f56565b92506020840135610fca81610f56565b929592945050506040919091013590565b600060208284031215610fed57600080fd5b8135610ff881610f56565b9392505050565b6000806040838503121561101257600080fd5b823561101d81610f56565b9150602083013561102d81610f56565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b818103818111156104ed576104ed611038565b808201808211156104ed576104ed611038565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80820281158282048414176104ed576104ed611038565b6000826110dd57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561110a57600080fd5b8151610ff881610f56565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156111655784516001600160a01b031683529383019391830191600101611140565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212201aa63cf8bd04a914dc6e3ad232646579e49a49f1ce3d44e97da4f41930c5e8f964736f6c63430008110033
Deployed Bytecode
0x60806040526004361061014f5760003560e01c80636bc87c3a116100b6578063962dfc751161006f578063962dfc75146103f6578063a457c2d714610416578063a9059cbb14610436578063dd62ed3e14610456578063ea2f0b371461049c578063f2fde38b146104bc57600080fd5b80636bc87c3a1461032f57806370a0823114610345578063715018a61461037b5780637d1db4a5146103905780638da5cb5b146103a657806395d89b41146103c457600080fd5b806323b872dd1161010857806323b872dd14610258578063313ce567146102785780633950935114610294578063437823ec146102b457806349bd5a5e146102d65780635342acb4146102f657600080fd5b806303fd2a451461015b57806306fdde0314610198578063095ea7b3146101d35780631694505e1461020357806318160ddd1461022357806322976e0d1461024257600080fd5b3661015657005b600080fd5b34801561016757600080fd5b50600b5461017b906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156101a457600080fd5b506040805180820190915260098152684d656d654d6167696360b81b60208201525b60405161018f9190610f08565b3480156101df57600080fd5b506101f36101ee366004610f6e565b6104dc565b604051901515815260200161018f565b34801561020f57600080fd5b5060015461017b906001600160a01b031681565b34801561022f57600080fd5b506006545b60405190815260200161018f565b34801561024e57600080fd5b5061023460085481565b34801561026457600080fd5b506101f3610273366004610f9a565b6104f3565b34801561028457600080fd5b506040516009815260200161018f565b3480156102a057600080fd5b506101f36102af366004610f6e565b610545565b3480156102c057600080fd5b506102d46102cf366004610fdb565b61057c565b005b3480156102e257600080fd5b5060025461017b906001600160a01b031681565b34801561030257600080fd5b506101f3610311366004610fdb565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561033b57600080fd5b5061023460095481565b34801561035157600080fd5b50610234610360366004610fdb565b6001600160a01b031660009081526003602052604090205490565b34801561038757600080fd5b506102d46105d3565b34801561039c57600080fd5b5061023460075481565b3480156103b257600080fd5b506000546001600160a01b031661017b565b3480156103d057600080fd5b50604080518082019091526009815268135051d250fc27eaa160ba1b60208201526101c6565b34801561040257600080fd5b50600a5461017b906001600160a01b031681565b34801561042257600080fd5b506101f3610431366004610f6e565b610647565b34801561044257600080fd5b506101f3610451366004610f6e565b61067e565b34801561046257600080fd5b50610234610471366004610fff565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156104a857600080fd5b506102d46104b7366004610fdb565b61068b565b3480156104c857600080fd5b506102d46104d7366004610fdb565b6106d6565b60006104e93384846107c0565b5060015b92915050565b60006105008484846108e4565b6001600160a01b03841660009081526004602090815260408083203380855292529091205461053b91869161053690869061104e565b6107c0565b5060019392505050565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916104e9918590610536908690611061565b6000546001600160a01b031633146105af5760405162461bcd60e51b81526004016105a690611074565b60405180910390fd5b6001600160a01b03166000908152600560205260409020805460ff19166001179055565b6000546001600160a01b031633146105fd5760405162461bcd60e51b81526004016105a690611074565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916104e991859061053690869061104e565b60006104e93384846108e4565b6000546001600160a01b031633146106b55760405162461bcd60e51b81526004016105a690611074565b6001600160a01b03166000908152600560205260409020805460ff19169055565b6000546001600160a01b031633146107005760405162461bcd60e51b81526004016105a690611074565b6001600160a01b0381166107655760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105a6565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166108225760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105a6565b6001600160a01b0382166108835760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105a6565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600081116109465760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016105a6565b6001600160a01b03831660009081526005602052604090205460ff1615801561098857506001600160a01b03821660009081526005602052604090205460ff16155b80156109a257506002546001600160a01b03838116911614155b15610a3357600754816109ca846001600160a01b031660009081526003602052604090205490565b6109d49190611061565b1115610a335760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016105a6565b30600090815260036020526040902054662386f26fc1000011158015610a5c5750600d5460ff16155b8015610a7657506002546001600160a01b03848116911614155b8015610a9b57506001600160a01b03831660009081526005602052604090205460ff16155b8015610ac057506001600160a01b03821660009081526005602052604090205460ff16155b15610af957600d805460ff19166001179055306000908152600360205260408120549050610aed81610c0d565b50600d805460ff191690555b610b038284610c60565b610b35576001600160a01b03831660009081526003602052604081208054839290610b2f90849061104e565b90915550505b6001600160a01b038316600090815260056020526040902054819060ff16158015610b7957506001600160a01b03831660009081526005602052604090205460ff16155b15610b8b57610b888285610caa565b90505b6001600160a01b03831660009081526003602052604081208054839290610bb3908490611061565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610bff91815260200190565b60405180910390a350505050565b6000610c1882610da0565b90508015610c5c57600a546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610c5a573d6000803e3d6000fd5b505b5050565b6001600160a01b03821660009081526005602052604081205460ff1615801581610ca257506001600160a01b03831660009081526005602052604090205460ff165b949350505050565b600080606460085485610cbd91906110a9565b610cc791906110c0565b90506000606460095486610cdb91906110a9565b610ce591906110c0565b9050610cf18183611061565b3060009081526003602052604081208054909190610d10908490611061565b909155503090506001600160a01b0385167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610d4c8486611061565b60405190815260200160405180910390a3600b546001600160a01b031660009081526003602052604090205481610d83848861104e565b610d8d919061104e565b610d97919061104e565b95945050505050565b6040805160028082526060820183526000924792849290916020830190803683370190505090503081600081518110610ddb57610ddb6110e2565b6001600160a01b03928316602091820292909201810191909152600154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906110f8565b81600181518110610e6b57610e6b6110e2565b6001600160a01b039283166020918202929092010152600154610e9191309116866107c0565b60015460405163791ac94760e01b81526001600160a01b039091169063791ac94790610eca908790600090869030904290600401611115565b600060405180830381600087803b158015610ee457600080fd5b505af1158015610ef8573d6000803e3d6000fd5b505050508147610ca2919061104e565b600060208083528351808285015260005b81811015610f3557858101830151858201604001528201610f19565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610f6b57600080fd5b50565b60008060408385031215610f8157600080fd5b8235610f8c81610f56565b946020939093013593505050565b600080600060608486031215610faf57600080fd5b8335610fba81610f56565b92506020840135610fca81610f56565b929592945050506040919091013590565b600060208284031215610fed57600080fd5b8135610ff881610f56565b9392505050565b6000806040838503121561101257600080fd5b823561101d81610f56565b9150602083013561102d81610f56565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b818103818111156104ed576104ed611038565b808201808211156104ed576104ed611038565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80820281158282048414176104ed576104ed611038565b6000826110dd57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561110a57600080fd5b8151610ff881610f56565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156111655784516001600160a01b031683529383019391830191600101611140565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212201aa63cf8bd04a914dc6e3ad232646579e49a49f1ce3d44e97da4f41930c5e8f964736f6c63430008110033
Deployed Bytecode Sourcemap
24488:8609:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25416:64;;;;;;;;;;-1:-1:-1;25416:64:0;;;;-1:-1:-1;;;;;25416:64:0;;;;;;-1:-1:-1;;;;;178:32:1;;;160:51;;148:2;133:18;25416:64:0;;;;;;;;26490:83;;;;;;;;;;-1:-1:-1;26560:5:0;;;;;;;;;;;;-1:-1:-1;;;26560:5:0;;;;26490:83;;;;;;;:::i;27321:161::-;;;;;;;;;;-1:-1:-1;27321:161:0;;;;;:::i;:::-;;:::i;:::-;;;1396:14:1;;1389:22;1371:41;;1359:2;1344:18;27321:161:0;1231:187:1;24618:41:0;;;;;;;;;;-1:-1:-1;24618:41:0;;;;-1:-1:-1;;;;;24618:41:0;;;26767:95;;;;;;;;;;-1:-1:-1;26847:7:0;;26767:95;;;1804:25:1;;;1792:2;1777:18;26767:95:0;1658:177:1;25254:32:0;;;;;;;;;;;;;;;;27490:266;;;;;;;;;;-1:-1:-1;27490:266:0;;;;;:::i;:::-;;:::i;26676:83::-;;;;;;;;;;-1:-1:-1;26676:83:0;;25230:1;2443:36:1;;2431:2;2416:18;26676:83:0;2301:184:1;27764:215:0;;;;;;;;;;-1:-1:-1;27764:215:0;;;;;:::i;:::-;;:::i;28224:111::-;;;;;;;;;;-1:-1:-1;28224:111:0;;;;;:::i;:::-;;:::i;:::-;;24666:28;;;;;;;;;;-1:-1:-1;24666:28:0;;;;-1:-1:-1;;;;;24666:28:0;;;29010:123;;;;;;;;;;-1:-1:-1;29010:123:0;;;;;:::i;:::-;-1:-1:-1;;;;;29098:27:0;29074:4;29098:27;;;:18;:27;;;;;;;;;29010:123;25293:32;;;;;;;;;;;;;;;;26870:117;;;;;;;;;;-1:-1:-1;26870:117:0;;;;;:::i;:::-;-1:-1:-1;;;;;26963:16:0;26936:7;26963:16;;;:7;:16;;;;;;;26870:117;15998:148;;;;;;;;;;;;;:::i;24948:41::-;;;;;;;;;;;;;;;;15355:79;;;;;;;;;;-1:-1:-1;15393:7:0;15420:6;-1:-1:-1;;;;;15420:6:0;15355:79;;26581:87;;;;;;;;;;-1:-1:-1;26653:7:0;;;;;;;;;;;;-1:-1:-1;;;26653:7:0;;;;26581:87;;25332:77;;;;;;;;;;-1:-1:-1;25332:77:0;;;;-1:-1:-1;;;;;25332:77:0;;;27987:225;;;;;;;;;;-1:-1:-1;27987:225:0;;;;;:::i;:::-;;:::i;26995:167::-;;;;;;;;;;-1:-1:-1;26995:167:0;;;;;:::i;:::-;;:::i;27170:143::-;;;;;;;;;;-1:-1:-1;27170:143:0;;;;;:::i;:::-;-1:-1:-1;;;;;27278:18:0;;;27251:7;27278:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;27170:143;28347:110;;;;;;;;;;-1:-1:-1;28347:110:0;;;;;:::i;:::-;;:::i;16301:244::-;;;;;;;;;;-1:-1:-1;16301:244:0;;;;;:::i;:::-;;:::i;27321:161::-;27396:4;27413:39;8099:10;27436:7;27445:6;27413:8;:39::i;:::-;-1:-1:-1;27470:4:0;27321:161;;;;;:::o;27490:266::-;27588:4;27605:36;27615:6;27623:9;27634:6;27605:9;:36::i;:::-;-1:-1:-1;;;;;27683:19:0;;;;;;:11;:19;;;;;;;;8099:10;27683:33;;;;;;;;;27652:74;;27661:6;;27683:42;;27719:6;;27683:42;:::i;:::-;27652:8;:74::i;:::-;-1:-1:-1;27744:4:0;27490:266;;;;;:::o;27764:215::-;8099:10;27852:4;27901:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;27901:34:0;;;;;;;;;;27852:4;;27869:80;;27892:7;;27901:47;;27938:10;;27901:47;:::i;28224:111::-;15567:6;;-1:-1:-1;;;;;15567:6:0;8099:10;15567:22;15559:67;;;;-1:-1:-1;;;15559:67:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;28293:27:0::1;;::::0;;;:18:::1;:27;::::0;;;;:34;;-1:-1:-1;;28293:34:0::1;28323:4;28293:34;::::0;;28224:111::o;15998:148::-;15567:6;;-1:-1:-1;;;;;15567:6:0;8099:10;15567:22;15559:67;;;;-1:-1:-1;;;15559:67:0;;;;;;;:::i;:::-;16105:1:::1;16089:6:::0;;16068:40:::1;::::0;-1:-1:-1;;;;;16089:6:0;;::::1;::::0;16068:40:::1;::::0;16105:1;;16068:40:::1;16136:1;16119:19:::0;;-1:-1:-1;;;;;;16119:19:0::1;::::0;;15998:148::o;27987:225::-;8099:10;28080:4;28129:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;28129:34:0;;;;;;;;;;28080:4;;28097:85;;28120:7;;28129:52;;28166:15;;28129:52;:::i;26995:167::-;27073:4;27090:42;8099:10;27114:9;27125:6;27090:9;:42::i;28347:110::-;15567:6;;-1:-1:-1;;;;;15567:6:0;8099:10;15567:22;15559:67;;;;-1:-1:-1;;;15559:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;28414:27:0::1;28444:5;28414:27:::0;;;:18:::1;:27;::::0;;;;:35;;-1:-1:-1;;28414:35:0::1;::::0;;28347:110::o;16301:244::-;15567:6;;-1:-1:-1;;;;;15567:6:0;8099:10;15567:22;15559:67;;;;-1:-1:-1;;;15559:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;16390:22:0;::::1;16382:73;;;::::0;-1:-1:-1;;;16382:73:0;;4093:2:1;16382: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;;16382:73:0::1;3891:402:1::0;16382:73:0::1;16492:6;::::0;;16471:38:::1;::::0;-1:-1:-1;;;;;16471:38:0;;::::1;::::0;16492:6;::::1;::::0;16471:38:::1;::::0;::::1;16520:6;:17:::0;;-1:-1:-1;;;;;;16520:17:0::1;-1:-1:-1::0;;;;;16520:17:0;;;::::1;::::0;;;::::1;::::0;;16301:244::o;29145:337::-;-1:-1:-1;;;;;29238:19:0;;29230:68;;;;-1:-1:-1;;;29230:68:0;;4500:2:1;29230: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;;29230:68:0;4298:400:1;29230:68:0;-1:-1:-1;;;;;29317:21:0;;29309:68;;;;-1:-1:-1;;;29309:68:0;;4905:2:1;29309: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;;29309:68:0;4703:398:1;29309:68:0;-1:-1:-1;;;;;29390:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;29442:32;;1804:25:1;;;29442:32:0;;1777:18:1;29442:32:0;;;;;;;29145:337;;;:::o;29676:1210::-;29809:1;29800:6;:10;29792:64;;;;-1:-1:-1;;;29792:64:0;;5308:2:1;29792: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;;29792:64:0;5106:405:1;29792:64:0;-1:-1:-1;;;;;29882:24:0;;;;;;:18;:24;;;;;;;;29881:25;:52;;;;-1:-1:-1;;;;;;29911:22:0;;;;;;:18;:22;;;;;;;;29910:23;29881:52;:75;;;;-1:-1:-1;29943:13:0;;-1:-1:-1;;;;;29937:19:0;;;29943:13;;29937:19;;29881:75;29878:184;;;30005:12;;29995:6;29979:13;29989:2;-1:-1:-1;;;;;26963:16:0;26936:7;26963:16;;;:7;:16;;;;;;;26870:117;29979:13;:22;;;;:::i;:::-;:38;;29971:91;;;;-1:-1:-1;;;29971:91:0;;5718:2:1;29971: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;;29971:91:0;5516:404:1;29971:91:0;30117:4;26936:7;26963:16;;;:7;:16;;;;;;25049;-1:-1:-1;30099:49:0;:62;;;;-1:-1:-1;30153:8:0;;;;30152:9;30099:62;:87;;;;-1:-1:-1;30173:13:0;;-1:-1:-1;;;;;30165:21:0;;;30173:13;;30165:21;;30099:87;:116;;;;-1:-1:-1;;;;;;30191:24:0;;;;;;:18;:24;;;;;;;;30190:25;30099:116;:143;;;;-1:-1:-1;;;;;;30220:22:0;;;;;;:18;:22;;;;;;;;30219:23;30099:143;30095:325;;;30259:8;:15;;-1:-1:-1;;30259:15:0;30270:4;30259:15;;;30328:4;-1:-1:-1;26963:16:0;;;:7;:16;;;;;;30289:45;;30349:28;30366:10;30349:16;:28::i;:::-;-1:-1:-1;30392:8:0;:16;;-1:-1:-1;;30392:16:0;;;30095:325;30444:21;30457:2;30460:4;30444:12;:21::i;:::-;30440:68;;-1:-1:-1;;;;;30483:13:0;;;;;;:7;:13;;;;;:23;;30500:6;;30483:13;:23;;30500:6;;30483:23;:::i;:::-;;;;-1:-1:-1;;30440:68:0;-1:-1:-1;;;;;30658:24:0;;30518:22;30658:24;;;:18;:24;;;;;;30543:6;;30658:24;;30657:25;:52;;;;-1:-1:-1;;;;;;30687:22:0;;;;;;:18;:22;;;;;;;;30686:23;30657:52;30654:124;;;30742:24;30753:6;30761:4;30742:10;:24::i;:::-;30725:41;;30654:124;-1:-1:-1;;;;;30799:11:0;;;;;;:7;:11;;;;;:29;;30814:14;;30799:11;:29;;30814:14;;30799:29;:::i;:::-;;;;;;;;30859:2;-1:-1:-1;;;;;30844:34:0;30853:4;-1:-1:-1;;;;;30844:34:0;;30863:14;30844:34;;;;1804:25:1;;1792:2;1777:18;;1658:177;30844:34:0;;;;;;;;29779:1107;29676:1210;;;:::o;30904:212::-;30966:17;30986:24;31003:6;30986:16;:24::i;:::-;30966:44;-1:-1:-1;31035:13:0;;31031:77;;31071:16;;31063:45;;-1:-1:-1;;;;;31071:16:0;;;;31063:45;;;;;31098:9;;31071:16;31063:45;31071:16;31063:45;31098:9;31071:16;31063:45;;;;;;;;;;;;;;;;;;;;;31031:77;30955:161;30904:212;:::o;29487:181::-;-1:-1:-1;;;;;29583:25:0;;29561:4;29583:25;;;:18;:25;;;;;;;;29582:26;29627:2;;29582:26;29627:32;;-1:-1:-1;;;;;;29633:26:0;;;;;;:18;:26;;;;;;;;29627:32;29619:41;29487:181;-1:-1:-1;;;;29487:181:0:o;28571:421::-;28638:7;28658:20;28706:3;28690:13;;28681:6;:22;;;;:::i;:::-;:28;;;;:::i;:::-;28658:51;;28721:20;28769:3;28753:13;;28744:6;:22;;;;:::i;:::-;:28;;;;:::i;:::-;28721:51;-1:-1:-1;28810:27:0;28721:51;28810:12;:27;:::i;:::-;28800:4;28784:22;;;;:7;:22;;;;;:53;;:22;;;:53;;;;;:::i;:::-;;;;-1:-1:-1;28877:4:0;;-1:-1:-1;;;;;;28853:59:0;;;28884:27;28899:12;28884;:27;:::i;:::-;28853:59;;1804:25:1;;;1792:2;1777:18;28853:59:0;;;;;;;28978:4;;-1:-1:-1;;;;;28978:4:0;26936:7;26963:16;;;:7;:16;;;;;;28955:12;28931:21;28940:12;28931:6;:21;:::i;:::-;:36;;;;:::i;:::-;:52;;;;:::i;:::-;28923:61;28571:421;-1:-1:-1;;;;;28571:421:0:o;31680:722::-;31905:16;;;31919:1;31905:16;;;;;;;;31744:7;;31789:21;;31744:7;;31905:16;;;;;;;;;;;;-1:-1:-1;31905:16:0;31881:40;;31950:4;31932;31937:1;31932:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;31932:23:0;;;:7;;;;;;;;;;:23;;;;31976:15;;:22;;;-1:-1:-1;;;31976:22:0;;;;:15;;;;;:20;;:22;;;;;31932:7;;31976:22;;;;;:15;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;31966:4;31971:1;31966:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;31966:32:0;;;:7;;;;;;;;;:32;32043:15;;32011:62;;32028:4;;32043:15;32061:11;32011:8;:62::i;:::-;32112:15;;:224;;-1:-1:-1;;;32112:224:0;;-1:-1:-1;;;;;32112:15:0;;;;:66;;:224;;32193:11;;32112:15;;32263:4;;32290;;32310:15;;32112:224;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32379:14;32355:21;:38;;;;:::i;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://1aa63cf8bd04a914dc6e3ad232646579e49a49f1ce3d44e97da4f41930c5e8f9
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.