Contract Address Details

0xaE103F90c038b479A24DaE8d10439e964329407C

Token
VELASDOGE (VDOGE)
Creator
0xae87e6–faa9b5 at 0x51e769–66b5b9
Balance
30.07417908927810228 VLX ( )
Tokens
Fetching tokens...
Transactions
308 Transactions
Transfers
685 Transfers
Gas Used
23,599,812
Last Balance Update
48915353
Contract name:
VELASDOGE




Optimization enabled
true
Compiler version
v0.8.9+commit.e5eed63a




Optimization runs
200
EVM Version
default




Verified at
2021-11-05 18:24:10.619784Z

Contract source code

/**
____ _______________.____ _____ _________________ ________ ________ ___________
\ \ / /\_ _____/| | / _ \ / _____/\______ \ \_____ \ / _____/ \_ _____/
\ Y / | __)_ | | / /_\ \ \_____ \ | | \ / | \ / \ ___ | __)_
\ / | \| |___ / | \ / \ | ` \/ | \\ \_\ \ | \
\___/ /_______ /|_______ \\____|__ //_______ //_______ /\_______ / \______ //_______ /
\/ \/ \/ \/ \/ \/ \/ \/
TG: https://t.me/velasdoge
A token by Koko'Squad: https://t.me/kokocryptosignals
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.9;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
return c;
}
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
abstract contract Context {
function _msgSender() internal view virtual returns (address ) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
library Address {
function isContract(address account) internal view returns (bool) {
bytes32 codehash;
bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
// solhint-disable-next-line no-inline-assembly
assembly { codehash := extcodehash(account) }
return (codehash != accountHash && codehash != 0x0);
}
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
return _functionCallWithValue(target, data, 0, errorMessage);
}
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");
}
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");
return _functionCallWithValue(target, data, value, errorMessage);
}
function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
if (success) {
return returndata;
} else {
if (returndata.length > 0) {
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
contract Ownable is Context {
address private _owner;
address private _previousOwner;
uint256 private _lockTime;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
function owner() public view returns (address) {
return _owner;
}
modifier onlyOwner() {
require(_owner == _msgSender(), "Ownable: caller is not the owner");
_;
}
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
function geUnlockTime() public view returns (uint256) {
return _lockTime;
}
function lock(uint256 time) public virtual onlyOwner {
_lockTime = block.timestamp + time;
}
function unlock() public virtual {
require(_previousOwner == msg.sender, "You don't have permission to unlock");
require(block.timestamp > _lockTime , "Contract is locked until 7 days");
emit OwnershipTransferred(_owner, _previousOwner);
_owner = _previousOwner;
}
}
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;
}
interface IUniswapV2Pair {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external pure returns (string memory);
function symbol() external pure returns (string memory);
function decimals() external pure returns (uint8);
function totalSupply() external view returns (uint);
function balanceOf(address owner) external view returns (uint);
function allowance(address owner, address spender) external view returns (uint);
function approve(address spender, uint value) external returns (bool);
function transfer(address to, uint value) external returns (bool);
function transferFrom(address from, address to, uint value) external returns (bool);
function DOMAIN_SEPARATOR() external view returns (bytes32);
function PERMIT_TYPEHASH() external pure returns (bytes32);
function nonces(address owner) external view returns (uint);
function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
event Swap(
address indexed sender,
uint amount0In,
uint amount1In,
uint amount0Out,
uint amount1Out,
address indexed to
);
event Sync(uint112 reserve0, uint112 reserve1);
function MINIMUM_LIQUIDITY() external pure returns (uint);
function factory() external view returns (address);
function token0() external view returns (address);
function token1() external view returns (address);
function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
function price0CumulativeLast() external view returns (uint);
function price1CumulativeLast() external view returns (uint);
function kLast() external view returns (uint);
function burn(address to) external returns (uint amount0, uint amount1);
function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
function skim(address to) external;
function sync() external;
function initialize(address, address) external;
}
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);
}
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;
}
contract VELASDOGE is Context, IERC20, Ownable {
using SafeMath for uint256;
using Address for address;
mapping (address => uint256) private _rOwned;
mapping (address => uint256) private _tOwned;
mapping (address => mapping (address => uint256)) private _allowances;
mapping (address => bool) private _isExcludedFromFee;
mapping (address => bool) private _isExcluded;
address[] private _excluded;
mapping (address => bool) private _isBlacklisted;
uint256 private constant MAX = ~uint256(0);
uint256 private _tTotal = 1000000000 * 10**9;
uint256 private _rTotal = (MAX - (MAX % _tTotal));
uint256 private _tFeeTotal;
string private _name = "VELASDOGE";
string private _symbol = "VDOGE";
uint8 private _decimals = 9;
uint256 public _taxFee = 2;
uint256 private _previousTaxFee = _taxFee;
uint256 public _liquidityFee = 5;
uint256 private _previousLiquidityFee = _liquidityFee;
uint256 public _burnFee = 1;
uint256 private _previousBurnFee = _burnFee;
uint256 public _marketingFee = 4;
address public marketingWallet = 0xB83CF0D9F9f375A1a4E936927ce4E657623C7e47;
uint256 public _marketingFeeBNB = 4;
address payable public marketingWalletBNB = payable(marketingWallet);
uint256 private _previousmarketingFee = _marketingFee;
uint256 public _maxTx = 5000000 * 10**9;
uint256 public _maxWalletToken = 10000000 * 10**9;
IUniswapV2Router02 public uniswapV2Router;
address public uniswapV2Pair;
bool inSwapAndLiquify;
bool public swapAndLiquifyEnabled = true;
uint256 private numTokensSellToAddToLiquidity = 50000 * 10**9;
event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap);
event SwapAndLiquifyEnabledUpdated(bool enabled);
event SwapAndLiquify(
uint256 tokensSwapped,
uint256 ethReceived,
uint256 tokensIntoLiqudity
);
modifier lockTheSwap {
inSwapAndLiquify = true;
_;
inSwapAndLiquify = false;
}
constructor () {
_rOwned[_msgSender()] = _rTotal;
//0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3
//0x10ED43C718714eb63d5aA57B78B54704E256024E
//0x3D1c58B6d4501E34DF37Cf0f664A58059a188F00
IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x3D1c58B6d4501E34DF37Cf0f664A58059a188F00 );
uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
.createPair(address(this), _uniswapV2Router.WETH());
uniswapV2Router = _uniswapV2Router;
_isExcludedFromFee[owner()] = true;
_isExcludedFromFee[address(this)] = true;
_isExcludedFromFee[marketingWallet] = true;
_isExcludedFromFee[marketingWalletBNB] = true;
// _isExcludedFromFee[0x3D1c58B6d4501E34DF37Cf0f664A58059a188F00] = true;
// _isExcludedFromFee[0x3a036C43bAabe2A047c990038d8FEecFE2638724] = true; //aidrop adress
emit Transfer(address(0), _msgSender(), _tTotal);
}
function name() public view returns (string memory) {
return _name;
}
function symbol() public view returns (string memory) {
return _symbol;
}
function decimals() public view returns (uint8) {
return _decimals;
}
function totalSupply() public view override returns (uint256) {
return _tTotal;
}
function balanceOf(address account) public view override returns (uint256) {
if (_isExcluded[account]) return _tOwned[account];
return tokenFromReflection(_rOwned[account]);
}
function transfer(address recipient, uint256 amount) public override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
function allowance(address owner, address spender) public view override returns (uint256) {
return _allowances[owner][spender];
}
function approve(address spender, uint256 amount) public override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
_transfer(sender, recipient, amount);
_approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
return true;
}
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
return true;
}
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
return true;
}
function isExcludedFromReward(address account) public view returns (bool) {
return _isExcluded[account];
}
function totalFees() public view returns (uint256) {
return _tFeeTotal;
}
function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns(uint256) {
require(tAmount <= _tTotal, "Amount must be less than supply");
if (!deductTransferFee) {
(uint256 rAmount,,,,,) = _getValues(tAmount);
return rAmount;
} else {
(,uint256 rTransferAmount,,,,) = _getValues(tAmount);
return rTransferAmount;
}
}
function tokenFromReflection(uint256 rAmount) public view returns(uint256) {
require(rAmount <= _rTotal, "Amount must be less than total reflections");
uint256 currentRate = _getRate();
return rAmount.div(currentRate);
}
function excludeFromReward(address account) public onlyOwner() {
require(account != 0x3D1c58B6d4501E34DF37Cf0f664A58059a188F00, 'We can not exclude Pancake router.');
require(!_isExcluded[account], "Account is already excluded");
if(_rOwned[account] > 0) {
_tOwned[account] = tokenFromReflection(_rOwned[account]);
}
_isExcluded[account] = true;
_excluded.push(account);
}
function includeInReward(address account) external onlyOwner() {
require(_isExcluded[account], "Account is already excluded");
for (uint256 i = 0; i < _excluded.length; i++) {
if (_excluded[i] == account) {
_excluded[i] = _excluded[_excluded.length - 1];
_tOwned[account] = 0;
_isExcluded[account] = false;
_excluded.pop();
break;
}
}
}
function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private {
(uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
_tOwned[sender] = _tOwned[sender].sub(tAmount);
_rOwned[sender] = _rOwned[sender].sub(rAmount);
_tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
_rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
_takeLiquidity(tLiquidity);
_reflectFee(rFee, tFee);
emit Transfer(sender, recipient, tTransferAmount);
}
receive() external payable {}
function _reflectFee(uint256 rFee, uint256 tFee) private {
_rTotal = _rTotal.sub(rFee);
_tFeeTotal = _tFeeTotal.add(tFee);
}
function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) {
(uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getTValues(tAmount);
(uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, _getRate());
return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity);
}
function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256) {
uint256 tFee = calculateTaxFee(tAmount);
uint256 tLiquidity = calculateLiquidityFee(tAmount);
uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity);
return (tTransferAmount, tFee, tLiquidity);
}
function _getRValues(uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 currentRate) private pure returns (uint256, uint256, uint256) {
uint256 rAmount = tAmount.mul(currentRate);
uint256 rFee = tFee.mul(currentRate);
uint256 rLiquidity = tLiquidity.mul(currentRate);
uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity);
return (rAmount, rTransferAmount, rFee);
}
function _getRate() private view returns(uint256) {
(uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
return rSupply.div(tSupply);
}
function _getCurrentSupply() private view returns(uint256, uint256) {
uint256 rSupply = _rTotal;
uint256 tSupply = _tTotal;
for (uint256 i = 0; i < _excluded.length; i++) {
if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal);
rSupply = rSupply.sub(_rOwned[_excluded[i]]);
tSupply = tSupply.sub(_tOwned[_excluded[i]]);
}
if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
return (rSupply, tSupply);
}
function _takeLiquidity(uint256 tLiquidity) private {
uint256 currentRate = _getRate();
uint256 rLiquidity = tLiquidity.mul(currentRate);
_rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity);
if(_isExcluded[address(this)])
_tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity);
}
function calculateTaxFee(uint256 _amount) private view returns (uint256) {
return _amount.mul(_taxFee).div(
10**2
);
}
function calculateLiquidityFee(uint256 _amount) private view returns (uint256) {
return _amount.mul(_liquidityFee).div(
10**2
);
}
function removeAllFee() private {
if(_taxFee == 0 && _liquidityFee == 0 && _marketingFee==0 && _burnFee==0) return;
_previousTaxFee = _taxFee;
_previousLiquidityFee = _liquidityFee;
_previousBurnFee = _burnFee;
_previousmarketingFee = _marketingFee;
_taxFee = 0;
_liquidityFee = 0;
_marketingFee = 0;
_burnFee = 0;
}
function restoreAllFee() private {
_taxFee = _previousTaxFee;
_liquidityFee = _previousLiquidityFee;
_burnFee = _previousBurnFee;
_marketingFee = _previousmarketingFee;
}
function isExcludedFromFee(address account) public view returns(bool) {
return _isExcludedFromFee[account];
}
function _approve(address owner, address spender, uint256 amount) private {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
function blacklistAddress(address account) public onlyOwner {
_isBlacklisted[account] = true;
}
function whitelistAddress(address account) public onlyOwner {
_isBlacklisted[account] = false;
}
function _transfer(
address from,
address to,
uint256 amount
) private {
require(from != address(0), "ERC20: transfer from the zero address");
require(amount > 0, "Transfer amount must be greater than zero");
require(_isBlacklisted[from] == false && _isBlacklisted[to] == false, "Blacklisted addresses can't do buy or sell");
if (msg.sender == uniswapV2Pair) {
require(amount<_maxTx, "Transfer amount must be less them maxTx");
uint256 heldTokens = balanceOf(to);
require((heldTokens + amount) <= _maxWalletToken,"Total Holding is currently limited, you can not buy that much.");
}else{}
uint256 contractTokenBalance = balanceOf(address(this));
bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity;
if (
overMinTokenBalance &&
!inSwapAndLiquify &&
from != uniswapV2Pair &&
swapAndLiquifyEnabled
) {
swapAndLiquify(contractTokenBalance);
}
_tokenTransfer(from,to,amount);
}
function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
uint256 _totalFeesForBNB = _liquidityFee.add(_marketingFeeBNB);
uint256 lpPart = contractTokenBalance.mul(_liquidityFee).div(_totalFeesForBNB);
uint256 marketingAndDevelopmentPart = contractTokenBalance.sub(lpPart);
uint256 half = lpPart.div(2);
uint256 otherHalf = lpPart.sub(half);
uint256 initialBalance = address(this).balance;
swapTokensForBnb(half);
uint256 newBalance = address(this).balance.sub(initialBalance);
addLiquidity(otherHalf, newBalance);
emit SwapAndLiquify(half, newBalance, otherHalf);
if( marketingAndDevelopmentPart > 0)
{
initialBalance = address(this).balance;
swapTokensForBnb(marketingAndDevelopmentPart);
newBalance = address(this).balance.sub(initialBalance);
transferToAddressBNB(marketingWalletBNB,newBalance);
}
else{}
}
function swapTokensForEth(uint256 tokenAmount) private {
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = uniswapV2Router.WETH();
_approve(address(this), address(uniswapV2Router), tokenAmount);
uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
tokenAmount,
0,
path,
address(this),
block.timestamp
);
}
function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
_approve(address(this), address(uniswapV2Router), tokenAmount);
uniswapV2Router.addLiquidityETH{value: ethAmount}(
address(this),
tokenAmount,
0,
0,
owner(),
block.timestamp
);
}
function _tokenTransfer(address sender, address recipient, uint256 amount) private {
if(_isExcludedFromFee[sender] || _isExcludedFromFee[recipient]){
removeAllFee();
}
uint256 burnAmt = amount.mul(_burnFee).div(100);
uint256 marketingAmt = amount.mul(_marketingFee).div(100);
if (_isExcluded[sender] && !_isExcluded[recipient]) {
_transferFromExcluded(sender, recipient, (amount.sub(burnAmt).sub(marketingAmt)));
} else if (!_isExcluded[sender] && _isExcluded[recipient]) {
_transferToExcluded(sender, recipient, (amount.sub(burnAmt).sub(marketingAmt)));
} else if (!_isExcluded[sender] && !_isExcluded[recipient]) {
_transferStandard(sender, recipient, (amount.sub(burnAmt).sub(marketingAmt)));
} else if (_isExcluded[sender] && _isExcluded[recipient]) {
_transferBothExcluded(sender, recipient, (amount.sub(burnAmt).sub(marketingAmt)));
} else {
_transferStandard(sender, recipient, (amount.sub(burnAmt).sub(marketingAmt)));
}
_taxFee = 0;
_liquidityFee = 0;
if(burnAmt>0){
_transferStandard(sender,0x000000000000000000000000000000000000dEaD, burnAmt);
}else{}
if(marketingAmt>0){
_transferStandard(sender, marketingWallet, marketingAmt);
}else{}
_taxFee = _previousTaxFee;
_liquidityFee = _previousLiquidityFee;
if(_isExcludedFromFee[sender] || _isExcludedFromFee[recipient])
restoreAllFee();
}
function transferToAddressBNB(address payable recipient, uint256 amount) private {
recipient.transfer(amount);
}
function swapTokensForBnb(uint256 tokenAmount) private {
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = uniswapV2Router.WETH();
_approve(address(this), address(uniswapV2Router), tokenAmount);
uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
tokenAmount,
0, // accept any amount of BNB
path,
address(this),
block.timestamp
);
}
function _transferStandard(address sender, address recipient, uint256 tAmount) private {
(uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
_rOwned[sender] = _rOwned[sender].sub(rAmount);
_rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
_takeLiquidity(tLiquidity);
_reflectFee(rFee, tFee);
emit Transfer(sender, recipient, tTransferAmount);
}
function _transferToExcluded(address sender, address recipient, uint256 tAmount) private {
(uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
_rOwned[sender] = _rOwned[sender].sub(rAmount);
_tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
_rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
_takeLiquidity(tLiquidity);
_reflectFee(rFee, tFee);
emit Transfer(sender, recipient, tTransferAmount);
}
function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private {
(uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
_tOwned[sender] = _tOwned[sender].sub(tAmount);
_rOwned[sender] = _rOwned[sender].sub(rAmount);
_rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
_takeLiquidity(tLiquidity);
_reflectFee(rFee, tFee);
emit Transfer(sender, recipient, tTransferAmount);
}
function excludeFromFee(address account) public onlyOwner {
_isExcludedFromFee[account] = true;
}
function includeInFee(address account) public onlyOwner {
_isExcludedFromFee[account] = false;
}
function setBuyBacktWallet(address wallet) external onlyOwner{
marketingWalletBNB = payable(wallet);
_isExcludedFromFee[marketingWalletBNB] = true;
}
function setTaxFeePercent(uint256 taxFee) external onlyOwner() {
_taxFee = taxFee;
}
function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner() {
_liquidityFee = liquidityFee;
}
function setMarketingFeePercent(uint256 marketingFee) external onlyOwner() {
_marketingFee = marketingFee;
}
function setBurnFeePercent(uint256 burnFee) external onlyOwner() {
_burnFee = burnFee;
}
function setMarketBNBFee(uint256 Fee) external onlyOwner() {
_marketingFeeBNB = Fee;
}
function set_MaxTransaction(uint256 maxTx) external onlyOwner() {
_maxTx = maxTx;
}
function set_MaxWallet(uint256 maxTx) external onlyOwner() {
_maxWalletToken = maxTx;
}
function set_numTokensSellToAddToLiquidity(uint256 numToken) external onlyOwner() {
numTokensSellToAddToLiquidity = numToken;
}
function setRouterAddress(address newRouter) public onlyOwner() {
IUniswapV2Router02 _newPancakeRouter = IUniswapV2Router02(newRouter);
uniswapV2Pair = IUniswapV2Factory(_newPancakeRouter.factory()).createPair(address(this), _newPancakeRouter.WETH());
uniswapV2Router = _newPancakeRouter;
}
function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
swapAndLiquifyEnabled = _enabled;
emit SwapAndLiquifyEnabledUpdated(_enabled);
}
}

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"MinTokensBeforeSwapUpdated","inputs":[{"type":"uint256","name":"minTokensBeforeSwap","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"SwapAndLiquify","inputs":[{"type":"uint256","name":"tokensSwapped","internalType":"uint256","indexed":false},{"type":"uint256","name":"ethReceived","internalType":"uint256","indexed":false},{"type":"uint256","name":"tokensIntoLiqudity","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SwapAndLiquifyEnabledUpdated","inputs":[{"type":"bool","name":"enabled","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_burnFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_liquidityFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_marketingFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_marketingFeeBNB","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_maxTx","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_maxWalletToken","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_taxFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"blacklistAddress","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeFromFee","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeFromReward","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"geUnlockTime","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"includeInFee","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"includeInReward","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isExcludedFromFee","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isExcludedFromReward","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"lock","inputs":[{"type":"uint256","name":"time","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"marketingWallet","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address payable"}],"name":"marketingWalletBNB","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"reflectionFromToken","inputs":[{"type":"uint256","name":"tAmount","internalType":"uint256"},{"type":"bool","name":"deductTransferFee","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBurnFeePercent","inputs":[{"type":"uint256","name":"burnFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBuyBacktWallet","inputs":[{"type":"address","name":"wallet","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setLiquidityFeePercent","inputs":[{"type":"uint256","name":"liquidityFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMarketBNBFee","inputs":[{"type":"uint256","name":"Fee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMarketingFeePercent","inputs":[{"type":"uint256","name":"marketingFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setRouterAddress","inputs":[{"type":"address","name":"newRouter","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setSwapAndLiquifyEnabled","inputs":[{"type":"bool","name":"_enabled","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTaxFeePercent","inputs":[{"type":"uint256","name":"taxFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"set_MaxTransaction","inputs":[{"type":"uint256","name":"maxTx","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"set_MaxWallet","inputs":[{"type":"uint256","name":"maxTx","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"set_numTokensSellToAddToLiquidity","inputs":[{"type":"uint256","name":"numToken","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"swapAndLiquifyEnabled","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenFromReflection","inputs":[{"type":"uint256","name":"rAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalFees","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"uniswapV2Pair","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Router02"}],"name":"uniswapV2Router","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"unlock","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"whitelistAddress","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"receive","stateMutability":"payable"}]
            

Deployed ByteCode

0x6080604052600436106102e85760003560e01c80635563fc7c11610190578063a9059cbb116100dc578063cea2695811610095578063ea2f0b371161006f578063ea2f0b37146108e4578063f2fde38b14610904578063f3290d7514610924578063ff98d32d1461094457600080fd5b8063cea269581461085e578063dd4670641461087e578063dd62ed3e1461089e57600080fd5b8063a9059cbb146107b3578063b6c52324146107d3578063b8d704b8146107e8578063c0b0fda214610808578063c49b9a801461081e578063ca57b75f1461083e57600080fd5b80637830b072116101495780638ee88c53116101235780638ee88c531461074957806395d89b4114610769578063a457c2d71461077e578063a69df4b51461079e57600080fd5b80637830b072146106dc57806388f82020146106f25780638da5cb5b1461072b57600080fd5b80635563fc7c146106455780636bc87c3a1461065b57806370a0823114610671578063715018a61461069157806375f0a874146106a657806378109e54146106c657600080fd5b8063313ce5671161024f578063437823ec1161020857806349bd5a5e116101e257806349bd5a5e146105ab5780634a74bb02146105cb57806352390c02146105ec5780635342acb41461060c57600080fd5b8063437823ec1461054b5780634549b0391461056b578063457c194c1461058b57600080fd5b8063313ce567146104935780633685d419146104b557806339509351146104d55780633b124fe7146104f5578063415665851461050b57806341cb87fc1461052b57600080fd5b806318160ddd116102a157806318160ddd146103e857806322976e0d146103fd57806323b872dd14610413578063275461d7146104335780632ad70b12146104535780632d8381191461047357600080fd5b8063061c82d0146102f457806306fdde0314610316578063095ea7b3146103415780631273be871461037157806313114a9d146103915780631694505e146103b057600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b5061031461030f366004612aac565b610964565b005b34801561032257600080fd5b5061032b61099c565b6040516103389190612ac5565b60405180910390f35b34801561034d57600080fd5b5061036161035c366004612b32565b610a2e565b6040519015158152602001610338565b34801561037d57600080fd5b5061031461038c366004612aac565b610a45565b34801561039d57600080fd5b50600c545b604051908152602001610338565b3480156103bc57600080fd5b50601d546103d0906001600160a01b031681565b6040516001600160a01b039091168152602001610338565b3480156103f457600080fd5b50600a546103a2565b34801561040957600080fd5b506103a260165481565b34801561041f57600080fd5b5061036161042e366004612b5e565b610a74565b34801561043f57600080fd5b5061031461044e366004612b9f565b610add565b34801561045f57600080fd5b5061031461046e366004612aac565b610b41565b34801561047f57600080fd5b506103a261048e366004612aac565b610b70565b34801561049f57600080fd5b50600f5460405160ff9091168152602001610338565b3480156104c157600080fd5b506103146104d0366004612b9f565b610bf4565b3480156104e157600080fd5b506103616104f0366004612b32565b610dab565b34801561050157600080fd5b506103a260105481565b34801561051757600080fd5b50610314610526366004612b9f565b610de1565b34801561053757600080fd5b50610314610546366004612b9f565b610e2c565b34801561055757600080fd5b50610314610566366004612b9f565b610ffe565b34801561057757600080fd5b506103a2610586366004612bd1565b61104c565b34801561059757600080fd5b506103146105a6366004612aac565b6110d9565b3480156105b757600080fd5b50601e546103d0906001600160a01b031681565b3480156105d757600080fd5b50601e5461036190600160a81b900460ff1681565b3480156105f857600080fd5b50610314610607366004612b9f565b611108565b34801561061857600080fd5b50610361610627366004612b9f565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561065157600080fd5b506103a260185481565b34801561066757600080fd5b506103a260125481565b34801561067d57600080fd5b506103a261068c366004612b9f565b6112d3565b34801561069d57600080fd5b50610314611332565b3480156106b257600080fd5b506017546103d0906001600160a01b031681565b3480156106d257600080fd5b506103a2601c5481565b3480156106e857600080fd5b506103a2601b5481565b3480156106fe57600080fd5b5061036161070d366004612b9f565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561073757600080fd5b506000546001600160a01b03166103d0565b34801561075557600080fd5b50610314610764366004612aac565b6113a6565b34801561077557600080fd5b5061032b6113d5565b34801561078a57600080fd5b50610361610799366004612b32565b6113e4565b3480156107aa57600080fd5b50610314611433565b3480156107bf57600080fd5b506103616107ce366004612b32565b61154b565b3480156107df57600080fd5b506002546103a2565b3480156107f457600080fd5b506019546103d0906001600160a01b031681565b34801561081457600080fd5b506103a260145481565b34801561082a57600080fd5b50610314610839366004612bfd565b611558565b34801561084a57600080fd5b50610314610859366004612aac565b6115da565b34801561086a57600080fd5b50610314610879366004612aac565b611609565b34801561088a57600080fd5b50610314610899366004612aac565b611638565b3480156108aa57600080fd5b506103a26108b9366004612c18565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b3480156108f057600080fd5b506103146108ff366004612b9f565b611672565b34801561091057600080fd5b5061031461091f366004612b9f565b6116bd565b34801561093057600080fd5b5061031461093f366004612b9f565b6117a7565b34801561095057600080fd5b5061031461095f366004612aac565b6117f5565b6000546001600160a01b031633146109975760405162461bcd60e51b815260040161098e90612c51565b60405180910390fd5b601055565b6060600d80546109ab90612c86565b80601f01602080910402602001604051908101604052809291908181526020018280546109d790612c86565b8015610a245780601f106109f957610100808354040283529160200191610a24565b820191906000526020600020905b815481529060010190602001808311610a0757829003601f168201915b5050505050905090565b6000610a3b338484611824565b5060015b92915050565b6000546001600160a01b03163314610a6f5760405162461bcd60e51b815260040161098e90612c51565b601c55565b6000610a81848484611948565b610ad38433610ace85604051806060016040528060288152602001612e4b602891396001600160a01b038a1660009081526005602090815260408083203384529091529020549190611c2f565b611824565b5060019392505050565b6000546001600160a01b03163314610b075760405162461bcd60e51b815260040161098e90612c51565b601980546001600160a01b039092166001600160a01b0319909216821790556000908152600660205260409020805460ff19166001179055565b6000546001600160a01b03163314610b6b5760405162461bcd60e51b815260040161098e90612c51565b601f55565b6000600b54821115610bd75760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161098e565b6000610be1611c69565b9050610bed8382611c8c565b9392505050565b6000546001600160a01b03163314610c1e5760405162461bcd60e51b815260040161098e90612c51565b6001600160a01b03811660009081526007602052604090205460ff16610c865760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161098e565b60005b600854811015610da757816001600160a01b031660088281548110610cb057610cb0612cc1565b6000918252602090912001546001600160a01b03161415610d955760088054610cdb90600190612ced565b81548110610ceb57610ceb612cc1565b600091825260209091200154600880546001600160a01b039092169183908110610d1757610d17612cc1565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600482526040808220829055600790925220805460ff191690556008805480610d6f57610d6f612d04565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610d9f81612d1a565b915050610c89565b5050565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610a3b918590610ace9086611cce565b6000546001600160a01b03163314610e0b5760405162461bcd60e51b815260040161098e90612c51565b6001600160a01b03166000908152600960205260409020805460ff19169055565b6000546001600160a01b03163314610e565760405162461bcd60e51b815260040161098e90612c51565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610e9457600080fd5b505afa158015610ea8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecc9190612d35565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610f1457600080fd5b505afa158015610f28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4c9190612d35565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015610f9457600080fd5b505af1158015610fa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcc9190612d35565b601e80546001600160a01b039283166001600160a01b031991821617909155601d805493909216921691909117905550565b6000546001600160a01b031633146110285760405162461bcd60e51b815260040161098e90612c51565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6000600a548311156110a05760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015260640161098e565b816110bf5760006110b084611d2d565b50939550610a3f945050505050565b60006110ca84611d2d565b50929550610a3f945050505050565b6000546001600160a01b031633146111035760405162461bcd60e51b815260040161098e90612c51565b601655565b6000546001600160a01b031633146111325760405162461bcd60e51b815260040161098e90612c51565b733d1c58b6d4501e34df37cf0f664a58059a188f006001600160a01b03821614156111aa5760405162461bcd60e51b815260206004820152602260248201527f57652063616e206e6f74206578636c7564652050616e63616b6520726f757465604482015261391760f11b606482015260840161098e565b6001600160a01b03811660009081526007602052604090205460ff16156112135760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161098e565b6001600160a01b0381166000908152600360205260409020541561126d576001600160a01b03811660009081526003602052604090205461125390610b70565b6001600160a01b0382166000908152600460205260409020555b6001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b6001600160a01b03811660009081526007602052604081205460ff161561131057506001600160a01b031660009081526004602052604090205490565b6001600160a01b038216600090815260036020526040902054610a3f90610b70565b6000546001600160a01b0316331461135c5760405162461bcd60e51b815260040161098e90612c51565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146113d05760405162461bcd60e51b815260040161098e90612c51565b601255565b6060600e80546109ab90612c86565b6000610a3b3384610ace85604051806060016040528060258152602001612e73602591393360009081526005602090815260408083206001600160a01b038d1684529091529020549190611c2f565b6001546001600160a01b031633146114995760405162461bcd60e51b815260206004820152602360248201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6044820152626f636b60e81b606482015260840161098e565b60025442116114ea5760405162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c2037206461797300604482015260640161098e565b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b6000610a3b338484611948565b6000546001600160a01b031633146115825760405162461bcd60e51b815260040161098e90612c51565b601e8054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906115cf90831515815260200190565b60405180910390a150565b6000546001600160a01b031633146116045760405162461bcd60e51b815260040161098e90612c51565b601855565b6000546001600160a01b031633146116335760405162461bcd60e51b815260040161098e90612c51565b601455565b6000546001600160a01b031633146116625760405162461bcd60e51b815260040161098e90612c51565b61166c8142612d52565b60025550565b6000546001600160a01b0316331461169c5760405162461bcd60e51b815260040161098e90612c51565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6000546001600160a01b031633146116e75760405162461bcd60e51b815260040161098e90612c51565b6001600160a01b03811661174c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161098e565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146117d15760405162461bcd60e51b815260040161098e90612c51565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6000546001600160a01b0316331461181f5760405162461bcd60e51b815260040161098e90612c51565b601b55565b6001600160a01b0383166118865760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161098e565b6001600160a01b0382166118e75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161098e565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166119ac5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161098e565b60008111611a0e5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161098e565b6001600160a01b03831660009081526009602052604090205460ff16158015611a5057506001600160a01b03821660009081526009602052604090205460ff16155b611aaf5760405162461bcd60e51b815260206004820152602a60248201527f426c61636b6c6973746564206164647265737365732063616e277420646f20626044820152691d5e481bdc881cd95b1b60b21b606482015260840161098e565b601e546001600160a01b0316331415611bb457601b548110611b235760405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220616d6f756e74206d757374206265206c657373207468656044820152660da40dac2f0a8f60cb1b606482015260840161098e565b6000611b2e836112d3565b601c54909150611b3e8383612d52565b1115611bb25760405162461bcd60e51b815260206004820152603e60248201527f546f74616c20486f6c64696e672069732063757272656e746c79206c696d697460448201527f65642c20796f752063616e206e6f74206275792074686174206d7563682e0000606482015260840161098e565b505b6000611bbf306112d3565b601f5490915081108015908190611be05750601e54600160a01b900460ff16155b8015611bfa5750601e546001600160a01b03868116911614155b8015611c0f5750601e54600160a81b900460ff165b15611c1d57611c1d82611d7c565b611c28858585611ea1565b5050505050565b60008184841115611c535760405162461bcd60e51b815260040161098e9190612ac5565b506000611c608486612ced565b95945050505050565b6000806000611c76612168565b9092509050611c858282611c8c565b9250505090565b6000610bed83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506122ea565b600080611cdb8385612d52565b905083811015610bed5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161098e565b6000806000806000806000806000611d448a612318565b9250925092506000806000611d628d8686611d5d611c69565b612354565b919f909e50909c50959a5093985091965092945050505050565b601e805460ff60a01b1916600160a01b179055601854601254600091611da29190611cce565b90506000611dc582611dbf601254866123a490919063ffffffff16565b90611c8c565b90506000611dd38483612423565b90506000611de2836002611c8c565b90506000611df08483612423565b905047611dfc83612465565b6000611e084783612423565b9050611e1483826125ce565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a18415611e8a57479150611e6785612465565b611e714783612423565b601954909150611e8a906001600160a01b0316826126ab565b5050601e805460ff60a01b19169055505050505050565b6001600160a01b03831660009081526006602052604090205460ff1680611ee057506001600160a01b03821660009081526006602052604090205460ff165b15611eed57611eed6126e6565b6000611f096064611dbf601454856123a490919063ffffffff16565b90506000611f276064611dbf601654866123a490919063ffffffff16565b6001600160a01b03861660009081526007602052604090205490915060ff168015611f6b57506001600160a01b03841660009081526007602052604090205460ff16155b15611f9357611f8e8585611f8984611f838888612423565b90612423565b612742565b6120c0565b6001600160a01b03851660009081526007602052604090205460ff16158015611fd457506001600160a01b03841660009081526007602052604090205460ff165b15611ff157611f8e8585611fec84611f838888612423565b612868565b6001600160a01b03851660009081526007602052604090205460ff1615801561203357506001600160a01b03841660009081526007602052604090205460ff16155b1561205057611f8e858561204b84611f838888612423565b612911565b6001600160a01b03851660009081526007602052604090205460ff16801561209057506001600160a01b03841660009081526007602052604090205460ff165b156120ad57611f8e85856120a884611f838888612423565b612955565b6120c0858561204b84611f838888612423565b6000601081905560125581156120dd576120dd8561dead84612911565b80156120fb576017546120fb9086906001600160a01b031683612911565b6011546010556013546012556001600160a01b03851660009081526006602052604090205460ff168061214657506001600160a01b03841660009081526006602052604090205460ff165b15611c2857611c28601154601055601354601255601554601455601a54601655565b600b54600a546000918291825b6008548110156122ba5782600360006008848154811061219757612197612cc1565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061220257508160046000600884815481106121db576121db612cc1565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561221857600b54600a54945094505050509091565b61225e600360006008848154811061223257612232612cc1565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490612423565b92506122a6600460006008848154811061227a5761227a612cc1565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390612423565b9150806122b281612d1a565b915050612175565b50600a54600b546122ca91611c8c565b8210156122e157600b54600a549350935050509091565b90939092509050565b6000818361230b5760405162461bcd60e51b815260040161098e9190612ac5565b506000611c608486612d6a565b600080600080612327856129c8565b90506000612334866129e4565b9050600061234682611f838986612423565b979296509094509092505050565b600080808061236388866123a4565b9050600061237188876123a4565b9050600061237f88886123a4565b9050600061239182611f838686612423565b939b939a50919850919650505050505050565b6000826123b357506000610a3f565b60006123bf8385612d8c565b9050826123cc8583612d6a565b14610bed5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161098e565b6000610bed83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611c2f565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061249a5761249a612cc1565b6001600160a01b03928316602091820292909201810191909152601d54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156124ee57600080fd5b505afa158015612502573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125269190612d35565b8160018151811061253957612539612cc1565b6001600160a01b039283166020918202929092010152601d5461255f9130911684611824565b601d5460405163791ac94760e01b81526001600160a01b039091169063791ac94790612598908590600090869030904290600401612dab565b600060405180830381600087803b1580156125b257600080fd5b505af11580156125c6573d6000803e3d6000fd5b505050505050565b601d546125e69030906001600160a01b031684611824565b601d546001600160a01b031663f305d71982308560008061260f6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b15801561267257600080fd5b505af1158015612686573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611c289190612e1c565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156126e1573d6000803e3d6000fd5b505050565b6010541580156126f65750601254155b80156127025750601654155b801561270e5750601454155b1561271557565b60108054601155601280546013556014805460155560168054601a55600093849055918390559082905555565b60008060008060008061275487611d2d565b6001600160a01b038f16600090815260046020526040902054959b509399509197509550935091506127869088612423565b6001600160a01b038a166000908152600460209081526040808320939093556003905220546127b59087612423565b6001600160a01b03808b1660009081526003602052604080822093909355908a16815220546127e49086611cce565b6001600160a01b03891660009081526003602052604090205561280681612a00565b6128108483612a88565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161285591815260200190565b60405180910390a3505050505050505050565b60008060008060008061287a87611d2d565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506128ac9087612423565b6001600160a01b03808b16600090815260036020908152604080832094909455918b168152600490915220546128e29084611cce565b6001600160a01b0389166000908152600460209081526040808320939093556003905220546127e49086611cce565b60008060008060008061292387611d2d565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506127b59087612423565b60008060008060008061296787611d2d565b6001600160a01b038f16600090815260046020526040902054959b509399509197509550935091506129999088612423565b6001600160a01b038a166000908152600460209081526040808320939093556003905220546128ac9087612423565b6000610a3f6064611dbf601054856123a490919063ffffffff16565b6000610a3f6064611dbf601254856123a490919063ffffffff16565b6000612a0a611c69565b90506000612a1883836123a4565b30600090815260036020526040902054909150612a359082611cce565b3060009081526003602090815260408083209390935560079052205460ff16156126e15730600090815260046020526040902054612a739084611cce565b30600090815260046020526040902055505050565b600b54612a959083612423565b600b55600c54612aa59082611cce565b600c555050565b600060208284031215612abe57600080fd5b5035919050565b600060208083528351808285015260005b81811015612af257858101830151858201604001528201612ad6565b81811115612b04576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114612b2f57600080fd5b50565b60008060408385031215612b4557600080fd5b8235612b5081612b1a565b946020939093013593505050565b600080600060608486031215612b7357600080fd5b8335612b7e81612b1a565b92506020840135612b8e81612b1a565b929592945050506040919091013590565b600060208284031215612bb157600080fd5b8135610bed81612b1a565b80358015158114612bcc57600080fd5b919050565b60008060408385031215612be457600080fd5b82359150612bf460208401612bbc565b90509250929050565b600060208284031215612c0f57600080fd5b610bed82612bbc565b60008060408385031215612c2b57600080fd5b8235612c3681612b1a565b91506020830135612c4681612b1a565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612c9a57607f821691505b60208210811415612cbb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015612cff57612cff612cd7565b500390565b634e487b7160e01b600052603160045260246000fd5b6000600019821415612d2e57612d2e612cd7565b5060010190565b600060208284031215612d4757600080fd5b8151610bed81612b1a565b60008219821115612d6557612d65612cd7565b500190565b600082612d8757634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612da657612da6612cd7565b500290565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612dfb5784516001600160a01b031683529383019391830191600101612dd6565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612e3157600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212204ccdb56f90c685e7a15081322700575c98f77d17bc9712fc76299dfa00c6670e64736f6c63430008090033