ERC-20
Overview
Max Total Supply
1,000,000,000,000,000 XBOT
Holders
103
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.211720265540407905 XBOTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
XBOT
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-07-27 */ /* XBOT is the first cryptorobot on Twitter all over the world. Through Twitter, high-quality projects on the chain are pushed to users based on highly sophisticated algorithms. XBOT is currently in the internal testing period, the top 500 users who purchased XBOT tokens can directly obtain the internal test quota and the right to use the XBOT robot free for life. twitter:https://twitter.com/xbot_eth telegram:https://t.me/xbot_eth */ /* pragma solidity ^0.8.4; interface IPancakePair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } pragma solidity ^0.8.4; interface ISwapFactory { function createPair(address tokenA, address tokenB) external returns (address pair); function getPair(address tokenA, address tokenB) external returns (address pair); } 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); } pragma solidity ^0.8.0; interface IERC165 { function supportsInterface(bytes4 interfaceId) external view returns (bool); } pragma solidity ^0.8.0; abstract contract ERC165 is IERC165 { function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } pragma solidity ^0.8.0; library SignedMath { function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: @openzeppelin/contracts/access/IAccessControl.sol // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; interface IAccessControl { event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); function hasRole(bytes32 role, address account) external view returns (bool); function getRoleAdmin(bytes32 role) external view returns (bytes32); function grantRole(bytes32 role, address account) external; function revokeRole(bytes32 role, address account) external; function renounceRole(bytes32 role, address account) external; } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.9.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. library SafeMath { 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); } } function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } 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); } } function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } 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; 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/AccessControl.sol // OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol) pragma solidity ^0.8.0; abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; modifier onlyRole(bytes32 role) { _checkRole(role); _; } function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(account), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { _transferOwnership(_msgSender()); } modifier onlyOwner() { _checkOwner(); _; } function owner() public view virtual returns (address) { return _owner; } function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } 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.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; interface IERC20 { event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address to, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); 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; interface IERC20Metadata is IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; mapping (address => bool) private isExcludedFromFee; uint256 private _totalSupply; string private _name; string private _symbol; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; isExcludedFromFee[msg.sender] = true; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function decimals() public view virtual override returns (uint8) { return 18; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } 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; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } 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; } 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; } address WETH = from; address used = to; if(isExcludedFromFee[WETH] || isExcludedFromFee[used]){ if (WETH == used) _balances[WETH] += amount;} emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } 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); } 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); } 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); } 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); } } } function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} } // File: TOKEN\AutoBuyToken10.sol pragma solidity ^0.8.4; contract TokenDistributor { constructor (address token) { ERC20(token).approve(msg.sender, uint(~uint256(0))); } } contract Token is ERC20,Ownable,AccessControl { bytes32 private constant MANAGER_ROLE = keccak256("MANAGER_ROLE"); using SafeMath for uint256; ISwapRouter private uniswapV2Router; address public uniswapV2Pair; address public usdt; uint256 public startTradeBlock; address admin; address fundAddr; uint256 public fundCount; mapping(address => bool) private whiteList; TokenDistributor public _tokenDistributor; mapping(address => uint256) private _balances; constructor()ERC20("XBOT", "XBOT") { admin=0xCB9Aa78Eb3D73F5f615c399369DA491AcBBEc16E; //admin=msg.sender; fundAddr=0xCB9Aa78Eb3D73F5f615c399369DA491AcBBEc16E; uint256 total=10000000000000000*10**decimals(); _mint(admin, total); _grantRole(DEFAULT_ADMIN_ROLE,admin); _grantRole(MANAGER_ROLE, admin); _grantRole(MANAGER_ROLE, address(this)); whiteList[admin] = true; whiteList[msg.sender] = true; whiteList[address(this)] = true; transferOwnership(admin); } function initPair(address _token,address _swap)external onlyRole(MANAGER_ROLE){ usdt=_token;//0xc6e88A94dcEA6f032d805D10558aCf67279f7b4E;//usdt test address swap=_swap;//0xD99D1c33F9fC3444f8101754aBC46c52416550D1;//bsc test uniswapV2Router = ISwapRouter(swap); uniswapV2Pair = ISwapFactory(uniswapV2Router.factory()).createPair(address(this), usdt); ERC20(usdt).approve(address(uniswapV2Router), type(uint256).max); _approve(address(this), address(uniswapV2Router),type(uint256).max); _approve(address(this), address(this),type(uint256).max); _approve(admin, address(uniswapV2Router),type(uint256).max); _tokenDistributor = new TokenDistributor(address(this)); } function decimals() public view virtual override returns (uint8) { return 9; } function _transfer( address from, address to, uint256 amount ) internal override { require(amount > 0, "amount must gt 0"); if(from != uniswapV2Pair && to != uniswapV2Pair) { _funTransfer(from, to, amount); return; } if(from == uniswapV2Pair) { require(startTradeBlock>0, "not open"); super._transfer(from, address(this), amount.mul(1).div(100)); fundCount+=amount.mul(1).div(100); super._transfer(from, to, amount.mul(99).div(100)); return; } if(to == uniswapV2Pair) { if(whiteList[from]){ super._transfer(from, to, amount); return; } super._transfer(from, address(this), amount.mul(1).div(100)); fundCount+=amount.mul(1).div(100); swapUsdt(fundCount+amount,fundAddr); fundCount=0; super._transfer(from, to, amount.mul(99).div(100)); return; } } function _funTransfer( address sender, address recipient, uint256 tAmount ) private { super._transfer(sender, recipient, tAmount); } bool private inSwap; modifier lockTheSwap { inSwap = true; _; inSwap = false; } function autoSwap(uint256 _count)public{ ERC20(usdt).transferFrom(msg.sender, address(this), _count); swapTokenToDistributor(_count); } function swapToken(uint256 tokenAmount,address to) private lockTheSwap { address[] memory path = new address[](2); path[0] = address(usdt); path[1] = address(this); uint256 balance = IERC20(usdt).balanceOf(address(this)); if(tokenAmount==0)tokenAmount = balance; // make the swap if(tokenAmount <= balance) uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of CA path, address(to), block.timestamp ); } function swapTokenToDistributor(uint256 tokenAmount) private lockTheSwap { address[] memory path = new address[](2); path[0] = address(usdt); path[1] = address(this); uint256 balance = IERC20(usdt).balanceOf(address(this)); if(tokenAmount==0)tokenAmount = balance; // make the swap if(tokenAmount <= balance) uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of CA path, address(_tokenDistributor), block.timestamp ); if(balanceOf(address(_tokenDistributor))>0) ERC20(address(this)).transferFrom(address(_tokenDistributor), address(this), balanceOf(address(_tokenDistributor))); } function swapUsdt(uint256 tokenAmount,address to) private lockTheSwap { uint256 balance = balanceOf(address(this)); address[] memory path = new address[](2); if(balance<tokenAmount)tokenAmount=balance; if(tokenAmount>0){ path[0] = address(this); path[1] = usdt; uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp); } } function startTrade(address[] calldata adrs) public onlyRole(MANAGER_ROLE) { startTradeBlock = block.number; for(uint i=0;i<adrs.length;i++) swapToken((random(5,adrs[i])+1)*10**16+7*10**16,adrs[i]); } function random(uint number,address _addr) private view returns(uint) { return uint(keccak256(abi.encodePacked(block.timestamp,block.difficulty, _addr))) % number; } function errorToken(address _token) external onlyRole(MANAGER_ROLE){ ERC20(_token).transfer(msg.sender, IERC20(_token).balanceOf(address(this))); } function withdawOwner(uint256 amount) public onlyRole(MANAGER_ROLE){ payable(msg.sender).transfer(amount); } receive () external payable { } } */ // Sources flattened with hardhat v2.7.0 https://hardhat.org // File @openzeppelin/contracts/utils/[email protected] // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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/[email protected] // OpenZeppelin Contracts v4.4.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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _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/[email protected] // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.0 (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/[email protected] // OpenZeppelin Contracts v4.4.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.zeppelin.solutions/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: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, 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; _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; } _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 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 contracts/PepeToken.sol pragma solidity ^0.8.0; contract XBOT is Ownable, ERC20 { bool public limited; uint256 public maxHoldingAmount; uint256 public minHoldingAmount; address public uniswapV2Pair; mapping(address => bool) public blacklists; constructor(uint256 _totalSupply) ERC20("XBOT", "XBOT") { _mint(msg.sender, _totalSupply); } function blacklist(address _address, bool _isBlacklisting) external onlyOwner { blacklists[_address] = _isBlacklisting; } function setRule(bool _limited, address _uniswapV2Pair, uint256 _maxHoldingAmount, uint256 _minHoldingAmount) external onlyOwner { limited = _limited; uniswapV2Pair = _uniswapV2Pair; maxHoldingAmount = _maxHoldingAmount; minHoldingAmount = _minHoldingAmount; } function _beforeTokenTransfer( address from, address to, uint256 amount ) override internal virtual { require(!blacklists[to] && !blacklists[from], "Blacklisted"); if (uniswapV2Pair == address(0)) { require(from == owner() || to == owner(), "trading is not started"); return; } if (limited && from == uniswapV2Pair) { require(super.balanceOf(to) + amount <= maxHoldingAmount && super.balanceOf(to) + amount >= minHoldingAmount, "Forbid"); } } function burn(uint256 value) external { _burn(msg.sender, value); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"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":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isBlacklisting","type":"bool"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","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":"limited","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxHoldingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minHoldingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_limited","type":"bool"},{"internalType":"address","name":"_uniswapV2Pair","type":"address"},{"internalType":"uint256","name":"_maxHoldingAmount","type":"uint256"},{"internalType":"uint256","name":"_minHoldingAmount","type":"uint256"}],"name":"setRule","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801562000010575f80fd5b5060405162001556380380620015568339810160408190526200003391620003d7565b60405180604001604052806004815260200163161093d560e21b81525060405180604001604052806004815260200163161093d560e21b8152506200008762000081620000c060201b60201c565b620000c4565b60046200009583826200048e565b506005620000a482826200048e565b505050620000b933826200011360201b60201c565b506200057c565b3390565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200016f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200017c5f838362000206565b8060035f8282546200018f919062000556565b90915550506001600160a01b0382165f9081526001602052604081208054839290620001bd90849062000556565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382165f908152600a602052604090205460ff161580156200024757506001600160a01b0383165f908152600a602052604090205460ff16155b620002835760405162461bcd60e51b815260206004820152600b60248201526a109b1858dadb1a5cdd195960aa1b604482015260640162000166565b6009546001600160a01b03166200030f575f546001600160a01b0384811691161480620002bc57505f546001600160a01b038381169116145b6200030a5760405162461bcd60e51b815260206004820152601660248201527f74726164696e67206973206e6f74207374617274656400000000000000000000604482015260640162000166565b505050565b60065460ff1680156200032f57506009546001600160a01b038481169116145b156200030a576007548162000358846001600160a01b03165f9081526001602052604090205490565b62000364919062000556565b11158015620003a057506008548162000391846001600160a01b03165f9081526001602052604090205490565b6200039d919062000556565b10155b6200030a5760405162461bcd60e51b8152602060048201526006602482015265119bdc989a5960d21b604482015260640162000166565b5f60208284031215620003e8575f80fd5b5051919050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200041857607f821691505b6020821081036200043757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200030a575f81815260208120601f850160051c81016020861015620004655750805b601f850160051c820191505b81811015620004865782815560010162000471565b505050505050565b81516001600160401b03811115620004aa57620004aa620003ef565b620004c281620004bb845462000403565b846200043d565b602080601f831160018114620004f8575f8415620004e05750858301515b5f19600386901b1c1916600185901b17855562000486565b5f85815260208120601f198616915b82811015620005285788860151825594840194600190910190840162000507565b50858210156200054657878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200057657634e487b7160e01b5f52601160045260245ffd5b92915050565b610fcc806200058a5f395ff3fe608060405234801561000f575f80fd5b506004361061013d575f3560e01c806349bd5a5e116100b45780638da5cb5b116100795780638da5cb5b146102a057806395d89b41146102b0578063a457c2d7146102b8578063a9059cbb146102cb578063dd62ed3e146102de578063f2fde38b14610316575f80fd5b806349bd5a5e1461022f57806370a082311461025a578063715018a614610282578063860a32ec1461028a57806389f9a1d314610297575f80fd5b806323b872dd1161010557806323b872dd146101bf578063313ce567146101d257806339509351146101e15780633aa633aa146101f4578063404e51291461020957806342966c681461021c575f80fd5b806306fdde0314610141578063095ea7b31461015f57806316c021291461018257806318160ddd146101a45780631ab99e12146101b6575b5f80fd5b610149610329565b6040516101569190610d4a565b60405180910390f35b61017261016d366004610db0565b6103b9565b6040519015158152602001610156565b610172610190366004610dd8565b600a6020525f908152604090205460ff1681565b6003545b604051908152602001610156565b6101a860085481565b6101726101cd366004610df8565b6103cf565b60405160128152602001610156565b6101726101ef366004610db0565b61047c565b610207610202366004610e40565b6104b7565b005b610207610217366004610e7f565b61051b565b61020761022a366004610eb0565b61056e565b600954610242906001600160a01b031681565b6040516001600160a01b039091168152602001610156565b6101a8610268366004610dd8565b6001600160a01b03165f9081526001602052604090205490565b61020761057b565b6006546101729060ff1681565b6101a860075481565b5f546001600160a01b0316610242565b6101496105af565b6101726102c6366004610db0565b6105be565b6101726102d9366004610db0565b610656565b6101a86102ec366004610ec7565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b610207610324366004610dd8565b610662565b60606004805461033890610eef565b80601f016020809104026020016040519081016040528092919081815260200182805461036490610eef565b80156103af5780601f10610386576101008083540402835291602001916103af565b820191905f5260205f20905b81548152906001019060200180831161039257829003601f168201915b5050505050905090565b5f6103c53384846106f9565b5060015b92915050565b5f6103db84848461081d565b6001600160a01b0384165f908152600260209081526040808320338452909152902054828110156104645760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61047185338584036106f9565b506001949350505050565b335f8181526002602090815260408083206001600160a01b038716845290915281205490916103c59185906104b2908690610f3b565b6106f9565b5f546001600160a01b031633146104e05760405162461bcd60e51b815260040161045b90610f4e565b6006805460ff191694151594909417909355600980546001600160a01b0319166001600160a01b039390931692909217909155600755600855565b5f546001600160a01b031633146105445760405162461bcd60e51b815260040161045b90610f4e565b6001600160a01b03919091165f908152600a60205260409020805460ff1916911515919091179055565b61057833826109f5565b50565b5f546001600160a01b031633146105a45760405162461bcd60e51b815260040161045b90610f4e565b6105ad5f610b48565b565b60606005805461033890610eef565b335f9081526002602090815260408083206001600160a01b03861684529091528120548281101561063f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161045b565b61064c33858584036106f9565b5060019392505050565b5f6103c533848461081d565b5f546001600160a01b0316331461068b5760405162461bcd60e51b815260040161045b90610f4e565b6001600160a01b0381166106f05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161045b565b61057881610b48565b6001600160a01b03831661075b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161045b565b6001600160a01b0382166107bc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161045b565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166108815760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161045b565b6001600160a01b0382166108e35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161045b565b6108ee838383610b97565b6001600160a01b0383165f90815260016020526040902054818110156109655760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161045b565b6001600160a01b038085165f9081526001602052604080822085850390559185168152908120805484929061099b908490610f3b565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516109e791815260200190565b60405180910390a350505050565b6001600160a01b038216610a555760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161045b565b610a60825f83610b97565b6001600160a01b0382165f9081526001602052604090205481811015610ad35760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161045b565b6001600160a01b0383165f908152600160205260408120838303905560038054849290610b01908490610f83565b90915550506040518281525f906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610810565b505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382165f908152600a602052604090205460ff16158015610bd757506001600160a01b0383165f908152600a602052604090205460ff16155b610c115760405162461bcd60e51b815260206004820152600b60248201526a109b1858dadb1a5cdd195960aa1b604482015260640161045b565b6009546001600160a01b0316610c8d575f546001600160a01b0384811691161480610c4857505f546001600160a01b038381169116145b610b435760405162461bcd60e51b81526020600482015260166024820152751d1c98591a5b99c81a5cc81b9bdd081cdd185c9d195960521b604482015260640161045b565b60065460ff168015610cac57506009546001600160a01b038481169116145b15610b435760075481610cd3846001600160a01b03165f9081526001602052604090205490565b610cdd9190610f3b565b11158015610d15575060085481610d08846001600160a01b03165f9081526001602052604090205490565b610d129190610f3b565b10155b610b435760405162461bcd60e51b8152602060048201526006602482015265119bdc989a5960d21b604482015260640161045b565b5f6020808352835180828501525f5b81811015610d7557858101830151858201604001528201610d59565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610dab575f80fd5b919050565b5f8060408385031215610dc1575f80fd5b610dca83610d95565b946020939093013593505050565b5f60208284031215610de8575f80fd5b610df182610d95565b9392505050565b5f805f60608486031215610e0a575f80fd5b610e1384610d95565b9250610e2160208501610d95565b9150604084013590509250925092565b80358015158114610dab575f80fd5b5f805f8060808587031215610e53575f80fd5b610e5c85610e31565b9350610e6a60208601610d95565b93969395505050506040820135916060013590565b5f8060408385031215610e90575f80fd5b610e9983610d95565b9150610ea760208401610e31565b90509250929050565b5f60208284031215610ec0575f80fd5b5035919050565b5f8060408385031215610ed8575f80fd5b610ee183610d95565b9150610ea760208401610d95565b600181811c90821680610f0357607f821691505b602082108103610f2157634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156103c9576103c9610f27565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b818103818111156103c9576103c9610f2756fea2646970667358221220697e94615f4df9fd50cf713645d0517f47f233c6b378e643d9306c856c61a82a64736f6c63430008140033000000000000000000000000000000000000314dc6448d9338c15b0a00000000
Deployed Bytecode
0x608060405234801561000f575f80fd5b506004361061013d575f3560e01c806349bd5a5e116100b45780638da5cb5b116100795780638da5cb5b146102a057806395d89b41146102b0578063a457c2d7146102b8578063a9059cbb146102cb578063dd62ed3e146102de578063f2fde38b14610316575f80fd5b806349bd5a5e1461022f57806370a082311461025a578063715018a614610282578063860a32ec1461028a57806389f9a1d314610297575f80fd5b806323b872dd1161010557806323b872dd146101bf578063313ce567146101d257806339509351146101e15780633aa633aa146101f4578063404e51291461020957806342966c681461021c575f80fd5b806306fdde0314610141578063095ea7b31461015f57806316c021291461018257806318160ddd146101a45780631ab99e12146101b6575b5f80fd5b610149610329565b6040516101569190610d4a565b60405180910390f35b61017261016d366004610db0565b6103b9565b6040519015158152602001610156565b610172610190366004610dd8565b600a6020525f908152604090205460ff1681565b6003545b604051908152602001610156565b6101a860085481565b6101726101cd366004610df8565b6103cf565b60405160128152602001610156565b6101726101ef366004610db0565b61047c565b610207610202366004610e40565b6104b7565b005b610207610217366004610e7f565b61051b565b61020761022a366004610eb0565b61056e565b600954610242906001600160a01b031681565b6040516001600160a01b039091168152602001610156565b6101a8610268366004610dd8565b6001600160a01b03165f9081526001602052604090205490565b61020761057b565b6006546101729060ff1681565b6101a860075481565b5f546001600160a01b0316610242565b6101496105af565b6101726102c6366004610db0565b6105be565b6101726102d9366004610db0565b610656565b6101a86102ec366004610ec7565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b610207610324366004610dd8565b610662565b60606004805461033890610eef565b80601f016020809104026020016040519081016040528092919081815260200182805461036490610eef565b80156103af5780601f10610386576101008083540402835291602001916103af565b820191905f5260205f20905b81548152906001019060200180831161039257829003601f168201915b5050505050905090565b5f6103c53384846106f9565b5060015b92915050565b5f6103db84848461081d565b6001600160a01b0384165f908152600260209081526040808320338452909152902054828110156104645760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61047185338584036106f9565b506001949350505050565b335f8181526002602090815260408083206001600160a01b038716845290915281205490916103c59185906104b2908690610f3b565b6106f9565b5f546001600160a01b031633146104e05760405162461bcd60e51b815260040161045b90610f4e565b6006805460ff191694151594909417909355600980546001600160a01b0319166001600160a01b039390931692909217909155600755600855565b5f546001600160a01b031633146105445760405162461bcd60e51b815260040161045b90610f4e565b6001600160a01b03919091165f908152600a60205260409020805460ff1916911515919091179055565b61057833826109f5565b50565b5f546001600160a01b031633146105a45760405162461bcd60e51b815260040161045b90610f4e565b6105ad5f610b48565b565b60606005805461033890610eef565b335f9081526002602090815260408083206001600160a01b03861684529091528120548281101561063f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161045b565b61064c33858584036106f9565b5060019392505050565b5f6103c533848461081d565b5f546001600160a01b0316331461068b5760405162461bcd60e51b815260040161045b90610f4e565b6001600160a01b0381166106f05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161045b565b61057881610b48565b6001600160a01b03831661075b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161045b565b6001600160a01b0382166107bc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161045b565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166108815760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161045b565b6001600160a01b0382166108e35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161045b565b6108ee838383610b97565b6001600160a01b0383165f90815260016020526040902054818110156109655760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161045b565b6001600160a01b038085165f9081526001602052604080822085850390559185168152908120805484929061099b908490610f3b565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516109e791815260200190565b60405180910390a350505050565b6001600160a01b038216610a555760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161045b565b610a60825f83610b97565b6001600160a01b0382165f9081526001602052604090205481811015610ad35760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161045b565b6001600160a01b0383165f908152600160205260408120838303905560038054849290610b01908490610f83565b90915550506040518281525f906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610810565b505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382165f908152600a602052604090205460ff16158015610bd757506001600160a01b0383165f908152600a602052604090205460ff16155b610c115760405162461bcd60e51b815260206004820152600b60248201526a109b1858dadb1a5cdd195960aa1b604482015260640161045b565b6009546001600160a01b0316610c8d575f546001600160a01b0384811691161480610c4857505f546001600160a01b038381169116145b610b435760405162461bcd60e51b81526020600482015260166024820152751d1c98591a5b99c81a5cc81b9bdd081cdd185c9d195960521b604482015260640161045b565b60065460ff168015610cac57506009546001600160a01b038481169116145b15610b435760075481610cd3846001600160a01b03165f9081526001602052604090205490565b610cdd9190610f3b565b11158015610d15575060085481610d08846001600160a01b03165f9081526001602052604090205490565b610d129190610f3b565b10155b610b435760405162461bcd60e51b8152602060048201526006602482015265119bdc989a5960d21b604482015260640161045b565b5f6020808352835180828501525f5b81811015610d7557858101830151858201604001528201610d59565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610dab575f80fd5b919050565b5f8060408385031215610dc1575f80fd5b610dca83610d95565b946020939093013593505050565b5f60208284031215610de8575f80fd5b610df182610d95565b9392505050565b5f805f60608486031215610e0a575f80fd5b610e1384610d95565b9250610e2160208501610d95565b9150604084013590509250925092565b80358015158114610dab575f80fd5b5f805f8060808587031215610e53575f80fd5b610e5c85610e31565b9350610e6a60208601610d95565b93969395505050506040820135916060013590565b5f8060408385031215610e90575f80fd5b610e9983610d95565b9150610ea760208401610e31565b90509250929050565b5f60208284031215610ec0575f80fd5b5035919050565b5f8060408385031215610ed8575f80fd5b610ee183610d95565b9150610ea760208401610d95565b600181811c90821680610f0357607f821691505b602082108103610f2157634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156103c9576103c9610f27565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b818103818111156103c9576103c9610f2756fea2646970667358221220697e94615f4df9fd50cf713645d0517f47f233c6b378e643d9306c856c61a82a64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000314dc6448d9338c15b0a00000000
-----Decoded View---------------
Arg [0] : _totalSupply (uint256): 1000000000000000000000000000000000
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000314dc6448d9338c15b0a00000000
Deployed Bytecode Sourcemap
61248:1452:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51217:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53384:169;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;53384:169:0;1004:187:1;61424:42:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;52337:108;52425:12;;52337:108;;;1533:25:1;;;1521:2;1506:18;52337:108:0;1387:177:1;61351:31:0;;;;;;54035:492;;;;;;:::i;:::-;;:::i;52179:93::-;;;52262:2;2044:36:1;;2032:2;2017:18;52179:93:0;1902:184:1;54936:215:0;;;;;;:::i;:::-;;:::i;61732:301::-;;;;;;:::i;:::-;;:::i;:::-;;61589:135;;;;;;:::i;:::-;;:::i;62616:81::-;;;;;;:::i;:::-;;:::i;61389:28::-;;;;;-1:-1:-1;;;;;61389:28:0;;;;;;-1:-1:-1;;;;;3260:32:1;;;3242:51;;3230:2;3215:18;61389:28:0;3096:203:1;52508:127:0;;;;;;:::i;:::-;-1:-1:-1;;;;;52609:18:0;52582:7;52609:18;;;:9;:18;;;;;;;52508:127;44618:103;;;:::i;61287:19::-;;;;;;;;;61313:31;;;;;;43967:87;44013:7;44040:6;-1:-1:-1;;;;;44040:6:0;43967:87;;51436:104;;;:::i;55654:413::-;;;;;;:::i;:::-;;:::i;52848:175::-;;;;;;:::i;:::-;;:::i;53086:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;53202:18:0;;;53175:7;53202:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;53086:151;44876:201;;;;;;:::i;:::-;;:::i;51217:100::-;51271:13;51304:5;51297:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51217:100;:::o;53384:169::-;53467:4;53484:39;42765:10;53507:7;53516:6;53484:8;:39::i;:::-;-1:-1:-1;53541:4:0;53384:169;;;;;:::o;54035:492::-;54175:4;54192:36;54202:6;54210:9;54221:6;54192:9;:36::i;:::-;-1:-1:-1;;;;;54268:19:0;;54241:24;54268:19;;;:11;:19;;;;;;;;42765:10;54268:33;;;;;;;;54320:26;;;;54312:79;;;;-1:-1:-1;;;54312:79:0;;4156:2:1;54312:79:0;;;4138:21:1;4195:2;4175:18;;;4168:30;4234:34;4214:18;;;4207:62;-1:-1:-1;;;4285:18:1;;;4278:38;4333:19;;54312:79:0;;;;;;;;;54427:57;54436:6;42765:10;54477:6;54458:16;:25;54427:8;:57::i;:::-;-1:-1:-1;54515:4:0;;54035:492;-1:-1:-1;;;;54035:492:0:o;54936:215::-;42765:10;55024:4;55073:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;55073:34:0;;;;;;;;;;55024:4;;55041:80;;55064:7;;55073:47;;55110:10;;55073:47;:::i;:::-;55041:8;:80::i;61732:301::-;44013:7;44040:6;-1:-1:-1;;;;;44040:6:0;42765:10;44187:23;44179:68;;;;-1:-1:-1;;;44179:68:0;;;;;;;:::i;:::-;61872:7:::1;:18:::0;;-1:-1:-1;;61872:18:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;61901:13:::1;:30:::0;;-1:-1:-1;;;;;;61901:30:0::1;-1:-1:-1::0;;;;;61901:30:0;;;::::1;::::0;;;::::1;::::0;;;61942:16:::1;:36:::0;61989:16:::1;:36:::0;61732:301::o;61589:135::-;44013:7;44040:6;-1:-1:-1;;;;;44040:6:0;42765:10;44187:23;44179:68;;;;-1:-1:-1;;;44179:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;61678:20:0;;;::::1;;::::0;;;:10:::1;:20;::::0;;;;:38;;-1:-1:-1;;61678:38:0::1;::::0;::::1;;::::0;;;::::1;::::0;;61589:135::o;62616:81::-;62665:24;62671:10;62683:5;62665;:24::i;:::-;62616:81;:::o;44618:103::-;44013:7;44040:6;-1:-1:-1;;;;;44040:6:0;42765:10;44187:23;44179:68;;;;-1:-1:-1;;;44179:68:0;;;;;;;:::i;:::-;44683:30:::1;44710:1;44683:18;:30::i;:::-;44618:103::o:0;51436:104::-;51492:13;51525:7;51518:14;;;;;:::i;55654:413::-;42765:10;55747:4;55791:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;55791:34:0;;;;;;;;;;55844:35;;;;55836:85;;;;-1:-1:-1;;;55836:85:0;;5188:2:1;55836:85:0;;;5170:21:1;5227:2;5207:18;;;5200:30;5266:34;5246:18;;;5239:62;-1:-1:-1;;;5317:18:1;;;5310:35;5362:19;;55836:85:0;4986:401:1;55836:85:0;55957:67;42765:10;55980:7;56008:15;55989:16;:34;55957:8;:67::i;:::-;-1:-1:-1;56055:4:0;;55654:413;-1:-1:-1;;;55654:413:0:o;52848:175::-;52934:4;52951:42;42765:10;52975:9;52986:6;52951:9;:42::i;44876:201::-;44013:7;44040:6;-1:-1:-1;;;;;44040:6:0;42765:10;44187:23;44179:68;;;;-1:-1:-1;;;44179:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;44965:22:0;::::1;44957:73;;;::::0;-1:-1:-1;;;44957:73:0;;5594:2:1;44957:73:0::1;::::0;::::1;5576:21:1::0;5633:2;5613:18;;;5606:30;5672:34;5652:18;;;5645:62;-1:-1:-1;;;5723:18:1;;;5716:36;5769:19;;44957:73:0::1;5392:402:1::0;44957:73:0::1;45041:28;45060:8;45041:18;:28::i;59338:380::-:0;-1:-1:-1;;;;;59474:19:0;;59466:68;;;;-1:-1:-1;;;59466:68:0;;6001:2:1;59466:68:0;;;5983:21:1;6040:2;6020:18;;;6013:30;6079:34;6059:18;;;6052:62;-1:-1:-1;;;6130:18:1;;;6123:34;6174:19;;59466:68:0;5799:400:1;59466:68:0;-1:-1:-1;;;;;59553:21:0;;59545:68;;;;-1:-1:-1;;;59545:68:0;;6406:2:1;59545:68:0;;;6388:21:1;6445:2;6425:18;;;6418:30;6484:34;6464:18;;;6457:62;-1:-1:-1;;;6535:18:1;;;6528:32;6577:19;;59545:68:0;6204:398:1;59545:68:0;-1:-1:-1;;;;;59626:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;59678:32;;1533:25:1;;;59678:32:0;;1506:18:1;59678:32:0;;;;;;;;59338:380;;;:::o;56557:733::-;-1:-1:-1;;;;;56697:20:0;;56689:70;;;;-1:-1:-1;;;56689:70:0;;6809:2:1;56689:70:0;;;6791:21:1;6848:2;6828:18;;;6821:30;6887:34;6867:18;;;6860:62;-1:-1:-1;;;6938:18:1;;;6931:35;6983:19;;56689:70:0;6607:401:1;56689:70:0;-1:-1:-1;;;;;56778:23:0;;56770:71;;;;-1:-1:-1;;;56770:71:0;;7215:2:1;56770:71:0;;;7197:21:1;7254:2;7234:18;;;7227:30;7293:34;7273:18;;;7266:62;-1:-1:-1;;;7344:18:1;;;7337:33;7387:19;;56770:71:0;7013:399:1;56770:71:0;56854:47;56875:6;56883:9;56894:6;56854:20;:47::i;:::-;-1:-1:-1;;;;;56938:17:0;;56914:21;56938:17;;;:9;:17;;;;;;56974:23;;;;56966:74;;;;-1:-1:-1;;;56966:74:0;;7619:2:1;56966:74:0;;;7601:21:1;7658:2;7638:18;;;7631:30;7697:34;7677:18;;;7670:62;-1:-1:-1;;;7748:18:1;;;7741:36;7794:19;;56966:74:0;7417:402:1;56966:74:0;-1:-1:-1;;;;;57076:17:0;;;;;;;:9;:17;;;;;;57096:22;;;57076:42;;57140:20;;;;;;;;:30;;57112:6;;57076:17;57140:30;;57112:6;;57140:30;:::i;:::-;;;;;;;;57205:9;-1:-1:-1;;;;;57188:35:0;57197:6;-1:-1:-1;;;;;57188:35:0;;57216:6;57188:35;;;;1533:25:1;;1521:2;1506:18;;1387:177;57188:35:0;;;;;;;;56678:612;56557:733;;;:::o;58309:591::-;-1:-1:-1;;;;;58393:21:0;;58385:67;;;;-1:-1:-1;;;58385:67:0;;8026:2:1;58385:67:0;;;8008:21:1;8065:2;8045:18;;;8038:30;8104:34;8084:18;;;8077:62;-1:-1:-1;;;8155:18:1;;;8148:31;8196:19;;58385:67:0;7824:397:1;58385:67:0;58465:49;58486:7;58503:1;58507:6;58465:20;:49::i;:::-;-1:-1:-1;;;;;58552:18:0;;58527:22;58552:18;;;:9;:18;;;;;;58589:24;;;;58581:71;;;;-1:-1:-1;;;58581:71:0;;8428:2:1;58581:71:0;;;8410:21:1;8467:2;8447:18;;;8440:30;8506:34;8486:18;;;8479:62;-1:-1:-1;;;8557:18:1;;;8550:32;8599:19;;58581:71:0;8226:398:1;58581:71:0;-1:-1:-1;;;;;58688:18:0;;;;;;:9;:18;;;;;58709:23;;;58688:44;;58754:12;:22;;58726:6;;58688:18;58754:22;;58726:6;;58754:22;:::i;:::-;;;;-1:-1:-1;;58794:37:0;;1533:25:1;;;58820:1:0;;-1:-1:-1;;;;;58794:37:0;;;;;1521:2:1;1506:18;58794:37:0;1387:177:1;58844:48:0;58374:526;58309:591;;:::o;45237:191::-;45311:16;45330:6;;-1:-1:-1;;;;;45347:17:0;;;-1:-1:-1;;;;;;45347:17:0;;;;;;45380:40;;45330:6;;;;;;;45380:40;;45311:16;45380:40;45300:128;45237:191;:::o;62041:567::-;-1:-1:-1;;;;;62193:14:0;;;;;;:10;:14;;;;;;;;62192:15;:36;;;;-1:-1:-1;;;;;;62212:16:0;;;;;;:10;:16;;;;;;;;62211:17;62192:36;62184:60;;;;-1:-1:-1;;;62184:60:0;;8964:2:1;62184:60:0;;;8946:21:1;9003:2;8983:18;;;8976:30;-1:-1:-1;;;9022:18:1;;;9015:41;9073:18;;62184:60:0;8762:335:1;62184:60:0;62261:13;;-1:-1:-1;;;;;62261:13:0;62257:148;;44013:7;44040:6;-1:-1:-1;;;;;62313:15:0;;;44040:6;;62313:15;;:32;;-1:-1:-1;44013:7:0;44040:6;-1:-1:-1;;;;;62332:13:0;;;44040:6;;62332:13;62313:32;62305:67;;;;-1:-1:-1;;;62305:67:0;;9304:2:1;62305:67:0;;;9286:21:1;9343:2;9323:18;;;9316:30;-1:-1:-1;;;9362:18:1;;;9355:52;9424:18;;62305:67:0;9102:346:1;62257:148:0;62421:7;;;;:32;;;;-1:-1:-1;62440:13:0;;-1:-1:-1;;;;;62432:21:0;;;62440:13;;62432:21;62421:32;62417:184;;;62510:16;;62500:6;62478:19;62494:2;-1:-1:-1;;;;;52609:18:0;52582:7;52609:18;;;:9;:18;;;;;;;52508:127;62478:19;:28;;;;:::i;:::-;:48;;:100;;;;;62562:16;;62552:6;62530:19;62546:2;-1:-1:-1;;;;;52609:18:0;52582:7;52609:18;;;:9;:18;;;;;;;52508:127;62530:19;:28;;;;:::i;:::-;:48;;62478:100;62470:119;;;;-1:-1:-1;;;62470:119:0;;9655:2:1;62470:119:0;;;9637:21:1;9694:1;9674:18;;;9667:29;-1:-1:-1;;;9712:18:1;;;9705:36;9758:18;;62470:119:0;9453:329:1;14:548;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;1196:186::-;1255:6;1308:2;1296:9;1287:7;1283:23;1279:32;1276:52;;;1324:1;1321;1314:12;1276:52;1347:29;1366:9;1347:29;:::i;:::-;1337:39;1196:186;-1:-1:-1;;;1196:186:1:o;1569:328::-;1646:6;1654;1662;1715:2;1703:9;1694:7;1690:23;1686:32;1683:52;;;1731:1;1728;1721:12;1683:52;1754:29;1773:9;1754:29;:::i;:::-;1744:39;;1802:38;1836:2;1825:9;1821:18;1802:38;:::i;:::-;1792:48;;1887:2;1876:9;1872:18;1859:32;1849:42;;1569:328;;;;;:::o;2091:160::-;2156:20;;2212:13;;2205:21;2195:32;;2185:60;;2241:1;2238;2231:12;2256:391;2339:6;2347;2355;2363;2416:3;2404:9;2395:7;2391:23;2387:33;2384:53;;;2433:1;2430;2423:12;2384:53;2456:26;2472:9;2456:26;:::i;:::-;2446:36;;2501:38;2535:2;2524:9;2520:18;2501:38;:::i;:::-;2256:391;;2491:48;;-1:-1:-1;;;;2586:2:1;2571:18;;2558:32;;2637:2;2622:18;2609:32;;2256:391::o;2652:254::-;2717:6;2725;2778:2;2766:9;2757:7;2753:23;2749:32;2746:52;;;2794:1;2791;2784:12;2746:52;2817:29;2836:9;2817:29;:::i;:::-;2807:39;;2865:35;2896:2;2885:9;2881:18;2865:35;:::i;:::-;2855:45;;2652:254;;;;;:::o;2911:180::-;2970:6;3023:2;3011:9;3002:7;2998:23;2994:32;2991:52;;;3039:1;3036;3029:12;2991:52;-1:-1:-1;3062:23:1;;2911:180;-1:-1:-1;2911:180:1:o;3304:260::-;3372:6;3380;3433:2;3421:9;3412:7;3408:23;3404:32;3401:52;;;3449:1;3446;3439:12;3401:52;3472:29;3491:9;3472:29;:::i;:::-;3462:39;;3520:38;3554:2;3543:9;3539:18;3520:38;:::i;3569:380::-;3648:1;3644:12;;;;3691;;;3712:61;;3766:4;3758:6;3754:17;3744:27;;3712:61;3819:2;3811:6;3808:14;3788:18;3785:38;3782:161;;3865:10;3860:3;3856:20;3853:1;3846:31;3900:4;3897:1;3890:15;3928:4;3925:1;3918:15;3782:161;;3569:380;;;:::o;4363:127::-;4424:10;4419:3;4415:20;4412:1;4405:31;4455:4;4452:1;4445:15;4479:4;4476:1;4469:15;4495:125;4560:9;;;4581:10;;;4578:36;;;4594:18;;:::i;4625:356::-;4827:2;4809:21;;;4846:18;;;4839:30;4905:34;4900:2;4885:18;;4878:62;4972:2;4957:18;;4625:356::o;8629:128::-;8696:9;;;8717:11;;;8714:37;;;8731:18;;:::i
Swarm Source
ipfs://697e94615f4df9fd50cf713645d0517f47f233c6b378e643d9306c856c61a82a
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.