Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
69,420,000,000,000 SHAKEY
Holders
75
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
62,393,218,370,170,422.131519533 SHAKEYValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Shakey
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** * @notice My name is Shakey and I am the world's first AI robot. I was developed back in 1966. * I live on the ethereum blockchain. * * WEB: https://shakey-erc.com * TG: https://t.me/ShakeyERC * X: https://x.com/ShakeyERC * * 🤖 MAKE AI GREAT AGAIN 🧢 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import {IERC20Errors} from "@openzeppelin/contracts/interfaces/draft-IERC6093.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol"; import "./@shakey/contracts/tax/Taxable.sol"; /** * @title Shakey token contract */ contract Shakey is IERC20, IERC20Errors, Ownable, Taxable { /// @dev Emitted when ETH is received by contract. event Received(address sender, uint amount); /** * @dev This finction allows to receive ETH by the contract. */ receive() external payable { emit Received(msg.sender, msg.value); } /** * @dev Limit of 3 sells per block is exceeded. * @param limit Maximum amount of sell transactions per block. */ error MaxSellsPerBlockExceeded(uint256 limit); /** * @dev Max Buy, Sell or Transfer limit is exceeded. * @param limit Maximum amount of tokens per transaction. * @param value Amount of tokens requested to be transfered. */ error MaxTxLimitExceeded(uint256 limit, uint256 value); /** * @dev Max Holding limit is exceeded. * @param limit Maximum amount of tokens allowed to be held. * @param value Amount of tokens, held by receiver, if transfer succeeds. */ error MaxHoldingLimitExceeded(uint256 limit, uint256 value); /** * @dev Trading can not be opened twice. */ error TradingAlreadyOpened(); /// @dev Registry of users token balances. mapping(address => uint256) private _balances; /// @dev Registry of addresses users have given allowances to. mapping(address => mapping(address => uint256)) private _allowances; /// @dev Name of the token. string private _name; /// @dev Symbol of the token. string private _symbol; /// @dev Size of the max Buy, Sell, Transfer and Holding amount. uint256 private _maxTxLimit; /// @dev Emitted when the max buy is changed. event MaxTxLimitChanged(uint256 newValue); /// @dev Emitted when the trading is opened. event TradingOpened(); /// @dev Emitted when sells per block limit state is changed. event SellsPerBlockLimitChanged(); /// @dev Uniswap router interface. IUniswapV2Router01 private uniswapV2Router; /// @dev Uniswap pair address. address private uniswapV2Pair; /// @dev Trading status. bool private tradingOpen; /// @dev State of max 3 sells per block restriction. bool private sellsPerBlockRestriction; /// @dev Number of sells counter. uint256 private sellCount; /// @dev Number of the most recent block with sell tx. uint256 private lastSellBlock; /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner, * setting tax wallet from params, also initialazing some basic variables, minting supply, * setting max tx limit at 2% and enabling 3 sells per block limit. * @param name_ Name of the token. * @param symbol_ Symbol of the token. * @param taxWallet_ Address of the tax wallet. */ constructor( string memory name_, string memory symbol_, address taxWallet_ ) Ownable(_msgSender()) Taxable(taxWallet_) { _name = name_; _symbol = symbol_; tradingOpen = false; sellCount = 0; lastSellBlock = 0; _balances[_msgSender()] = totalSupply(); emit Transfer(address(0), _msgSender(), totalSupply()); _changeMaxTxLimit(13884e8 * 1e9); _changeSellsPerBlockLimit(true); } /** * @dev Removes max Buy, Sell, Transfer and Holding limit and 3 sells per block limit * sets tax to 0%. * @return bool representing whether removal of limit succeeded or not. */ function removeLimits() public onlyOwner returns (bool) { _changeMaxTxLimit(type(uint).max); _changeSellsPerBlockLimit(false); _changeTax(0); return true; } /** * @dev Changes the max Buy, Sell, Transfer and Holding limit. * Emits a {MaxTxLimitChanged} event. * * @param value Value of the new limit. */ function _changeMaxTxLimit(uint256 value) internal { _maxTxLimit = value; emit MaxTxLimitChanged(value); } /** * @dev Get max Buy, Sell, Transfer and Holding limit. * @return Number of limit. */ function maxTxLimit() public view returns (uint256) { return _maxTxLimit; } /** * @dev Show the current sell per block limit state. * @return bool representing whether limit is enalbed or not. */ function isSellsPerBlockLimitEnabled() public view returns (bool) { return sellsPerBlockRestriction; } /** * @dev Changes sell per block limit; * Emit a {SellsPerBlockLimitChanged} event. * * @param value New limit state */ function _changeSellsPerBlockLimit(bool value) internal { sellsPerBlockRestriction = value; emit SellsPerBlockLimitChanged(); } /** * @dev Get token name. * @return Name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Get token symbol. * @return string Symbol of the token. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Get number of decimals used by the token. * @return uint8 representing number of decimals used by the token. */ function decimals() public pure returns (uint8) { return 9; } /** * @dev Get the maximum number of tokens. * @return uint256 representing maximum number of tokens that will ever be in existence. */ function totalSupply() public pure returns (uint256) { // 69 trillion and 420 billion, i.e., 69,420,000,000,000 tokens. return 6942e10 * 1e9; } /** * @dev Get token balance for a given account. * @param account Address to retrieve balance for. * @return uint256 representing number of tokens owned by `account`. */ function balanceOf(address account) public view returns (uint256) { return _balances[account]; } /** * @dev Transfer tokens from caller's address to another. * @param recipient Address to send the caller's tokens to. * @param amount Number of tokens to transfer to recipient. * @return bool representing whether transfer succeeded or not. */ function transfer(address recipient, uint256 amount) public returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev Get the allowance `owner` has given to `spender`. * @param owner Address who owns the tokens. * @param spender Address authorized to spend tokens on behalf of `owner`. * @return uitn256 representing allowance `owner` has given `spender`. */ function allowance( address owner, address spender ) public view returns (uint256) { return _allowances[owner][spender]; } /** * @dev Approve address to spend caller's tokens. * @param spender Address to authorize for token expenditure. * @param value Number of tokens `spender` is allowed to spend. * @return bool representing whether the approval succeeded or not. */ function approve(address spender, uint256 value) public returns (bool) { _approve(_msgSender(), spender, value); return true; } /** * @dev Transfer tokens from one address to another. * Use uncheked here to avoid unnecessary overflow/underflow checks to save some gas, since in * Solidity versions 0.8.0 and above, arithmetic operations are automatically checked for overflow and * underflow. This provides additional safety but consumes more gas. In this specific case, the subtraction * currentAllowance - amount is guaranteed to never underflow because of the require statement just above * it. We know that currentAllowance >= amount, so the subtraction will always produce a valid result. * @param from Address to transfer tokens from. * @param to Address to transfer the sender's tokens to. * @param value The number of tokens to transfer to recipient. * @return bool representing whether the transfer succeeded or not. */ function transferFrom( address from, address to, uint256 value ) public returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Approve spender on behalf of owner. * Emits an {Approval} event. * * @param owner Address on behalf of whom tokens can be spent by `spender`. * @param spender Address to authorize for token expenditure. * @param amount Number of tokens `spender` is allowed to spend. */ function _approve(address owner, address spender, uint256 amount) internal { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * Does not emit an {Approval} event. * @param owner Address on behalf of whom tokens can be spent by `spender` * @param spender Address to authorize for token expenditure. * @param value Number of tokens `spender` is allowed to spend. */ function _spendAllowance( address owner, address spender, uint256 value ) internal { uint256 currentAllowance = this.allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance( spender, currentAllowance, value ); } unchecked { _approve(owner, spender, currentAllowance - value); } } } /** * @dev Moves a `value` amount of tokens from `from` to `to`. Also calculates * and moves tax to tax wallet, and controls the max 3 sells per block limit. * Emits a {Transfer} event. * * @param from Address the tokens are moved from. * @param to Address the tokens are moved to. * @param value Number of tokens to transfer. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } uint256 toBalance = _balances[to]; uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } if (!_isExcludedAddress(from) && !_isExcludedAddress(to)) { if (value > _maxTxLimit) { revert MaxTxLimitExceeded(_maxTxLimit, value); } if (to == uniswapV2Pair && sellsPerBlockRestriction) { if (block.number > lastSellBlock) { sellCount = 1; lastSellBlock = block.number; } else { if (sellCount >= 3) { revert MaxSellsPerBlockExceeded(3); } sellCount += 1; } } uint256 taxAmount = (value / 1000) * taxValue(); if ((toBalance + value - taxAmount) > _maxTxLimit) { revert MaxHoldingLimitExceeded( _maxTxLimit, (toBalance + value - taxAmount) ); } unchecked { // Overflow not possible: fromBalance >= value. _balances[from] = fromBalance - value; // Overflow not possible: toBalance + value <= totalSupply. _balances[to] = toBalance + (value - taxAmount); } emit Transfer(from, to, (value - taxAmount)); unchecked { // Overflow not possible: balance + taxAmount <= totalSupply. _balances[taxWallet()] = _balances[taxWallet()] + taxAmount; } emit Transfer(from, taxWallet(), taxAmount); } else { unchecked { // Overflow not possible: fromBalance >= value. _balances[from] = fromBalance - value; // Overflow not possible: toBalance + value <= totalSupply. _balances[to] = toBalance + value; } emit Transfer(from, to, value); } } /** * @dev Checks if the wallet is owner, tax wallet or contract itself * @param addr Address of the comparable wallet * @return bool representing whether `addr` is owner, tax wallet or contract itself */ function _isExcludedAddress(address addr) internal view returns (bool) { return addr == owner() || addr == address(this); } /** * @dev Opens trading. * @param routerAddress Address of the Uniswap Router. * @return bool representing whether trading opening succeeded or not. */ function openTrading( address routerAddress ) public onlyOwner returns (bool) { _openTrading(routerAddress); return true; } /** * @dev Creates Uniswap Pair and adds liquidity, thus opening trading. * Emits a {TradingOpened} event. * * @param routerAddress Address of the Uniswap Router. */ function _openTrading(address routerAddress) internal { if (tradingOpen) { revert TradingAlreadyOpened(); } uniswapV2Router = IUniswapV2Router01(routerAddress); _approve(address(this), address(uniswapV2Router), totalSupply()); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair( address(this), uniswapV2Router.WETH() ); uniswapV2Router.addLiquidityETH{value: address(this).balance}( address(this), this.balanceOf(address(this)), 0, 0, owner(), block.timestamp ); IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max); tradingOpen = true; emit TradingOpened(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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 v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @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 value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev Contract module which provides a basic tax control mechanism, where * there is an tax wallet that can be granted exclusive access to * specific functions. */ abstract contract Taxable is Context { /// @dev Address of the tax wallet. address private _taxWallet; /// @dev Initial Buy, Sell and Transfer tax. uint256 private _currentTax; /** * @dev The caller account is not authorized to perform an operation. * @param account Address of the unauthorized wallet. */ error TaxableUnauthorizedAccount(address account); /** * @dev The caller is not a valid tax wallet. (eg. `address(0)`). * @param account Address, which can not be a valid tax wallet. */ error TaxableInvalidWallet(address account); /** * @dev The new tax value is not valid (eg. greater equal to previous one). * @param value Not valid number (eg. greater equal to previous one). */ error TaxableInvalidValue(uint256 value); /// @dev Emitted when the tax is changed. event TaxChanged(uint256 oldValue, uint256 newValue); /// @dev Emitted when the tax wallet is changed. event TaxWalletChanged( address indexed oldTaxWallet, address indexed newTaxWallet ); /** * @dev Initializes the contract setting the tax wallet and 25.0% tax. * @param taxWallet_ Address of the tax wallet. */ constructor(address taxWallet_) { _changeTax(250); _setTaxWallet(taxWallet_); } /** * @dev Throws if called by any account other than the tax wallet. */ modifier onlyTaxWallet() { _checkTaxWallet(); _; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyContractOwner() { _checkOwnerWallet(); _; } /** * @dev Returns the address of the current tax wallet. */ function taxWallet() public view virtual returns (address) { return _taxWallet; } /** * @dev Throws if the sender is not the tax wallet. */ function _checkTaxWallet() internal view virtual { if (taxWallet() != _msgSender()) { revert TaxableUnauthorizedAccount(_msgSender()); } } /** * @dev Throws if the sender is not the owner wallet. */ function _checkOwnerWallet() internal view virtual { if (Ownable(address(this)).owner() != _msgSender()) { revert TaxableUnauthorizedAccount(_msgSender()); } } /** * @dev Returns the value of the current tax. */ function taxValue() public view virtual returns (uint256) { return _currentTax; } /** * @dev Sets new tax value. * @param newTax New tax vlaue. */ function changeTax(uint256 newTax) public virtual onlyContractOwner { if (newTax >= _currentTax) { revert TaxableInvalidValue(newTax); } _changeTax(newTax); } /** * @dev Sets new tax value. * Internal function without access restriction. * @param newTax New tax vlaue. */ function _changeTax(uint256 newTax) internal virtual { uint256 oldTax = _currentTax; _currentTax = newTax; emit TaxChanged(oldTax, newTax); } /** * @dev Changes tax receiver of the contract to a new account. * @param newTaxWallet Address of the new tax wallet. */ function changeTaxWallet( address newTaxWallet ) public virtual onlyContractOwner { if (newTaxWallet == address(0)) { revert TaxableInvalidWallet(address(0)); } _setTaxWallet(newTaxWallet); } /** * @dev Changes the tax wallet. * Internal function without access restriction. * @param newTaxWallet Address of the new tax wallet. */ function _setTaxWallet(address newTaxWallet) internal virtual { address oldTaxWallet = _taxWallet; _taxWallet = newTaxWallet; emit TaxWalletChanged(oldTaxWallet, newTaxWallet); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"taxWallet_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"MaxHoldingLimitExceeded","type":"error"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"MaxSellsPerBlockExceeded","type":"error"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"MaxTxLimitExceeded","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"TaxableInvalidValue","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"TaxableInvalidWallet","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"TaxableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"TradingAlreadyOpened","type":"error"},{"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":"newValue","type":"uint256"}],"name":"MaxTxLimitChanged","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":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Received","type":"event"},{"anonymous":false,"inputs":[],"name":"SellsPerBlockLimitChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"TaxChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldTaxWallet","type":"address"},{"indexed":true,"internalType":"address","name":"newTaxWallet","type":"address"}],"name":"TaxWalletChanged","type":"event"},{"anonymous":false,"inputs":[],"name":"TradingOpened","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":"value","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":"uint256","name":"newTax","type":"uint256"}],"name":"changeTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTaxWallet","type":"address"}],"name":"changeTaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"isSellsPerBlockLimitEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"routerAddress","type":"address"}],"name":"openTrading","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801561001057600080fd5b5060405161193438038061193483398101604081905261002f9161035a565b80338061005657604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b61005f8161013c565b5061006a60fa61018c565b610073816101d1565b506005610080848261046e565b50600661008d838261046e565b506009805460ff60a01b191690556000600a819055600b55690eb344079513a130000060036000336001600160a01b03168152602081019190915260400160002055336001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef690eb344079513a130000060405190815260200160405180910390a361012a684b43ebabf108580000610223565b610134600161025e565b50505061052c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600280549082905560408051828152602081018490527f4ac0d6b0d694ec6c120242feaca94cfb6fbfe646756cd7026301e3a5984f0450910160405180910390a15050565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f0a3568000da48cc6e5e2c8e7a94d1bfa3607d1734c7dbd7b04ac9d77316b471a90600090a35050565b60078190556040518181527fecf3ea07ace787bbeae6f3661288c07b4c0e050b18ac698eb96b96ce66b501c19060200160405180910390a150565b6009805460ff60a81b1916600160a81b831515021790556040517f6dadb2a41bb901431808a0fe8b3d380b22cff77c0b6455d1d9352ae74626292090600090a150565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126102c857600080fd5b81516001600160401b038111156102e1576102e16102a1565b604051601f8201601f19908116603f011681016001600160401b038111828210171561030f5761030f6102a1565b60405281815283820160200185101561032757600080fd5b60005b828110156103465760208186018101518383018201520161032a565b506000918101602001919091529392505050565b60008060006060848603121561036f57600080fd5b83516001600160401b0381111561038557600080fd5b610391868287016102b7565b602086015190945090506001600160401b038111156103af57600080fd5b6103bb868287016102b7565b604086015190935090506001600160a01b03811681146103da57600080fd5b809150509250925092565b600181811c908216806103f957607f821691505b60208210810361041957634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561046957806000526020600020601f840160051c810160208510156104465750805b601f840160051c820191505b818110156104665760008155600101610452565b50505b505050565b81516001600160401b03811115610487576104876102a1565b61049b8161049584546103e5565b8461041f565b6020601f8211600181146104cf57600083156104b75750848201515b600019600385901b1c1916600184901b178455610466565b600084815260208120601f198516915b828110156104ff57878501518255602094850194600190920191016104df565b508482101561051d5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b6113f98061053b6000396000f3fe6080604052600436106101235760003560e01c8063751039fc116100a0578063c9894b5c11610064578063c9894b5c14610360578063ca72a4e714610375578063cb71159514610395578063dd62ed3e146103b5578063f2fde38b146103fb57600080fd5b8063751039fc146102e35780638036d590146102f85780638da5cb5b1461030d57806395d89b411461032b578063a9059cbb1461034057600080fd5b80632dc0562d116100e75780632dc0562d14610228578063313ce5671461025a5780633e45c8af1461027657806370a0823114610298578063715018a6146102ce57600080fd5b806306fdde0314610167578063095ea7b31461019257806313b4715b146101c257806318160ddd146101e157806323b872dd1461020857600080fd5b3661016257604080513381523460208201527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874910160405180910390a1005b600080fd5b34801561017357600080fd5b5061017c61041b565b6040516101899190611148565b60405180910390f35b34801561019e57600080fd5b506101b26101ad3660046111ab565b6104ad565b6040519015158152602001610189565b3480156101ce57600080fd5b50600954600160a81b900460ff166101b2565b3480156101ed57600080fd5b50690eb344079513a13000005b604051908152602001610189565b34801561021457600080fd5b506101b26102233660046111d7565b6104c4565b34801561023457600080fd5b506001546001600160a01b03165b6040516001600160a01b039091168152602001610189565b34801561026657600080fd5b5060405160098152602001610189565b34801561028257600080fd5b50610296610291366004611218565b6104e8565b005b3480156102a457600080fd5b506101fa6102b3366004611231565b6001600160a01b031660009081526003602052604090205490565b3480156102da57600080fd5b50610296610526565b3480156102ef57600080fd5b506101b261053a565b34801561030457600080fd5b506007546101fa565b34801561031957600080fd5b506000546001600160a01b0316610242565b34801561033757600080fd5b5061017c610569565b34801561034c57600080fd5b506101b261035b3660046111ab565b610578565b34801561036c57600080fd5b506002546101fa565b34801561038157600080fd5b506101b2610390366004611231565b610585565b3480156103a157600080fd5b506102966103b0366004611231565b6105a0565b3480156103c157600080fd5b506101fa6103d0366004611255565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561040757600080fd5b50610296610416366004611231565b6105db565b60606005805461042a9061128e565b80601f01602080910402602001604051908101604052809291908181526020018280546104569061128e565b80156104a35780601f10610478576101008083540402835291602001916104a3565b820191906000526020600020905b81548152906001019060200180831161048657829003601f168201915b5050505050905090565b60006104ba338484610616565b5060015b92915050565b6000336104d28582856106cb565b6104dd858585610796565b506001949350505050565b6104f0610b3e565b600254811061051a5760405163166e6c3360e31b8152600481018290526024015b60405180910390fd5b61052381610bd3565b50565b61052e610c18565b6105386000610c45565b565b6000610544610c18565b61054f600019610c95565b6105596000610cd0565b6105636000610bd3565b50600190565b60606006805461042a9061128e565b60006104ba338484610796565b600061058f610c18565b61059882610d13565b506001919050565b6105a8610b3e565b6001600160a01b0381166105d257604051630f6cd06360e11b815260006004820152602401610511565b610523816110cc565b6105e3610c18565b6001600160a01b03811661060d57604051631e4fbdf760e01b815260006004820152602401610511565b61052381610c45565b6001600160a01b0383166106405760405163e602df0560e01b815260006004820152602401610511565b6001600160a01b03821661066a57604051634a1406b160e11b815260006004820152602401610511565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b604051636eb1769f60e11b81526001600160a01b03808516600483015283166024820152600090309063dd62ed3e90604401602060405180830381865afa15801561071a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073e91906112c8565b90506000198114610790578181101561078357604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610511565b6107908484848403610616565b50505050565b6001600160a01b0383166107c057604051634b637e8f60e11b815260006004820152602401610511565b6001600160a01b0382166107ea5760405163ec442f0560e01b815260006004820152602401610511565b6001600160a01b03808316600090815260036020526040808220549286168252902054828110156108475760405163391434e360e21b81526001600160a01b03861660048201526024810182905260448101849052606401610511565b6108508561111e565b15801561086357506108618461111e565b155b15610acf576007548311156108995760075460405163c1a8165560e01b8152600481019190915260248101849052604401610511565b6009546001600160a01b0385811691161480156108bf5750600954600160a81b900460ff165b1561091b57600b544311156108dc576001600a5543600b5561091b565b6003600a54106109025760405163109ff30360e21b815260036004820152602401610511565b6001600a600082825461091591906112f7565b90915550505b600061092660025490565b6109326103e88661130a565b61093c919061132c565b6007549091508161094d86866112f7565b6109579190611343565b1115610997576007548161096b86866112f7565b6109759190611343565b60405163c845a0c560e01b815260048101929092526024820152604401610511565b6001600160a01b038087166000818152600360205260408082208887039055928816808252929020838703860190557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6109f18488611343565b60405190815260200160405180910390a38060036000610a196001546001600160a01b031690565b6001600160a01b03166001600160a01b03168152602001908152602001600020540160036000610a516001546001600160a01b031690565b6001600160a01b03168152602081019190915260400160002055610a7d6001546001600160a01b031690565b6001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610ac191815260200190565b60405180910390a350610b37565b6001600160a01b03808616600081815260036020526040808220878603905592871680825290839020858701905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610b2e9087815260200190565b60405180910390a35b5050505050565b336001600160a01b0316306001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610baa9190611356565b6001600160a01b03161461053857604051630ca6b49560e21b8152336004820152602401610511565b600280549082905560408051828152602081018490527f4ac0d6b0d694ec6c120242feaca94cfb6fbfe646756cd7026301e3a5984f0450910160405180910390a15050565b6000546001600160a01b031633146105385760405163118cdaa760e01b8152336004820152602401610511565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60078190556040518181527fecf3ea07ace787bbeae6f3661288c07b4c0e050b18ac698eb96b96ce66b501c19060200160405180910390a150565b6009805460ff60a81b1916600160a81b831515021790556040517f6dadb2a41bb901431808a0fe8b3d380b22cff77c0b6455d1d9352ae74626292090600090a150565b600954600160a01b900460ff1615610d3e57604051638bf8a43f60e01b815260040160405180910390fd5b600880546001600160a01b0319166001600160a01b038316908117909155610d72903090690eb344079513a1300000610616565b600860009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de99190611356565b6001600160a01b031663c9c6539630600860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6f9190611356565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610ebc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee09190611356565b600980546001600160a01b0319166001600160a01b039283161790556008546040516370a0823160e01b81523060048201819052919092169163f305d71991479181906370a0823190602401602060405180830381865afa158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906112c8565b600080610f826000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610fea573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061100f9190611373565b505060095460085460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015611068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108c91906113a1565b506009805460ff60a01b1916600160a01b1790556040517fea4359d5c4b8f0945a64ab9c37fe830b3407d45e0e6e6f84275977a570457d6f90600090a150565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f0a3568000da48cc6e5e2c8e7a94d1bfa3607d1734c7dbd7b04ac9d77316b471a90600090a35050565b600080546001600160a01b03838116911614806104be57506001600160a01b038216301492915050565b602081526000825180602084015260005b818110156111765760208186018101516040868401015201611159565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b038116811461052357600080fd5b600080604083850312156111be57600080fd5b82356111c981611196565b946020939093013593505050565b6000806000606084860312156111ec57600080fd5b83356111f781611196565b9250602084013561120781611196565b929592945050506040919091013590565b60006020828403121561122a57600080fd5b5035919050565b60006020828403121561124357600080fd5b813561124e81611196565b9392505050565b6000806040838503121561126857600080fd5b823561127381611196565b9150602083013561128381611196565b809150509250929050565b600181811c908216806112a257607f821691505b6020821081036112c257634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156112da57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104be576104be6112e1565b60008261132757634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176104be576104be6112e1565b818103818111156104be576104be6112e1565b60006020828403121561136857600080fd5b815161124e81611196565b60008060006060848603121561138857600080fd5b5050815160208301516040909301519094929350919050565b6000602082840312156113b357600080fd5b8151801515811461124e57600080fdfea2646970667358221220eec0ddfb2ac3762f5d2231c636d2fb5e8d5f3b3ba07d7d61a7bee08078eab56164736f6c634300081a0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000060228c41cb1373a2f54e6a3d931f8bba14c8152a00000000000000000000000000000000000000000000000000000000000000065368616b6579000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065348414b45590000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101235760003560e01c8063751039fc116100a0578063c9894b5c11610064578063c9894b5c14610360578063ca72a4e714610375578063cb71159514610395578063dd62ed3e146103b5578063f2fde38b146103fb57600080fd5b8063751039fc146102e35780638036d590146102f85780638da5cb5b1461030d57806395d89b411461032b578063a9059cbb1461034057600080fd5b80632dc0562d116100e75780632dc0562d14610228578063313ce5671461025a5780633e45c8af1461027657806370a0823114610298578063715018a6146102ce57600080fd5b806306fdde0314610167578063095ea7b31461019257806313b4715b146101c257806318160ddd146101e157806323b872dd1461020857600080fd5b3661016257604080513381523460208201527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874910160405180910390a1005b600080fd5b34801561017357600080fd5b5061017c61041b565b6040516101899190611148565b60405180910390f35b34801561019e57600080fd5b506101b26101ad3660046111ab565b6104ad565b6040519015158152602001610189565b3480156101ce57600080fd5b50600954600160a81b900460ff166101b2565b3480156101ed57600080fd5b50690eb344079513a13000005b604051908152602001610189565b34801561021457600080fd5b506101b26102233660046111d7565b6104c4565b34801561023457600080fd5b506001546001600160a01b03165b6040516001600160a01b039091168152602001610189565b34801561026657600080fd5b5060405160098152602001610189565b34801561028257600080fd5b50610296610291366004611218565b6104e8565b005b3480156102a457600080fd5b506101fa6102b3366004611231565b6001600160a01b031660009081526003602052604090205490565b3480156102da57600080fd5b50610296610526565b3480156102ef57600080fd5b506101b261053a565b34801561030457600080fd5b506007546101fa565b34801561031957600080fd5b506000546001600160a01b0316610242565b34801561033757600080fd5b5061017c610569565b34801561034c57600080fd5b506101b261035b3660046111ab565b610578565b34801561036c57600080fd5b506002546101fa565b34801561038157600080fd5b506101b2610390366004611231565b610585565b3480156103a157600080fd5b506102966103b0366004611231565b6105a0565b3480156103c157600080fd5b506101fa6103d0366004611255565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561040757600080fd5b50610296610416366004611231565b6105db565b60606005805461042a9061128e565b80601f01602080910402602001604051908101604052809291908181526020018280546104569061128e565b80156104a35780601f10610478576101008083540402835291602001916104a3565b820191906000526020600020905b81548152906001019060200180831161048657829003601f168201915b5050505050905090565b60006104ba338484610616565b5060015b92915050565b6000336104d28582856106cb565b6104dd858585610796565b506001949350505050565b6104f0610b3e565b600254811061051a5760405163166e6c3360e31b8152600481018290526024015b60405180910390fd5b61052381610bd3565b50565b61052e610c18565b6105386000610c45565b565b6000610544610c18565b61054f600019610c95565b6105596000610cd0565b6105636000610bd3565b50600190565b60606006805461042a9061128e565b60006104ba338484610796565b600061058f610c18565b61059882610d13565b506001919050565b6105a8610b3e565b6001600160a01b0381166105d257604051630f6cd06360e11b815260006004820152602401610511565b610523816110cc565b6105e3610c18565b6001600160a01b03811661060d57604051631e4fbdf760e01b815260006004820152602401610511565b61052381610c45565b6001600160a01b0383166106405760405163e602df0560e01b815260006004820152602401610511565b6001600160a01b03821661066a57604051634a1406b160e11b815260006004820152602401610511565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b604051636eb1769f60e11b81526001600160a01b03808516600483015283166024820152600090309063dd62ed3e90604401602060405180830381865afa15801561071a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073e91906112c8565b90506000198114610790578181101561078357604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610511565b6107908484848403610616565b50505050565b6001600160a01b0383166107c057604051634b637e8f60e11b815260006004820152602401610511565b6001600160a01b0382166107ea5760405163ec442f0560e01b815260006004820152602401610511565b6001600160a01b03808316600090815260036020526040808220549286168252902054828110156108475760405163391434e360e21b81526001600160a01b03861660048201526024810182905260448101849052606401610511565b6108508561111e565b15801561086357506108618461111e565b155b15610acf576007548311156108995760075460405163c1a8165560e01b8152600481019190915260248101849052604401610511565b6009546001600160a01b0385811691161480156108bf5750600954600160a81b900460ff165b1561091b57600b544311156108dc576001600a5543600b5561091b565b6003600a54106109025760405163109ff30360e21b815260036004820152602401610511565b6001600a600082825461091591906112f7565b90915550505b600061092660025490565b6109326103e88661130a565b61093c919061132c565b6007549091508161094d86866112f7565b6109579190611343565b1115610997576007548161096b86866112f7565b6109759190611343565b60405163c845a0c560e01b815260048101929092526024820152604401610511565b6001600160a01b038087166000818152600360205260408082208887039055928816808252929020838703860190557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6109f18488611343565b60405190815260200160405180910390a38060036000610a196001546001600160a01b031690565b6001600160a01b03166001600160a01b03168152602001908152602001600020540160036000610a516001546001600160a01b031690565b6001600160a01b03168152602081019190915260400160002055610a7d6001546001600160a01b031690565b6001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610ac191815260200190565b60405180910390a350610b37565b6001600160a01b03808616600081815260036020526040808220878603905592871680825290839020858701905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610b2e9087815260200190565b60405180910390a35b5050505050565b336001600160a01b0316306001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610baa9190611356565b6001600160a01b03161461053857604051630ca6b49560e21b8152336004820152602401610511565b600280549082905560408051828152602081018490527f4ac0d6b0d694ec6c120242feaca94cfb6fbfe646756cd7026301e3a5984f0450910160405180910390a15050565b6000546001600160a01b031633146105385760405163118cdaa760e01b8152336004820152602401610511565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60078190556040518181527fecf3ea07ace787bbeae6f3661288c07b4c0e050b18ac698eb96b96ce66b501c19060200160405180910390a150565b6009805460ff60a81b1916600160a81b831515021790556040517f6dadb2a41bb901431808a0fe8b3d380b22cff77c0b6455d1d9352ae74626292090600090a150565b600954600160a01b900460ff1615610d3e57604051638bf8a43f60e01b815260040160405180910390fd5b600880546001600160a01b0319166001600160a01b038316908117909155610d72903090690eb344079513a1300000610616565b600860009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de99190611356565b6001600160a01b031663c9c6539630600860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6f9190611356565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610ebc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee09190611356565b600980546001600160a01b0319166001600160a01b039283161790556008546040516370a0823160e01b81523060048201819052919092169163f305d71991479181906370a0823190602401602060405180830381865afa158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906112c8565b600080610f826000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610fea573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061100f9190611373565b505060095460085460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015611068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108c91906113a1565b506009805460ff60a01b1916600160a01b1790556040517fea4359d5c4b8f0945a64ab9c37fe830b3407d45e0e6e6f84275977a570457d6f90600090a150565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f0a3568000da48cc6e5e2c8e7a94d1bfa3607d1734c7dbd7b04ac9d77316b471a90600090a35050565b600080546001600160a01b03838116911614806104be57506001600160a01b038216301492915050565b602081526000825180602084015260005b818110156111765760208186018101516040868401015201611159565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b038116811461052357600080fd5b600080604083850312156111be57600080fd5b82356111c981611196565b946020939093013593505050565b6000806000606084860312156111ec57600080fd5b83356111f781611196565b9250602084013561120781611196565b929592945050506040919091013590565b60006020828403121561122a57600080fd5b5035919050565b60006020828403121561124357600080fd5b813561124e81611196565b9392505050565b6000806040838503121561126857600080fd5b823561127381611196565b9150602083013561128381611196565b809150509250929050565b600181811c908216806112a257607f821691505b6020821081036112c257634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156112da57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104be576104be6112e1565b60008261132757634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176104be576104be6112e1565b818103818111156104be576104be6112e1565b60006020828403121561136857600080fd5b815161124e81611196565b60008060006060848603121561138857600080fd5b5050815160208301516040909301519094929350919050565b6000602082840312156113b357600080fd5b8151801515811461124e57600080fdfea2646970667358221220eec0ddfb2ac3762f5d2231c636d2fb5e8d5f3b3ba07d7d61a7bee08078eab56164736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000060228c41cb1373a2f54e6a3d931f8bba14c8152a00000000000000000000000000000000000000000000000000000000000000065368616b6579000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065348414b45590000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Shakey
Arg [1] : symbol_ (string): SHAKEY
Arg [2] : taxWallet_ (address): 0x60228C41cB1373a2F54E6a3D931f8bbA14C8152a
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000060228c41cb1373a2f54e6a3d931f8bba14c8152a
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [4] : 5368616b65790000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [6] : 5348414b45590000000000000000000000000000000000000000000000000000
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.