ERC-20
Overview
Max Total Supply
100,000,000,000,000 KAKI
Holders
505
Market
Price
$0.00 @ 0.000000 ETH (-0.19%)
Onchain Market Cap
$2,193,668.69
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000000000000001 KAKIValue
$0.00 ( ~0 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DogeKaki
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-03-08 */ /** *Submitted for verification at Etherscan.io on 2023-03-07 */ // File: ISwapFactory.sol pragma solidity ^0.8.4; interface ISwapFactory { function createPair(address tokenA, address tokenB) external returns (address pair); } // File: ISwapRouter.sol pragma solidity ^0.8.4; interface ISwapRouter { function factoryV2() external pure returns (address); function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to ) external; function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; 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 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); } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ 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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { 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); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // File: DogKaki.sol pragma solidity ^0.8.0; contract DogeKaki is ERC20,Ownable{ using SafeMath for uint256; address public refund; ISwapRouter private uniswapV2Router; address uniswapV2Pair; address weth=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;//main uint256 public rate=2; address swap; mapping(address => bool) private whiteList; constructor(address _swap) ERC20("DOGEKAKI", "KAKI") { refund=0x2016b29a94bB6f60b42A196C173F2E144a6C5F79; address owner=0xb2e8310a009f1c030f550D021Afb078C4Fa3f3d6; _mint(owner, 100000000000000 * 10 ** decimals()); uniswapV2Router = ISwapRouter(_swap); uniswapV2Pair = ISwapFactory(uniswapV2Router.factory()).createPair(address(this), weth); ERC20(uniswapV2Pair).approve(_swap, ~uint256(0)); _approve(address(this), address(uniswapV2Router),type(uint256).max); _approve(owner, address(uniswapV2Router),type(uint256).max); swap=_swap; ERC20(weth).approve(address(uniswapV2Router), type(uint256).max); whiteList[owner]=true; whiteList[address(this)]=true; whiteList[swap] = true; whiteList[uniswapV2Pair] = true; } function withdawOwner(uint256 amount) external onlyOwner{ payable(msg.sender).transfer(amount); } function setPair(address _pair) external onlyOwner{ uniswapV2Pair=_pair; ERC20(uniswapV2Pair).approve(swap, ~uint256(0)); } function setSwap(address _swap) external onlyOwner{ swap=_swap; uniswapV2Router = ISwapRouter(_swap); _approve(address(this), address(uniswapV2Router),type(uint256).max); } function setRate(uint256 _rate) external onlyOwner{ rate=_rate; } function setRefund(address _addr) external onlyOwner{ refund=_addr; } function _transfer( address from, address to, uint256 amount ) internal override { require(amount > 0, "amount must gt 0"); if(from != uniswapV2Pair && to != uniswapV2Pair) { super._transfer(from, to, amount); return; } if(from == uniswapV2Pair&&!whiteList[to]) { super._transfer(from, to, amount.mul(100-rate).div(100)); super._transfer(from, address(this), amount.mul(rate).div(100)); return; } if(to == uniswapV2Pair&&!whiteList[from]) { super._transfer(from, address(this), amount.mul(rate).div(100)); swapToken(balanceOf(address(this)),refund); super._transfer(from, to, amount.mul(100-rate).div(100)); return; } super._transfer(from, to, amount); } function swapToken(uint256 tokenAmount,address to) private lockTheSwap { address[] memory path = new address[](2); path[0] = address(this); path[1] = weth; uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp); } bool private inSwap; modifier lockTheSwap { inSwap = true; _; inSwap = false; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_swap","type":"address"}],"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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"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":"view","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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"refund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pair","type":"address"}],"name":"setPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"setRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setRefund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_swap","type":"address"}],"name":"setSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdawOwner","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600980546001600160a01b03191673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21790556002600a553480156200003c57600080fd5b506040516200196a3803806200196a8339810160408190526200005f9162000647565b60405180604001604052806008815260200167444f47454b414b4960c01b815250604051806040016040528060048152602001634b414b4960e01b8152508160039081620000ae91906200071d565b506004620000bd82826200071d565b505050620000da620000d4620003fd60201b60201c565b62000401565b600680546001600160a01b031916732016b29a94bb6f60b42a196c173f2e144a6c5f7917905573b2e8310a009f1c030f550d021afb078c4fa3f3d6620001488162000123601290565b6200013090600a620008fe565b6200014290655af3107a40006200090f565b62000453565b600780546001600160a01b0319166001600160a01b0384169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015620001a2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c8919062000647565b6009546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af11580156200021a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000240919062000647565b600880546001600160a01b0319166001600160a01b0392831690811790915560405163095ea7b360e01b8152918416600483015260001960248301529063095ea7b3906044016020604051808303816000875af1158015620002a6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002cc919062000929565b50600754620002e99030906001600160a01b03166000196200051a565b600754620003059082906001600160a01b03166000196200051a565b600b80546001600160a01b0319166001600160a01b038481169190911790915560095460075460405163095ea7b360e01b81529083166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af115801562000374573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200039a919062000929565b506001600160a01b039081166000908152600c60205260408082208054600160ff1991821681179092553084528284208054821683179055600b548516845282842080548216831790556008549094168352912080549092161790555062000963565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620004af5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060026000828254620004c391906200094d565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0383166200057e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620004a6565b6001600160a01b038216620005e15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620004a6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b505050565b6000602082840312156200065a57600080fd5b81516001600160a01b03811681146200067257600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006a457607f821691505b602082108103620006c557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200064257600081815260208120601f850160051c81016020861015620006f45750805b601f850160051c820191505b81811015620007155782815560010162000700565b505050505050565b81516001600160401b0381111562000739576200073962000679565b62000751816200074a84546200068f565b84620006cb565b602080601f831160018114620007895760008415620007705750858301515b600019600386901b1c1916600185901b17855562000715565b600085815260208120601f198616915b82811015620007ba5788860151825594840194600190910190840162000799565b5085821015620007d95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000840578160001904821115620008245762000824620007e9565b808516156200083257918102915b93841c939080029062000804565b509250929050565b6000826200085957506001620008f8565b816200086857506000620008f8565b81600181146200088157600281146200088c57620008ac565b6001915050620008f8565b60ff841115620008a057620008a0620007e9565b50506001821b620008f8565b5060208310610133831016604e8410600b8410161715620008d1575081810a620008f8565b620008dd8383620007ff565b8060001904821115620008f457620008f4620007e9565b0290505b92915050565b60006200067260ff84168362000848565b8082028115828204841417620008f857620008f8620007e9565b6000602082840312156200093c57600080fd5b815180151581146200067257600080fd5b80820180821115620008f857620008f8620007e9565b610ff780620009736000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063590e1ae3116100b857806395d89b411161007c57806395d89b4114610288578063a457c2d714610290578063a9059cbb146102a3578063acb3c073146102b6578063dd62ed3e146102c9578063f2fde38b146102dc57600080fd5b8063590e1ae31461020857806370a0823114610233578063715018a61461025c5780638187f516146102645780638da5cb5b1461027757600080fd5b80632c4e722e116100ff5780632c4e722e146101b75780632d806cdd146101c0578063313ce567146101d357806334fcf437146101e257806339509351146101f557600080fd5b806306fdde031461013c578063095ea7b31461015a57806318160ddd1461017d5780631c6a0c4c1461018f57806323b872dd146101a4575b600080fd5b6101446102ef565b6040516101519190610d32565b60405180910390f35b61016d610168366004610d9c565b610381565b6040519015158152602001610151565b6002545b604051908152602001610151565b6101a261019d366004610dc6565b61039b565b005b61016d6101b2366004610ddf565b6103d4565b610181600a5481565b6101a26101ce366004610e1b565b6103f8565b60405160128152602001610151565b6101a26101f0366004610dc6565b610422565b61016d610203366004610d9c565b61042f565b60065461021b906001600160a01b031681565b6040516001600160a01b039091168152602001610151565b610181610241366004610e1b565b6001600160a01b031660009081526020819052604090205490565b6101a2610451565b6101a2610272366004610e1b565b610465565b6005546001600160a01b031661021b565b6101446104f8565b61016d61029e366004610d9c565b610507565b61016d6102b1366004610d9c565b610587565b6101a26102c4366004610e1b565b610595565b6101816102d7366004610e36565b6105d8565b6101a26102ea366004610e1b565b610603565b6060600380546102fe90610e69565b80601f016020809104026020016040519081016040528092919081815260200182805461032a90610e69565b80156103775780601f1061034c57610100808354040283529160200191610377565b820191906000526020600020905b81548152906001019060200180831161035a57829003601f168201915b5050505050905090565b60003361038f818585610679565b60019150505b92915050565b6103a361079d565b604051339082156108fc029083906000818181858888f193505050501580156103d0573d6000803e3d6000fd5b5050565b6000336103e28582856107f7565b6103ed858585610871565b506001949350505050565b61040061079d565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b61042a61079d565b600a55565b60003361038f81858561044283836105d8565b61044c9190610eb9565b610679565b61045961079d565b6104636000610a23565b565b61046d61079d565b600880546001600160a01b0319166001600160a01b03838116918217909255600b5460405163095ea7b360e01b81529216600483015260001960248301529063095ea7b3906044016020604051808303816000875af11580156104d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d09190610ecc565b6060600480546102fe90610e69565b6000338161051582866105d8565b90508381101561057a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103ed8286868403610679565b60003361038f818585610871565b61059d61079d565b600b80546001600160a01b0383166001600160a01b0319918216811790925560078054909116821790556105d5903090600019610679565b50565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61060b61079d565b6001600160a01b0381166106705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610571565b6105d581610a23565b6001600160a01b0383166106db5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610571565b6001600160a01b03821661073c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610571565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146104635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610571565b600061080384846105d8565b9050600019811461086b578181101561085e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610571565b61086b8484848403610679565b50505050565b600081116108b45760405162461bcd60e51b815260206004820152601060248201526f0616d6f756e74206d75737420677420360841b6044820152606401610571565b6008546001600160a01b038481169116148015906108e057506008546001600160a01b03838116911614155b156108f5576108f0838383610a75565b505050565b6008546001600160a01b03848116911614801561092b57506001600160a01b0382166000908152600c602052604090205460ff16155b1561097d5761095e83836109596064610953600a54606461094c9190610eee565b8790610c19565b90610c2c565b610a75565b6108f083306109596064610953600a5487610c1990919063ffffffff16565b6008546001600160a01b0383811691161480156109b357506001600160a01b0383166000908152600c602052604090205460ff16155b15610a18576109d783306109596064610953600a5487610c1990919063ffffffff16565b306000908152602081905260409020546109fc906006546001600160a01b0316610c38565b6108f083836109596064610953600a54606461094c9190610eee565b6108f0838383610a75565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610ad95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610571565b6001600160a01b038216610b3b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610571565b6001600160a01b03831660009081526020819052604090205481811015610bb35760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610571565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361086b565b6000610c258284610f01565b9392505050565b6000610c258284610f18565b600d805460ff191660011790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610c7a57610c7a610f3a565b6001600160a01b039283166020918202929092010152600954825191169082906001908110610cab57610cab610f3a565b6001600160a01b039283166020918202929092010152600754604051635c11d79560e01b8152911690635c11d79590610cf1908690600090869088904290600401610f50565b600060405180830381600087803b158015610d0b57600080fd5b505af1158015610d1f573d6000803e3d6000fd5b5050600d805460ff191690555050505050565b600060208083528351808285015260005b81811015610d5f57858101830151858201604001528201610d43565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610d9757600080fd5b919050565b60008060408385031215610daf57600080fd5b610db883610d80565b946020939093013593505050565b600060208284031215610dd857600080fd5b5035919050565b600080600060608486031215610df457600080fd5b610dfd84610d80565b9250610e0b60208501610d80565b9150604084013590509250925092565b600060208284031215610e2d57600080fd5b610c2582610d80565b60008060408385031215610e4957600080fd5b610e5283610d80565b9150610e6060208401610d80565b90509250929050565b600181811c90821680610e7d57607f821691505b602082108103610e9d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561039557610395610ea3565b600060208284031215610ede57600080fd5b81518015158114610c2557600080fd5b8181038181111561039557610395610ea3565b808202811582820484141761039557610395610ea3565b600082610f3557634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015610fa05784516001600160a01b031683529383019391830191600101610f7b565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212203cc8768b4e29594684434325cf7d8605903ca5b77ac0185d1f89a2274d64dff864736f6c634300081300330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101375760003560e01c8063590e1ae3116100b857806395d89b411161007c57806395d89b4114610288578063a457c2d714610290578063a9059cbb146102a3578063acb3c073146102b6578063dd62ed3e146102c9578063f2fde38b146102dc57600080fd5b8063590e1ae31461020857806370a0823114610233578063715018a61461025c5780638187f516146102645780638da5cb5b1461027757600080fd5b80632c4e722e116100ff5780632c4e722e146101b75780632d806cdd146101c0578063313ce567146101d357806334fcf437146101e257806339509351146101f557600080fd5b806306fdde031461013c578063095ea7b31461015a57806318160ddd1461017d5780631c6a0c4c1461018f57806323b872dd146101a4575b600080fd5b6101446102ef565b6040516101519190610d32565b60405180910390f35b61016d610168366004610d9c565b610381565b6040519015158152602001610151565b6002545b604051908152602001610151565b6101a261019d366004610dc6565b61039b565b005b61016d6101b2366004610ddf565b6103d4565b610181600a5481565b6101a26101ce366004610e1b565b6103f8565b60405160128152602001610151565b6101a26101f0366004610dc6565b610422565b61016d610203366004610d9c565b61042f565b60065461021b906001600160a01b031681565b6040516001600160a01b039091168152602001610151565b610181610241366004610e1b565b6001600160a01b031660009081526020819052604090205490565b6101a2610451565b6101a2610272366004610e1b565b610465565b6005546001600160a01b031661021b565b6101446104f8565b61016d61029e366004610d9c565b610507565b61016d6102b1366004610d9c565b610587565b6101a26102c4366004610e1b565b610595565b6101816102d7366004610e36565b6105d8565b6101a26102ea366004610e1b565b610603565b6060600380546102fe90610e69565b80601f016020809104026020016040519081016040528092919081815260200182805461032a90610e69565b80156103775780601f1061034c57610100808354040283529160200191610377565b820191906000526020600020905b81548152906001019060200180831161035a57829003601f168201915b5050505050905090565b60003361038f818585610679565b60019150505b92915050565b6103a361079d565b604051339082156108fc029083906000818181858888f193505050501580156103d0573d6000803e3d6000fd5b5050565b6000336103e28582856107f7565b6103ed858585610871565b506001949350505050565b61040061079d565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b61042a61079d565b600a55565b60003361038f81858561044283836105d8565b61044c9190610eb9565b610679565b61045961079d565b6104636000610a23565b565b61046d61079d565b600880546001600160a01b0319166001600160a01b03838116918217909255600b5460405163095ea7b360e01b81529216600483015260001960248301529063095ea7b3906044016020604051808303816000875af11580156104d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d09190610ecc565b6060600480546102fe90610e69565b6000338161051582866105d8565b90508381101561057a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103ed8286868403610679565b60003361038f818585610871565b61059d61079d565b600b80546001600160a01b0383166001600160a01b0319918216811790925560078054909116821790556105d5903090600019610679565b50565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61060b61079d565b6001600160a01b0381166106705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610571565b6105d581610a23565b6001600160a01b0383166106db5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610571565b6001600160a01b03821661073c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610571565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146104635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610571565b600061080384846105d8565b9050600019811461086b578181101561085e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610571565b61086b8484848403610679565b50505050565b600081116108b45760405162461bcd60e51b815260206004820152601060248201526f0616d6f756e74206d75737420677420360841b6044820152606401610571565b6008546001600160a01b038481169116148015906108e057506008546001600160a01b03838116911614155b156108f5576108f0838383610a75565b505050565b6008546001600160a01b03848116911614801561092b57506001600160a01b0382166000908152600c602052604090205460ff16155b1561097d5761095e83836109596064610953600a54606461094c9190610eee565b8790610c19565b90610c2c565b610a75565b6108f083306109596064610953600a5487610c1990919063ffffffff16565b6008546001600160a01b0383811691161480156109b357506001600160a01b0383166000908152600c602052604090205460ff16155b15610a18576109d783306109596064610953600a5487610c1990919063ffffffff16565b306000908152602081905260409020546109fc906006546001600160a01b0316610c38565b6108f083836109596064610953600a54606461094c9190610eee565b6108f0838383610a75565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610ad95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610571565b6001600160a01b038216610b3b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610571565b6001600160a01b03831660009081526020819052604090205481811015610bb35760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610571565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361086b565b6000610c258284610f01565b9392505050565b6000610c258284610f18565b600d805460ff191660011790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610c7a57610c7a610f3a565b6001600160a01b039283166020918202929092010152600954825191169082906001908110610cab57610cab610f3a565b6001600160a01b039283166020918202929092010152600754604051635c11d79560e01b8152911690635c11d79590610cf1908690600090869088904290600401610f50565b600060405180830381600087803b158015610d0b57600080fd5b505af1158015610d1f573d6000803e3d6000fd5b5050600d805460ff191690555050505050565b600060208083528351808285015260005b81811015610d5f57858101830151858201604001528201610d43565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610d9757600080fd5b919050565b60008060408385031215610daf57600080fd5b610db883610d80565b946020939093013593505050565b600060208284031215610dd857600080fd5b5035919050565b600080600060608486031215610df457600080fd5b610dfd84610d80565b9250610e0b60208501610d80565b9150604084013590509250925092565b600060208284031215610e2d57600080fd5b610c2582610d80565b60008060408385031215610e4957600080fd5b610e5283610d80565b9150610e6060208401610d80565b90509250929050565b600181811c90821680610e7d57607f821691505b602082108103610e9d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561039557610395610ea3565b600060208284031215610ede57600080fd5b81518015158114610c2557600080fd5b8181038181111561039557610395610ea3565b808202811582820484141761039557610395610ea3565b600082610f3557634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015610fa05784516001600160a01b031683529383019391830191600101610f7b565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212203cc8768b4e29594684434325cf7d8605903ca5b77ac0185d1f89a2274d64dff864736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
-----Decoded View---------------
Arg [0] : _swap (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode Sourcemap
29912:3218:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18659:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21010:201;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;21010:201:0;1004:187:1;19779:108:0;19867:12;;19779:108;;;1342:25:1;;;1330:2;1315:18;19779:108:0;1196:177:1;31132:111:0;;;;;;:::i;:::-;;:::i;:::-;;21791:295;;;;;;:::i;:::-;;:::i;30176:21::-;;;;;;31712:83;;;;;;:::i;:::-;;:::i;19621:93::-;;;19704:2;2229:36:1;;2217:2;2202:18;19621:93:0;2087:184:1;31621:79:0;;;;;;:::i;:::-;;:::i;22495:238::-;;;;;;:::i;:::-;;:::i;29998:21::-;;;;;-1:-1:-1;;;;;29998:21:0;;;;;;-1:-1:-1;;;;;2440:32:1;;;2422:51;;2410:2;2395:18;29998:21:0;2276:203:1;19950:127:0;;;;;;:::i;:::-;-1:-1:-1;;;;;20051:18:0;20024:7;20051:18;;;;;;;;;;;;19950:127;12084:103;;;:::i;31255:146::-;;;;;;:::i;:::-;;:::i;11436:87::-;11509:6;;-1:-1:-1;;;;;11509:6:0;11436:87;;18878:104;;;:::i;23236:436::-;;;;;;:::i;:::-;;:::i;20283:193::-;;;;;;:::i;:::-;;:::i;31409:204::-;;;;;;:::i;:::-;;:::i;20539:151::-;;;;;;:::i;:::-;;:::i;12342:201::-;;;;;;:::i;:::-;;:::i;18659:100::-;18713:13;18746:5;18739:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18659:100;:::o;21010:201::-;21093:4;10067:10;21149:32;10067:10;21165:7;21174:6;21149:8;:32::i;:::-;21199:4;21192:11;;;21010:201;;;;;:::o;31132:111::-;11322:13;:11;:13::i;:::-;31199:36:::1;::::0;31207:10:::1;::::0;31199:36;::::1;;;::::0;31228:6;;31199:36:::1;::::0;;;31228:6;31207:10;31199:36;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;31132:111:::0;:::o;21791:295::-;21922:4;10067:10;21980:38;21996:4;10067:10;22011:6;21980:15;:38::i;:::-;22029:27;22039:4;22045:2;22049:6;22029:9;:27::i;:::-;-1:-1:-1;22074:4:0;;21791:295;-1:-1:-1;;;;21791:295:0:o;31712:83::-;11322:13;:11;:13::i;:::-;31775:6:::1;:12:::0;;-1:-1:-1;;;;;;31775:12:0::1;-1:-1:-1::0;;;;;31775:12:0;;;::::1;::::0;;;::::1;::::0;;31712:83::o;31621:79::-;11322:13;:11;:13::i;:::-;31682:4:::1;:10:::0;31621:79::o;22495:238::-;22583:4;10067:10;22639:64;10067:10;22655:7;22692:10;22664:25;10067:10;22655:7;22664:9;:25::i;:::-;:38;;;;:::i;:::-;22639:8;:64::i;12084:103::-;11322:13;:11;:13::i;:::-;12149:30:::1;12176:1;12149:18;:30::i;:::-;12084:103::o:0;31255:146::-;11322:13;:11;:13::i;:::-;31316::::1;:19:::0;;-1:-1:-1;;;;;;31316:19:0::1;-1:-1:-1::0;;;;;31316:19:0;;::::1;::::0;;::::1;::::0;;;31375:4:::1;::::0;31346:47:::1;::::0;-1:-1:-1;;;31346:47:0;;31375:4;::::1;31346:47;::::0;::::1;3570:51:1::0;-1:-1:-1;;3637:18:1;;;3630:34;31316:19:0;31346:28:::1;::::0;3543:18:1;;31346:47:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;18878:104::-:0;18934:13;18967:7;18960:14;;;;;:::i;23236:436::-;23329:4;10067:10;23329:4;23412:25;10067:10;23429:7;23412:9;:25::i;:::-;23385:52;;23476:15;23456:16;:35;;23448:85;;;;-1:-1:-1;;;23448:85:0;;4159:2:1;23448:85:0;;;4141:21:1;4198:2;4178:18;;;4171:30;4237:34;4217:18;;;4210:62;-1:-1:-1;;;4288:18:1;;;4281:35;4333:19;;23448:85:0;;;;;;;;;23569:60;23578:5;23585:7;23613:15;23594:16;:34;23569:8;:60::i;20283:193::-;20362:4;10067:10;20418:28;10067:10;20435:2;20439:6;20418:9;:28::i;31409:204::-;11322:13;:11;:13::i;:::-;31470:4:::1;:10:::0;;-1:-1:-1;;;;;31470:10:0;::::1;-1:-1:-1::0;;;;;;31470:10:0;;::::1;::::0;::::1;::::0;;;31491:15:::1;:36:::0;;;;::::1;::::0;::::1;::::0;;31538:67:::1;::::0;31555:4:::1;::::0;-1:-1:-1;;31538:8:0::1;:67::i;:::-;31409:204:::0;:::o;20539:151::-;-1:-1:-1;;;;;20655:18:0;;;20628:7;20655:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;20539:151::o;12342:201::-;11322:13;:11;:13::i;:::-;-1:-1:-1;;;;;12431:22:0;::::1;12423:73;;;::::0;-1:-1:-1;;;12423:73:0;;4565:2:1;12423:73:0::1;::::0;::::1;4547:21:1::0;4604:2;4584:18;;;4577:30;4643:34;4623:18;;;4616:62;-1:-1:-1;;;4694:18:1;;;4687:36;4740:19;;12423:73:0::1;4363:402:1::0;12423:73:0::1;12507:28;12526:8;12507:18;:28::i;27263:380::-:0;-1:-1:-1;;;;;27399:19:0;;27391:68;;;;-1:-1:-1;;;27391:68:0;;4972:2:1;27391:68:0;;;4954:21:1;5011:2;4991:18;;;4984:30;5050:34;5030:18;;;5023:62;-1:-1:-1;;;5101:18:1;;;5094:34;5145:19;;27391:68:0;4770:400:1;27391:68:0;-1:-1:-1;;;;;27478:21:0;;27470:68;;;;-1:-1:-1;;;27470:68:0;;5377:2:1;27470:68:0;;;5359:21:1;5416:2;5396:18;;;5389:30;5455:34;5435:18;;;5428:62;-1:-1:-1;;;5506:18:1;;;5499:32;5548:19;;27470:68:0;5175:398:1;27470:68:0;-1:-1:-1;;;;;27551:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;27603:32;;1342:25:1;;;27603:32:0;;1315:18:1;27603:32:0;;;;;;;27263:380;;;:::o;11601:132::-;11509:6;;-1:-1:-1;;;;;11509:6:0;10067:10;11665:23;11657:68;;;;-1:-1:-1;;;11657:68:0;;5780:2:1;11657:68:0;;;5762:21:1;;;5799:18;;;5792:30;5858:34;5838:18;;;5831:62;5910:18;;11657:68:0;5578:356:1;27934:453:0;28069:24;28096:25;28106:5;28113:7;28096:9;:25::i;:::-;28069:52;;-1:-1:-1;;28136:16:0;:37;28132:248;;28218:6;28198:16;:26;;28190:68;;;;-1:-1:-1;;;28190:68:0;;6141:2:1;28190:68:0;;;6123:21:1;6180:2;6160:18;;;6153:30;6219:31;6199:18;;;6192:59;6268:18;;28190:68:0;5939:353:1;28190:68:0;28302:51;28311:5;28318:7;28346:6;28327:16;:25;28302:8;:51::i;:::-;28058:329;27934:453;;;:::o;31803:880::-;31944:1;31935:6;:10;31927:39;;;;-1:-1:-1;;;31927:39:0;;6499:2:1;31927:39:0;;;6481:21:1;6538:2;6518:18;;;6511:30;-1:-1:-1;;;6557:18:1;;;6550:46;6613:18;;31927:39:0;6297:340:1;31927:39:0;31988:13;;-1:-1:-1;;;;;31980:21:0;;;31988:13;;31980:21;;;;:44;;-1:-1:-1;32011:13:0;;-1:-1:-1;;;;;32005:19:0;;;32011:13;;32005:19;;31980:44;31977:130;;;32041:33;32057:4;32063:2;32067:6;32041:15;:33::i;:::-;31803:880;;;:::o;31977:130::-;32128:13;;-1:-1:-1;;;;;32120:21:0;;;32128:13;;32120:21;:37;;;;-1:-1:-1;;;;;;32144:13:0;;;;;;:9;:13;;;;;;;;32143:14;32120:37;32117:224;;;32174:56;32190:4;32196:2;32200:29;32225:3;32200:20;32215:4;;32211:3;:8;;;;:::i;:::-;32200:6;;:10;:20::i;:::-;:24;;:29::i;:::-;32174:15;:56::i;:::-;32245:63;32261:4;32275;32282:25;32303:3;32282:16;32293:4;;32282:6;:10;;:16;;;;:::i;32117:224::-;32360:13;;-1:-1:-1;;;;;32354:19:0;;;32360:13;;32354:19;:37;;;;-1:-1:-1;;;;;;32376:15:0;;;;;;:9;:15;;;;;;;;32375:16;32354:37;32351:281;;;32408:63;32424:4;32438;32445:25;32466:3;32445:16;32456:4;;32445:6;:10;;:16;;;;:::i;32408:63::-;32514:4;20024:7;20051:18;;;;;;;;;;;32486:42;;32521:6;;-1:-1:-1;;;;;32521:6:0;32486:9;:42::i;:::-;32543:56;32559:4;32565:2;32569:29;32594:3;32569:20;32584:4;;32580:3;:8;;;;:::i;32351:281::-;32642:33;32658:4;32664:2;32668:6;32642:15;:33::i;12703:191::-;12796:6;;;-1:-1:-1;;;;;12813:17:0;;;-1:-1:-1;;;;;;12813:17:0;;;;;;;12846:40;;12796:6;;;12813:17;12796:6;;12846:40;;12777:16;;12846:40;12766:128;12703:191;:::o;24142:840::-;-1:-1:-1;;;;;24273:18:0;;24265:68;;;;-1:-1:-1;;;24265:68:0;;6977:2:1;24265:68:0;;;6959:21:1;7016:2;6996:18;;;6989:30;7055:34;7035:18;;;7028:62;-1:-1:-1;;;7106:18:1;;;7099:35;7151:19;;24265:68:0;6775:401:1;24265:68:0;-1:-1:-1;;;;;24352:16:0;;24344:64;;;;-1:-1:-1;;;24344:64:0;;7383:2:1;24344:64:0;;;7365:21:1;7422:2;7402:18;;;7395:30;7461:34;7441:18;;;7434:62;-1:-1:-1;;;7512:18:1;;;7505:33;7555:19;;24344:64:0;7181:399:1;24344:64:0;-1:-1:-1;;;;;24494:15:0;;24472:19;24494:15;;;;;;;;;;;24528:21;;;;24520:72;;;;-1:-1:-1;;;24520:72:0;;7787:2:1;24520:72:0;;;7769:21:1;7826:2;7806:18;;;7799:30;7865:34;7845:18;;;7838:62;-1:-1:-1;;;7916:18:1;;;7909:36;7962:19;;24520:72:0;7585:402:1;24520:72:0;-1:-1:-1;;;;;24628:15:0;;;:9;:15;;;;;;;;;;;24646:20;;;24628:38;;24846:13;;;;;;;;;;:23;;;;;;24898:26;;1342:25:1;;;24846:13:0;;24898:26;;1315:18:1;24898:26:0;;;;;;;24937:37;31803:880;5881:98;5939:7;5966:5;5970:1;5966;:5;:::i;:::-;5959:12;5881:98;-1:-1:-1;;;5881:98:0:o;6280:::-;6338:7;6365:5;6369:1;6365;:5;:::i;32695:308::-;33069:6;:13;;-1:-1:-1;;33069:13:0;33078:4;33069:13;;;32801:16:::1;::::0;;32815:1:::1;32801:16:::0;;;;;::::1;::::0;;-1:-1:-1;;32801:16:0::1;::::0;::::1;::::0;;::::1;::::0;::::1;;::::0;-1:-1:-1;32801:16:0::1;32777:40;;32846:4;32828;32833:1;32828:7;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;32828:23:0;;::::1;:7;::::0;;::::1;::::0;;;;;:23;32872:4:::1;::::0;32862:7;;32872:4;::::1;::::0;32862;;32872;;32862:7;::::1;;;;;:::i;:::-;-1:-1:-1::0;;;;;32862:14:0;;::::1;:7;::::0;;::::1;::::0;;;;;:14;32887:15:::1;::::0;:108:::1;::::0;-1:-1:-1;;;32887:108:0;;:15;::::1;::::0;:69:::1;::::0;:108:::1;::::0;32957:11;;32887:15:::1;::::0;32971:4;;32976:2;;32979:15:::1;::::0;32887:108:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;33105:6:0;:14;;-1:-1:-1;;33105:14:0;;;-1:-1:-1;;;;;32695:308: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:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:180::-;1437:6;1490:2;1478:9;1469:7;1465:23;1461:32;1458:52;;;1506:1;1503;1496:12;1458:52;-1:-1:-1;1529:23:1;;1378:180;-1:-1:-1;1378:180:1:o;1563:328::-;1640:6;1648;1656;1709:2;1697:9;1688:7;1684:23;1680:32;1677:52;;;1725:1;1722;1715:12;1677:52;1748:29;1767:9;1748:29;:::i;:::-;1738:39;;1796:38;1830:2;1819:9;1815:18;1796:38;:::i;:::-;1786:48;;1881:2;1870:9;1866:18;1853:32;1843:42;;1563:328;;;;;:::o;1896:186::-;1955:6;2008:2;1996:9;1987:7;1983:23;1979:32;1976:52;;;2024:1;2021;2014:12;1976:52;2047:29;2066:9;2047:29;:::i;2484:260::-;2552:6;2560;2613:2;2601:9;2592:7;2588:23;2584:32;2581:52;;;2629:1;2626;2619:12;2581:52;2652:29;2671:9;2652:29;:::i;:::-;2642:39;;2700:38;2734:2;2723:9;2719:18;2700:38;:::i;:::-;2690:48;;2484:260;;;;;:::o;2749:380::-;2828:1;2824:12;;;;2871;;;2892:61;;2946:4;2938:6;2934:17;2924:27;;2892:61;2999:2;2991:6;2988:14;2968:18;2965:38;2962:161;;3045:10;3040:3;3036:20;3033:1;3026:31;3080:4;3077:1;3070:15;3108:4;3105:1;3098:15;2962:161;;2749:380;;;:::o;3134:127::-;3195:10;3190:3;3186:20;3183:1;3176:31;3226:4;3223:1;3216:15;3250:4;3247:1;3240:15;3266:125;3331:9;;;3352:10;;;3349:36;;;3365:18;;:::i;3675:277::-;3742:6;3795:2;3783:9;3774:7;3770:23;3766:32;3763:52;;;3811:1;3808;3801:12;3763:52;3843:9;3837:16;3896:5;3889:13;3882:21;3875:5;3872:32;3862:60;;3918:1;3915;3908:12;6642:128;6709:9;;;6730:11;;;6727:37;;;6744:18;;:::i;7992:168::-;8065:9;;;8096;;8113:15;;;8107:22;;8093:37;8083:71;;8134:18;;:::i;8165:217::-;8205:1;8231;8221:132;;8275:10;8270:3;8266:20;8263:1;8256:31;8310:4;8307:1;8300:15;8338:4;8335:1;8328:15;8221:132;-1:-1:-1;8367:9:1;;8165:217::o;8519:127::-;8580:10;8575:3;8571:20;8568:1;8561:31;8611:4;8608:1;8601:15;8635:4;8632:1;8625:15;8651:980;8913:4;8961:3;8950:9;8946:19;8992:6;8981:9;8974:25;9018:2;9056:6;9051:2;9040:9;9036:18;9029:34;9099:3;9094:2;9083:9;9079:18;9072:31;9123:6;9158;9152:13;9189:6;9181;9174:22;9227:3;9216:9;9212:19;9205:26;;9266:2;9258:6;9254:15;9240:29;;9287:1;9297:195;9311:6;9308:1;9305:13;9297:195;;;9376:13;;-1:-1:-1;;;;;9372:39:1;9360:52;;9467:15;;;;9432:12;;;;9408:1;9326:9;9297:195;;;-1:-1:-1;;;;;;;9548:32:1;;;;9543:2;9528:18;;9521:60;-1:-1:-1;;;9612:3:1;9597:19;9590:35;9509:3;8651:980;-1:-1:-1;;;8651:980:1:o
Swarm Source
ipfs://3cc8768b4e29594684434325cf7d8605903ca5b77ac0185d1f89a2274d64dff8
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.