ERC-20
Overview
Max Total Supply
10,000,000 $TOKI
Holders
161
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.348256840567815937 $TOKIValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Tokibot
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 500 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** TokiBot Toki Bot is a Telegram bot that was created with the aim of making contract creation accessible to everyone. Website: https://tokibot.xyz/ Twitter: https://twitter.com/tokigenerator Telegram: t.me/tokigenerator Telegram Bot: t.me/tokigenerator_bot **/ // SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; contract Tokibot is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; address public constant deadAddress = address(0xdead); bool private swapping; address public revShareWallet; address public teamWallet; uint256 public maxTradingAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; bool public blacklistRenounced = false; // Anti-bot and anti-whale mappings and variables mapping(address => bool) blacklisted; uint256 constant FEE_BASE = 1000; // uint256 public buyTotalFees; // buy fee uint256 public sellTotalFees; // sell fee uint256 public revShareFee; uint256 public liquidityFee; uint256 public teamFee; uint256 public tokensForRevShare; uint256 public tokensForLiquidity; uint256 public tokensForTeam; /******************/ // exclude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTradingAmount; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping(address => bool) public automatedMarketMakerPairs; event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event revShareWalletUpdated( address indexed newWallet, address indexed oldWallet ); event teamWalletUpdated( address indexed newWallet, address indexed oldWallet ); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); constructor( string memory name, string memory symbol, uint256 maxTradingAmount_, uint256 maxWallet_, uint256 revFee_, uint256 liquidityFee_, uint256 sellFee_, uint256 buyFee_, address revShareWallet_ ) ERC20(name, symbol) { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); excludeFromMaxTrading(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTrading(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); uint256 totalSupply = 10_000_000 * 1e18; swapTokensAtAmount = (totalSupply * 5) / 10000; // 0.05%: 5000 maxTradingAmount = maxTradingAmount_ * 1e18; maxWallet = maxWallet_ * 1e18; revShareFee = revFee_; liquidityFee = liquidityFee_; teamFee = FEE_BASE - revFee_ - liquidityFee_; // 5% fee for buy/sell buyTotalFees = buyFee_; sellTotalFees = sellFee_; revShareWallet = revShareWallet_; teamWallet = msg.sender; // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTrading(owner(), true); excludeFromMaxTrading(address(this), true); excludeFromMaxTrading(address(0xdead), true); /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(msg.sender, totalSupply); } receive() external payable {} // once enabled, can never be turned off function startNow() external onlyOwner { tradingActive = true; swapEnabled = true; } // remove limits after token is stable function removeLimits() external onlyOwner returns (bool) { limitsInEffect = false; return true; } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount( uint256 newAmount ) external onlyOwner returns (bool) { require( newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply." ); require( newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply." ); swapTokensAtAmount = newAmount; return true; } function updateMaxTradingAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 1) / 1000) / 1e18, "Cannot set maxTradingAmount lower than 0.1%" ); maxTradingAmount = newNum * (10 ** 18); } function updateMaxWalletAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 10) / 1000) / 1e18, "Cannot set maxWallet lower than 1.0%" ); maxWallet = newNum * (10 ** 18); } function excludeFromMaxTrading(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTradingAmount[updAds] = isEx; } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } function updateFees( uint256 buyTotalFees_, uint256 sellTotalFees_ ) external onlyOwner { buyTotalFees = buyTotalFees_; sellTotalFees = sellTotalFees_; } function updateFeeDistribution( uint256 revShareFee_, uint256 liquidityFee_ ) external onlyOwner { require(revShareFee_ + liquidityFee_ <= FEE_BASE, "Wrong Input"); revShareFee = revShareFee_; liquidityFee = liquidityFee_; teamFee = FEE_BASE - revShareFee_ - liquidityFee_; } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair( address pair, bool value ) public onlyOwner { require( pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function updateRevShareWallet( address newRevShareWallet ) external onlyOwner { emit revShareWalletUpdated(newRevShareWallet, revShareWallet); revShareWallet = newRevShareWallet; } function updateTeamWallet(address newWallet) external onlyOwner { emit teamWalletUpdated(newWallet, teamWallet); teamWallet = newWallet; } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function isBlacklisted(address account) public view returns (bool) { return blacklisted[account]; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(!blacklisted[from], "Sender blacklisted"); require(!blacklisted[to], "Receiver blacklisted"); if (amount == 0) { super._transfer(from, to, 0); return; } if (limitsInEffect) { if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ) { if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTradingAmount[to] ) { //when buy require( amount <= maxTradingAmount, "Buy transfer amount exceeds the maxTradingAmount." ); require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTradingAmount[from] ) { //when sell require( amount <= maxTradingAmount, "Sell transfer amount exceeds the maxTradingAmount." ); } else if (!_isExcludedMaxTradingAmount[to]) { //when transfer require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // on sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = amount.mul(sellTotalFees).div(FEE_BASE); tokensForLiquidity += (fees * liquidityFee) / FEE_BASE; tokensForTeam += (fees * teamFee) / FEE_BASE; tokensForRevShare += (fees * revShareFee) / FEE_BASE; } // on buy else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = amount.mul(buyTotalFees).div(FEE_BASE); tokensForLiquidity += (fees * liquidityFee) / FEE_BASE; tokensForTeam += (fees * teamFee) / FEE_BASE; tokensForRevShare += (fees * revShareFee) / FEE_BASE; } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner(), block.timestamp ); } function _addLiquidity() external onlyOwner { addLiquidity(balanceOf(address(this)), address(this).balance); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLiquidity + tokensForRevShare + tokensForTeam; bool success; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } if (contractBalance > swapTokensAtAmount * 20) { contractBalance = swapTokensAtAmount * 20; } // Halve the amount of liquidity tokens uint256 liquidityTokens = (contractBalance * tokensForLiquidity) / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens); uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance.sub(initialETHBalance); uint256 ethForRevShare = ethBalance.mul(tokensForRevShare).div( totalTokensToSwap - (tokensForLiquidity / 2) ); uint256 ethForTeam = ethBalance.mul(tokensForTeam).div( totalTokensToSwap - (tokensForLiquidity / 2) ); uint256 ethForLiquidity = ethBalance - ethForRevShare - ethForTeam; tokensForLiquidity = 0; tokensForRevShare = 0; tokensForTeam = 0; (success, ) = address(teamWallet).call{value: ethForTeam}(""); if (liquidityTokens > 0 && ethForLiquidity > 0) { addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify( amountToSwapForETH, ethForLiquidity, tokensForLiquidity ); } (success, ) = address(revShareWallet).call{ value: address(this).balance }(""); } function withdrawStuckUnibot() external onlyOwner { uint256 balance = IERC20(address(this)).balanceOf(address(this)); IERC20(address(this)).transfer(msg.sender, balance); payable(msg.sender).transfer(address(this).balance); } function withdrawStuckToken( address _token, address _to ) external onlyOwner { require(_token != address(0), "_token address cannot be 0"); uint256 _contractBalance = IERC20(_token).balanceOf(address(this)); IERC20(_token).transfer(_to, _contractBalance); } function withdrawStuckEth(address toAddr) external onlyOwner { (bool success, ) = toAddr.call{value: address(this).balance}(""); require(success); } // @dev team renounce blacklist commands function renounceBlacklist() public onlyOwner { blacklistRenounced = true; } function blacklist(address _addr) public onlyOwner { require(!blacklistRenounced, "Team has revoked blacklist rights"); require( _addr != address(uniswapV2Pair) && _addr != address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D), "Cannot blacklist token's v2 router or v2 pool." ); blacklisted[_addr] = true; } // @dev blacklist v3 pools; can unblacklist() down the road to suit project and community function blacklistLiquidityPool(address lpAddress) public onlyOwner { require(!blacklistRenounced, "Team has revoked blacklist rights"); require( lpAddress != address(uniswapV2Pair) && lpAddress != address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D), "Cannot blacklist token's v2 router or v2 pool." ); blacklisted[lpAddress] = true; } // @dev unblacklist address; not affected by blacklistRenounced incase team wants to unblacklist v3 pools down the road function unblacklist(address _addr) public onlyOwner { blacklisted[_addr] = false; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. 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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * 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}. * * 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 default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // 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. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
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); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "optimizer": { "enabled": true, "runs": 500 }, "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":"uint256","name":"maxTradingAmount_","type":"uint256"},{"internalType":"uint256","name":"maxWallet_","type":"uint256"},{"internalType":"uint256","name":"revFee_","type":"uint256"},{"internalType":"uint256","name":"liquidityFee_","type":"uint256"},{"internalType":"uint256","name":"sellFee_","type":"uint256"},{"internalType":"uint256","name":"buyFee_","type":"uint256"},{"internalType":"address","name":"revShareWallet_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","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":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"revShareWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"teamWalletUpdated","type":"event"},{"inputs":[],"name":"_addLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTradingAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_addr","type":"address"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"lpAddress","type":"address"}],"name":"blacklistLiquidityPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"blacklistRenounced","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTradingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","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":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revShareFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revShareWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startNow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForRevShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTeam","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"unblacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"revShareFee_","type":"uint256"},{"internalType":"uint256","name":"liquidityFee_","type":"uint256"}],"name":"updateFeeDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyTotalFees_","type":"uint256"},{"internalType":"uint256","name":"sellTotalFees_","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTradingAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRevShareWallet","type":"address"}],"name":"updateRevShareWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"toAddr","type":"address"}],"name":"withdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckUnibot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600d805463ffffffff191660011790553480156200002157600080fd5b50604051620035f1380380620035f18339810160408190526200004491620006ea565b888860036200005483826200082f565b5060046200006382826200082f565b505050620000806200007a6200039660201b60201c565b6200039a565b737a250d5630b4cf539739df2c5dacb4c659f2488d620000a2816001620003ec565b600680546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015620000fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001229190620008fb565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000170573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001969190620008fb565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200020a9190620008fb565b600780546001600160a01b0319166001600160a01b0392909216918217905562000236906001620003ec565b6007546200024f906001600160a01b0316600162000421565b6a084595161401484a0000006127106200026b82600562000936565b62000277919062000956565b600b556200028e89670de0b6b3a764000062000936565b600a55620002a588670de0b6b3a764000062000936565b600c556011879055601286905585620002c1886103e862000979565b620002cd919062000979565b601355600f8490556010859055600880546001600160a01b0385166001600160a01b0319918216179091556009805490911633179055620003226200031a6005546001600160a01b031690565b600162000475565b6200032f30600162000475565b6200033e61dead600162000475565b6200035d620003556005546001600160a01b031690565b6001620003ec565b6200036a306001620003ec565b6200037961dead6001620003ec565b620003853382620004de565b5050505050505050505050620009a5565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620003f6620005a5565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6200047f620005a5565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166200053a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b80600260008282546200054e91906200098f565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620006015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000531565b565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200063057600080fd5b81516001600160401b03808211156200064d576200064d62000608565b604051601f8301601f19908116603f0116810190828211818310171562000678576200067862000608565b816040528381526020925086838588010111156200069557600080fd5b600091505b83821015620006b957858201830151818301840152908201906200069a565b600093810190920192909252949350505050565b80516001600160a01b0381168114620006e557600080fd5b919050565b60008060008060008060008060006101208a8c0312156200070a57600080fd5b89516001600160401b03808211156200072257600080fd5b620007308d838e016200061e565b9a5060208c01519150808211156200074757600080fd5b50620007568c828d016200061e565b98505060408a0151965060608a0151955060808a0151945060a08a0151935060c08a0151925060e08a01519150620007926101008b01620006cd565b90509295985092959850929598565b600181811c90821680620007b657607f821691505b602082108103620007d757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200060357600081815260208120601f850160051c81016020861015620008065750805b601f850160051c820191505b81811015620008275782815560010162000812565b505050505050565b81516001600160401b038111156200084b576200084b62000608565b62000863816200085c8454620007a1565b84620007dd565b602080601f8311600181146200089b5760008415620008825750858301515b600019600386901b1c1916600185901b17855562000827565b600085815260208120601f198616915b82811015620008cc57888601518255948401946001909101908401620008ab565b5085821015620008eb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200090e57600080fd5b6200091982620006cd565b9392505050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000950576200095062000920565b92915050565b6000826200097457634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111562000950576200095062000920565b8082018082111562000950576200095062000920565b612c3c80620009b56000396000f3fe6080604052600436106103905760003560e01c806375e3661e116101dc578063bbc0c74211610102578063dd62ed3e116100a0578063f8b45b051161006f578063f8b45b0514610a68578063f9f92be414610a12578063fde83a3414610a7e578063fe575a8714610a9457600080fd5b8063dd62ed3e146109cc578063e19b282314610a12578063e2f4560514610a32578063f2fde38b14610a4857600080fd5b8063c18bc195116100dc578063c18bc19514610960578063d257b34f14610980578063d7c94efd146109a0578063d85ba063146109b657600080fd5b8063bbc0c74214610901578063bc205ad314610920578063c02466681461094057600080fd5b806396ea32da1161017a578063a457c2d711610149578063a457c2d714610871578063a9059cbb14610891578063adee28ff146108b1578063b62496f5146108d157600080fd5b806396ea32da146107f557806398118cb41461080b57806399524bbe146108215780639a7a23d61461085157600080fd5b80637cb332bb116101b65780637cb332bb146107825780638da5cb5b146107a2578063924de9b7146107c057806395d89b41146107e057600080fd5b806375e3661e14610722578063782c4e99146107425780637ca8448a1461076257600080fd5b8063422b5bf5116102c157806364f99f821161025f57806370a082311161022e57806370a08231146106ac578063715018a6146106e257806372cacded146106f7578063751039fc1461070d57600080fd5b806364f99f82146106365780636a486a8e146106565780636db794371461066c5780636ddd17131461068c57600080fd5b80634fbee1931161029b5780634fbee193146105b357806359927044146105ec5780635ea92ddd1461060c5780635f1893611461062157600080fd5b8063422b5bf51461055957806349bd5a5e146105795780634a62bb651461059957600080fd5b806324b9f3c11161032e57806338377d0a1161030857806338377d0a146104e35780633950935114610503578063395d3384146105235780633dc599ff1461053857600080fd5b806324b9f3c11461049b57806327c8f835146104b1578063313ce567146104c757600080fd5b80631694505e1161036a5780631694505e1461040e57806318160ddd146104465780631a8145bb1461046557806323b872dd1461047b57600080fd5b806306fdde031461039c578063095ea7b3146103c75780630e3db9f2146103f757600080fd5b3661039757005b600080fd5b3480156103a857600080fd5b506103b1610acd565b6040516103be9190612895565b60405180910390f35b3480156103d357600080fd5b506103e76103e23660046128f8565b610b5f565b60405190151581526020016103be565b34801561040357600080fd5b5061040c610b79565b005b34801561041a57600080fd5b5060065461042e906001600160a01b031681565b6040516001600160a01b0390911681526020016103be565b34801561045257600080fd5b506002545b6040519081526020016103be565b34801561047157600080fd5b5061045760155481565b34801561048757600080fd5b506103e7610496366004612924565b610b94565b3480156104a757600080fd5b5061045760145481565b3480156104bd57600080fd5b5061042e61dead81565b3480156104d357600080fd5b50604051601281526020016103be565b3480156104ef57600080fd5b5061040c6104fe366004612965565b610bb8565b34801561050f57600080fd5b506103e761051e3660046128f8565b610c74565b34801561052f57600080fd5b5061040c610cb3565b34801561054457600080fd5b50600d546103e7906301000000900460ff1681565b34801561056557600080fd5b5061040c61057436600461297e565b610cd7565b34801561058557600080fd5b5060075461042e906001600160a01b031681565b3480156105a557600080fd5b50600d546103e79060ff1681565b3480156105bf57600080fd5b506103e76105ce3660046129a0565b6001600160a01b031660009081526017602052604090205460ff1690565b3480156105f857600080fd5b5060095461042e906001600160a01b031681565b34801561061857600080fd5b5061040c610d50565b34801561062d57600080fd5b5061040c610e56565b34801561064257600080fd5b5061040c6106513660046129cb565b610e73565b34801561066257600080fd5b5061045760105481565b34801561067857600080fd5b5061040c61068736600461297e565b610ea6565b34801561069857600080fd5b50600d546103e79062010000900460ff1681565b3480156106b857600080fd5b506104576106c73660046129a0565b6001600160a01b031660009081526020819052604090205490565b3480156106ee57600080fd5b5061040c610eb9565b34801561070357600080fd5b5061045760115481565b34801561071957600080fd5b506103e7610ecb565b34801561072e57600080fd5b5061040c61073d3660046129a0565b610ee5565b34801561074e57600080fd5b5060085461042e906001600160a01b031681565b34801561076e57600080fd5b5061040c61077d3660046129a0565b610f0e565b34801561078e57600080fd5b5061040c61079d3660046129a0565b610f76565b3480156107ae57600080fd5b506005546001600160a01b031661042e565b3480156107cc57600080fd5b5061040c6107db366004612a04565b610fdb565b3480156107ec57600080fd5b506103b1610fff565b34801561080157600080fd5b50610457600a5481565b34801561081757600080fd5b5061045760125481565b34801561082d57600080fd5b506103e761083c3660046129a0565b60186020526000908152604090205460ff1681565b34801561085d57600080fd5b5061040c61086c3660046129cb565b61100e565b34801561087d57600080fd5b506103e761088c3660046128f8565b6110a4565b34801561089d57600080fd5b506103e76108ac3660046128f8565b611136565b3480156108bd57600080fd5b5061040c6108cc3660046129a0565b611144565b3480156108dd57600080fd5b506103e76108ec3660046129a0565b60196020526000908152604090205460ff1681565b34801561090d57600080fd5b50600d546103e790610100900460ff1681565b34801561092c57600080fd5b5061040c61093b366004612a21565b6111a9565b34801561094c57600080fd5b5061040c61095b3660046129cb565b6112ef565b34801561096c57600080fd5b5061040c61097b366004612965565b611356565b34801561098c57600080fd5b506103e761099b366004612965565b611405565b3480156109ac57600080fd5b5061045760135481565b3480156109c257600080fd5b50610457600f5481565b3480156109d857600080fd5b506104576109e7366004612a21565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610a1e57600080fd5b5061040c610a2d3660046129a0565b611545565b348015610a3e57600080fd5b50610457600b5481565b348015610a5457600080fd5b5061040c610a633660046129a0565b611682565b348015610a7457600080fd5b50610457600c5481565b348015610a8a57600080fd5b5061045760165481565b348015610aa057600080fd5b506103e7610aaf3660046129a0565b6001600160a01b03166000908152600e602052604090205460ff1690565b606060038054610adc90612a4f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0890612a4f565b8015610b555780601f10610b2a57610100808354040283529160200191610b55565b820191906000526020600020905b815481529060010190602001808311610b3857829003601f168201915b5050505050905090565b600033610b6d8185856116fb565b60019150505b92915050565b610b8161181f565b600d805462ffff00191662010100179055565b600033610ba2858285611879565b610bad858585611905565b506001949350505050565b610bc061181f565b670de0b6b3a76400006103e8610bd560025490565b610be0906001612a9f565b610bea9190612ab6565b610bf49190612ab6565b811015610c5c5760405162461bcd60e51b815260206004820152602b60248201527f43616e6e6f7420736574206d617854726164696e67416d6f756e74206c6f776560448201526a72207468616e20302e312560a81b60648201526084015b60405180910390fd5b610c6e81670de0b6b3a7640000612a9f565b600a5550565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610b6d9082908690610cae908790612ad8565b6116fb565b610cbb61181f565b30600090815260208190526040902054610cd5904761217d565b565b610cdf61181f565b6103e8610cec8284612ad8565b1115610d285760405162461bcd60e51b815260206004820152600b60248201526a15dc9bdb99c8125b9c1d5d60aa1b6044820152606401610c53565b6011829055601281905580610d3f836103e8612aeb565b610d499190612aeb565b6013555050565b610d5861181f565b6040516370a0823160e01b815230600482018190526000916370a0823190602401602060405180830381865afa158015610d96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dba9190612afe565b60405163a9059cbb60e01b815233600482015260248101829052909150309063a9059cbb906044016020604051808303816000875af1158015610e01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e259190612b17565b5060405133904780156108fc02916000818181858888f19350505050158015610e52573d6000803e3d6000fd5b5050565b610e5e61181f565b600d805463ff00000019166301000000179055565b610e7b61181f565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b610eae61181f565b600f91909155601055565b610ec161181f565b610cd5600061226a565b6000610ed561181f565b50600d805460ff19169055600190565b610eed61181f565b6001600160a01b03166000908152600e60205260409020805460ff19169055565b610f1661181f565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610f63576040519150601f19603f3d011682016040523d82523d6000602084013e610f68565b606091505b5050905080610e5257600080fd5b610f7e61181f565b6009546040516001600160a01b03918216918316907f8aa0f85050aca99be43beb823e0457e77966b3baf697a289b03681978f96166890600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b610fe361181f565b600d8054911515620100000262ff000019909216919091179055565b606060048054610adc90612a4f565b61101661181f565b6007546001600160a01b039081169083160361109a5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610c53565b610e5282826122bc565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156111295760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c53565b610bad82868684036116fb565b600033610b6d818585611905565b61114c61181f565b6008546040516001600160a01b03918216918316907fc9f2d63eee8632b33d7a7db5252eb29036e81ee4fbe29260febe0c49ffb8a7bb90600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6111b161181f565b6001600160a01b0382166112075760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610c53565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa15801561124e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112729190612afe565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af11580156112c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e99190612b17565b50505050565b6112f761181f565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b61135e61181f565b670de0b6b3a76400006103e861137360025490565b61137e90600a612a9f565b6113889190612ab6565b6113929190612ab6565b8110156113ed5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263312e302560e01b6064820152608401610c53565b6113ff81670de0b6b3a7640000612a9f565b600c5550565b600061140f61181f565b620186a061141c60025490565b611427906001612a9f565b6114319190612ab6565b8210156114a65760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f20302e3030312520746f74616c20737570706c792e00000000000000000000006064820152608401610c53565b6103e86114b260025490565b6114bd906005612a9f565b6114c79190612ab6565b82111561153c5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527f6e20302e352520746f74616c20737570706c792e0000000000000000000000006064820152608401610c53565b50600b55600190565b61154d61181f565b600d546301000000900460ff16156115b15760405162461bcd60e51b815260206004820152602160248201527f5465616d20686173207265766f6b656420626c61636b6c6973742072696768746044820152607360f81b6064820152608401610c53565b6007546001600160a01b038281169116148015906115ec57506001600160a01b038116737a250d5630b4cf539739df2c5dacb4c659f2488d14155b61165e5760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f7420626c61636b6c69737420746f6b656e277320763220726f757460448201527f6572206f7220763220706f6f6c2e0000000000000000000000000000000000006064820152608401610c53565b6001600160a01b03166000908152600e60205260409020805460ff19166001179055565b61168a61181f565b6001600160a01b0381166116ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c53565b6116f88161226a565b50565b6001600160a01b03831661175d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c53565b6001600160a01b0382166117be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c53565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610cd55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c53565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146112e957818110156118f85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c53565b6112e984848484036116fb565b6001600160a01b0383166119695760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c53565b6001600160a01b0382166119cb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c53565b6001600160a01b0383166000908152600e602052604090205460ff1615611a345760405162461bcd60e51b815260206004820152601260248201527f53656e64657220626c61636b6c697374656400000000000000000000000000006044820152606401610c53565b6001600160a01b0382166000908152600e602052604090205460ff1615611a9d5760405162461bcd60e51b815260206004820152601460248201527f526563656976657220626c61636b6c69737465640000000000000000000000006044820152606401610c53565b80600003611ab657611ab183836000612310565b505050565b600d5460ff1615611e42576005546001600160a01b03848116911614801590611aed57506005546001600160a01b03838116911614155b8015611b0157506001600160a01b03821615155b8015611b1857506001600160a01b03821661dead14155b8015611b2e5750600754600160a01b900460ff16155b15611e4257600d54610100900460ff16611bcd576001600160a01b03831660009081526017602052604090205460ff1680611b8157506001600160a01b03821660009081526017602052604090205460ff165b611bcd5760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e000000000000000000006044820152606401610c53565b6001600160a01b03831660009081526019602052604090205460ff168015611c0e57506001600160a01b03821660009081526018602052604090205460ff16155b15611cfa57600a54811115611c8b5760405162461bcd60e51b815260206004820152603160248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527f6d617854726164696e67416d6f756e742e0000000000000000000000000000006064820152608401610c53565b600c546001600160a01b038316600090815260208190526040902054611cb19083612ad8565b1115611cf55760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610c53565b611e42565b6001600160a01b03821660009081526019602052604090205460ff168015611d3b57506001600160a01b03831660009081526018602052604090205460ff16155b15611db857600a54811115611cf55760405162461bcd60e51b815260206004820152603260248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d617854726164696e67416d6f756e742e00000000000000000000000000006064820152608401610c53565b6001600160a01b03821660009081526018602052604090205460ff16611e4257600c546001600160a01b038316600090815260208190526040902054611dfe9083612ad8565b1115611e425760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610c53565b30600090815260208190526040902054600b5481108015908190611e6e5750600d5462010000900460ff165b8015611e845750600754600160a01b900460ff16155b8015611ea957506001600160a01b03851660009081526019602052604090205460ff16155b8015611ece57506001600160a01b03851660009081526017602052604090205460ff16155b8015611ef357506001600160a01b03841660009081526017602052604090205460ff16155b15611f21576007805460ff60a01b1916600160a01b179055611f136124b4565b6007805460ff60a01b191690555b6007546001600160a01b03861660009081526017602052604090205460ff600160a01b909204821615911680611f6f57506001600160a01b03851660009081526017602052604090205460ff165b15611f78575060005b60008115612169576001600160a01b03861660009081526019602052604090205460ff168015611faa57506000601054115b1561206b57611fd06103e8611fca6010548861271090919063ffffffff16565b90612723565b90506103e860125482611fe39190612a9f565b611fed9190612ab6565b60156000828254611ffe9190612ad8565b90915550506013546103e8906120149083612a9f565b61201e9190612ab6565b6016600082825461202f9190612ad8565b90915550506011546103e8906120459083612a9f565b61204f9190612ab6565b601460008282546120609190612ad8565b9091555061214b9050565b6001600160a01b03871660009081526019602052604090205460ff16801561209557506000600f54115b1561214b576120b56103e8611fca600f548861271090919063ffffffff16565b90506103e8601254826120c89190612a9f565b6120d29190612ab6565b601560008282546120e39190612ad8565b90915550506013546103e8906120f99083612a9f565b6121039190612ab6565b601660008282546121149190612ad8565b90915550506011546103e89061212a9083612a9f565b6121349190612ab6565b601460008282546121459190612ad8565b90915550505b801561215c5761215c873083612310565b6121668186612aeb565b94505b612174878787612310565b50505050505050565b6006546121959030906001600160a01b0316846116fb565b6006546001600160a01b031663f305d7198230856000806121be6005546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561223e573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906122639190612b34565b5050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166123745760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c53565b6001600160a01b0382166123d65760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c53565b6001600160a01b0383166000908152602081905260409020548181101561244e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c53565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36112e9565b30600090815260208190526040812054905060006016546014546015546124db9190612ad8565b6124e59190612ad8565b905060008215806124f4575081155b156124fe57505050565b600b5461250c906014612a9f565b83111561252457600b54612521906014612a9f565b92505b6000600283601554866125379190612a9f565b6125419190612ab6565b61254b9190612ab6565b90506000612559858361272f565b9050476125658261273b565b6000612571478361272f565b9050600061259f60026015546125879190612ab6565b6125919089612aeb565b601454611fca908590612710565b905060006125cd60026015546125b59190612ab6565b6125bf908a612aeb565b601654611fca908690612710565b90506000816125dc8486612aeb565b6125e69190612aeb565b60006015819055601481905560168190556009546040519293506001600160a01b031691849181818185875af1925050503d8060008114612643576040519150601f19603f3d011682016040523d82523d6000602084013e612648565b606091505b5090985050861580159061265c5750600081115b156126af5761266b878261217d565b601554604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6008546040516001600160a01b03909116904790600081818185875af1925050503d80600081146126fc576040519150601f19603f3d011682016040523d82523d6000602084013e612701565b606091505b50505050505050505050505050565b600061271c8284612a9f565b9392505050565b600061271c8284612ab6565b600061271c8284612aeb565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061277057612770612b62565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156127c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127ed9190612b78565b8160018151811061280057612800612b62565b6001600160a01b03928316602091820292909201015260065461282691309116846116fb565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac9479061285f908590600090869030904290600401612b95565b600060405180830381600087803b15801561287957600080fd5b505af115801561288d573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b818110156128c2578581018301518582016040015282016128a6565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146116f857600080fd5b6000806040838503121561290b57600080fd5b8235612916816128e3565b946020939093013593505050565b60008060006060848603121561293957600080fd5b8335612944816128e3565b92506020840135612954816128e3565b929592945050506040919091013590565b60006020828403121561297757600080fd5b5035919050565b6000806040838503121561299157600080fd5b50508035926020909101359150565b6000602082840312156129b257600080fd5b813561271c816128e3565b80151581146116f857600080fd5b600080604083850312156129de57600080fd5b82356129e9816128e3565b915060208301356129f9816129bd565b809150509250929050565b600060208284031215612a1657600080fd5b813561271c816129bd565b60008060408385031215612a3457600080fd5b8235612a3f816128e3565b915060208301356129f9816128e3565b600181811c90821680612a6357607f821691505b602082108103612a8357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610b7357610b73612a89565b600082612ad357634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610b7357610b73612a89565b81810381811115610b7357610b73612a89565b600060208284031215612b1057600080fd5b5051919050565b600060208284031215612b2957600080fd5b815161271c816129bd565b600080600060608486031215612b4957600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612b8a57600080fd5b815161271c816128e3565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612be55784516001600160a01b031683529383019391830191600101612bc0565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220f36fd702c7ce1b2eac9b9f19641d6de82c86a34b928846365bcbb5dbf6dd32a164736f6c6343000811003300000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000251c00000000000000000000000000000000000000000000000000000000000186a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000320000000000000000000000002f442d4eb1ab30ef6d340f9959a512eab6aab9750000000000000000000000000000000000000000000000000000000000000007546f6b69426f7400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000524544f4b49000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103905760003560e01c806375e3661e116101dc578063bbc0c74211610102578063dd62ed3e116100a0578063f8b45b051161006f578063f8b45b0514610a68578063f9f92be414610a12578063fde83a3414610a7e578063fe575a8714610a9457600080fd5b8063dd62ed3e146109cc578063e19b282314610a12578063e2f4560514610a32578063f2fde38b14610a4857600080fd5b8063c18bc195116100dc578063c18bc19514610960578063d257b34f14610980578063d7c94efd146109a0578063d85ba063146109b657600080fd5b8063bbc0c74214610901578063bc205ad314610920578063c02466681461094057600080fd5b806396ea32da1161017a578063a457c2d711610149578063a457c2d714610871578063a9059cbb14610891578063adee28ff146108b1578063b62496f5146108d157600080fd5b806396ea32da146107f557806398118cb41461080b57806399524bbe146108215780639a7a23d61461085157600080fd5b80637cb332bb116101b65780637cb332bb146107825780638da5cb5b146107a2578063924de9b7146107c057806395d89b41146107e057600080fd5b806375e3661e14610722578063782c4e99146107425780637ca8448a1461076257600080fd5b8063422b5bf5116102c157806364f99f821161025f57806370a082311161022e57806370a08231146106ac578063715018a6146106e257806372cacded146106f7578063751039fc1461070d57600080fd5b806364f99f82146106365780636a486a8e146106565780636db794371461066c5780636ddd17131461068c57600080fd5b80634fbee1931161029b5780634fbee193146105b357806359927044146105ec5780635ea92ddd1461060c5780635f1893611461062157600080fd5b8063422b5bf51461055957806349bd5a5e146105795780634a62bb651461059957600080fd5b806324b9f3c11161032e57806338377d0a1161030857806338377d0a146104e35780633950935114610503578063395d3384146105235780633dc599ff1461053857600080fd5b806324b9f3c11461049b57806327c8f835146104b1578063313ce567146104c757600080fd5b80631694505e1161036a5780631694505e1461040e57806318160ddd146104465780631a8145bb1461046557806323b872dd1461047b57600080fd5b806306fdde031461039c578063095ea7b3146103c75780630e3db9f2146103f757600080fd5b3661039757005b600080fd5b3480156103a857600080fd5b506103b1610acd565b6040516103be9190612895565b60405180910390f35b3480156103d357600080fd5b506103e76103e23660046128f8565b610b5f565b60405190151581526020016103be565b34801561040357600080fd5b5061040c610b79565b005b34801561041a57600080fd5b5060065461042e906001600160a01b031681565b6040516001600160a01b0390911681526020016103be565b34801561045257600080fd5b506002545b6040519081526020016103be565b34801561047157600080fd5b5061045760155481565b34801561048757600080fd5b506103e7610496366004612924565b610b94565b3480156104a757600080fd5b5061045760145481565b3480156104bd57600080fd5b5061042e61dead81565b3480156104d357600080fd5b50604051601281526020016103be565b3480156104ef57600080fd5b5061040c6104fe366004612965565b610bb8565b34801561050f57600080fd5b506103e761051e3660046128f8565b610c74565b34801561052f57600080fd5b5061040c610cb3565b34801561054457600080fd5b50600d546103e7906301000000900460ff1681565b34801561056557600080fd5b5061040c61057436600461297e565b610cd7565b34801561058557600080fd5b5060075461042e906001600160a01b031681565b3480156105a557600080fd5b50600d546103e79060ff1681565b3480156105bf57600080fd5b506103e76105ce3660046129a0565b6001600160a01b031660009081526017602052604090205460ff1690565b3480156105f857600080fd5b5060095461042e906001600160a01b031681565b34801561061857600080fd5b5061040c610d50565b34801561062d57600080fd5b5061040c610e56565b34801561064257600080fd5b5061040c6106513660046129cb565b610e73565b34801561066257600080fd5b5061045760105481565b34801561067857600080fd5b5061040c61068736600461297e565b610ea6565b34801561069857600080fd5b50600d546103e79062010000900460ff1681565b3480156106b857600080fd5b506104576106c73660046129a0565b6001600160a01b031660009081526020819052604090205490565b3480156106ee57600080fd5b5061040c610eb9565b34801561070357600080fd5b5061045760115481565b34801561071957600080fd5b506103e7610ecb565b34801561072e57600080fd5b5061040c61073d3660046129a0565b610ee5565b34801561074e57600080fd5b5060085461042e906001600160a01b031681565b34801561076e57600080fd5b5061040c61077d3660046129a0565b610f0e565b34801561078e57600080fd5b5061040c61079d3660046129a0565b610f76565b3480156107ae57600080fd5b506005546001600160a01b031661042e565b3480156107cc57600080fd5b5061040c6107db366004612a04565b610fdb565b3480156107ec57600080fd5b506103b1610fff565b34801561080157600080fd5b50610457600a5481565b34801561081757600080fd5b5061045760125481565b34801561082d57600080fd5b506103e761083c3660046129a0565b60186020526000908152604090205460ff1681565b34801561085d57600080fd5b5061040c61086c3660046129cb565b61100e565b34801561087d57600080fd5b506103e761088c3660046128f8565b6110a4565b34801561089d57600080fd5b506103e76108ac3660046128f8565b611136565b3480156108bd57600080fd5b5061040c6108cc3660046129a0565b611144565b3480156108dd57600080fd5b506103e76108ec3660046129a0565b60196020526000908152604090205460ff1681565b34801561090d57600080fd5b50600d546103e790610100900460ff1681565b34801561092c57600080fd5b5061040c61093b366004612a21565b6111a9565b34801561094c57600080fd5b5061040c61095b3660046129cb565b6112ef565b34801561096c57600080fd5b5061040c61097b366004612965565b611356565b34801561098c57600080fd5b506103e761099b366004612965565b611405565b3480156109ac57600080fd5b5061045760135481565b3480156109c257600080fd5b50610457600f5481565b3480156109d857600080fd5b506104576109e7366004612a21565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610a1e57600080fd5b5061040c610a2d3660046129a0565b611545565b348015610a3e57600080fd5b50610457600b5481565b348015610a5457600080fd5b5061040c610a633660046129a0565b611682565b348015610a7457600080fd5b50610457600c5481565b348015610a8a57600080fd5b5061045760165481565b348015610aa057600080fd5b506103e7610aaf3660046129a0565b6001600160a01b03166000908152600e602052604090205460ff1690565b606060038054610adc90612a4f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0890612a4f565b8015610b555780601f10610b2a57610100808354040283529160200191610b55565b820191906000526020600020905b815481529060010190602001808311610b3857829003601f168201915b5050505050905090565b600033610b6d8185856116fb565b60019150505b92915050565b610b8161181f565b600d805462ffff00191662010100179055565b600033610ba2858285611879565b610bad858585611905565b506001949350505050565b610bc061181f565b670de0b6b3a76400006103e8610bd560025490565b610be0906001612a9f565b610bea9190612ab6565b610bf49190612ab6565b811015610c5c5760405162461bcd60e51b815260206004820152602b60248201527f43616e6e6f7420736574206d617854726164696e67416d6f756e74206c6f776560448201526a72207468616e20302e312560a81b60648201526084015b60405180910390fd5b610c6e81670de0b6b3a7640000612a9f565b600a5550565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610b6d9082908690610cae908790612ad8565b6116fb565b610cbb61181f565b30600090815260208190526040902054610cd5904761217d565b565b610cdf61181f565b6103e8610cec8284612ad8565b1115610d285760405162461bcd60e51b815260206004820152600b60248201526a15dc9bdb99c8125b9c1d5d60aa1b6044820152606401610c53565b6011829055601281905580610d3f836103e8612aeb565b610d499190612aeb565b6013555050565b610d5861181f565b6040516370a0823160e01b815230600482018190526000916370a0823190602401602060405180830381865afa158015610d96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dba9190612afe565b60405163a9059cbb60e01b815233600482015260248101829052909150309063a9059cbb906044016020604051808303816000875af1158015610e01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e259190612b17565b5060405133904780156108fc02916000818181858888f19350505050158015610e52573d6000803e3d6000fd5b5050565b610e5e61181f565b600d805463ff00000019166301000000179055565b610e7b61181f565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b610eae61181f565b600f91909155601055565b610ec161181f565b610cd5600061226a565b6000610ed561181f565b50600d805460ff19169055600190565b610eed61181f565b6001600160a01b03166000908152600e60205260409020805460ff19169055565b610f1661181f565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610f63576040519150601f19603f3d011682016040523d82523d6000602084013e610f68565b606091505b5050905080610e5257600080fd5b610f7e61181f565b6009546040516001600160a01b03918216918316907f8aa0f85050aca99be43beb823e0457e77966b3baf697a289b03681978f96166890600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b610fe361181f565b600d8054911515620100000262ff000019909216919091179055565b606060048054610adc90612a4f565b61101661181f565b6007546001600160a01b039081169083160361109a5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610c53565b610e5282826122bc565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156111295760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c53565b610bad82868684036116fb565b600033610b6d818585611905565b61114c61181f565b6008546040516001600160a01b03918216918316907fc9f2d63eee8632b33d7a7db5252eb29036e81ee4fbe29260febe0c49ffb8a7bb90600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6111b161181f565b6001600160a01b0382166112075760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610c53565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa15801561124e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112729190612afe565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af11580156112c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e99190612b17565b50505050565b6112f761181f565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b61135e61181f565b670de0b6b3a76400006103e861137360025490565b61137e90600a612a9f565b6113889190612ab6565b6113929190612ab6565b8110156113ed5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263312e302560e01b6064820152608401610c53565b6113ff81670de0b6b3a7640000612a9f565b600c5550565b600061140f61181f565b620186a061141c60025490565b611427906001612a9f565b6114319190612ab6565b8210156114a65760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f20302e3030312520746f74616c20737570706c792e00000000000000000000006064820152608401610c53565b6103e86114b260025490565b6114bd906005612a9f565b6114c79190612ab6565b82111561153c5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527f6e20302e352520746f74616c20737570706c792e0000000000000000000000006064820152608401610c53565b50600b55600190565b61154d61181f565b600d546301000000900460ff16156115b15760405162461bcd60e51b815260206004820152602160248201527f5465616d20686173207265766f6b656420626c61636b6c6973742072696768746044820152607360f81b6064820152608401610c53565b6007546001600160a01b038281169116148015906115ec57506001600160a01b038116737a250d5630b4cf539739df2c5dacb4c659f2488d14155b61165e5760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f7420626c61636b6c69737420746f6b656e277320763220726f757460448201527f6572206f7220763220706f6f6c2e0000000000000000000000000000000000006064820152608401610c53565b6001600160a01b03166000908152600e60205260409020805460ff19166001179055565b61168a61181f565b6001600160a01b0381166116ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c53565b6116f88161226a565b50565b6001600160a01b03831661175d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c53565b6001600160a01b0382166117be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c53565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610cd55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c53565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146112e957818110156118f85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c53565b6112e984848484036116fb565b6001600160a01b0383166119695760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c53565b6001600160a01b0382166119cb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c53565b6001600160a01b0383166000908152600e602052604090205460ff1615611a345760405162461bcd60e51b815260206004820152601260248201527f53656e64657220626c61636b6c697374656400000000000000000000000000006044820152606401610c53565b6001600160a01b0382166000908152600e602052604090205460ff1615611a9d5760405162461bcd60e51b815260206004820152601460248201527f526563656976657220626c61636b6c69737465640000000000000000000000006044820152606401610c53565b80600003611ab657611ab183836000612310565b505050565b600d5460ff1615611e42576005546001600160a01b03848116911614801590611aed57506005546001600160a01b03838116911614155b8015611b0157506001600160a01b03821615155b8015611b1857506001600160a01b03821661dead14155b8015611b2e5750600754600160a01b900460ff16155b15611e4257600d54610100900460ff16611bcd576001600160a01b03831660009081526017602052604090205460ff1680611b8157506001600160a01b03821660009081526017602052604090205460ff165b611bcd5760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e000000000000000000006044820152606401610c53565b6001600160a01b03831660009081526019602052604090205460ff168015611c0e57506001600160a01b03821660009081526018602052604090205460ff16155b15611cfa57600a54811115611c8b5760405162461bcd60e51b815260206004820152603160248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527f6d617854726164696e67416d6f756e742e0000000000000000000000000000006064820152608401610c53565b600c546001600160a01b038316600090815260208190526040902054611cb19083612ad8565b1115611cf55760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610c53565b611e42565b6001600160a01b03821660009081526019602052604090205460ff168015611d3b57506001600160a01b03831660009081526018602052604090205460ff16155b15611db857600a54811115611cf55760405162461bcd60e51b815260206004820152603260248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d617854726164696e67416d6f756e742e00000000000000000000000000006064820152608401610c53565b6001600160a01b03821660009081526018602052604090205460ff16611e4257600c546001600160a01b038316600090815260208190526040902054611dfe9083612ad8565b1115611e425760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610c53565b30600090815260208190526040902054600b5481108015908190611e6e5750600d5462010000900460ff165b8015611e845750600754600160a01b900460ff16155b8015611ea957506001600160a01b03851660009081526019602052604090205460ff16155b8015611ece57506001600160a01b03851660009081526017602052604090205460ff16155b8015611ef357506001600160a01b03841660009081526017602052604090205460ff16155b15611f21576007805460ff60a01b1916600160a01b179055611f136124b4565b6007805460ff60a01b191690555b6007546001600160a01b03861660009081526017602052604090205460ff600160a01b909204821615911680611f6f57506001600160a01b03851660009081526017602052604090205460ff165b15611f78575060005b60008115612169576001600160a01b03861660009081526019602052604090205460ff168015611faa57506000601054115b1561206b57611fd06103e8611fca6010548861271090919063ffffffff16565b90612723565b90506103e860125482611fe39190612a9f565b611fed9190612ab6565b60156000828254611ffe9190612ad8565b90915550506013546103e8906120149083612a9f565b61201e9190612ab6565b6016600082825461202f9190612ad8565b90915550506011546103e8906120459083612a9f565b61204f9190612ab6565b601460008282546120609190612ad8565b9091555061214b9050565b6001600160a01b03871660009081526019602052604090205460ff16801561209557506000600f54115b1561214b576120b56103e8611fca600f548861271090919063ffffffff16565b90506103e8601254826120c89190612a9f565b6120d29190612ab6565b601560008282546120e39190612ad8565b90915550506013546103e8906120f99083612a9f565b6121039190612ab6565b601660008282546121149190612ad8565b90915550506011546103e89061212a9083612a9f565b6121349190612ab6565b601460008282546121459190612ad8565b90915550505b801561215c5761215c873083612310565b6121668186612aeb565b94505b612174878787612310565b50505050505050565b6006546121959030906001600160a01b0316846116fb565b6006546001600160a01b031663f305d7198230856000806121be6005546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561223e573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906122639190612b34565b5050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166123745760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c53565b6001600160a01b0382166123d65760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c53565b6001600160a01b0383166000908152602081905260409020548181101561244e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c53565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36112e9565b30600090815260208190526040812054905060006016546014546015546124db9190612ad8565b6124e59190612ad8565b905060008215806124f4575081155b156124fe57505050565b600b5461250c906014612a9f565b83111561252457600b54612521906014612a9f565b92505b6000600283601554866125379190612a9f565b6125419190612ab6565b61254b9190612ab6565b90506000612559858361272f565b9050476125658261273b565b6000612571478361272f565b9050600061259f60026015546125879190612ab6565b6125919089612aeb565b601454611fca908590612710565b905060006125cd60026015546125b59190612ab6565b6125bf908a612aeb565b601654611fca908690612710565b90506000816125dc8486612aeb565b6125e69190612aeb565b60006015819055601481905560168190556009546040519293506001600160a01b031691849181818185875af1925050503d8060008114612643576040519150601f19603f3d011682016040523d82523d6000602084013e612648565b606091505b5090985050861580159061265c5750600081115b156126af5761266b878261217d565b601554604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6008546040516001600160a01b03909116904790600081818185875af1925050503d80600081146126fc576040519150601f19603f3d011682016040523d82523d6000602084013e612701565b606091505b50505050505050505050505050565b600061271c8284612a9f565b9392505050565b600061271c8284612ab6565b600061271c8284612aeb565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061277057612770612b62565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156127c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127ed9190612b78565b8160018151811061280057612800612b62565b6001600160a01b03928316602091820292909201015260065461282691309116846116fb565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac9479061285f908590600090869030904290600401612b95565b600060405180830381600087803b15801561287957600080fd5b505af115801561288d573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b818110156128c2578581018301518582016040015282016128a6565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146116f857600080fd5b6000806040838503121561290b57600080fd5b8235612916816128e3565b946020939093013593505050565b60008060006060848603121561293957600080fd5b8335612944816128e3565b92506020840135612954816128e3565b929592945050506040919091013590565b60006020828403121561297757600080fd5b5035919050565b6000806040838503121561299157600080fd5b50508035926020909101359150565b6000602082840312156129b257600080fd5b813561271c816128e3565b80151581146116f857600080fd5b600080604083850312156129de57600080fd5b82356129e9816128e3565b915060208301356129f9816129bd565b809150509250929050565b600060208284031215612a1657600080fd5b813561271c816129bd565b60008060408385031215612a3457600080fd5b8235612a3f816128e3565b915060208301356129f9816128e3565b600181811c90821680612a6357607f821691505b602082108103612a8357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610b7357610b73612a89565b600082612ad357634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610b7357610b73612a89565b81810381811115610b7357610b73612a89565b600060208284031215612b1057600080fd5b5051919050565b600060208284031215612b2957600080fd5b815161271c816129bd565b600080600060608486031215612b4957600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612b8a57600080fd5b815161271c816128e3565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612be55784516001600160a01b031683529383019391830191600101612bc0565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220f36fd702c7ce1b2eac9b9f19641d6de82c86a34b928846365bcbb5dbf6dd32a164736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000251c00000000000000000000000000000000000000000000000000000000000186a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000320000000000000000000000002f442d4eb1ab30ef6d340f9959a512eab6aab9750000000000000000000000000000000000000000000000000000000000000007546f6b69426f7400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000524544f4b49000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): TokiBot
Arg [1] : symbol (string): $TOKI
Arg [2] : maxTradingAmount_ (uint256): 9500
Arg [3] : maxWallet_ (uint256): 100000
Arg [4] : revFee_ (uint256): 0
Arg [5] : liquidityFee_ (uint256): 200
Arg [6] : sellFee_ (uint256): 50
Arg [7] : buyFee_ (uint256): 50
Arg [8] : revShareWallet_ (address): 0x2f442D4EB1aB30ef6d340F9959a512eab6AAB975
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 000000000000000000000000000000000000000000000000000000000000251c
Arg [3] : 00000000000000000000000000000000000000000000000000000000000186a0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [8] : 0000000000000000000000002f442d4eb1ab30ef6d340f9959a512eab6aab975
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [10] : 546f6b69426f7400000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [12] : 24544f4b49000000000000000000000000000000000000000000000000000000
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.