ERC-20
Overview
Max Total Supply
100,000,000,000 EARN
Holders
135
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
37,248,556.355746378598618222 EARNValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Earn
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
Yes with 256 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** Website: https://earnx.tech **/ // SPDX-License-Identifier: MIT pragma solidity 0.8.11; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IUniRouter} from "./interfaces/IUniRouter.sol"; import {IUniFactory} from "./interfaces/IUniFactory.sol"; import {SafeMath} from "./libraries/SafeMath.sol"; contract Earn is Ownable, IERC20 { using SafeMath for uint256; address WETH; address constant DEAD = 0x000000000000000000000000000000000000dEaD; address constant ZERO = 0x0000000000000000000000000000000000000000; string constant _name = "EarnX"; string constant _symbol = "EARN"; uint8 constant _decimals = 18; uint256 _totalSupply = 100000000000 * 10 ** _decimals; // 100B mapping(address => uint256) _balances; mapping(address => mapping(address => uint256)) _allowances; mapping(address => bool) isNotABot; mapping(address => bool) isExemptFromFees; mapping(address => bool) public blacklisted; uint256 private liquidityFee = 0; uint256 private devFee = 400; // 2% uint256 private buyFriendTechKeysFee = 600; // 3% uint256 public totalFee = liquidityFee + devFee + buyFriendTechKeysFee; uint256 private feeDenominator = 1000; // no bots tax uint256 public sellpercent = 490; uint256 public buypercent = 490; uint256 public transferpercent = 0; uint256 public whitelistPercent = 0; // Fee Receiver address private devFeeReceiver = 0x8ac5e8047356c67A53cC8ADe0e29e170381E0D54; address private buyFriendTechKeysFeesReceiver = 0x8C6B5D1FdeA7877fD3FbBbEeac00e6fA4D0Df95D; address private autoLiquidityReceiver; uint256 setRatio = 30; uint256 setRatioDenominator = 100; IUniRouter public router = IUniRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address public pair; bool public TRADING_OPEN = false; bool public swapEnabled = true; uint256 public swapThreshold = _totalSupply / 1000; bool inSwap; // Events modifier swapping() { inSwap = true; _; inSwap = false; } // Events event AutoAddLiquify(uint256 amountETH, uint256 amountTokens); event UpdateTax(uint8 Buy, uint8 Sell, uint8 Transfer); event ClearToken(address TokenAddressCleared, uint256 Amount); event SetReceivers(address autoLiquidityReceiver, address devFee, address buyFriendTechKeysFee); event UpdateMaxWallet(uint256 maxWallet); event UpdateSwapBackSetting(uint256 Amount, bool Enabled); constructor () { WETH = router.WETH(); _allowances[address(this)][address(router)] = type(uint256).max; autoLiquidityReceiver = msg.sender; isExemptFromFees[msg.sender] = true; isNotABot[msg.sender] = true; _balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); } receive() external payable {} function totalSupply() external view override returns (uint256) {return _totalSupply;} function decimals() external pure returns (uint8) {return _decimals;} function symbol() external pure returns (string memory) {return _symbol;} function name() external pure returns (string memory) {return _name;} function getOwner() external view returns (address) {return owner();} function balanceOf(address account) public view override returns (uint256) {return _balances[account];} function allowance(address holder, address spender) external view override returns (uint256) {return _allowances[holder][spender];} function checkRatio(uint256 ratio, uint256 accuracy) public view returns (bool) { return showBacking(accuracy) > ratio; } function showBacking(uint256 accuracy) public view returns (uint256) { return accuracy.mul(balanceOf(pair).mul(2)).div(showSupply()); } function showSupply() public view returns (uint256) { return _totalSupply.sub(balanceOf(DEAD)).sub(balanceOf(ZERO)); } function approve(address spender, uint256 amount) public override returns (bool) { _allowances[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function approveMax(address spender) external returns (bool) { return approve(spender, type(uint256).max); } function transfer(address recipient, uint256 amount) external override returns (bool) { return _transferFrom(msg.sender, recipient, amount); } function transferFrom(address sender, address recipient, uint256 amount) external override returns (bool) { if (_allowances[sender][msg.sender] != type(uint256).max) { _allowances[sender][msg.sender] = _allowances[sender][msg.sender].sub(amount, "Insufficient Allowance"); } return _transferFrom(sender, recipient, amount); } function manualSend() external { payable(autoLiquidityReceiver).transfer(address(this).balance); } function _transferFrom(address sender, address recipient, uint256 amount) internal returns (bool) { require(!blacklisted[sender], "Sender blacklisted"); require(!blacklisted[recipient], "Receiver blacklisted"); if (inSwap) {return _basicTransfer(sender, recipient, amount);} if (sender != owner() && recipient != owner()) { require(TRADING_OPEN, "Trading not open yet"); } if (_shouldSwapBack()) { _swapBack(); } _balances[sender] = _balances[sender].sub(amount, "Insufficient Balance"); uint256 amountReceived = (isExemptFromFees[sender] || isExemptFromFees[recipient]) ? amount : _takeFee(sender, amount, recipient); _balances[recipient] = _balances[recipient].add(amountReceived); emit Transfer(sender, recipient, amountReceived); return true; } function _basicTransfer(address sender, address recipient, uint256 amount) internal returns (bool) { _balances[sender] = _balances[sender].sub(amount, "Insufficient Balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); return true; } function _shouldTakeFee(address sender) internal view returns (bool) { return !isExemptFromFees[sender]; } function _takeFee(address sender, uint256 amount, address recipient) internal returns (uint256) { uint256 percent = transferpercent; if (recipient == pair) { percent = sellpercent; } else if (sender == pair) { percent = buypercent; if (isNotABot[recipient]) { percent = whitelistPercent; } } uint256 feeAmount = amount.mul(totalFee).mul(percent).div(feeDenominator * 1000); _balances[address(this)] = _balances[address(this)].add(feeAmount); emit Transfer(sender, address(this), feeAmount); return amount.sub(feeAmount); } function _shouldSwapBack() internal view returns (bool) { return msg.sender != pair && !inSwap && swapEnabled && _balances[address(this)] >= swapThreshold; } function _swapBack() internal swapping { uint256 dynamicLiquidityFee = checkRatio(setRatio, setRatioDenominator) ? 0 : liquidityFee; uint256 amountToLiquify = swapThreshold.mul(dynamicLiquidityFee).div(totalFee).div(2); uint256 amountToSwap = swapThreshold.sub(amountToLiquify); address[] memory path = new address[](2); path[0] = address(this); path[1] = WETH; uint256 balanceBefore = address(this).balance; router.swapExactTokensForETHSupportingFeeOnTransferTokens( amountToSwap, 0, path, address(this), block.timestamp ); uint256 amountETH = address(this).balance.sub(balanceBefore); uint256 totalETHFee = totalFee.sub(dynamicLiquidityFee.div(2)); uint256 amountETHLiquidity = amountETH.mul(dynamicLiquidityFee).div(totalETHFee).div(2); uint256 amountETHTeam = amountETH.mul(devFee).div(totalETHFee); uint256 amountETHbuykeys = amountETH.mul(buyFriendTechKeysFee).div(totalETHFee); (bool tmpSuccess,) = payable(devFeeReceiver).call{value: amountETHTeam}(""); (tmpSuccess,) = payable(buyFriendTechKeysFeesReceiver).call{value: amountETHbuykeys}(""); tmpSuccess = false; if (amountToLiquify > 0) { router.addLiquidityETH{value: amountETHLiquidity}( address(this), amountToLiquify, 0, 0, autoLiquidityReceiver, block.timestamp ); emit AutoAddLiquify(amountETHLiquidity, amountToLiquify); } } function _setFees() internal { emit UpdateTax(uint8(totalFee.mul(buypercent).div(feeDenominator)), uint8(totalFee.mul(sellpercent).div(feeDenominator)), uint8(totalFee.mul(transferpercent).div(feeDenominator)) ); } // ====================================== OWNER ============================================= function clearStuckToken(address tokenAddress, uint256 tokens) external onlyOwner returns (bool success) { if (tokens == 0) { tokens = IERC20(tokenAddress).balanceOf(address(this)); } emit ClearToken(tokenAddress, tokens); return IERC20(tokenAddress).transfer(autoLiquidityReceiver, tokens); } function updateFees(uint256 _percentonbuy, uint256 _percentonsell, uint256 _wallettransfer) external onlyOwner { sellpercent = _percentonsell; buypercent = _percentonbuy; transferpercent = _wallettransfer; } function startTrading() public onlyOwner { TRADING_OPEN = true; } function setParameters(uint256 _liquidityFee, uint256 _devFee, uint256 _buyFriendTechKeysFee, uint256 _feeDenominator) external onlyOwner { liquidityFee = _liquidityFee; devFee = _devFee; buyFriendTechKeysFee = _buyFriendTechKeysFee; totalFee = _liquidityFee.add(_devFee).add(_buyFriendTechKeysFee); feeDenominator = _feeDenominator; _setFees(); } function setWallets(address _autoLiquidityReceiver, address _devFeeReceiver, address _buyFriendTechKeysFeeReceiver) external onlyOwner { autoLiquidityReceiver = _autoLiquidityReceiver; devFeeReceiver = _devFeeReceiver; buyFriendTechKeysFeesReceiver = _buyFriendTechKeysFeeReceiver; emit SetReceivers(autoLiquidityReceiver, devFeeReceiver, buyFriendTechKeysFeesReceiver); } function setSwapBackSettings(bool _enabled, uint256 _amount) external onlyOwner { swapEnabled = _enabled; swapThreshold = _amount; emit UpdateSwapBackSetting(swapThreshold, swapEnabled); } function markNotBot(address[] calldata accounts, bool excluded) public onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { isNotABot[accounts[i]] = excluded; } } function setExemptFees(address[] calldata accounts, bool excluded) external onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { isExemptFromFees[accounts[i]] = excluded; } } function setWhitelistBuyPercent(uint256 _percent) public onlyOwner { whitelistPercent = _percent; } function blacklist(address[] calldata accounts, bool excluded) public onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { blacklisted[accounts[i]] = excluded; } } function updatePair() external onlyOwner { pair = IUniFactory(router.factory()).getPair(WETH, address(this)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * 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); } }
// SPDX-License-Identifier: MIT // 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); }
// SPDX-License-Identifier: MIT // 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; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; interface IUniFactory { function createPair(address tokenA, address tokenB) external returns (address pair); function getPair(address tokenA, address tokenB) external returns (address pair); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; interface IUniRouter { 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 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; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; /** * @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) { // Solidity only automatically asserts when dividing by 0 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; } }
{ "optimizer": { "enabled": true, "runs": 256 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
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":false,"internalType":"uint256","name":"amountETH","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountTokens","type":"uint256"}],"name":"AutoAddLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"TokenAddressCleared","type":"address"},{"indexed":false,"internalType":"uint256","name":"Amount","type":"uint256"}],"name":"ClearToken","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":"address","name":"autoLiquidityReceiver","type":"address"},{"indexed":false,"internalType":"address","name":"devFee","type":"address"},{"indexed":false,"internalType":"address","name":"buyFriendTechKeysFee","type":"address"}],"name":"SetReceivers","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxWallet","type":"uint256"}],"name":"UpdateMaxWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"Amount","type":"uint256"},{"indexed":false,"internalType":"bool","name":"Enabled","type":"bool"}],"name":"UpdateSwapBackSetting","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"Buy","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"Sell","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"Transfer","type":"uint8"}],"name":"UpdateTax","type":"event"},{"inputs":[],"name":"TRADING_OPEN","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","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":"spender","type":"address"}],"name":"approveMax","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":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buypercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"ratio","type":"uint256"},{"internalType":"uint256","name":"accuracy","type":"uint256"}],"name":"checkRatio","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"clearStuckToken","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"markNotBot","outputs":[],"stateMutability":"nonpayable","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":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellpercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExemptFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"},{"internalType":"uint256","name":"_buyFriendTechKeysFee","type":"uint256"},{"internalType":"uint256","name":"_feeDenominator","type":"uint256"}],"name":"setParameters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setSwapBackSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_autoLiquidityReceiver","type":"address"},{"internalType":"address","name":"_devFeeReceiver","type":"address"},{"internalType":"address","name":"_buyFriendTechKeysFeeReceiver","type":"address"}],"name":"setWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percent","type":"uint256"}],"name":"setWhitelistBuyPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"accuracy","type":"uint256"}],"name":"showBacking","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"showSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"transferpercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percentonbuy","type":"uint256"},{"internalType":"uint256","name":"_percentonsell","type":"uint256"},{"internalType":"uint256","name":"_wallettransfer","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updatePair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052620000126012600a620003c4565b620000239064174876e800620003dc565b6002556000600855610190600955610258600a55600a546009546008546200004c9190620003fe565b620000589190620003fe565b600b556103e8600c8190556101ea600d819055600e556000600f819055601055601180546001600160a01b0319908116738ac5e8047356c67a53cc8ade0e29e170381e0d5417909155601280548216738c6b5d1fdea7877fd3fbbbeeac00e6fa4d0df95d179055601e601455606460155560168054909116737a250d5630b4cf539739df2c5dacb4c659f2488d1790556017805461ffff60a01b1916600160a81b1790556002546200010b919062000419565b6018553480156200011b57600080fd5b5062000127336200025f565b601660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200017b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a191906200043c565b600180546001600160a01b03199081166001600160a01b0393841617825530600090815260046020908152604080832060165490961683529481528482206000199055601380543394168417905582825260068152848220805460ff199081168617909155600582528583208054909116909417909355600254600384528482208190559351938452909290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a362000467565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000306578160001904821115620002ea57620002ea620002af565b80851615620002f857918102915b93841c9390800290620002ca565b509250929050565b6000826200031f57506001620003be565b816200032e57506000620003be565b8160018114620003475760028114620003525762000372565b6001915050620003be565b60ff841115620003665762000366620002af565b50506001821b620003be565b5060208310610133831016604e8410600b841016171562000397575081810a620003be565b620003a38383620002c5565b8060001904821115620003ba57620003ba620002af565b0290505b92915050565b6000620003d560ff8416836200030e565b9392505050565b6000816000190483118215151615620003f957620003f9620002af565b500290565b60008219821115620004145762000414620002af565b500190565b6000826200043757634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156200044f57600080fd5b81516001600160a01b0381168114620003d557600080fd5b611fb680620004776000396000f3fe60806040526004361061023f5760003560e01c806375cb1bd11161012e578063d3fef817116100ab578063ec7c39761161006f578063ec7c3976146106da578063f2fde38b146106fb578063f42938901461071b578063f887ea4014610730578063fcd9da441461075057600080fd5b8063d3fef81714610604578063dbac26e914610624578063dd62ed3e14610654578063ded1e4381461069a578063df20fd49146106ba57600080fd5b806395d89b41116100f257806395d89b41146105575780639ec96cca14610584578063a8aa1b31146105a4578063a9059cbb146105c4578063c997eb8d146105e457600080fd5b806375cb1bd1146104b157806377b54bad146104d1578063893d20e8146104f15780638da5cb5b1461052357806393f4eaf71461054157600080fd5b8063313ce567116101bc5780636acaf860116101805780636acaf8601461041a5780636ddd17131461042f57806370a0823114610450578063715018a61461048657806371968a001461049b57600080fd5b8063313ce5671461039d5780634d7fcebc146103b95780634ffa0b8e146103cf57806355265669146103e5578063571ac8b0146103fa57600080fd5b80632242908511610203578063224290851461030657806323b872dd14610328578063293230b8146103485780632d4981a91461035d57806330c9a6a01461037d57600080fd5b80630445b6671461024b57806306fdde0314610274578063095ea7b3146102ab57806318160ddd146102db5780631df4ccfc146102f057600080fd5b3661024657005b600080fd5b34801561025757600080fd5b5061026160185481565b6040519081526020015b60405180910390f35b34801561028057600080fd5b5060408051808201909152600581526408ac2e4dcb60db1b60208201525b60405161026b9190611b1f565b3480156102b757600080fd5b506102cb6102c6366004611b89565b610770565b604051901515815260200161026b565b3480156102e757600080fd5b50600254610261565b3480156102fc57600080fd5b50610261600b5481565b34801561031257600080fd5b50610326610321366004611bb5565b6107dd565b005b34801561033457600080fd5b506102cb610343366004611be1565b6107f6565b34801561035457600080fd5b506103266108bf565b34801561036957600080fd5b50610326610378366004611c30565b6108dc565b34801561038957600080fd5b50610261610398366004611cb6565b61095b565b3480156103a957600080fd5b506040516012815260200161026b565b3480156103c557600080fd5b50610261600d5481565b3480156103db57600080fd5b5061026160105481565b3480156103f157600080fd5b506102616109a2565b34801561040657600080fd5b506102cb610415366004611ccf565b610a13565b34801561042657600080fd5b50610326610a21565b34801561043b57600080fd5b506017546102cb90600160a81b900460ff1681565b34801561045c57600080fd5b5061026161046b366004611ccf565b6001600160a01b031660009081526003602052604090205490565b34801561049257600080fd5b50610326610b37565b3480156104a757600080fd5b50610261600f5481565b3480156104bd57600080fd5b506103266104cc366004611cec565b610b4b565b3480156104dd57600080fd5b506102cb6104ec366004611b89565b610bd7565b3480156104fd57600080fd5b506000546001600160a01b03165b6040516001600160a01b03909116815260200161026b565b34801561052f57600080fd5b506000546001600160a01b031661050b565b34801561054d57600080fd5b50610261600e5481565b34801561056357600080fd5b5060408051808201909152600481526322a0a92760e11b602082015261029e565b34801561059057600080fd5b5061032661059f366004611cb6565b610d0a565b3480156105b057600080fd5b5060175461050b906001600160a01b031681565b3480156105d057600080fd5b506102cb6105df366004611b89565b610d17565b3480156105f057600080fd5b506103266105ff366004611c30565b610d24565b34801561061057600080fd5b5061032661061f366004611c30565b610d9d565b34801561063057600080fd5b506102cb61063f366004611ccf565b60076020526000908152604090205460ff1681565b34801561066057600080fd5b5061026161066f366004611d2c565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156106a657600080fd5b506102cb6106b5366004611d65565b610e16565b3480156106c657600080fd5b506103266106d5366004611d87565b610e2a565b3480156106e657600080fd5b506017546102cb90600160a01b900460ff1681565b34801561070757600080fd5b50610326610716366004611ccf565b610e9b565b34801561072757600080fd5b50610326610f19565b34801561073c57600080fd5b5060165461050b906001600160a01b031681565b34801561075c57600080fd5b5061032661076b366004611da5565b610f52565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906107cb9086815260200190565b60405180910390a35060015b92915050565b6107e5610f8d565b600d91909155600e91909155600f55565b6001600160a01b0383166000908152600460209081526040808320338452909152812054600019146108aa57604080518082018252601681527f496e73756666696369656e7420416c6c6f77616e6365000000000000000000006020808301919091526001600160a01b0387166000908152600482528381203382529091529190912054610885918490610fe7565b6001600160a01b03851660009081526004602090815260408083203384529091529020555b6108b5848484611021565b90505b9392505050565b6108c7610f8d565b6017805460ff60a01b1916600160a01b179055565b6108e4610f8d565b60005b8281101561095557816005600086868581811061090657610906611dd7565b905060200201602081019061091b9190611ccf565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061094d81611e03565b9150506108e7565b50505050565b60006107d76109686109a2565b6017546001600160a01b031660009081526003602052604090205461099c90610995906002905b906112d4565b85906112d4565b90611353565b60036020527f3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92eff5461dead60009081527f262bb27bbdd95c1cdc8e16957e36e38579ea44f7f6413dd7a9c75939def06b2c546002549192610a0e929091610a089190611395565b90611395565b905090565b60006107d782600019610770565b610a29610f8d565b601660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa09190611e1e565b60015460405163e6a4390560e01b81526001600160a01b03918216600482015230602482015291169063e6a43905906044016020604051808303816000875af1158015610af1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b159190611e1e565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b610b3f610f8d565b610b4960006113d7565b565b610b53610f8d565b601380546001600160a01b038581166001600160a01b0319928316811790935560118054868316908416811790915560128054928616929093168217909255604080519384526020840192909252908201527fdfa5e792c57928ef9d8c0c49c80dbe27345962925ba3ef3ce30ec7d9bef6df269060600160405180910390a1505050565b6000610be1610f8d565b81610c51576040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa158015610c2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4e9190611e3b565b91505b604080516001600160a01b0385168152602081018490527fda2bc2bedd1f85b5a59d5dbbd6684ff877ef916994a16ec08813101e99ace65f910160405180910390a160135460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018490529084169063a9059cbb906044016020604051808303816000875af1158015610ce6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b89190611e54565b610d12610f8d565b601055565b60006108b8338484611021565b610d2c610f8d565b60005b82811015610955578160076000868685818110610d4e57610d4e611dd7565b9050602002016020810190610d639190611ccf565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610d9581611e03565b915050610d2f565b610da5610f8d565b60005b82811015610955578160066000868685818110610dc757610dc7611dd7565b9050602002016020810190610ddc9190611ccf565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610e0e81611e03565b915050610da8565b600082610e228361095b565b119392505050565b610e32610f8d565b6017805460ff60a81b1916600160a81b8415158102919091179182905560188390556040805184815260ff9290930491909116151560208301527f1a09c4ac66f4f4e8f626014cafdea7efe437ab39f09ac9feada57ef81af7664b910160405180910390a15050565b610ea3610f8d565b6001600160a01b038116610f0d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b610f16816113d7565b50565b6013546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610f16573d6000803e3d6000fd5b610f5a610f8d565b60088490556009839055600a829055610f7d82610f778686611427565b90611427565b600b55600c819055610955611486565b6000546001600160a01b03163314610b495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610f04565b6000818484111561100b5760405162461bcd60e51b8152600401610f049190611b1f565b5060006110188486611e71565b95945050505050565b6001600160a01b03831660009081526007602052604081205460ff161561107f5760405162461bcd60e51b815260206004820152601260248201527114d95b99195c88189b1858dadb1a5cdd195960721b6044820152606401610f04565b6001600160a01b03831660009081526007602052604090205460ff16156110df5760405162461bcd60e51b8152602060048201526014602482015273149958d95a5d995c88189b1858dadb1a5cdd195960621b6044820152606401610f04565b60195460ff16156110fc576110f5848484611524565b90506108b8565b6000546001600160a01b0385811691161480159061112857506000546001600160a01b03848116911614155b1561117d57601754600160a01b900460ff1661117d5760405162461bcd60e51b8152602060048201526014602482015273151c98591a5b99c81b9bdd081bdc195b881e595d60621b6044820152606401610f04565b61118561160a565b1561119257611192611660565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0387166000908152600390915291909120546111e4918490610fe7565b6001600160a01b038516600090815260036020908152604080832093909355600690529081205460ff168061123157506001600160a01b03841660009081526006602052604090205460ff165b611245576112408584866119d3565b611247565b825b6001600160a01b03851660009081526003602052604090205490915061126d9082611427565b6001600160a01b0380861660008181526003602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906112c19085815260200190565b60405180910390a3506001949350505050565b6000826112e3575060006107d7565b60006112ef8385611e88565b9050826112fc8583611ea7565b146108b85760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610f04565b60006108b883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611af1565b60006108b883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610fe7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806114348385611ec9565b9050838110156108b85760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610f04565b7f1aae40de616179b76c56cc6537e6b06f75cd8bc11e12f6b0026ce013b28434e26114c4600c5461099c600e54600b546112d490919063ffffffff16565b6114e1600c5461099c600d54600b546112d490919063ffffffff16565b6114fe600c5461099c600f54600b546112d490919063ffffffff16565b6040805160ff9485168152928416602084015292168183015290519081900360600190a1565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386166000908152600390915291822054611575918490610fe7565b6001600160a01b0380861660009081526003602052604080822093909355908516815220546115a49083611427565b6001600160a01b0380851660008181526003602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906115f89086815260200190565b60405180910390a35060019392505050565b6017546000906001600160a01b0316331480159061162b575060195460ff16155b80156116405750601754600160a81b900460ff165b8015610a0e57505060185430600090815260036020526040902054101590565b6019805460ff1916600117905560145460155460009161167f91610e16565b61168b5760085461168e565b60005b905060006116b2600261099c600b5461099c866018546112d490919063ffffffff16565b905060006116cb8260185461139590919063ffffffff16565b6040805160028082526060820183529293506000929091602083019080368337019050509050308160008151811061170557611705611dd7565b6001600160a01b039283166020918202929092010152600180548351921691839190811061173557611735611dd7565b6001600160a01b03928316602091820292909201015260165460405163791ac94760e01b81524792919091169063791ac9479061177f908690600090879030904290600401611ee1565b600060405180830381600087803b15801561179957600080fd5b505af11580156117ad573d6000803e3d6000fd5b5050505060006117c6824761139590919063ffffffff16565b905060006117e16117d8886002611353565b600b5490611395565b905060006117f6600261099c8481878d6112d4565b905060006118138361099c600954876112d490919063ffffffff16565b905060006118308461099c600a54886112d490919063ffffffff16565b6011546040519192506000916001600160a01b039091169084908381818185875af1925050503d8060008114611882576040519150601f19603f3d011682016040523d82523d6000602084013e611887565b606091505b50506012546040519192506001600160a01b0316908390600081818185875af1925050503d80600081146118d7576040519150601f19603f3d011682016040523d82523d6000602084013e6118dc565b606091505b5060009250508a1590506119bc5760165460135460405163f305d71960e01b8152306004820152602481018d905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990869060c40160606040518083038185885af115801561195a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061197f9190611f52565b505060408051868152602081018d90527f70f95364b735915be0d979a62777229a66d44c0c3df9c4506cdf898f974b05d592500160405180910390a15b50506019805460ff19169055505050505050505050565b600f54601754600091906001600160a01b03848116911614156119f95750600d54611a39565b6017546001600160a01b0386811691161415611a395750600e546001600160a01b03831660009081526005602052604090205460ff1615611a3957506010545b6000611a67600c546103e8611a4e9190611e88565b61099c8461098f600b548a6112d490919063ffffffff16565b30600090815260036020526040902054909150611a849082611427565b30600081815260036020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611ad59085815260200190565b60405180910390a3611ae78582611395565b9695505050505050565b60008183611b125760405162461bcd60e51b8152600401610f049190611b1f565b5060006110188486611ea7565b600060208083528351808285015260005b81811015611b4c57858101830151858201604001528201611b30565b81811115611b5e576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610f1657600080fd5b60008060408385031215611b9c57600080fd5b8235611ba781611b74565b946020939093013593505050565b600080600060608486031215611bca57600080fd5b505081359360208301359350604090920135919050565b600080600060608486031215611bf657600080fd5b8335611c0181611b74565b92506020840135611c1181611b74565b929592945050506040919091013590565b8015158114610f1657600080fd5b600080600060408486031215611c4557600080fd5b833567ffffffffffffffff80821115611c5d57600080fd5b818601915086601f830112611c7157600080fd5b813581811115611c8057600080fd5b8760208260051b8501011115611c9557600080fd5b60209283019550935050840135611cab81611c22565b809150509250925092565b600060208284031215611cc857600080fd5b5035919050565b600060208284031215611ce157600080fd5b81356108b881611b74565b600080600060608486031215611d0157600080fd5b8335611d0c81611b74565b92506020840135611d1c81611b74565b91506040840135611cab81611b74565b60008060408385031215611d3f57600080fd5b8235611d4a81611b74565b91506020830135611d5a81611b74565b809150509250929050565b60008060408385031215611d7857600080fd5b50508035926020909101359150565b60008060408385031215611d9a57600080fd5b8235611ba781611c22565b60008060008060808587031215611dbb57600080fd5b5050823594602084013594506040840135936060013592509050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415611e1757611e17611ded565b5060010190565b600060208284031215611e3057600080fd5b81516108b881611b74565b600060208284031215611e4d57600080fd5b5051919050565b600060208284031215611e6657600080fd5b81516108b881611c22565b600082821015611e8357611e83611ded565b500390565b6000816000190483118215151615611ea257611ea2611ded565b500290565b600082611ec457634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611edc57611edc611ded565b500190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f315784516001600160a01b031683529383019391830191600101611f0c565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215611f6757600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220565b6cefd4c6ccdfc62cd2e76cb06c68a4c91b78fac6a631970918dca224d14164736f6c634300080b0033
Deployed Bytecode
0x60806040526004361061023f5760003560e01c806375cb1bd11161012e578063d3fef817116100ab578063ec7c39761161006f578063ec7c3976146106da578063f2fde38b146106fb578063f42938901461071b578063f887ea4014610730578063fcd9da441461075057600080fd5b8063d3fef81714610604578063dbac26e914610624578063dd62ed3e14610654578063ded1e4381461069a578063df20fd49146106ba57600080fd5b806395d89b41116100f257806395d89b41146105575780639ec96cca14610584578063a8aa1b31146105a4578063a9059cbb146105c4578063c997eb8d146105e457600080fd5b806375cb1bd1146104b157806377b54bad146104d1578063893d20e8146104f15780638da5cb5b1461052357806393f4eaf71461054157600080fd5b8063313ce567116101bc5780636acaf860116101805780636acaf8601461041a5780636ddd17131461042f57806370a0823114610450578063715018a61461048657806371968a001461049b57600080fd5b8063313ce5671461039d5780634d7fcebc146103b95780634ffa0b8e146103cf57806355265669146103e5578063571ac8b0146103fa57600080fd5b80632242908511610203578063224290851461030657806323b872dd14610328578063293230b8146103485780632d4981a91461035d57806330c9a6a01461037d57600080fd5b80630445b6671461024b57806306fdde0314610274578063095ea7b3146102ab57806318160ddd146102db5780631df4ccfc146102f057600080fd5b3661024657005b600080fd5b34801561025757600080fd5b5061026160185481565b6040519081526020015b60405180910390f35b34801561028057600080fd5b5060408051808201909152600581526408ac2e4dcb60db1b60208201525b60405161026b9190611b1f565b3480156102b757600080fd5b506102cb6102c6366004611b89565b610770565b604051901515815260200161026b565b3480156102e757600080fd5b50600254610261565b3480156102fc57600080fd5b50610261600b5481565b34801561031257600080fd5b50610326610321366004611bb5565b6107dd565b005b34801561033457600080fd5b506102cb610343366004611be1565b6107f6565b34801561035457600080fd5b506103266108bf565b34801561036957600080fd5b50610326610378366004611c30565b6108dc565b34801561038957600080fd5b50610261610398366004611cb6565b61095b565b3480156103a957600080fd5b506040516012815260200161026b565b3480156103c557600080fd5b50610261600d5481565b3480156103db57600080fd5b5061026160105481565b3480156103f157600080fd5b506102616109a2565b34801561040657600080fd5b506102cb610415366004611ccf565b610a13565b34801561042657600080fd5b50610326610a21565b34801561043b57600080fd5b506017546102cb90600160a81b900460ff1681565b34801561045c57600080fd5b5061026161046b366004611ccf565b6001600160a01b031660009081526003602052604090205490565b34801561049257600080fd5b50610326610b37565b3480156104a757600080fd5b50610261600f5481565b3480156104bd57600080fd5b506103266104cc366004611cec565b610b4b565b3480156104dd57600080fd5b506102cb6104ec366004611b89565b610bd7565b3480156104fd57600080fd5b506000546001600160a01b03165b6040516001600160a01b03909116815260200161026b565b34801561052f57600080fd5b506000546001600160a01b031661050b565b34801561054d57600080fd5b50610261600e5481565b34801561056357600080fd5b5060408051808201909152600481526322a0a92760e11b602082015261029e565b34801561059057600080fd5b5061032661059f366004611cb6565b610d0a565b3480156105b057600080fd5b5060175461050b906001600160a01b031681565b3480156105d057600080fd5b506102cb6105df366004611b89565b610d17565b3480156105f057600080fd5b506103266105ff366004611c30565b610d24565b34801561061057600080fd5b5061032661061f366004611c30565b610d9d565b34801561063057600080fd5b506102cb61063f366004611ccf565b60076020526000908152604090205460ff1681565b34801561066057600080fd5b5061026161066f366004611d2c565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156106a657600080fd5b506102cb6106b5366004611d65565b610e16565b3480156106c657600080fd5b506103266106d5366004611d87565b610e2a565b3480156106e657600080fd5b506017546102cb90600160a01b900460ff1681565b34801561070757600080fd5b50610326610716366004611ccf565b610e9b565b34801561072757600080fd5b50610326610f19565b34801561073c57600080fd5b5060165461050b906001600160a01b031681565b34801561075c57600080fd5b5061032661076b366004611da5565b610f52565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906107cb9086815260200190565b60405180910390a35060015b92915050565b6107e5610f8d565b600d91909155600e91909155600f55565b6001600160a01b0383166000908152600460209081526040808320338452909152812054600019146108aa57604080518082018252601681527f496e73756666696369656e7420416c6c6f77616e6365000000000000000000006020808301919091526001600160a01b0387166000908152600482528381203382529091529190912054610885918490610fe7565b6001600160a01b03851660009081526004602090815260408083203384529091529020555b6108b5848484611021565b90505b9392505050565b6108c7610f8d565b6017805460ff60a01b1916600160a01b179055565b6108e4610f8d565b60005b8281101561095557816005600086868581811061090657610906611dd7565b905060200201602081019061091b9190611ccf565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061094d81611e03565b9150506108e7565b50505050565b60006107d76109686109a2565b6017546001600160a01b031660009081526003602052604090205461099c90610995906002905b906112d4565b85906112d4565b90611353565b60036020527f3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92eff5461dead60009081527f262bb27bbdd95c1cdc8e16957e36e38579ea44f7f6413dd7a9c75939def06b2c546002549192610a0e929091610a089190611395565b90611395565b905090565b60006107d782600019610770565b610a29610f8d565b601660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa09190611e1e565b60015460405163e6a4390560e01b81526001600160a01b03918216600482015230602482015291169063e6a43905906044016020604051808303816000875af1158015610af1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b159190611e1e565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b610b3f610f8d565b610b4960006113d7565b565b610b53610f8d565b601380546001600160a01b038581166001600160a01b0319928316811790935560118054868316908416811790915560128054928616929093168217909255604080519384526020840192909252908201527fdfa5e792c57928ef9d8c0c49c80dbe27345962925ba3ef3ce30ec7d9bef6df269060600160405180910390a1505050565b6000610be1610f8d565b81610c51576040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa158015610c2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4e9190611e3b565b91505b604080516001600160a01b0385168152602081018490527fda2bc2bedd1f85b5a59d5dbbd6684ff877ef916994a16ec08813101e99ace65f910160405180910390a160135460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018490529084169063a9059cbb906044016020604051808303816000875af1158015610ce6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b89190611e54565b610d12610f8d565b601055565b60006108b8338484611021565b610d2c610f8d565b60005b82811015610955578160076000868685818110610d4e57610d4e611dd7565b9050602002016020810190610d639190611ccf565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610d9581611e03565b915050610d2f565b610da5610f8d565b60005b82811015610955578160066000868685818110610dc757610dc7611dd7565b9050602002016020810190610ddc9190611ccf565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610e0e81611e03565b915050610da8565b600082610e228361095b565b119392505050565b610e32610f8d565b6017805460ff60a81b1916600160a81b8415158102919091179182905560188390556040805184815260ff9290930491909116151560208301527f1a09c4ac66f4f4e8f626014cafdea7efe437ab39f09ac9feada57ef81af7664b910160405180910390a15050565b610ea3610f8d565b6001600160a01b038116610f0d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b610f16816113d7565b50565b6013546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610f16573d6000803e3d6000fd5b610f5a610f8d565b60088490556009839055600a829055610f7d82610f778686611427565b90611427565b600b55600c819055610955611486565b6000546001600160a01b03163314610b495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610f04565b6000818484111561100b5760405162461bcd60e51b8152600401610f049190611b1f565b5060006110188486611e71565b95945050505050565b6001600160a01b03831660009081526007602052604081205460ff161561107f5760405162461bcd60e51b815260206004820152601260248201527114d95b99195c88189b1858dadb1a5cdd195960721b6044820152606401610f04565b6001600160a01b03831660009081526007602052604090205460ff16156110df5760405162461bcd60e51b8152602060048201526014602482015273149958d95a5d995c88189b1858dadb1a5cdd195960621b6044820152606401610f04565b60195460ff16156110fc576110f5848484611524565b90506108b8565b6000546001600160a01b0385811691161480159061112857506000546001600160a01b03848116911614155b1561117d57601754600160a01b900460ff1661117d5760405162461bcd60e51b8152602060048201526014602482015273151c98591a5b99c81b9bdd081bdc195b881e595d60621b6044820152606401610f04565b61118561160a565b1561119257611192611660565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0387166000908152600390915291909120546111e4918490610fe7565b6001600160a01b038516600090815260036020908152604080832093909355600690529081205460ff168061123157506001600160a01b03841660009081526006602052604090205460ff165b611245576112408584866119d3565b611247565b825b6001600160a01b03851660009081526003602052604090205490915061126d9082611427565b6001600160a01b0380861660008181526003602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906112c19085815260200190565b60405180910390a3506001949350505050565b6000826112e3575060006107d7565b60006112ef8385611e88565b9050826112fc8583611ea7565b146108b85760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610f04565b60006108b883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611af1565b60006108b883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610fe7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806114348385611ec9565b9050838110156108b85760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610f04565b7f1aae40de616179b76c56cc6537e6b06f75cd8bc11e12f6b0026ce013b28434e26114c4600c5461099c600e54600b546112d490919063ffffffff16565b6114e1600c5461099c600d54600b546112d490919063ffffffff16565b6114fe600c5461099c600f54600b546112d490919063ffffffff16565b6040805160ff9485168152928416602084015292168183015290519081900360600190a1565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386166000908152600390915291822054611575918490610fe7565b6001600160a01b0380861660009081526003602052604080822093909355908516815220546115a49083611427565b6001600160a01b0380851660008181526003602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906115f89086815260200190565b60405180910390a35060019392505050565b6017546000906001600160a01b0316331480159061162b575060195460ff16155b80156116405750601754600160a81b900460ff165b8015610a0e57505060185430600090815260036020526040902054101590565b6019805460ff1916600117905560145460155460009161167f91610e16565b61168b5760085461168e565b60005b905060006116b2600261099c600b5461099c866018546112d490919063ffffffff16565b905060006116cb8260185461139590919063ffffffff16565b6040805160028082526060820183529293506000929091602083019080368337019050509050308160008151811061170557611705611dd7565b6001600160a01b039283166020918202929092010152600180548351921691839190811061173557611735611dd7565b6001600160a01b03928316602091820292909201015260165460405163791ac94760e01b81524792919091169063791ac9479061177f908690600090879030904290600401611ee1565b600060405180830381600087803b15801561179957600080fd5b505af11580156117ad573d6000803e3d6000fd5b5050505060006117c6824761139590919063ffffffff16565b905060006117e16117d8886002611353565b600b5490611395565b905060006117f6600261099c8481878d6112d4565b905060006118138361099c600954876112d490919063ffffffff16565b905060006118308461099c600a54886112d490919063ffffffff16565b6011546040519192506000916001600160a01b039091169084908381818185875af1925050503d8060008114611882576040519150601f19603f3d011682016040523d82523d6000602084013e611887565b606091505b50506012546040519192506001600160a01b0316908390600081818185875af1925050503d80600081146118d7576040519150601f19603f3d011682016040523d82523d6000602084013e6118dc565b606091505b5060009250508a1590506119bc5760165460135460405163f305d71960e01b8152306004820152602481018d905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990869060c40160606040518083038185885af115801561195a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061197f9190611f52565b505060408051868152602081018d90527f70f95364b735915be0d979a62777229a66d44c0c3df9c4506cdf898f974b05d592500160405180910390a15b50506019805460ff19169055505050505050505050565b600f54601754600091906001600160a01b03848116911614156119f95750600d54611a39565b6017546001600160a01b0386811691161415611a395750600e546001600160a01b03831660009081526005602052604090205460ff1615611a3957506010545b6000611a67600c546103e8611a4e9190611e88565b61099c8461098f600b548a6112d490919063ffffffff16565b30600090815260036020526040902054909150611a849082611427565b30600081815260036020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611ad59085815260200190565b60405180910390a3611ae78582611395565b9695505050505050565b60008183611b125760405162461bcd60e51b8152600401610f049190611b1f565b5060006110188486611ea7565b600060208083528351808285015260005b81811015611b4c57858101830151858201604001528201611b30565b81811115611b5e576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610f1657600080fd5b60008060408385031215611b9c57600080fd5b8235611ba781611b74565b946020939093013593505050565b600080600060608486031215611bca57600080fd5b505081359360208301359350604090920135919050565b600080600060608486031215611bf657600080fd5b8335611c0181611b74565b92506020840135611c1181611b74565b929592945050506040919091013590565b8015158114610f1657600080fd5b600080600060408486031215611c4557600080fd5b833567ffffffffffffffff80821115611c5d57600080fd5b818601915086601f830112611c7157600080fd5b813581811115611c8057600080fd5b8760208260051b8501011115611c9557600080fd5b60209283019550935050840135611cab81611c22565b809150509250925092565b600060208284031215611cc857600080fd5b5035919050565b600060208284031215611ce157600080fd5b81356108b881611b74565b600080600060608486031215611d0157600080fd5b8335611d0c81611b74565b92506020840135611d1c81611b74565b91506040840135611cab81611b74565b60008060408385031215611d3f57600080fd5b8235611d4a81611b74565b91506020830135611d5a81611b74565b809150509250929050565b60008060408385031215611d7857600080fd5b50508035926020909101359150565b60008060408385031215611d9a57600080fd5b8235611ba781611c22565b60008060008060808587031215611dbb57600080fd5b5050823594602084013594506040840135936060013592509050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415611e1757611e17611ded565b5060010190565b600060208284031215611e3057600080fd5b81516108b881611b74565b600060208284031215611e4d57600080fd5b5051919050565b600060208284031215611e6657600080fd5b81516108b881611c22565b600082821015611e8357611e83611ded565b500390565b6000816000190483118215151615611ea257611ea2611ded565b500290565b600082611ec457634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611edc57611edc611ded565b500190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f315784516001600160a01b031683529383019391830191600101611f0c565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215611f6757600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220565b6cefd4c6ccdfc62cd2e76cb06c68a4c91b78fac6a631970918dca224d14164736f6c634300080b0033
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.