Contract Address Details

0x5dE4f9C94F744c986ffd32b0440EbF25F7171eE7

Token
TEST (TEST)
Creator
0xd08154–e0bc9a at 0xd1cb50–df618a
Balance
0 ELA
Tokens
Fetching tokens...
Transactions
Transfers
Gas Used
Last Balance Update
27510826
Contract is not verified. However, we found a verified contract with the same bytecode in Blockscout DB 0xac977dad2c2d87932ef767271c585a25c129739e.
All metadata displayed below is from that contract. In order to verify current contract, click Verify & Publish button
Contract name:
SToken




Optimization enabled
true
Compiler version
v0.6.12+commit.27d51765




Optimization runs
200
Verified at
2024-07-15 22:45:34.952639Z

Contract source code

pragma solidity ^0.6.12;
// SPDX-License-Identifier: Unlicensed
interface IERC20 {
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(
address recipient,
uint256 amount
) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(
address owner,
address spender
) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
}
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts with custom message when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal pure virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal pure virtual returns (uint256) {
return 0;
}
}
/**
* @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
* ====
*/
function isContract(address account) internal view returns (bool) {
// According to EIP-1052, 0x0 is the value returned for not-yet created accounts
// and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
// for accounts without code, i.e. `keccak256('')`
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"
);
}
/**
* @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 functionCall(target, data, "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"
);
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 {
// 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
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
/**
* @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.
*/
contract Ownable is Context {
address public _owner;
address private _previousOwner;
uint256 private _lockTime;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
/**
* @dev Returns the address of the current owner.
*/
function owner() public view returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(_owner == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = 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"
);
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
function geUnlockTime() public view returns (uint256) {
return _lockTime;
}
//Locks the contract for owner for the amount of time provided
function lock(uint256 time) public virtual onlyOwner {
_previousOwner = _owner;
_owner = address(0);
_lockTime = block.timestamp + time;
emit OwnershipTransferred(_owner, address(0));
}
//Unlocks the contract for owner when _lockTime is exceeds
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 Mint(address indexed sender, uint amount0, uint amount1);
event Burn(
address indexed sender,
uint amount0,
uint amount1,
address indexed to
);
event Swap(
address indexed sender,
uint amount0In,
uint amount1In,
uint amount0Out,
uint amount1Out,
address indexed to
);
event Sync(uint112 reserve0, uint112 reserve1);
function MINIMUM_LIQUIDITY() external pure returns (uint);
function factory() external view returns (address);
function token0() external view returns (address);
function token1() external view returns (address);
function getReserves()
external
view
returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
function price0CumulativeLast() external view returns (uint);
function price1CumulativeLast() external view returns (uint);
function kLast() external view returns (uint);
function mint(address to) external returns (uint liquidity);
function burn(address to) external returns (uint amount0, uint amount1);
function swap(
uint amount0Out,
uint amount1Out,
address to,
bytes calldata data
) external;
function skim(address to) external;
function sync() external;
function initialize(address, address) external;
}
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 SToken is Context, IERC20, Ownable {
using SafeMath for uint256;
using Address for address;
string public constant contractType = "SToken";
uint256 public constant contractVersion = 1;
event TokenURISet(string tokenURI);
// Metadata URI
string private _tokenURI;
/// Main Contract Image URI
string public contractImageURI;
///set Contract Image Link
function setContractImageURI(
string memory _contractImageURI
) public onlyOwner {
contractImageURI = _contractImageURI;
}
/**
* @dev Sets the URI for the contract metadata.
* @param newTokenURI The new URI to set.
*/
function setTokenURI(string memory newTokenURI) public onlyOwner {
_tokenURI = newTokenURI;
emit TokenURISet(newTokenURI);
}
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;
uint256 private constant MAX = ~uint256(0);
uint256 private _tTotal;
uint256 private _rTotal;
uint256 private _tFeeTotal;
string private _name;
string private _symbol;
uint256 private _decimals;
uint256 public _taxFee;
uint256 private _previousTaxFee;
uint256 private _maxTaxFee;
uint256 public _adminFee;
uint256 private _previousAdminFee;
uint256 private _maxAdminFee;
uint256 public _liquidityFee;
uint256 private _previousLiquidityFee;
uint256 private _maxLiquidityFee;
address public _adminWallet;
IUniswapV2Router02 public uniswapV2Router;
address public uniswapV2Pair;
bool inSwapAndLiquify;
bool public swapAndLiquifyEnabled = true;
bool public _takeFeesOnEveryTransfer;
uint256 public _maxTxAmount;
uint256 public numTokensSellToAddToLiquidity;
event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap);
event SwapAndLiquifyEnabledUpdated(bool enabled);
event taxFeeUpdated(uint256 fee);
event lpFeeUpdated(uint256 fee);
event adminFeeUpdated(uint256 fee);
event adminWalletUpdated(address wallet);
event maxTxAmountUpdated(uint256 newMaxTxAmount);
event excludedFromReward(address account);
event includedInReward(address account);
event excludedFromFee(address account);
event includedInFee(address account);
event SwapAndLiquify(
uint256 tokensSwapped,
uint256 ethReceived,
uint256 tokensIntoLiqudity
);
modifier lockTheSwap() {
inSwapAndLiquify = true;
_;
inSwapAndLiquify = false;
}
constructor(
string memory _NAME,
string memory _SYMBOL,
uint256 _DECIMALS,
uint256 _supply,
uint256 _txFee,
uint256 _lpFee,
uint256 _admFee,
uint256 maxTxAmount_,
uint256 numTokenSellForLiq_,
address routerAddress,
address adminWallet_,
address tokenOwner,
address creationFeeRecipient,
string memory tokenURI_,
bool takeFeesOnEveryTransfer
) public {
require(
adminWallet_ != address(0),
"Admin wallet cannot be zero address"
);
require(
tokenOwner != address(0),
"Owner wallet cannot be zero address"
);
require(_lpFee <= 10, "Cannot set LpFee more then 10%");
require(_admFee <= 10, "Cannot set adminFee more then 10%");
require(_taxFee <= 10, "Cannot set reflect rate more then 10%");
_owner = tokenOwner;
_name = _NAME;
_symbol = _SYMBOL;
_decimals = _DECIMALS;
_tTotal = _supply * 10 ** _decimals;
_rTotal = (MAX - (MAX % _tTotal));
_taxFee = _txFee;
_liquidityFee = _lpFee;
_previousTaxFee = _txFee;
_previousLiquidityFee = _lpFee;
numTokensSellToAddToLiquidity = numTokenSellForLiq_ * 10 ** _decimals;
_adminFee = _admFee;
_previousAdminFee = _admFee;
_maxAdminFee = _admFee;
_maxLiquidityFee = _lpFee;
_maxTaxFee = _txFee;
_tokenURI = tokenURI_;
_takeFeesOnEveryTransfer = takeFeesOnEveryTransfer;
_rOwned[tokenOwner] = _rTotal;
_adminWallet = adminWallet_;
excludeFromReward(adminWallet_);
//Set Max Tx Amount
uint256 minAmount = (_tTotal * 1) / 1000;
uint256 maxAm = maxTxAmount_ * 10 ** _decimals;
require(
maxAm >= minAmount,
"Max transaction amount cannot be less than 0.1% of total supply"
);
_maxTxAmount = maxAm;
IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(routerAddress);
// Create a uniswap pair for this new token
uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
.createPair(address(this), _uniswapV2Router.WETH());
// set the rest of the contract variables
uniswapV2Router = _uniswapV2Router;
//exclude owner and this contract from fee
_isExcludedFromFee[tokenOwner] = true;
_isExcludedFromFee[address(this)] = true;
emit Transfer(address(0), tokenOwner, _tTotal);
// Transfer creation fee after initialization
if (creationFeeRecipient != address(0)) {
uint256 creationFee = (_tTotal * 3) / 100;
_transfer(tokenOwner, creationFeeRecipient, creationFee);
}
}
/**
* @dev Returns the URI for the contract metadata.
*/
function tokenURI() public view returns (string memory) {
return _tokenURI;
}
function name() public view returns (string memory) {
return _name;
}
function symbol() public view returns (string memory) {
return _symbol;
}
function decimals() public view returns (uint256) {
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 deliver(uint256 tAmount) public {
address sender = _msgSender();
require(
!_isExcluded[sender],
"Excluded addresses cannot call this function"
);
(uint256 rAmount, , , , , , ) = _getValues(tAmount);
_rOwned[sender] = _rOwned[sender].sub(rAmount);
_rTotal = _rTotal.sub(rAmount);
_tFeeTotal = _tFeeTotal.add(tAmount);
}
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(!_isExcluded[account], "Account is already excluded");
if (_rOwned[account] > 0) {
_tOwned[account] = tokenFromReflection(_rOwned[account]);
}
_isExcluded[account] = true;
_excluded.push(account);
emit excludedFromReward(account);
}
function includeInReward(address account) external onlyOwner {
require(_isExcluded[account], "Account is already included");
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;
}
}
emit includedInReward(account);
}
function _transferBothExcluded(
address sender,
address recipient,
uint256 tAmount
) private {
(
uint256 rAmount,
uint256 rTransferAmount,
uint256 rFee,
uint256 tTransferAmount,
uint256 tFee,
uint256 tLiquidity,
uint256 tAdmin
) = _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);
_takeAdminFee(tAdmin);
_reflectFee(rFee, tFee);
emit Transfer(sender, recipient, tTransferAmount);
}
function excludeFromFee(address account) public onlyOwner {
_isExcludedFromFee[account] = true;
emit excludedFromFee(account);
}
function includeInFee(address account) public onlyOwner {
_isExcludedFromFee[account] = false;
emit includedInFee(account);
}
function setTaxFeePercent(uint256 taxFee) external onlyOwner {
require(_maxTaxFee >= taxFee, "Cannot exceed the max tax fee");
_taxFee = taxFee;
emit taxFeeUpdated(taxFee);
}
function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner {
require(
_maxLiquidityFee >= liquidityFee,
"Cannot exceed the max liquidity fee"
);
_liquidityFee = liquidityFee;
emit lpFeeUpdated(liquidityFee);
}
function setAdminFeePercent(uint256 admFee) external onlyOwner {
require(_maxAdminFee >= admFee, "Cannot exceed the max admin fee");
_adminFee = admFee;
emit adminFeeUpdated(admFee);
}
function setAdminWallet(address admwallet) external onlyOwner {
require(admwallet != address(0), "Admin wallet cannot be zero address");
_adminWallet = admwallet;
excludeFromReward(admwallet);
emit adminWalletUpdated(admwallet);
}
function setNumTokensSellToAddToLiquidity(
uint256 swapNumber
) public onlyOwner {
numTokensSellToAddToLiquidity = swapNumber * 10 ** _decimals;
}
function setMaxTxAmount(uint256 maxTxAmount) public onlyOwner {
// Calculate 0.1% of the total supply
uint256 tsupply = totalSupply();
uint256 minAmount = (tsupply * 1) / 1000;
uint256 maxAm = maxTxAmount * 10 ** _decimals;
// Require check to ensure maxTxAmount is not less than 0.1% of the total supply
require(
maxAm >= minAmount,
"Max transaction amount cannot be less than 0.1% of total supply"
);
// Calculate the new _maxTxAmount
_maxTxAmount = maxAm;
// Emit the event
emit maxTxAmountUpdated(maxAm);
}
function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
swapAndLiquifyEnabled = _enabled;
emit SwapAndLiquifyEnabledUpdated(_enabled);
}
//to recieve ETH from uniswapV2Router when swaping
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)
{
(
uint256 tTransferAmount,
uint256 tFee,
uint256 tLiquidity,
uint256 tAdmin
) = _getTValues(tAmount);
(uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(
tAmount,
tFee,
tLiquidity,
tAdmin,
_getRate()
);
return (
rAmount,
rTransferAmount,
rFee,
tTransferAmount,
tFee,
tLiquidity,
tAdmin
);
}
function _getTValues(
uint256 tAmount
) private view returns (uint256, uint256, uint256, uint256) {
uint256 tFee = calculateTaxFee(tAmount);
uint256 tLiquidity = calculateLiquidityFee(tAmount);
uint256 tAdmin = calculateAdminFee(tAmount);
uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity).sub(tAdmin);
return (tTransferAmount, tFee, tLiquidity, tAdmin);
}
function _getRValues(
uint256 tAmount,
uint256 tFee,
uint256 tLiquidity,
uint256 tAdmin,
uint256 currentRate
) private pure returns (uint256, uint256, uint256) {
uint256 rAmount = tAmount.mul(currentRate);
uint256 rFee = tFee.mul(currentRate);
uint256 rLiquidity = tLiquidity.mul(currentRate);
uint256 rAdmin = tAdmin.mul(currentRate);
uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity).sub(rAdmin);
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 _takeAdminFee(uint256 tAdmin) private {
uint256 currentRate = _getRate();
uint256 rAdmin = tAdmin.mul(currentRate);
_rOwned[address(_adminWallet)] = _rOwned[address(_adminWallet)].add(
rAdmin
);
if (_isExcluded[address(_adminWallet)])
_tOwned[address(_adminWallet)] = _tOwned[address(_adminWallet)].add(
tAdmin
);
}
function claimTokens() public onlyOwner {
payable(_owner).transfer(address(this).balance);
}
function calculateTaxFee(uint256 _amount) private view returns (uint256) {
return _amount.mul(_taxFee).div(10 ** 2);
}
function calculateAdminFee(uint256 _amount) private view returns (uint256) {
return _amount.mul(_adminFee).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 && _adminFee == 0) return;
_previousTaxFee = _taxFee;
_previousLiquidityFee = _liquidityFee;
_previousAdminFee = _adminFee;
_taxFee = 0;
_liquidityFee = 0;
_adminFee = 0;
}
function restoreAllFee() private {
_taxFee = _previousTaxFee;
_liquidityFee = _previousLiquidityFee;
_adminFee = _previousAdminFee;
}
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 _transfer(address from, address to, uint256 amount) private {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
require(amount > 0, "Transfer amount must be greater than zero");
// Check if the transfer is to or from the Uniswap pair
bool isUniswapPair = from == uniswapV2Pair || to == uniswapV2Pair;
if (from != owner() && to != owner()) {
if (isUniswapPair) {
require(
amount <= _maxTxAmount,
"Transfer amount exceeds the maxTxAmount."
);
}
}
//indicates if fee should be deducted from transfer
bool takeFee = isUniswapPair || _takeFeesOnEveryTransfer;
// is the token balance of this contract address over the min number of
// tokens that we need to initiate a swap + liquidity lock?
// also, don't get caught in a circular liquidity event.
// also, don't swap & liquify if sender is uniswap pair.
uint256 contractTokenBalance = balanceOf(address(this));
if (contractTokenBalance >= _maxTxAmount) {
contractTokenBalance = _maxTxAmount;
}
bool overMinTokenBalance = contractTokenBalance >=
numTokensSellToAddToLiquidity;
if (
overMinTokenBalance &&
!inSwapAndLiquify &&
from != uniswapV2Pair &&
swapAndLiquifyEnabled
) {
contractTokenBalance = numTokensSellToAddToLiquidity;
//add liquidity
swapAndLiquify(contractTokenBalance);
}
//if any account belongs to _isExcludedFromFee account then remove the fee
if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) {
takeFee = false;
}
//transfer amount, it will take tax, burn, liquidity fee
_tokenTransfer(from, to, amount, takeFee);
}
function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
// split the contract balance into halves
uint256 half = contractTokenBalance.div(2);
uint256 otherHalf = contractTokenBalance.sub(half);
// capture the contract's current ETH balance.
// this is so that we can capture exactly the amount of ETH that the
// swap creates, and not make the liquidity event include any ETH that
// has been manually sent to the contract
uint256 initialBalance = address(this).balance;
// swap tokens for ETH
swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered
// how much ETH did we just swap into?
uint256 newBalance = address(this).balance.sub(initialBalance);
// add liquidity to uniswap
addLiquidity(otherHalf, newBalance);
emit SwapAndLiquify(half, newBalance, otherHalf);
}
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
);
}
//this method is responsible for taking all fee, if takeFee is true
function _tokenTransfer(
address sender,
address recipient,
uint256 amount,
bool takeFee
) private {
if (!takeFee) removeAllFee();
if (_isExcluded[sender] && !_isExcluded[recipient]) {
_transferFromExcluded(sender, recipient, amount);
} else if (!_isExcluded[sender] && _isExcluded[recipient]) {
_transferToExcluded(sender, recipient, amount);
} else if (!_isExcluded[sender] && !_isExcluded[recipient]) {
_transferStandard(sender, recipient, amount);
} else if (_isExcluded[sender] && _isExcluded[recipient]) {
_transferBothExcluded(sender, recipient, amount);
} else {
_transferStandard(sender, recipient, amount);
}
if (!takeFee) restoreAllFee();
}
function _transferStandard(
address sender,
address recipient,
uint256 tAmount
) private {
(
uint256 rAmount,
uint256 rTransferAmount,
uint256 rFee,
uint256 tTransferAmount,
uint256 tFee,
uint256 tLiquidity,
uint256 tAdmin
) = _getValues(tAmount);
_rOwned[sender] = _rOwned[sender].sub(rAmount);
_rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
_takeLiquidity(tLiquidity);
_takeAdminFee(tAdmin);
_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,
uint256 tAdmin
) = _getValues(tAmount);
_rOwned[sender] = _rOwned[sender].sub(rAmount);
_tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
_rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
_takeLiquidity(tLiquidity);
_takeAdminFee(tAdmin);
_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,
uint256 tAdmin
) = _getValues(tAmount);
_tOwned[sender] = _tOwned[sender].sub(tAmount);
_rOwned[sender] = _rOwned[sender].sub(rAmount);
_rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
_takeLiquidity(tLiquidity);
_takeAdminFee(tAdmin);
_reflectFee(rFee, tFee);
emit Transfer(sender, recipient, tTransferAmount);
}
}

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"string","name":"_NAME","internalType":"string"},{"type":"string","name":"_SYMBOL","internalType":"string"},{"type":"uint256","name":"_DECIMALS","internalType":"uint256"},{"type":"uint256","name":"_supply","internalType":"uint256"},{"type":"uint256","name":"_txFee","internalType":"uint256"},{"type":"uint256","name":"_lpFee","internalType":"uint256"},{"type":"uint256","name":"_admFee","internalType":"uint256"},{"type":"uint256","name":"maxTxAmount_","internalType":"uint256"},{"type":"uint256","name":"numTokenSellForLiq_","internalType":"uint256"},{"type":"address","name":"routerAddress","internalType":"address"},{"type":"address","name":"adminWallet_","internalType":"address"},{"type":"address","name":"tokenOwner","internalType":"address"},{"type":"address","name":"creationFeeRecipient","internalType":"address"},{"type":"string","name":"tokenURI_","internalType":"string"},{"type":"bool","name":"takeFeesOnEveryTransfer","internalType":"bool"}]},{"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":"TokenURISet","inputs":[{"type":"string","name":"tokenURI","internalType":"string","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":"event","name":"adminFeeUpdated","inputs":[{"type":"uint256","name":"fee","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"adminWalletUpdated","inputs":[{"type":"address","name":"wallet","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"excludedFromFee","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"excludedFromReward","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"includedInFee","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"includedInReward","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"lpFeeUpdated","inputs":[{"type":"uint256","name":"fee","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"maxTxAmountUpdated","inputs":[{"type":"uint256","name":"newMaxTxAmount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"taxFeeUpdated","inputs":[{"type":"uint256","name":"fee","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_adminFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"_adminWallet","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":"_maxTxAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"_owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"_takeFeesOnEveryTransfer","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":"claimTokens","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"contractImageURI","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"contractType","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"contractVersion","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"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":"deliver","inputs":[{"type":"uint256","name":"tAmount","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":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"numTokensSellToAddToLiquidity","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":"setAdminFeePercent","inputs":[{"type":"uint256","name":"admFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setAdminWallet","inputs":[{"type":"address","name":"admwallet","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setContractImageURI","inputs":[{"type":"string","name":"_contractImageURI","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setLiquidityFeePercent","inputs":[{"type":"uint256","name":"liquidityFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaxTxAmount","inputs":[{"type":"uint256","name":"maxTxAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setNumTokensSellToAddToLiquidity","inputs":[{"type":"uint256","name":"swapNumber","internalType":"uint256"}]},{"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":"setTokenURI","inputs":[{"type":"string","name":"newTokenURI","internalType":"string"}]},{"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":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[]},{"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":"receive","stateMutability":"payable"}]
            

Deployed ByteCode

Verify & Publish
0x6080604052600436106103035760003560e01c80637d1db4a511610190578063c49b9a80116100dc578063dd62ed3e11610095578063ea2f0b371161006f578063ea2f0b3714610b5c578063ec28438a14610b8f578063f0f165af14610bb9578063f2fde38b14610be35761030a565b8063dd62ed3e14610a59578063e0023de214610a94578063e0df5b6f14610aa95761030a565b8063c49b9a801461099a578063caa178c2146109c6578063cb2ef6f7146109db578063d12a7688146109f0578063d1ff960514610a05578063dd46706414610a2f5761030a565b806395d89b4111610149578063a69df4b511610123578063a69df4b514610922578063a9059cbb14610937578063b2bdfa7b14610970578063b6c52324146109855761030a565b806395d89b41146108bf578063a0a8e460146108d4578063a457c2d7146108e95761030a565b80637d1db4a5146107705780637ec1c9671461078557806388f82020146108385780638b86cd711461086b5780638da5cb5b146108805780638ee88c53146108955761030a565b80633b124fe71161024f57806349bd5a5e116102085780635342acb4116101e25780635342acb4146106e05780636bc87c3a1461071357806370a0823114610728578063715018a61461075b5761030a565b806349bd5a5e146106835780634a74bb021461069857806352390c02146106ad5761030a565b80633b124fe7146105b55780633bd5d173146105ca5780633c130d90146105f4578063437823ec146106095780634549b0391461063c57806348c54b9d1461066e5761030a565b806318160ddd116102bc578063313ce56711610296578063313ce5671461050157806335082933146105165780633685d41914610549578063395093511461057c5761030a565b806318160ddd1461047f57806323b872dd146104945780632d838119146104d75761030a565b8063061c82d01461030f57806306fdde031461033b578063095ea7b3146103c55780630ed220831461041257806313114a9d146104435780631694505e1461046a5761030a565b3661030a57005b600080fd5b34801561031b57600080fd5b506103396004803603602081101561033257600080fd5b5035610c16565b005b34801561034757600080fd5b50610350610d00565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561038a578181015183820152602001610372565b50505050905090810190601f1680156103b75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103d157600080fd5b506103fe600480360360408110156103e857600080fd5b506001600160a01b038135169060200135610d96565b604080519115158252519081900360200190f35b34801561041e57600080fd5b50610427610db4565b604080516001600160a01b039092168252519081900360200190f35b34801561044f57600080fd5b50610458610dc3565b60408051918252519081900360200190f35b34801561047657600080fd5b50610427610dc9565b34801561048b57600080fd5b50610458610dd8565b3480156104a057600080fd5b506103fe600480360360608110156104b757600080fd5b506001600160a01b03813581169160208101359091169060400135610dde565b3480156104e357600080fd5b50610458600480360360208110156104fa57600080fd5b5035610e65565b34801561050d57600080fd5b50610458610ec7565b34801561052257600080fd5b506103396004803603602081101561053957600080fd5b50356001600160a01b0316610ecd565b34801561055557600080fd5b506103396004803603602081101561056c57600080fd5b50356001600160a01b0316610fcd565b34801561058857600080fd5b506103fe6004803603604081101561059f57600080fd5b506001600160a01b0381351690602001356111ca565b3480156105c157600080fd5b50610458611218565b3480156105d657600080fd5b50610339600480360360208110156105ed57600080fd5b503561121e565b34801561060057600080fd5b506103506112fa565b34801561061557600080fd5b506103396004803603602081101561062c57600080fd5b50356001600160a01b031661135b565b34801561064857600080fd5b506104586004803603604081101561065f57600080fd5b5080359060200135151561140e565b34801561067a57600080fd5b506103396114a2565b34801561068f57600080fd5b50610427611537565b3480156106a457600080fd5b506103fe611546565b3480156106b957600080fd5b50610339600480360360208110156106d057600080fd5b50356001600160a01b0316611556565b3480156106ec57600080fd5b506103fe6004803603602081101561070357600080fd5b50356001600160a01b0316611713565b34801561071f57600080fd5b50610458611731565b34801561073457600080fd5b506104586004803603602081101561074b57600080fd5b50356001600160a01b0316611737565b34801561076757600080fd5b50610339611799565b34801561077c57600080fd5b50610458611829565b34801561079157600080fd5b50610339600480360360208110156107a857600080fd5b8101906020810181356401000000008111156107c357600080fd5b8201836020820111156107d557600080fd5b803590602001918460018302840111640100000000831117156107f757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061182f945050505050565b34801561084457600080fd5b506103fe6004803603602081101561085b57600080fd5b50356001600160a01b031661189e565b34801561087757600080fd5b506103fe6118bc565b34801561088c57600080fd5b506104276118cc565b3480156108a157600080fd5b50610339600480360360208110156108b857600080fd5b50356118db565b3480156108cb57600080fd5b506103506119af565b3480156108e057600080fd5b50610458611a10565b3480156108f557600080fd5b506103fe6004803603604081101561090c57600080fd5b506001600160a01b038135169060200135611a15565b34801561092e57600080fd5b50610339611a7d565b34801561094357600080fd5b506103fe6004803603604081101561095a57600080fd5b506001600160a01b038135169060200135611b6b565b34801561097c57600080fd5b50610427611b7f565b34801561099157600080fd5b50610458611b8e565b3480156109a657600080fd5b50610339600480360360208110156109bd57600080fd5b50351515611b94565b3480156109d257600080fd5b50610350611c3f565b3480156109e757600080fd5b50610350611ccd565b3480156109fc57600080fd5b50610458611cef565b348015610a1157600080fd5b5061033960048036036020811015610a2857600080fd5b5035611cf5565b348015610a3b57600080fd5b5061033960048036036020811015610a5257600080fd5b5035611ddf565b348015610a6557600080fd5b5061045860048036036040811015610a7c57600080fd5b506001600160a01b0381358116916020013516611e7d565b348015610aa057600080fd5b50610458611ea8565b348015610ab557600080fd5b5061033960048036036020811015610acc57600080fd5b810190602081018135640100000000811115610ae757600080fd5b820183602082011115610af957600080fd5b80359060200191846001830284011164010000000083111715610b1b57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611eae945050505050565b348015610b6857600080fd5b5061033960048036036020811015610b7f57600080fd5b50356001600160a01b0316611fb6565b348015610b9b57600080fd5b5061033960048036036020811015610bb257600080fd5b5035612066565b348015610bc557600080fd5b5061033960048036036020811015610bdc57600080fd5b5035612156565b348015610bef57600080fd5b5061033960048036036020811015610c0657600080fd5b50356001600160a01b03166121ba565b610c1e6123de565b6000546001600160a01b03908116911614610c6e576040805162461bcd60e51b81526020600482018190526024820152600080516020613657833981519152604482015290519081900360640190fd5b806013541015610cc5576040805162461bcd60e51b815260206004820152601d60248201527f43616e6e6f742065786365656420746865206d61782074617820666565000000604482015290519081900360640190fd5b60118190556040805182815290517fc2daf4666f5409966747e0bfcfba430094b49b3be97eafe99ab1adb5725a7c8a9181900360200190a150565b600e8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d8c5780601f10610d6157610100808354040283529160200191610d8c565b820191906000526020600020905b815481529060010190602001808311610d6f57829003601f168201915b5050505050905090565b6000610daa610da36123de565b84846123e2565b5060015b92915050565b601a546001600160a01b031681565b600d5490565b601b546001600160a01b031681565b600b5490565b6000610deb8484846124ce565b610e5b84610df76123de565b610e568560405180606001604052806028815260200161362f602891396001600160a01b038a16600090815260076020526040812090610e356123de565b6001600160a01b031681526020810191909152604001600020549190612745565b6123e2565b5060019392505050565b6000600c54821115610ea85760405162461bcd60e51b815260040180806020018281038252602a81526020018061352e602a913960400191505060405180910390fd5b6000610eb26127dc565b9050610ebe83826122a0565b9150505b919050565b60105490565b610ed56123de565b6000546001600160a01b03908116911614610f25576040805162461bcd60e51b81526020600482018190526024820152600080516020613657833981519152604482015290519081900360640190fd5b6001600160a01b038116610f6a5760405162461bcd60e51b81526004018080602001828103825260238152602001806135c36023913960400191505060405180910390fd5b601a80546001600160a01b0319166001600160a01b038316179055610f8e81611556565b604080516001600160a01b038316815290517f4959e5eb2066bbfc7814cbe10f3ccf0f657c880d75a25189215246cb03017c1c9181900360200190a150565b610fd56123de565b6000546001600160a01b03908116911614611025576040805162461bcd60e51b81526020600482018190526024820152600080516020613657833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526009602052604090205460ff16611092576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c756465640000000000604482015290519081900360640190fd5b60005b600a5481101561118a57816001600160a01b0316600a82815481106110b657fe5b6000918252602090912001546001600160a01b0316141561118257600a805460001981019081106110e357fe5b600091825260209091200154600a80546001600160a01b03909216918390811061110957fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600682526040808220829055600990925220805460ff19169055600a80548061115b57fe5b600082815260209020810160001990810180546001600160a01b031916905501905561118a565b600101611095565b50604080516001600160a01b038316815290517fb5cb89dffbcb5ab9899127c4fa08550bc12152ec67d8a60d6eef1f53ff28de1d9181900360200190a150565b6000610daa6111d76123de565b84610e5685600760006111e86123de565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061232b565b60115481565b60006112286123de565b6001600160a01b03811660009081526009602052604090205490915060ff16156112835760405162461bcd60e51b815260040180806020018281038252602c815260200180613748602c913960400191505060405180910390fd5b600061128e836127ff565b5050506001600160a01b0386166000908152600560205260409020549394506112bc939250849150506122e9565b6001600160a01b038316600090815260056020526040902055600c546112e290826122e9565b600c55600d546112f2908461232b565b600d55505050565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d8c5780601f10610d6157610100808354040283529160200191610d8c565b6113636123de565b6000546001600160a01b039081169116146113b3576040805162461bcd60e51b81526020600482018190526024820152600080516020613657833981519152604482015290519081900360640190fd5b6001600160a01b038116600081815260086020908152604091829020805460ff19166001179055815192835290517f85ecafd7b8cfcceb72ea6978547a39f89631bf423eea19a63ce8d3881ec51e039281900390910190a150565b6000600b54831115611467576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015290519081900360640190fd5b81611487576000611477846127ff565b50949650610dae95505050505050565b6000611492846127ff565b50939650610dae95505050505050565b6114aa6123de565b6000546001600160a01b039081169116146114fa576040805162461bcd60e51b81526020600482018190526024820152600080516020613657833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015611534573d6000803e3d6000fd5b50565b601c546001600160a01b031681565b601c54600160a81b900460ff1681565b61155e6123de565b6000546001600160a01b039081169116146115ae576040805162461bcd60e51b81526020600482018190526024820152600080516020613657833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526009602052604090205460ff161561161c576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b6001600160a01b03811660009081526005602052604090205415611676576001600160a01b03811660009081526005602052604090205461165c90610e65565b6001600160a01b0382166000908152600660205260409020555b6001600160a01b0381166000818152600960209081526040808320805460ff19166001908117909155600a805491820181559093527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a890920180546001600160a01b03191684179055815192835290517f1af41e5d0a29f48e42c4b0fd6708807d18756226226a8cb539076e78312d1d149281900390910190a150565b6001600160a01b031660009081526008602052604090205460ff1690565b60175481565b6001600160a01b03811660009081526009602052604081205460ff161561177757506001600160a01b038116600090815260066020526040902054610ec2565b6001600160a01b038216600090815260056020526040902054610dae90610e65565b6117a16123de565b6000546001600160a01b039081169116146117f1576040805162461bcd60e51b81526020600482018190526024820152600080516020613657833981519152604482015290519081900360640190fd5b600080546040516001600160a01b0390911690600080516020613677833981519152908390a3600080546001600160a01b0319169055565b601d5481565b6118376123de565b6000546001600160a01b03908116911614611887576040805162461bcd60e51b81526020600482018190526024820152600080516020613657833981519152604482015290519081900360640190fd5b805161189a906004906020840190613477565b5050565b6001600160a01b031660009081526009602052604090205460ff1690565b601c54600160b01b900460ff1681565b6000546001600160a01b031690565b6118e36123de565b6000546001600160a01b03908116911614611933576040805162461bcd60e51b81526020600482018190526024820152600080516020613657833981519152604482015290519081900360640190fd5b8060195410156119745760405162461bcd60e51b81526004018080602001828103825260238152602001806135a06023913960400191505060405180910390fd5b60178190556040805182815290517fa345794544de1e86aacab5e72f4f0246b4b2c03e91b60e5219fc9788f629c1989181900360200190a150565b600f8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d8c5780601f10610d6157610100808354040283529160200191610d8c565b600181565b6000610daa611a226123de565b84610e56856040518060600160405280602581526020016137976025913960076000611a4c6123de565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612745565b6001546001600160a01b03163314611ac65760405162461bcd60e51b81526004018080602001828103825260238152602001806137746023913960400191505060405180910390fd5b6002544211611b1c576040805162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c2037206461797300604482015290519081900360640190fd5b600154600080546040516001600160a01b03938416939091169160008051602061367783398151915291a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b6000610daa611b786123de565b84846124ce565b6000546001600160a01b031681565b60025490565b611b9c6123de565b6000546001600160a01b03908116911614611bec576040805162461bcd60e51b81526020600482018190526024820152600080516020613657833981519152604482015290519081900360640190fd5b601c8054821515600160a81b810260ff60a81b199092169190911790915560408051918252517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599181900360200190a150565b6004805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015611cc55780601f10611c9a57610100808354040283529160200191611cc5565b820191906000526020600020905b815481529060010190602001808311611ca857829003601f168201915b505050505081565b6040518060400160405280600681526020016529aa37b5b2b760d11b81525081565b601e5481565b611cfd6123de565b6000546001600160a01b03908116911614611d4d576040805162461bcd60e51b81526020600482018190526024820152600080516020613657833981519152604482015290519081900360640190fd5b806016541015611da4576040805162461bcd60e51b815260206004820152601f60248201527f43616e6e6f742065786365656420746865206d61782061646d696e2066656500604482015290519081900360640190fd5b60148190556040805182815290517f63a1ba91f85ff71a45bde52da41945e86631a3d5635f84d2ea160417bdc903df9181900360200190a150565b611de76123de565b6000546001600160a01b03908116911614611e37576040805162461bcd60e51b81526020600482018190526024820152600080516020613657833981519152604482015290519081900360640190fd5b60008054600180546001600160a01b03199081166001600160a01b038416179091551681554282016002556040518190600080516020613677833981519152908290a350565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b60145481565b611eb66123de565b6000546001600160a01b03908116911614611f06576040805162461bcd60e51b81526020600482018190526024820152600080516020613657833981519152604482015290519081900360640190fd5b8051611f19906003906020840190613477565b507f5bb111c9b2ad41c6cc1754cdbee2cc303b7becb89d29d2d5f91165fcc0b0a49d816040518080602001828103825283818151815260200191508051906020019080838360005b83811015611f79578181015183820152602001611f61565b50505050905090810190601f168015611fa65780820380516001836020036101000a031916815260200191505b509250505060405180910390a150565b611fbe6123de565b6000546001600160a01b0390811691161461200e576040805162461bcd60e51b81526020600482018190526024820152600080516020613657833981519152604482015290519081900360640190fd5b6001600160a01b038116600081815260086020908152604091829020805460ff19169055815192835290517f711fdef8f2d84ec32e12306df0559e86006affdb2b1be5484928b6810406048f9281900390910190a150565b61206e6123de565b6000546001600160a01b039081169116146120be576040805162461bcd60e51b81526020600482018190526024820152600080516020613657833981519152604482015290519081900360640190fd5b60006120c8610dd8565b6010549091506103e8820490600a0a8302818110156121185760405162461bcd60e51b815260040180806020018281038252603f8152602001806136e5603f913960400191505060405180910390fd5b601d8190556040805182815290517f48c71653cd51db2d9926c1b2524dd4021006956be73394c7359396931d708dc29181900360200190a150505050565b61215e6123de565b6000546001600160a01b039081169116146121ae576040805162461bcd60e51b81526020600482018190526024820152600080516020613657833981519152604482015290519081900360640190fd5b601054600a0a02601e55565b6121c26123de565b6000546001600160a01b03908116911614612212576040805162461bcd60e51b81526020600482018190526024820152600080516020613657833981519152604482015290519081900360640190fd5b6001600160a01b0381166122575760405162461bcd60e51b81526004018080602001828103825260268152602001806135586026913960400191505060405180910390fd5b600080546040516001600160a01b038085169392169160008051602061367783398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006122e283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061285a565b9392505050565b60006122e283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612745565b6000828201838110156122e2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008261239457506000610dae565b828202828482816123a157fe5b04146122e25760405162461bcd60e51b815260040180806020018281038252602181526020018061360e6021913960400191505060405180910390fd5b3390565b6001600160a01b0383166124275760405162461bcd60e51b81526004018080602001828103825260248152602001806137246024913960400191505060405180910390fd5b6001600160a01b03821661246c5760405162461bcd60e51b815260040180806020018281038252602281526020018061357e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260076020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166125135760405162461bcd60e51b81526004018080602001828103825260258152602001806136c06025913960400191505060405180910390fd5b6001600160a01b0382166125585760405162461bcd60e51b815260040180806020018281038252602381526020018061350b6023913960400191505060405180910390fd5b600081116125975760405162461bcd60e51b81526004018080602001828103825260298152602001806136976029913960400191505060405180910390fd5b601c546000906001600160a01b03858116911614806125c35750601c546001600160a01b038481169116145b90506125cd6118cc565b6001600160a01b0316846001600160a01b03161415801561260757506125f16118cc565b6001600160a01b0316836001600160a01b031614155b1561265357801561265357601d548211156126535760405162461bcd60e51b81526004018080602001828103825260288152602001806135e66028913960400191505060405180910390fd5b6000818061266a5750601c54600160b01b900460ff165b9050600061267730611737565b9050601d5481106126875750601d545b601e54811080159081906126a55750601c54600160a01b900460ff16155b80156126bf5750601c546001600160a01b03888116911614155b80156126d45750601c54600160a81b900460ff165b156126e757601e5491506126e7826128bf565b6001600160a01b03871660009081526008602052604090205460ff168061272657506001600160a01b03861660009081526008602052604090205460ff165b1561273057600092505b61273c87878786612965565b50505050505050565b600081848411156127d45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612799578181015183820152602001612781565b50505050905090810190601f1680156127c65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008060006127e9612ad9565b90925090506127f882826122a0565b9250505090565b60008060008060008060008060008060006128198c612c3c565b9350935093509350600080600061283a8f8787876128356127dc565b612c91565b919f509d509b509599509397509195509350505050919395979092949650565b600081836128a95760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612799578181015183820152602001612781565b5060008385816128b557fe5b0495945050505050565b601c805460ff60a01b1916600160a01b17905560006128df8260026122a0565b905060006128ed83836122e9565b9050476128f983612cf3565b600061290547836122e9565b90506129118382612ea1565b604080518581526020810183905280820185905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15050601c805460ff60a01b19169055505050565b8061297257612972612f6e565b6001600160a01b03841660009081526009602052604090205460ff1680156129b357506001600160a01b03831660009081526009602052604090205460ff16155b156129c8576129c3848484612fb7565b612ac6565b6001600160a01b03841660009081526009602052604090205460ff16158015612a0957506001600160a01b03831660009081526009602052604090205460ff165b15612a19576129c38484846130fb565b6001600160a01b03841660009081526009602052604090205460ff16158015612a5b57506001600160a01b03831660009081526009602052604090205460ff16155b15612a6b576129c38484846131ba565b6001600160a01b03841660009081526009602052604090205460ff168015612aab57506001600160a01b03831660009081526009602052604090205460ff165b15612abb576129c3848484613214565b612ac68484846131ba565b80612ad357612ad361329d565b50505050565b600c54600b546000918291825b600a54811015612c0a578260056000600a8481548110612b0257fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180612b6757508160066000600a8481548110612b4057fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15612b7e57600c54600b5494509450505050612c38565b612bbe60056000600a8481548110612b9257fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906122e9565b9250612c0060066000600a8481548110612bd457fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906122e9565b9150600101612ae6565b50600b54600c54612c1a916122a0565b821015612c3257600c54600b54935093505050612c38565b90925090505b9091565b6000806000806000612c4d866132b1565b90506000612c5a876132d3565b90506000612c67886132ef565b90506000612c8182612c7b85818d896122e9565b906122e9565b9993985091965094509092505050565b6000808080612ca08986612385565b90506000612cae8987612385565b90506000612cbc8988612385565b90506000612cca8989612385565b90506000612cde82612c7b858189896122e9565b949d949c50929a509298505050505050505050565b60408051600280825260608083018452926020830190803683370190505090503081600081518110612d2157fe5b6001600160a01b03928316602091820292909201810191909152601b54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612d7557600080fd5b505afa158015612d89573d6000803e3d6000fd5b505050506040513d6020811015612d9f57600080fd5b5051815182906001908110612db057fe5b6001600160a01b039283166020918202929092010152601b54612dd691309116846123e2565b601b5460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b83811015612e5c578181015183820152602001612e44565b505050509050019650505050505050600060405180830381600087803b158015612e8557600080fd5b505af1158015612e99573d6000803e3d6000fd5b505050505050565b601b54612eb99030906001600160a01b0316846123e2565b601b546001600160a01b031663f305d719823085600080612ed86118cc565b426040518863ffffffff1660e01b815260040180876001600160a01b03168152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200196505050505050506060604051808303818588803b158015612f4357600080fd5b505af1158015612f57573d6000803e3d6000fd5b50505050506040513d6060811015612ad357600080fd5b601154158015612f7e5750601754155b8015612f8a5750601454155b15612f9457612fb5565b60118054601255601780546018556014805460155560009283905590829055555b565b6000806000806000806000612fcb886127ff565b965096509650965096509650965061301188600660008d6001600160a01b03166001600160a01b03168152602001908152602001600020546122e990919063ffffffff16565b6001600160a01b038b1660009081526006602090815260408083209390935560059052205461304090886122e9565b6001600160a01b03808c1660009081526005602052604080822093909355908b168152205461306f908761232b565b6001600160a01b038a166000908152600560205260409020556130918261330b565b61309a81613394565b6130a48584613453565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040518082815260200191505060405180910390a350505050505050505050565b600080600080600080600061310f886127ff565b965096509650965096509650965061315587600560008d6001600160a01b03166001600160a01b03168152602001908152602001600020546122e990919063ffffffff16565b6001600160a01b03808c16600090815260056020908152604080832094909455918c1681526006909152205461318b908561232b565b6001600160a01b038a1660009081526006602090815260408083209390935560059052205461306f908761232b565b60008060008060008060006131ce886127ff565b965096509650965096509650965061304087600560008d6001600160a01b03166001600160a01b03168152602001908152602001600020546122e990919063ffffffff16565b6000806000806000806000613228886127ff565b965096509650965096509650965061326e88600660008d6001600160a01b03166001600160a01b03168152602001908152602001600020546122e990919063ffffffff16565b6001600160a01b038b1660009081526006602090815260408083209390935560059052205461315590886122e9565b601254601155601854601755601554601455565b6000610dae60646132cd6011548561238590919063ffffffff16565b906122a0565b6000610dae60646132cd6017548561238590919063ffffffff16565b6000610dae60646132cd6014548561238590919063ffffffff16565b60006133156127dc565b905060006133238383612385565b30600090815260056020526040902054909150613340908261232b565b3060009081526005602090815260408083209390935560099052205460ff161561338f573060009081526006602052604090205461337e908461232b565b306000908152600660205260409020555b505050565b600061339e6127dc565b905060006133ac8383612385565b601a546001600160a01b03166000908152600560205260409020549091506133d4908261232b565b601a80546001600160a01b03908116600090815260056020908152604080832095909555925490911681526009909152205460ff161561338f57601a546001600160a01b0316600090815260066020526040902054613433908461232b565b601a546001600160a01b0316600090815260066020526040902055505050565b600c5461346090836122e9565b600c55600d54613470908261232b565b600d555050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106134b857805160ff19168380011785556134e5565b828001600101855582156134e5579182015b828111156134e55782518255916020019190600101906134ca565b506134f19291506134f5565b5090565b5b808211156134f157600081556001016134f656fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373416d6f756e74206d757374206265206c657373207468616e20746f74616c207265666c656374696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737343616e6e6f742065786365656420746865206d6178206c69717569646974792066656541646d696e2077616c6c65742063616e6e6f74206265207a65726f20616464726573735472616e7366657220616d6f756e74206578636565647320746865206d61785478416d6f756e742e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f45524332303a207472616e736665722066726f6d20746865207a65726f20616464726573734d6178207472616e73616374696f6e20616d6f756e742063616e6e6f74206265206c657373207468616e20302e3125206f6620746f74616c20737570706c7945524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734578636c75646564206164647265737365732063616e6e6f742063616c6c20746869732066756e6374696f6e596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6f636b45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220f39fbf4cac3c3516e224e90f4e82485b4b5e738acdd3a133f86b932480a1d59664736f6c634300060c0033