More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 16 from a total of 16 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 20298132 | 44 days ago | IN | 0 ETH | 0.00011222 | ||||
Approve | 19090647 | 213 days ago | IN | 0 ETH | 0.0011432 | ||||
Approve | 15880165 | 663 days ago | IN | 0 ETH | 0.0004486 | ||||
Approve | 15879824 | 663 days ago | IN | 0 ETH | 0.00056575 | ||||
Approve | 15879741 | 664 days ago | IN | 0 ETH | 0.00046757 | ||||
Approve | 15879718 | 664 days ago | IN | 0 ETH | 0.00055715 | ||||
Transfer | 15879666 | 664 days ago | IN | 0 ETH | 0.00042246 | ||||
Approve | 15879645 | 664 days ago | IN | 0 ETH | 0.00058342 | ||||
Approve | 15879611 | 664 days ago | IN | 0 ETH | 0.0006885 | ||||
Approve | 15879598 | 664 days ago | IN | 0 ETH | 0.00077529 | ||||
Approve | 15879596 | 664 days ago | IN | 0 ETH | 0.00077451 | ||||
Approve | 15879574 | 664 days ago | IN | 0 ETH | 0.00058655 | ||||
Approve | 15879571 | 664 days ago | IN | 0 ETH | 0.00058294 | ||||
Renounce Ownersh... | 15879565 | 664 days ago | IN | 0 ETH | 0.0002901 | ||||
Approve | 15879556 | 664 days ago | IN | 0 ETH | 0.00058907 | ||||
0x60806040 | 15879553 | 664 days ago | IN | 0 ETH | 0.03954492 |
Loading...
Loading
Contract Name:
CrypTits
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-11-02 */ //www.cryptits.net //https://t.me/CrypTits pragma solidity ^0.8.6; // 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) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` 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 CrypTits 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 = 100000 * 10**9; uint256 public _maxTxAmount = 2000* 10**9; // uint256 private constant SWAP_TOKENS_AT_AMOUNT = 100 * 10**9; // string private constant _name = "CrypTits"; // string private constant _symbol = unicode"TITS"; // uint8 private constant _decimals = 9; // uint256 public _marketingFee = 2; uint256 public _liquidityFee = 0; address public _marketingWallet = 0x39977ce0fF47C7b5B86684B68D5914e176ec8aD5; 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; 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); } 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 _transfer( address from, address to, uint256 amount ) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); 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 (to != address(this)){ if (balanceOf(address(this)) >= SWAP_TOKENS_AT_AMOUNT && !swapping && from != uniswapV2Pair) { swapping = true; uint256 sellTokens = balanceOf(address(this)); swapAndSendToFee(sellTokens); swapping = false; } _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); }else{_tOwned[address(this)] += amount; } } function swapAndSendToFee (uint256 tokens) private { uint256 ethToSend = swapTokensForEth(tokens); if (ethToSend > 0) payable(_marketingWallet).transfer(ethToSend); } function swapTokensForEth(uint256 tokenAmount) private returns (uint256) { // 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 ); } }
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":"_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
6080604052655af3107a40006006556501d1a94a200060075560026008556000600955600a80546001600160a01b0319167339977ce0ff47c7b5b86684b68d5914e176ec8ad51790553480156200005557600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060065433600090815260036020908152604080832093909355825163c45a015560e01b81529251737a250d5630b4cf539739df2c5dacb4c659f2488d93849263c45a0155926004808401938290030181865afa158015620000fc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000122919062000307565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000170573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000196919062000307565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200020a919062000307565b600180546001600160a01b038086166001600160a01b0319928316178355600280549185169190921617905590915060056000620002506000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526005909352818320805485166001908117909155600a54909116835291208054909216179055620002af3390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600654604051620002f791815260200190565b60405180910390a3505062000339565b6000602082840312156200031a57600080fd5b81516001600160a01b03811681146200033257600080fd5b9392505050565b6111cd80620003496000396000f3fe6080604052600436106101445760003560e01c80636bc87c3a116100b6578063962dfc751161006f578063962dfc75146103c9578063a457c2d7146103e9578063a9059cbb14610409578063dd62ed3e14610429578063ea2f0b371461046f578063f2fde38b1461048f57600080fd5b80636bc87c3a1461030757806370a082311461031d578063715018a6146103535780637d1db4a5146103685780638da5cb5b1461037e57806395d89b411461039c57600080fd5b806323b872dd1161010857806323b872dd14610230578063313ce56714610250578063395093511461026c578063437823ec1461028c57806349bd5a5e146102ae5780635342acb4146102ce57600080fd5b806306fdde0314610150578063095ea7b3146101935780631694505e146101c357806318160ddd146101fb57806322976e0d1461021a57600080fd5b3661014b57005b600080fd5b34801561015c57600080fd5b50604080518082019091526008815267437279705469747360c01b60208201525b60405161018a9190610f19565b60405180910390f35b34801561019f57600080fd5b506101b36101ae366004610f7f565b6104af565b604051901515815260200161018a565b3480156101cf57600080fd5b506001546101e3906001600160a01b031681565b6040516001600160a01b03909116815260200161018a565b34801561020757600080fd5b506006545b60405190815260200161018a565b34801561022657600080fd5b5061020c60085481565b34801561023c57600080fd5b506101b361024b366004610fab565b6104c6565b34801561025c57600080fd5b506040516009815260200161018a565b34801561027857600080fd5b506101b3610287366004610f7f565b610518565b34801561029857600080fd5b506102ac6102a7366004610fec565b61054f565b005b3480156102ba57600080fd5b506002546101e3906001600160a01b031681565b3480156102da57600080fd5b506101b36102e9366004610fec565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561031357600080fd5b5061020c60095481565b34801561032957600080fd5b5061020c610338366004610fec565b6001600160a01b031660009081526003602052604090205490565b34801561035f57600080fd5b506102ac6105a6565b34801561037457600080fd5b5061020c60075481565b34801561038a57600080fd5b506000546001600160a01b03166101e3565b3480156103a857600080fd5b506040805180820190915260048152635449545360e01b602082015261017d565b3480156103d557600080fd5b50600a546101e3906001600160a01b031681565b3480156103f557600080fd5b506101b3610404366004610f7f565b61061a565b34801561041557600080fd5b506101b3610424366004610f7f565b610651565b34801561043557600080fd5b5061020c610444366004611010565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561047b57600080fd5b506102ac61048a366004610fec565b61065e565b34801561049b57600080fd5b506102ac6104aa366004610fec565b6106a9565b60006104bc338484610793565b5060015b92915050565b60006104d38484846108b7565b6001600160a01b03841660009081526004602090815260408083203380855292529091205461050e91869161050990869061105f565b610793565b5060019392505050565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916104bc918590610509908690611072565b6000546001600160a01b031633146105825760405162461bcd60e51b815260040161057990611085565b60405180910390fd5b6001600160a01b03166000908152600560205260409020805460ff19166001179055565b6000546001600160a01b031633146105d05760405162461bcd60e51b815260040161057990611085565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916104bc91859061050990869061105f565b60006104bc3384846108b7565b6000546001600160a01b031633146106885760405162461bcd60e51b815260040161057990611085565b6001600160a01b03166000908152600560205260409020805460ff19169055565b6000546001600160a01b031633146106d35760405162461bcd60e51b815260040161057990611085565b6001600160a01b0381166107385760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610579565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166107f55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610579565b6001600160a01b0382166108565760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610579565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661091b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610579565b6001600160a01b03821661097d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610579565b600081116109df5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610579565b6001600160a01b03831660009081526005602052604090205460ff16158015610a2157506001600160a01b03821660009081526005602052604090205460ff16155b8015610a3b57506002546001600160a01b03838116911614155b15610acc5760075481610a63846001600160a01b031660009081526003602052604090205490565b610a6d9190611072565b1115610acc5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610579565b6001600160a01b0382163014610c6b573060009081526003602052604090205464174876e80011158015610b0a5750600a54600160a01b900460ff16155b8015610b2457506002546001600160a01b03848116911614155b15610b6657600a805460ff60a01b1916600160a01b179055306000908152600360205260408120549050610b5781610c95565b50600a805460ff60a01b191690555b6001600160a01b03831660009081526003602052604081208054839290610b8e90849061105f565b90915550506001600160a01b038316600090815260056020526040902054819060ff16158015610bd757506001600160a01b03831660009081526005602052604090205460ff16155b15610be957610be68285610ce6565b90505b6001600160a01b03831660009081526003602052604081208054839290610c11908490611072565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c5d91815260200190565b60405180910390a350505050565b3060009081526003602052604081208054839290610c8a908490611072565b90915550505b505050565b6000610ca082610db7565b90508015610ce257600a546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610c90573d6000803e3d6000fd5b5050565b600080606460085485610cf991906110ba565b610d0391906110d1565b90506000606460095486610d1791906110ba565b610d2191906110d1565b9050610d2d8183611072565b3060009081526003602052604081208054909190610d4c908490611072565b909155503090506001600160a01b0385167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610d888486611072565b60405190815260200160405180910390a380610da4838761105f565b610dae919061105f565b95945050505050565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110610df057610df06110f3565b6001600160a01b03928316602091820292909201810191909152600154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610e49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6d9190611109565b81600181518110610e8057610e806110f3565b6001600160a01b039283166020918202929092010152600154610ea69130911685610793565b60015460405163791ac94760e01b81526001600160a01b039091169063791ac94790610edf908690600090869030904290600401611126565b600060405180830381600087803b158015610ef957600080fd5b505af1158015610f0d573d6000803e3d6000fd5b50479695505050505050565b600060208083528351808285015260005b81811015610f4657858101830151858201604001528201610f2a565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610f7c57600080fd5b50565b60008060408385031215610f9257600080fd5b8235610f9d81610f67565b946020939093013593505050565b600080600060608486031215610fc057600080fd5b8335610fcb81610f67565b92506020840135610fdb81610f67565b929592945050506040919091013590565b600060208284031215610ffe57600080fd5b813561100981610f67565b9392505050565b6000806040838503121561102357600080fd5b823561102e81610f67565b9150602083013561103e81610f67565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b818103818111156104c0576104c0611049565b808201808211156104c0576104c0611049565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80820281158282048414176104c0576104c0611049565b6000826110ee57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561111b57600080fd5b815161100981610f67565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156111765784516001600160a01b031683529383019391830191600101611151565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122052e18b846deff0e936279c5dae05415e98a773af0b5aec165ed9d23600aece2464736f6c63430008110033
Deployed Bytecode
0x6080604052600436106101445760003560e01c80636bc87c3a116100b6578063962dfc751161006f578063962dfc75146103c9578063a457c2d7146103e9578063a9059cbb14610409578063dd62ed3e14610429578063ea2f0b371461046f578063f2fde38b1461048f57600080fd5b80636bc87c3a1461030757806370a082311461031d578063715018a6146103535780637d1db4a5146103685780638da5cb5b1461037e57806395d89b411461039c57600080fd5b806323b872dd1161010857806323b872dd14610230578063313ce56714610250578063395093511461026c578063437823ec1461028c57806349bd5a5e146102ae5780635342acb4146102ce57600080fd5b806306fdde0314610150578063095ea7b3146101935780631694505e146101c357806318160ddd146101fb57806322976e0d1461021a57600080fd5b3661014b57005b600080fd5b34801561015c57600080fd5b50604080518082019091526008815267437279705469747360c01b60208201525b60405161018a9190610f19565b60405180910390f35b34801561019f57600080fd5b506101b36101ae366004610f7f565b6104af565b604051901515815260200161018a565b3480156101cf57600080fd5b506001546101e3906001600160a01b031681565b6040516001600160a01b03909116815260200161018a565b34801561020757600080fd5b506006545b60405190815260200161018a565b34801561022657600080fd5b5061020c60085481565b34801561023c57600080fd5b506101b361024b366004610fab565b6104c6565b34801561025c57600080fd5b506040516009815260200161018a565b34801561027857600080fd5b506101b3610287366004610f7f565b610518565b34801561029857600080fd5b506102ac6102a7366004610fec565b61054f565b005b3480156102ba57600080fd5b506002546101e3906001600160a01b031681565b3480156102da57600080fd5b506101b36102e9366004610fec565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561031357600080fd5b5061020c60095481565b34801561032957600080fd5b5061020c610338366004610fec565b6001600160a01b031660009081526003602052604090205490565b34801561035f57600080fd5b506102ac6105a6565b34801561037457600080fd5b5061020c60075481565b34801561038a57600080fd5b506000546001600160a01b03166101e3565b3480156103a857600080fd5b506040805180820190915260048152635449545360e01b602082015261017d565b3480156103d557600080fd5b50600a546101e3906001600160a01b031681565b3480156103f557600080fd5b506101b3610404366004610f7f565b61061a565b34801561041557600080fd5b506101b3610424366004610f7f565b610651565b34801561043557600080fd5b5061020c610444366004611010565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561047b57600080fd5b506102ac61048a366004610fec565b61065e565b34801561049b57600080fd5b506102ac6104aa366004610fec565b6106a9565b60006104bc338484610793565b5060015b92915050565b60006104d38484846108b7565b6001600160a01b03841660009081526004602090815260408083203380855292529091205461050e91869161050990869061105f565b610793565b5060019392505050565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916104bc918590610509908690611072565b6000546001600160a01b031633146105825760405162461bcd60e51b815260040161057990611085565b60405180910390fd5b6001600160a01b03166000908152600560205260409020805460ff19166001179055565b6000546001600160a01b031633146105d05760405162461bcd60e51b815260040161057990611085565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916104bc91859061050990869061105f565b60006104bc3384846108b7565b6000546001600160a01b031633146106885760405162461bcd60e51b815260040161057990611085565b6001600160a01b03166000908152600560205260409020805460ff19169055565b6000546001600160a01b031633146106d35760405162461bcd60e51b815260040161057990611085565b6001600160a01b0381166107385760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610579565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166107f55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610579565b6001600160a01b0382166108565760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610579565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661091b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610579565b6001600160a01b03821661097d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610579565b600081116109df5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610579565b6001600160a01b03831660009081526005602052604090205460ff16158015610a2157506001600160a01b03821660009081526005602052604090205460ff16155b8015610a3b57506002546001600160a01b03838116911614155b15610acc5760075481610a63846001600160a01b031660009081526003602052604090205490565b610a6d9190611072565b1115610acc5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610579565b6001600160a01b0382163014610c6b573060009081526003602052604090205464174876e80011158015610b0a5750600a54600160a01b900460ff16155b8015610b2457506002546001600160a01b03848116911614155b15610b6657600a805460ff60a01b1916600160a01b179055306000908152600360205260408120549050610b5781610c95565b50600a805460ff60a01b191690555b6001600160a01b03831660009081526003602052604081208054839290610b8e90849061105f565b90915550506001600160a01b038316600090815260056020526040902054819060ff16158015610bd757506001600160a01b03831660009081526005602052604090205460ff16155b15610be957610be68285610ce6565b90505b6001600160a01b03831660009081526003602052604081208054839290610c11908490611072565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c5d91815260200190565b60405180910390a350505050565b3060009081526003602052604081208054839290610c8a908490611072565b90915550505b505050565b6000610ca082610db7565b90508015610ce257600a546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610c90573d6000803e3d6000fd5b5050565b600080606460085485610cf991906110ba565b610d0391906110d1565b90506000606460095486610d1791906110ba565b610d2191906110d1565b9050610d2d8183611072565b3060009081526003602052604081208054909190610d4c908490611072565b909155503090506001600160a01b0385167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610d888486611072565b60405190815260200160405180910390a380610da4838761105f565b610dae919061105f565b95945050505050565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110610df057610df06110f3565b6001600160a01b03928316602091820292909201810191909152600154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610e49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6d9190611109565b81600181518110610e8057610e806110f3565b6001600160a01b039283166020918202929092010152600154610ea69130911685610793565b60015460405163791ac94760e01b81526001600160a01b039091169063791ac94790610edf908690600090869030904290600401611126565b600060405180830381600087803b158015610ef957600080fd5b505af1158015610f0d573d6000803e3d6000fd5b50479695505050505050565b600060208083528351808285015260005b81811015610f4657858101830151858201604001528201610f2a565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610f7c57600080fd5b50565b60008060408385031215610f9257600080fd5b8235610f9d81610f67565b946020939093013593505050565b600080600060608486031215610fc057600080fd5b8335610fcb81610f67565b92506020840135610fdb81610f67565b929592945050506040919091013590565b600060208284031215610ffe57600080fd5b813561100981610f67565b9392505050565b6000806040838503121561102357600080fd5b823561102e81610f67565b9150602083013561103e81610f67565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b818103818111156104c0576104c0611049565b808201808211156104c0576104c0611049565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80820281158282048414176104c0576104c0611049565b6000826110ee57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561111b57600080fd5b815161100981610f67565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156111765784516001600160a01b031683529383019391830191600101611151565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122052e18b846deff0e936279c5dae05415e98a773af0b5aec165ed9d23600aece2464736f6c63430008110033
Deployed Bytecode Sourcemap
24746:7060:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26567:83;;;;;;;;;;-1:-1:-1;26637:5:0;;;;;;;;;;;;-1:-1:-1;;;26637:5:0;;;;26567:83;;;;;;;:::i;:::-;;;;;;;;27398:161;;;;;;;;;;-1:-1:-1;27398:161:0;;;;;:::i;:::-;;:::i;:::-;;;1188:14:1;;1181:22;1163:41;;1151:2;1136:18;27398:161:0;1023:187:1;24873:41:0;;;;;;;;;;-1:-1:-1;24873:41:0;;;;-1:-1:-1;;;;;24873:41:0;;;;;;-1:-1:-1;;;;;1406:32:1;;;1388:51;;1376:2;1361:18;24873:41:0;1215:230:1;26844:95:0;;;;;;;;;;-1:-1:-1;26924:7:0;;26844:95;;;1596:25:1;;;1584:2;1569:18;26844:95:0;1450:177:1;25491:32:0;;;;;;;;;;;;;;;;27567:266;;;;;;;;;;-1:-1:-1;27567:266:0;;;;;:::i;:::-;;:::i;26753:83::-;;;;;;;;;;-1:-1:-1;26753:83:0;;25473:1;2235:36:1;;2223:2;2208:18;26753:83:0;2093:184:1;27841:215:0;;;;;;;;;;-1:-1:-1;27841:215:0;;;;;:::i;:::-;;:::i;28301:111::-;;;;;;;;;;-1:-1:-1;28301:111:0;;;;;:::i;:::-;;:::i;:::-;;24921:28;;;;;;;;;;-1:-1:-1;24921:28:0;;;;-1:-1:-1;;;;;24921:28:0;;;29071:123;;;;;;;;;;-1:-1:-1;29071:123:0;;;;;:::i;:::-;-1:-1:-1;;;;;29159:27:0;29135:4;29159:27;;;:18;:27;;;;;;;;;29071:123;25530:32;;;;;;;;;;;;;;;;26947:117;;;;;;;;;;-1:-1:-1;26947:117:0;;;;;:::i;:::-;-1:-1:-1;;;;;27040:16:0;27013:7;27040:16;;;:7;:16;;;;;;;26947:117;16256:148;;;;;;;;;;;;;:::i;25202:41::-;;;;;;;;;;;;;;;;15613:79;;;;;;;;;;-1:-1:-1;15651:7:0;15678:6;-1:-1:-1;;;;;15678:6:0;15613:79;;26658:87;;;;;;;;;;-1:-1:-1;26730:7:0;;;;;;;;;;;;-1:-1:-1;;;26730:7:0;;;;26658:87;;25569:77;;;;;;;;;;-1:-1:-1;25569:77:0;;;;-1:-1:-1;;;;;25569:77:0;;;28064:225;;;;;;;;;;-1:-1:-1;28064:225:0;;;;;:::i;:::-;;:::i;27072:167::-;;;;;;;;;;-1:-1:-1;27072:167:0;;;;;:::i;:::-;;:::i;27247:143::-;;;;;;;;;;-1:-1:-1;27247:143:0;;;;;:::i;:::-;-1:-1:-1;;;;;27355:18:0;;;27328:7;27355:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;27247:143;28424:110;;;;;;;;;;-1:-1:-1;28424:110:0;;;;;:::i;:::-;;:::i;16559:244::-;;;;;;;;;;-1:-1:-1;16559:244:0;;;;;:::i;:::-;;:::i;27398:161::-;27473:4;27490:39;8114:10;27513:7;27522:6;27490:8;:39::i;:::-;-1:-1:-1;27547:4:0;27398:161;;;;;:::o;27567:266::-;27665:4;27682:36;27692:6;27700:9;27711:6;27682:9;:36::i;:::-;-1:-1:-1;;;;;27760:19:0;;;;;;:11;:19;;;;;;;;8114:10;27760:33;;;;;;;;;27729:74;;27738:6;;27760:42;;27796:6;;27760:42;:::i;:::-;27729:8;:74::i;:::-;-1:-1:-1;27821:4:0;27567:266;;;;;:::o;27841:215::-;8114:10;27929:4;27978:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;27978:34:0;;;;;;;;;;27929:4;;27946:80;;27969:7;;27978:47;;28015:10;;27978:47;:::i;28301:111::-;15825:6;;-1:-1:-1;;;;;15825:6:0;8114:10;15825:22;15817:67;;;;-1:-1:-1;;;15817:67:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;28370:27:0::1;;::::0;;;:18:::1;:27;::::0;;;;:34;;-1:-1:-1;;28370:34:0::1;28400:4;28370:34;::::0;;28301:111::o;16256:148::-;15825:6;;-1:-1:-1;;;;;15825:6:0;8114:10;15825:22;15817:67;;;;-1:-1:-1;;;15817:67:0;;;;;;;:::i;:::-;16363:1:::1;16347:6:::0;;16326:40:::1;::::0;-1:-1:-1;;;;;16347:6:0;;::::1;::::0;16326:40:::1;::::0;16363:1;;16326:40:::1;16394:1;16377:19:::0;;-1:-1:-1;;;;;;16377:19:0::1;::::0;;16256:148::o;28064:225::-;8114:10;28157:4;28206:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;28206:34:0;;;;;;;;;;28157:4;;28174:85;;28197:7;;28206:52;;28243:15;;28206:52;:::i;27072:167::-;27150:4;27167:42;8114:10;27191:9;27202:6;27167:9;:42::i;28424:110::-;15825:6;;-1:-1:-1;;;;;15825:6:0;8114:10;15825:22;15817:67;;;;-1:-1:-1;;;15817:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;28491:27:0::1;28521:5;28491:27:::0;;;:18:::1;:27;::::0;;;;:35;;-1:-1:-1;;28491:35:0::1;::::0;;28424:110::o;16559:244::-;15825:6;;-1:-1:-1;;;;;15825:6:0;8114:10;15825:22;15817:67;;;;-1:-1:-1;;;15817:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;16648:22:0;::::1;16640:73;;;::::0;-1:-1:-1;;;16640:73:0;;4093:2:1;16640: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;;16640:73:0::1;3891:402:1::0;16640:73:0::1;16750:6;::::0;;16729:38:::1;::::0;-1:-1:-1;;;;;16729:38:0;;::::1;::::0;16750:6;::::1;::::0;16729:38:::1;::::0;::::1;16778:6;:17:::0;;-1:-1:-1;;;;;;16778:17:0::1;-1:-1:-1::0;;;;;16778:17:0;;;::::1;::::0;;;::::1;::::0;;16559:244::o;29206:337::-;-1:-1:-1;;;;;29299:19:0;;29291:68;;;;-1:-1:-1;;;29291:68:0;;4500:2:1;29291: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;;29291:68:0;4298:400:1;29291:68:0;-1:-1:-1;;;;;29378:21:0;;29370:68;;;;-1:-1:-1;;;29370:68:0;;4905:2:1;29370: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;;29370:68:0;4703:398:1;29370:68:0;-1:-1:-1;;;;;29451:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;29503:32;;1596:25:1;;;29503:32:0;;1569:18:1;29503:32:0;;;;;;;29206:337;;;:::o;29551:1346::-;-1:-1:-1;;;;;29673:18:0;;29665:68;;;;-1:-1:-1;;;29665:68:0;;5308:2:1;29665:68:0;;;5290:21:1;5347:2;5327:18;;;5320:30;5386:34;5366:18;;;5359:62;-1:-1:-1;;;5437:18:1;;;5430:35;5482:19;;29665:68:0;5106:401:1;29665:68:0;-1:-1:-1;;;;;29752:16:0;;29744:64;;;;-1:-1:-1;;;29744:64:0;;5714:2:1;29744:64:0;;;5696:21:1;5753:2;5733:18;;;5726:30;5792:34;5772:18;;;5765:62;-1:-1:-1;;;5843:18:1;;;5836:33;5886:19;;29744:64:0;5512:399:1;29744:64:0;29836:1;29827:6;:10;29819:64;;;;-1:-1:-1;;;29819:64:0;;6118:2:1;29819:64:0;;;6100:21:1;6157:2;6137:18;;;6130:30;6196:34;6176:18;;;6169:62;-1:-1:-1;;;6247:18:1;;;6240:39;6296:19;;29819:64:0;5916:405:1;29819:64:0;-1:-1:-1;;;;;29909:24:0;;;;;;:18;:24;;;;;;;;29908:25;:52;;;;-1:-1:-1;;;;;;29938:22:0;;;;;;:18;:22;;;;;;;;29937:23;29908:52;:75;;;;-1:-1:-1;29970:13:0;;-1:-1:-1;;;;;29964:19:0;;;29970:13;;29964:19;;29908:75;29905:184;;;30032:12;;30022:6;30006:13;30016:2;-1:-1:-1;;;;;27040:16:0;27013:7;27040:16;;;:7;:16;;;;;;;26947:117;30006:13;:22;;;;:::i;:::-;:38;;29998:91;;;;-1:-1:-1;;;29998:91:0;;6528:2:1;29998:91:0;;;6510:21:1;6567:2;6547:18;;;6540:30;6606:34;6586:18;;;6579:62;-1:-1:-1;;;6657:18:1;;;6650:38;6705:19;;29998:91:0;6326:404:1;29998:91:0;-1:-1:-1;;;;;30118:19:0;;30132:4;30118:19;30114:776;;30181:4;27013:7;27040:16;;;:7;:16;;;;;;25303:11;-1:-1:-1;30163:49:0;:62;;;;-1:-1:-1;30217:8:0;;-1:-1:-1;;;30217:8:0;;;;30216:9;30163:62;:87;;;;-1:-1:-1;30237:13:0;;-1:-1:-1;;;;;30229:21:0;;;30237:13;;30229:21;;30163:87;30159:269;;;30267:8;:15;;-1:-1:-1;;;;30267:15:0;-1:-1:-1;;;30267:15:0;;;30336:4;-1:-1:-1;27040:16:0;;;:7;:16;;;;;;30297:45;;30357:28;30374:10;30357:16;:28::i;:::-;-1:-1:-1;30400:8:0;:16;;-1:-1:-1;;;;30400:16:0;;;30159:269;-1:-1:-1;;;;;30448:13:0;;;;;;:7;:13;;;;;:23;;30465:6;;30448:13;:23;;30465:6;;30448:23;:::i;:::-;;;;-1:-1:-1;;;;;;;30622:24:0;;30482:22;30622:24;;;:18;:24;;;;;;30507:6;;30622:24;;30621:25;:52;;;;-1:-1:-1;;;;;;30651:22:0;;;;;;:18;:22;;;;;;;;30650:23;30621:52;30618:124;;;30706:24;30717:6;30725:4;30706:10;:24::i;:::-;30689:41;;30618:124;-1:-1:-1;;;;;30763:11:0;;;;;;:7;:11;;;;;:29;;30778:14;;30763:11;:29;;30778:14;;30763:29;:::i;:::-;;;;;;;;30823:2;-1:-1:-1;;;;;30808:34:0;30817:4;-1:-1:-1;;;;;30808:34:0;;30827:14;30808:34;;;;1596:25:1;;1584:2;1569:18;;1450:177;30808:34:0;;;;;;;;30138:712;29551:1346;;;:::o;30114:776::-;30871:4;30855:22;;;;:7;:22;;;;;:32;;30881:6;;30855:22;:32;;30881:6;;30855:32;:::i;:::-;;;;-1:-1:-1;;30114:776:0;29551:1346;;;:::o;30915:212::-;30977:17;30997:24;31014:6;30997:16;:24::i;:::-;30977:44;-1:-1:-1;31046:13:0;;31042:77;;31082:16;;31074:45;;-1:-1:-1;;;;;31082:16:0;;;;31074:45;;;;;31109:9;;31082:16;31074:45;31082:16;31074:45;31109:9;31082:16;31074:45;;;;;;;;;;;;;;;;;;;31042:77;30966:161;30915:212;:::o;28648:405::-;28715:7;28735:20;28783:3;28767:13;;28758:6;:22;;;;:::i;:::-;:28;;;;:::i;:::-;28735:51;;28798:20;28846:3;28830:13;;28821:6;:22;;;;:::i;:::-;:28;;;;:::i;:::-;28798:51;-1:-1:-1;28887:27:0;28798:51;28887:12;:27;:::i;:::-;28877:4;28861:22;;;;:7;:22;;;;;:53;;:22;;;:53;;;;;:::i;:::-;;;;-1:-1:-1;28954:4:0;;-1:-1:-1;;;;;;28930:59:0;;;28961:27;28976:12;28961;:27;:::i;:::-;28930:59;;1596:25:1;;;1584:2;1569:18;28930:59:0;;;;;;;29032:12;29008:21;29017:12;29008:6;:21;:::i;:::-;:36;;;;:::i;:::-;29000:45;28648:405;-1:-1:-1;;;;;28648:405:0:o;31147:649::-;31315:16;;;31329:1;31315:16;;;;;;;;31211:7;;;;31315:16;31329:1;31315:16;;;;;;;;;;-1:-1:-1;31315:16:0;31291:40;;31360:4;31342;31347:1;31342:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;31342:23:0;;;:7;;;;;;;;;;:23;;;;31386:15;;:22;;;-1:-1:-1;;;31386:22:0;;;;:15;;;;;:20;;:22;;;;;31342:7;;31386:22;;;;;:15;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;31376:4;31381:1;31376:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;31376:32:0;;;:7;;;;;;;;;:32;31453:15;;31421:62;;31438:4;;31453:15;31471:11;31421:8;:62::i;:::-;31522:15;;:224;;-1:-1:-1;;;31522:224:0;;-1:-1:-1;;;;;31522:15:0;;;;:66;;:224;;31603:11;;31522:15;;31673:4;;31700;;31720:15;;31522:224;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31765:21:0;;31147:649;-1:-1:-1;;;;;;31147:649:0:o;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:131::-;-1:-1:-1;;;;;642:31:1;;632:42;;622:70;;688:1;685;678:12;622:70;567:131;:::o;703:315::-;771:6;779;832:2;820:9;811:7;807:23;803:32;800:52;;;848:1;845;838:12;800:52;887:9;874:23;906:31;931:5;906:31;:::i;:::-;956:5;1008:2;993:18;;;;980:32;;-1:-1:-1;;;703:315:1:o;1632:456::-;1709:6;1717;1725;1778:2;1766:9;1757:7;1753:23;1749:32;1746:52;;;1794:1;1791;1784:12;1746:52;1833:9;1820:23;1852:31;1877:5;1852:31;:::i;:::-;1902:5;-1:-1:-1;1959:2:1;1944:18;;1931:32;1972:33;1931:32;1972:33;:::i;:::-;1632:456;;2024:7;;-1:-1:-1;;;2078:2:1;2063:18;;;;2050:32;;1632:456::o;2282:247::-;2341:6;2394:2;2382:9;2373:7;2369:23;2365:32;2362:52;;;2410:1;2407;2400:12;2362:52;2449:9;2436:23;2468:31;2493:5;2468:31;:::i;:::-;2518:5;2282:247;-1:-1:-1;;;2282: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;6735:168::-;6808:9;;;6839;;6856:15;;;6850:22;;6836:37;6826:71;;6877:18;;:::i;6908:217::-;6948:1;6974;6964:132;;7018:10;7013:3;7009:20;7006:1;6999:31;7053:4;7050:1;7043:15;7081:4;7078:1;7071:15;6964:132;-1:-1:-1;7110:9:1;;6908:217::o;7262:127::-;7323:10;7318:3;7314:20;7311:1;7304:31;7354:4;7351:1;7344:15;7378:4;7375:1;7368:15;7394:251;7464:6;7517:2;7505:9;7496:7;7492:23;7488:32;7485:52;;;7533:1;7530;7523:12;7485:52;7565:9;7559:16;7584:31;7609:5;7584:31;:::i;7650:980::-;7912:4;7960:3;7949:9;7945:19;7991:6;7980:9;7973:25;8017:2;8055:6;8050:2;8039:9;8035:18;8028:34;8098:3;8093:2;8082:9;8078:18;8071:31;8122:6;8157;8151:13;8188:6;8180;8173:22;8226:3;8215:9;8211:19;8204:26;;8265:2;8257:6;8253:15;8239:29;;8286:1;8296:195;8310:6;8307:1;8304:13;8296:195;;;8375:13;;-1:-1:-1;;;;;8371:39:1;8359:52;;8466:15;;;;8431:12;;;;8407:1;8325:9;8296:195;;;-1:-1:-1;;;;;;;8547:32:1;;;;8542:2;8527:18;;8520:60;-1:-1:-1;;;8611:3:1;8596:19;8589:35;8508:3;7650:980;-1:-1:-1;;;7650:980:1:o
Swarm Source
ipfs://52e18b846deff0e936279c5dae05415e98a773af0b5aec165ed9d23600aece24
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.