Transactions
Token Transfers
Tokens
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
- Contract name:
- MisuCoin
- Optimization enabled
- true
- Compiler version
- v0.8.9+commit.e5eed63a
- Optimization runs
- 200
- EVM Version
- default
- Verified at
- 2021-11-13T06:01:14.214290Z
Constructor Arguments
0000000000000000000000003dc44d2cc75fbad3544b7479ddc7c42d452da507000000000000000000000000884fdec8a806885c4fe72f407bdc898ed54fd5ca0000000000000000000000000df1c6a34be5ac9b3e00738467070bb1fd5b89a7
Arg [0] (address) : 0x3dc44d2cc75fbad3544b7479ddc7c42d452da507
Arg [1] (address) : 0x884fdec8a806885c4fe72f407bdc898ed54fd5ca
Arg [2] (address) : 0x0df1c6a34be5ac9b3e00738467070bb1fd5b89a7
Contract source code
// SPDX-License-Identifier: UNILICENSED
// File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol
pragma solidity >=0.6.2;
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint amountADesired,
uint amountBDesired,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB, uint liquidity);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
function removeLiquidity(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB);
function removeLiquidityETH(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountToken, uint amountETH);
function removeLiquidityWithPermit(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountA, uint amountB);
function removeLiquidityETHWithPermit(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountToken, uint amountETH);
function swapExactTokensForTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapTokensForExactTokens(
uint amountOut,
uint amountInMax,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
external
returns (uint[] memory amounts);
function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
external
returns (uint[] memory amounts);
function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}
// File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol
pragma solidity >=0.6.2;
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;
}
// File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol
pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(address tokenA, address tokenB) external view returns (address pair);
function allPairs(uint) external view returns (address pair);
function allPairsLength() external view returns (uint);
function createPair(address tokenA, address tokenB) external returns (address pair);
function setFeeTo(address) external;
function setFeeToSetter(address) external;
}
// File: @openzeppelin/contracts/utils/Context.sol
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
// File: @openzeppelin/contracts/access/Ownable.sol
pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_setOwner(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_setOwner(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");
_setOwner(newOwner);
}
function _setOwner(address newOwner) private {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
// File: @openzeppelin/contracts/utils/Address.sol
pragma solidity ^0.8.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) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return 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");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// 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
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
// File: @openzeppelin/contracts/utils/math/SafeMath.sol
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}
// File: contracts/VelasCateToken.sol
pragma solidity ^0.8.9;
contract MisuCoin 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;
mapping(address => uint256) private lastSoldTime;
mapping(address => uint256) private soldTokenin24Hrs;
address[] private _excluded;
address charitywallet;
uint256 private constant MAX = ~uint256(0);
uint256 private _tTotal = 100000000000 * 10**18; // 100 Billion max supply
uint256 private _rTotal = (MAX - (MAX % _tTotal));
uint256 private _tFeeTotal;
uint256 public startTime;
string private _name = "MisuCoin";
string private _symbol = "MISU";
uint8 private _decimals = 18;
uint256 public _taxFee = 2; // reflection
uint256 private _previousTaxFee = _taxFee;
uint256 public _liquidityFee = 2; // liquidity
uint256 private _previousLiquidityFee = _liquidityFee;
uint256 public _marketingFee = 3; // marketing in vlx
uint256 private _previousMarketingFee = _marketingFee;
uint256 public _devFee = 3; // development in vlx
uint256 private _previousDevFee = _devFee;
uint256 public _charityfee = 1; // charity in vlx
uint256 private _previouscharityfee = _charityfee;
IUniswapV2Router02 public uniswapV2Router;
address public uniswapV2Pair;
address public _marketingWallet;
address public _devWallet;
bool inSwapAndLiquify;
bool public swapAndLiquifyEnabled = true;
bool private isTradingEnabled;
bool private isLiquidityAdded;
uint256 public _maxTxAmount = 10000000 * 10**18; // 10 million tokens per transaction
uint256 public _maxWalletLimit = 1000000000 * 10**18; // 1% of the supply (antiwhale)
uint256 public _maxSoldin24Hrs = 500000000 * 10**18; //0.5% of the supply
uint256 private numTokensSellToAddToLiquidity = 250000 * 10**18; // MinTokensToSwapforVLX
event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap);
event SwapAndLiquifyEnabledUpdated(bool enabled);
event SwapAndLiquify(
uint256 tokensSwapped,
uint256 ethReceived,
uint256 tokensIntoLiqudity
);
modifier lockTheSwap {
inSwapAndLiquify = true;
_;
inSwapAndLiquify = false;
}
constructor (address marketingWallet, address devWallet, address _charityWallet) {
_rOwned[_msgSender()] = _rTotal;
IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x3D1c58B6d4501E34DF37Cf0f664A58059a188F00);
// 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[owner()] = true;
_isExcludedFromFee[address(this)] = true;
_marketingWallet = marketingWallet;
_devWallet = devWallet;
charitywallet = _charityWallet;
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 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);
}
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 excludeFromFee(address account) external onlyOwner {
_isExcludedFromFee[account] = true;
}
function includeInFee(address account) external onlyOwner {
_isExcludedFromFee[account] = false;
}
function enableTrading() external onlyOwner {
isTradingEnabled = true;
}
function setTaxFeePercent(uint256 taxFee) external onlyOwner() {
_taxFee = taxFee;
}
function setDevFeePercent(uint256 devFee) external onlyOwner() {
_devFee = devFee;
}
function setCharityFeePercent(uint256 charityfee) external onlyOwner() {
_charityfee = charityfee;
}
function setMarketingFeePercent(uint256 marketingFee) external onlyOwner() {
_marketingFee = marketingFee;
}
function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner() {
_liquidityFee = liquidityFee;
}
function setNumTokensSellToAddToLiquidity(uint256 numTokens) external onlyOwner() {
numTokensSellToAddToLiquidity = numTokens;
}
function setMaxTxPercent(uint256 amount) external onlyOwner() {
_maxTxAmount = amount;
}
function setMaxTxPerDay(uint256 amount) external onlyOwner() {
_maxSoldin24Hrs = amount;
}
function setMaxWalletLimit(uint256 amount) external onlyOwner() {
_maxWalletLimit = amount;
}
function setMarketingWallet(address payable marketingWallet) external onlyOwner{
_marketingWallet = marketingWallet;
}
function setCharityWallet(address payable _charityWallet) external onlyOwner{
charitywallet = _charityWallet;
}
function setDevWallet(address payable devWallet) external onlyOwner{
_devWallet = devWallet;
}
function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
swapAndLiquifyEnabled = _enabled;
emit SwapAndLiquifyEnabledUpdated(_enabled);
}
function claimStuckTokens(address _token) external onlyOwner {
require(_token != address(this),"No rug pulls :)");
if (_token == address(0x0)) {
payable(owner()).transfer(address(this).balance);
return;
}
IERC20 erc20token = IERC20(_token);
uint256 balance = erc20token.balanceOf(address(this));
erc20token.transfer(owner(), balance);
}
//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 tTransferAmount, uint256 tFee, , , uint256 tMarketing,) = _getTValues(tAmount);
(uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tMarketing, _getRate());
return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee);
}
function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) {
uint256 tMarketing = calculateMarketingFee(tAmount);
uint256 tTransferAmount = tAmount.sub(calculateTaxFee(tAmount)).sub(calculateLiquidityFee(tAmount));
tTransferAmount = tTransferAmount.sub(calculateDevFee(tAmount)).sub(tMarketing);
tTransferAmount = tTransferAmount.sub(calculatecharityfee(tAmount));
return (tTransferAmount, calculateTaxFee(tAmount), calculateLiquidityFee(tAmount), calculateDevFee(tAmount), tMarketing, calculatecharityfee(tAmount));
}
function _getRValues(uint256 tAmount, uint256 tMarketing, uint256 currentRate) private view returns (uint256, uint256, uint256) {
uint256 rAmount = tAmount.mul(currentRate);
uint256 rMarketing = tMarketing.mul(currentRate);
uint256 rTransferAmount = rAmount.sub(calculateTaxFee(tAmount).mul(currentRate)).sub(calculateLiquidityFee(tAmount).mul(currentRate));
rTransferAmount = rTransferAmount.sub(calculateDevFee(tAmount).mul(currentRate)).sub(rMarketing);
rTransferAmount = rTransferAmount.sub(calculatecharityfee(tAmount).mul(currentRate));
return (rAmount, rTransferAmount, calculateTaxFee(tAmount).mul(currentRate));
}
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 _takeFees(uint256 tAmount) private {
(,,uint256 tLiquidity, uint256 tDev, uint256 tMarketing, uint256 tcharity) = _getTValues(tAmount);
uint256 currentRate = _getRate();
uint256 rLiquidity = tLiquidity.mul(currentRate);
uint256 rDev = tDev.mul(currentRate);
uint256 rMarketing = tMarketing.mul(currentRate);
uint256 rCharity = calculatecharityfee(tAmount).mul(currentRate);
uint256 tVal = tDev.add(tLiquidity).add(tMarketing).add(tcharity);
uint256 rVal = rDev.add(rLiquidity).add(rMarketing).add(rCharity);
_rOwned[address(this)] = _rOwned[address(this)].add(rVal);
if(_isExcluded[address(this)])
_tOwned[address(this)] = _tOwned[address(this)].add(tVal);
}
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 calculateDevFee(uint256 _amount) private view returns (uint256) {
return _amount.mul(_devFee).div(
10**2
);
}
function calculateMarketingFee(uint256 _amount) private view returns (uint256) {
return _amount.mul(_marketingFee).div(
10**2
);
}
function calculatecharityfee(uint256 _amount) private view returns (uint256) {
return _amount.mul(_charityfee).div(
10**2
);
}
function removeAllFee() private {
if(_taxFee == 0 && _liquidityFee == 0 && _devFee == 0 && _marketingFee == 0 && _charityfee == 0) return;
_previousTaxFee = _taxFee;
_previousLiquidityFee = _liquidityFee;
_previousDevFee = _devFee;
_previouscharityfee = _charityfee;
_previousMarketingFee = _marketingFee;
_taxFee = 0;
_liquidityFee = 0;
_devFee = 0;
_charityfee = 0;
_marketingFee = 0;
}
function restoreAllFee() private {
_taxFee = _previousTaxFee;
_liquidityFee = _previousLiquidityFee;
_devFee = _previousDevFee;
_marketingFee = _previousMarketingFee;
_charityfee = _previouscharityfee;
}
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");
if(from != owner() && to != owner()){
require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount.");
require(isTradingEnabled,"Trading not enabled yet");
}
if(to == uniswapV2Pair && !isLiquidityAdded){
startTime = block.timestamp;
isLiquidityAdded = true;
}
// 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
) {
//Sending to developer wallet
uint256 devAmount = contractTokenBalance.mul(_devFee).div(_devFee+_liquidityFee+_marketingFee+_charityfee);
swapTokensForEth(devAmount,_devWallet);
//Sending to marketing wallet
uint256 marketingAmount = contractTokenBalance.mul(_marketingFee).div(_devFee+_liquidityFee+_marketingFee+_charityfee);
swapTokensForEth(marketingAmount,_marketingWallet);
uint256 charityAmount = contractTokenBalance.mul(_charityfee).div(_devFee+_liquidityFee+_marketingFee+_charityfee);
swapTokensForEth(charityAmount,charitywallet);
//add liquidity
uint256 liquidityAmount = contractTokenBalance.mul(_liquidityFee).div(_devFee+_liquidityFee+_marketingFee+_charityfee);
swapAndLiquify(liquidityAmount);
}
//indicates if fee should be deducted from transfer
bool takeFee = true;
//if any account belongs to _isExcludedFromFee account then remove the fee
if(_isExcludedFromFee[from] || _isExcludedFromFee[to]){
takeFee = false;
}
if(to == uniswapV2Pair && takeFee){
if(block.timestamp - lastSoldTime[from] > 1 days){
soldTokenin24Hrs[from] = 0;
}
require(soldTokenin24Hrs[from] + amount <= _maxSoldin24Hrs,
"Token amount exceeds daily limit");
soldTokenin24Hrs[from] = soldTokenin24Hrs[from].add(amount);
lastSoldTime[from] = block.timestamp;
}
if(to != uniswapV2Pair && takeFee) {
require(balanceOf(to) + amount <= _maxWalletLimit,"Amount exceeds wallet limit");
}
//transfer amount, it will take tax, dev, liquidity fee
_tokenTransfer(from,to,amount,takeFee);
}
function swapAndLiquify(uint256 contractTokenBalance) private {
// 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,address(this)); // <- 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, address recepient) private lockTheSwap {
// 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,
recepient,
block.timestamp
);
}
function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private lockTheSwap {
// 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) = _getValues(tAmount);
_rOwned[sender] = _rOwned[sender].sub(rAmount);
_rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
_takeFees(tAmount);
_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) = _getValues(tAmount);
_rOwned[sender] = _rOwned[sender].sub(rAmount);
_tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
_rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
_takeFees(tAmount);
_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) = _getValues(tAmount);
_tOwned[sender] = _tOwned[sender].sub(tAmount);
_rOwned[sender] = _rOwned[sender].sub(rAmount);
_rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
_takeFees(tAmount);
_reflectFee(rFee, tFee);
emit Transfer(sender, recipient, tTransferAmount);
}
function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private {
(uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee) = _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);
_takeFees(tAmount);
_reflectFee(rFee, tFee);
emit Transfer(sender, recipient, tTransferAmount);
}
}
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"marketingWallet","internalType":"address"},{"type":"address","name":"devWallet","internalType":"address"},{"type":"address","name":"_charityWallet","internalType":"address"}]},{"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":"_charityfee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_devFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"_devWallet","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":"address","name":"","internalType":"address"}],"name":"_marketingWallet","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_maxSoldin24Hrs","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_maxTxAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_maxWalletLimit","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":"claimStuckTokens","inputs":[{"type":"address","name":"_token","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":"deliver","inputs":[{"type":"uint256","name":"tAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"enableTrading","inputs":[]},{"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":"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":"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":"setCharityFeePercent","inputs":[{"type":"uint256","name":"charityfee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setCharityWallet","inputs":[{"type":"address","name":"_charityWallet","internalType":"address payable"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setDevFeePercent","inputs":[{"type":"uint256","name":"devFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setDevWallet","inputs":[{"type":"address","name":"devWallet","internalType":"address payable"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setLiquidityFeePercent","inputs":[{"type":"uint256","name":"liquidityFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMarketingFeePercent","inputs":[{"type":"uint256","name":"marketingFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMarketingWallet","inputs":[{"type":"address","name":"marketingWallet","internalType":"address payable"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaxTxPerDay","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaxTxPercent","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaxWalletLimit","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setNumTokensSellToAddToLiquidity","inputs":[{"type":"uint256","name":"numTokens","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":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"startTime","inputs":[]},{"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":"receive","stateMutability":"payable"}]
Deployed ByteCode
0x60806040526004361061031e5760003560e01c80635d098b38116101ab578063a209144f116100f7578063d543dbeb11610095578063ea2f0b371161006f578063ea2f0b3714610951578063f0f165af14610971578063f2fde38b14610991578063f9d0831a146109b157600080fd5b8063d543dbeb146108d5578063da0ebc62146108f5578063dd62ed3e1461090b57600080fd5b8063aa45026b116100d1578063aa45026b14610869578063acbe44e61461087f578063af41063b14610895578063c49b9a80146108b557600080fd5b8063a209144f14610809578063a457c2d714610829578063a9059cbb1461084957600080fd5b80637d1db4a5116101645780638da5cb5b1161013e5780638da5cb5b146107965780638ee88c53146107b457806395d89b41146107d4578063962dfc75146107e957600080fd5b80637d1db4a51461073257806388f82020146107485780638a8c523c1461078157600080fd5b80635d098b38146106915780636bc87c3a146106b157806370a08231146106c7578063715018a6146106e7578063728d41c9146106fc57806378e979251461071c57600080fd5b806331e548341161026a578063437823ec1161022357806349bd5a5e116101fd57806349bd5a5e146105f75780634a74bb021461061757806352390c02146106385780635342acb41461065857600080fd5b8063437823ec146105975780634549b039146105b7578063457c194c146105d757600080fd5b806331e54834146104eb5780633685d41914610501578063379e29191461052157806339509351146105415780633b124fe7146105615780633bd5d1731461057757600080fd5b806318160ddd116102d757806323b872dd116102b157806323b872dd146104695780632d8381191461048957806330563bd7146104a9578063313ce567146104c957600080fd5b806318160ddd1461041e5780631f53ac021461043357806322976e0d1461045357600080fd5b8063061c82d01461032a57806306fdde031461034c578063095ea7b31461037757806311a63e17146103a757806313114a9d146103df5780631694505e146103fe57600080fd5b3661032557005b600080fd5b34801561033657600080fd5b5061034a610345366004612bf2565b6109d1565b005b34801561035857600080fd5b50610361610a09565b60405161036e9190612c0b565b60405180910390f35b34801561038357600080fd5b50610397610392366004612c75565b610a9b565b604051901515815260200161036e565b3480156103b357600080fd5b50601e546103c7906001600160a01b031681565b6040516001600160a01b03909116815260200161036e565b3480156103eb57600080fd5b50600c545b60405190815260200161036e565b34801561040a57600080fd5b50601b546103c7906001600160a01b031681565b34801561042a57600080fd5b50600a546103f0565b34801561043f57600080fd5b5061034a61044e366004612ca1565b610ab2565b34801561045f57600080fd5b506103f060155481565b34801561047557600080fd5b50610397610484366004612cbe565b610afe565b34801561049557600080fd5b506103f06104a4366004612bf2565b610b67565b3480156104b557600080fd5b5061034a6104c4366004612ca1565b610beb565b3480156104d557600080fd5b5060105460405160ff909116815260200161036e565b3480156104f757600080fd5b506103f060195481565b34801561050d57600080fd5b5061034a61051c366004612ca1565b610c37565b34801561052d57600080fd5b5061034a61053c366004612bf2565b610dee565b34801561054d57600080fd5b5061039761055c366004612c75565b610e1d565b34801561056d57600080fd5b506103f060115481565b34801561058357600080fd5b5061034a610592366004612bf2565b610e53565b3480156105a357600080fd5b5061034a6105b2366004612ca1565b610f3b565b3480156105c357600080fd5b506103f06105d2366004612d0d565b610f89565b3480156105e357600080fd5b5061034a6105f2366004612bf2565b611014565b34801561060357600080fd5b50601c546103c7906001600160a01b031681565b34801561062357600080fd5b50601e5461039790600160a81b900460ff1681565b34801561064457600080fd5b5061034a610653366004612ca1565b611043565b34801561066457600080fd5b50610397610673366004612ca1565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561069d57600080fd5b5061034a6106ac366004612ca1565b611196565b3480156106bd57600080fd5b506103f060135481565b3480156106d357600080fd5b506103f06106e2366004612ca1565b6111e2565b3480156106f357600080fd5b5061034a611241565b34801561070857600080fd5b5061034a610717366004612bf2565b611277565b34801561072857600080fd5b506103f0600d5481565b34801561073e57600080fd5b506103f0601f5481565b34801561075457600080fd5b50610397610763366004612ca1565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561078d57600080fd5b5061034a6112a6565b3480156107a257600080fd5b506000546001600160a01b03166103c7565b3480156107c057600080fd5b5061034a6107cf366004612bf2565b6112e5565b3480156107e057600080fd5b50610361611314565b3480156107f557600080fd5b50601d546103c7906001600160a01b031681565b34801561081557600080fd5b5061034a610824366004612bf2565b611323565b34801561083557600080fd5b50610397610844366004612c75565b611352565b34801561085557600080fd5b50610397610864366004612c75565b6113a1565b34801561087557600080fd5b506103f060175481565b34801561088b57600080fd5b506103f060215481565b3480156108a157600080fd5b5061034a6108b0366004612bf2565b6113ae565b3480156108c157600080fd5b5061034a6108d0366004612d3d565b6113dd565b3480156108e157600080fd5b5061034a6108f0366004612bf2565b61145f565b34801561090157600080fd5b506103f060205481565b34801561091757600080fd5b506103f0610926366004612d5a565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b34801561095d57600080fd5b5061034a61096c366004612ca1565b61148e565b34801561097d57600080fd5b5061034a61098c366004612bf2565b6114d9565b34801561099d57600080fd5b5061034a6109ac366004612ca1565b611508565b3480156109bd57600080fd5b5061034a6109cc366004612ca1565b6115a3565b6000546001600160a01b03163314610a045760405162461bcd60e51b81526004016109fb90612d88565b60405180910390fd5b601155565b6060600e8054610a1890612dbd565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4490612dbd565b8015610a915780601f10610a6657610100808354040283529160200191610a91565b820191906000526020600020905b815481529060010190602001808311610a7457829003601f168201915b5050505050905090565b6000610aa8338484611785565b5060015b92915050565b6000546001600160a01b03163314610adc5760405162461bcd60e51b81526004016109fb90612d88565b601e80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610b0b8484846118a9565b610b5d8433610b5885604051806060016040528060288152602001612fb8602891396001600160a01b038a1660009081526003602090815260408083203384529091529020549190611ed2565b611785565b5060019392505050565b6000600b54821115610bce5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016109fb565b6000610bd8611efe565b9050610be48382611f21565b9392505050565b6000546001600160a01b03163314610c155760405162461bcd60e51b81526004016109fb90612d88565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610c615760405162461bcd60e51b81526004016109fb90612d88565b6001600160a01b03811660009081526005602052604090205460ff16610cc95760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016109fb565b60005b600854811015610dea57816001600160a01b031660088281548110610cf357610cf3612df8565b6000918252602090912001546001600160a01b03161415610dd85760088054610d1e90600190612e24565b81548110610d2e57610d2e612df8565b600091825260209091200154600880546001600160a01b039092169183908110610d5a57610d5a612df8565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600590925220805460ff191690556008805480610db257610db2612e3b565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610de281612e51565b915050610ccc565b5050565b6000546001600160a01b03163314610e185760405162461bcd60e51b81526004016109fb90612d88565b601755565b3360008181526003602090815260408083206001600160a01b03871684529091528120549091610aa8918590610b589086611f2d565b3360008181526005602052604090205460ff1615610ec85760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b60648201526084016109fb565b6000610ed383611f39565b505050506001600160a01b038316600090815260016020526040902054909150610efd9082611f86565b6001600160a01b038316600090815260016020526040902055600b54610f239082611f86565b600b55600c54610f339084611f2d565b600c55505050565b6000546001600160a01b03163314610f655760405162461bcd60e51b81526004016109fb90612d88565b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b6000600a54831115610fdd5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c790060448201526064016109fb565b81610ffb576000610fed84611f39565b50929450610aac9350505050565b600061100684611f39565b50919450610aac9350505050565b6000546001600160a01b0316331461103e5760405162461bcd60e51b81526004016109fb90612d88565b601555565b6000546001600160a01b0316331461106d5760405162461bcd60e51b81526004016109fb90612d88565b6001600160a01b03811660009081526005602052604090205460ff16156110d65760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016109fb565b6001600160a01b03811660009081526001602052604090205415611130576001600160a01b03811660009081526001602052604090205461111690610b67565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b6000546001600160a01b031633146111c05760405162461bcd60e51b81526004016109fb90612d88565b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03811660009081526005602052604081205460ff161561121f57506001600160a01b031660009081526002602052604090205490565b6001600160a01b038216600090815260016020526040902054610aac90610b67565b6000546001600160a01b0316331461126b5760405162461bcd60e51b81526004016109fb90612d88565b6112756000611f92565b565b6000546001600160a01b031633146112a15760405162461bcd60e51b81526004016109fb90612d88565b602055565b6000546001600160a01b031633146112d05760405162461bcd60e51b81526004016109fb90612d88565b601e805460ff60b01b1916600160b01b179055565b6000546001600160a01b0316331461130f5760405162461bcd60e51b81526004016109fb90612d88565b601355565b6060600f8054610a1890612dbd565b6000546001600160a01b0316331461134d5760405162461bcd60e51b81526004016109fb90612d88565b602155565b6000610aa83384610b5885604051806060016040528060258152602001612fe0602591393360009081526003602090815260408083206001600160a01b038d1684529091529020549190611ed2565b6000610aa83384846118a9565b6000546001600160a01b031633146113d85760405162461bcd60e51b81526004016109fb90612d88565b601955565b6000546001600160a01b031633146114075760405162461bcd60e51b81526004016109fb90612d88565b601e8054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061145490831515815260200190565b60405180910390a150565b6000546001600160a01b031633146114895760405162461bcd60e51b81526004016109fb90612d88565b601f55565b6000546001600160a01b031633146114b85760405162461bcd60e51b81526004016109fb90612d88565b6001600160a01b03166000908152600460205260409020805460ff19169055565b6000546001600160a01b031633146115035760405162461bcd60e51b81526004016109fb90612d88565b602255565b6000546001600160a01b031633146115325760405162461bcd60e51b81526004016109fb90612d88565b6001600160a01b0381166115975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109fb565b6115a081611f92565b50565b6000546001600160a01b031633146115cd5760405162461bcd60e51b81526004016109fb90612d88565b6001600160a01b0381163014156116185760405162461bcd60e51b815260206004820152600f60248201526e4e6f207275672070756c6c73203a2960881b60448201526064016109fb565b6001600160a01b03811661166057600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015610dea573d6000803e3d6000fd5b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a082319060240160206040518083038186803b1580156116a457600080fd5b505afa1580156116b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116dc9190612e6c565b9050816001600160a01b031663a9059cbb6116ff6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b15801561174757600080fd5b505af115801561175b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177f9190612e85565b50505050565b6001600160a01b0383166117e75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109fb565b6001600160a01b0382166118485760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109fb565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661190d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109fb565b6001600160a01b03821661196f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109fb565b600081116119d15760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016109fb565b6000546001600160a01b038481169116148015906119fd57506000546001600160a01b03838116911614155b15611abe57601f54811115611a655760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016109fb565b601e54600160b01b900460ff16611abe5760405162461bcd60e51b815260206004820152601760248201527f54726164696e67206e6f7420656e61626c65642079657400000000000000000060448201526064016109fb565b601c546001600160a01b038381169116148015611ae55750601e54600160b81b900460ff16155b15611b025742600d55601e805460ff60b81b1916600160b81b1790555b6000611b0d306111e2565b9050601f548110611b1d5750601f545b60225481108015908190611b3b5750601e54600160a01b900460ff16155b8015611b555750601c546001600160a01b03868116911614155b8015611b6a5750601e54600160a81b900460ff165b15611cc7576000611bb2601954601554601354601754611b8a9190612ea2565b611b949190612ea2565b611b9e9190612ea2565b601754611bac908690611fe2565b90611f21565b601e54909150611bcc9082906001600160a01b0316611fee565b6000611c09601954601554601354601754611be79190612ea2565b611bf19190612ea2565b611bfb9190612ea2565b601554611bac908790611fe2565b601d54909150611c239082906001600160a01b0316611fee565b6000611c60601954601554601354601754611c3e9190612ea2565b611c489190612ea2565b611c529190612ea2565b601954611bac908890611fe2565b600954909150611c7a9082906001600160a01b0316611fee565b6000611cb7601954601554601354601754611c959190612ea2565b611c9f9190612ea2565b611ca99190612ea2565b601354611bac908990611fe2565b9050611cc281612178565b505050505b6001600160a01b03851660009081526004602052604090205460019060ff1680611d0957506001600160a01b03851660009081526004602052604090205460ff165b15611d12575060005b601c546001600160a01b038681169116148015611d2c5750805b15611e39576001600160a01b0386166000908152600660205260409020546201518090611d599042612e24565b1115611d79576001600160a01b0386166000908152600760205260408120555b6021546001600160a01b038716600090815260076020526040902054611da0908690612ea2565b1115611dee5760405162461bcd60e51b815260206004820181905260248201527f546f6b656e20616d6f756e742065786365656473206461696c79206c696d697460448201526064016109fb565b6001600160a01b038616600090815260076020526040902054611e119085611f2d565b6001600160a01b03871660009081526007602090815260408083209390935560069052204290555b601c546001600160a01b03868116911614801590611e545750805b15611ebe5760205484611e66876111e2565b611e709190612ea2565b1115611ebe5760405162461bcd60e51b815260206004820152601b60248201527f416d6f756e7420657863656564732077616c6c6574206c696d6974000000000060448201526064016109fb565b611eca86868684612200565b505050505050565b60008184841115611ef65760405162461bcd60e51b81526004016109fb9190612c0b565b505050900390565b6000806000611f0b612389565b9092509050611f1a8282611f21565b9250505090565b6000610be48284612eba565b6000610be48284612ea2565b600080600080600080600080611f4e8961250b565b5094505050925092506000806000611f6e8c85611f69611efe565b6125b4565b919e909d50909b509599509397509395505050505050565b6000610be48284612e24565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610be48284612edc565b601e805460ff60a01b1916600160a01b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061203657612036612df8565b6001600160a01b03928316602091820292909201810191909152601b54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561208a57600080fd5b505afa15801561209e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120c29190612efb565b816001815181106120d5576120d5612df8565b6001600160a01b039283166020918202929092010152601b546120fb9130911685611785565b601b5460405163791ac94760e01b81526001600160a01b039091169063791ac94790612134908690600090869088904290600401612f18565b600060405180830381600087803b15801561214e57600080fd5b505af1158015612162573d6000803e3d6000fd5b5050601e805460ff60a01b191690555050505050565b6000612185826002611f21565b905060006121938383611f86565b9050476121a08330611fee565b60006121ac4783611f86565b90506121b8838261264d565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b8061220d5761220d612751565b6001600160a01b03841660009081526005602052604090205460ff16801561224e57506001600160a01b03831660009081526005602052604090205460ff16155b156122635761225e8484846127c3565b612361565b6001600160a01b03841660009081526005602052604090205460ff161580156122a457506001600160a01b03831660009081526005602052604090205460ff165b156122b45761225e8484846128e5565b6001600160a01b03841660009081526005602052604090205460ff161580156122f657506001600160a01b03831660009081526005602052604090205460ff16155b156123065761225e84848461298b565b6001600160a01b03841660009081526005602052604090205460ff16801561234657506001600160a01b03831660009081526005602052604090205460ff165b156123565761225e8484846129cc565b61236184848461298b565b8061177f5761177f601254601155601454601355601854601755601654601555601a54601955565b600b54600a546000918291825b6008548110156124db578260016000600884815481106123b8576123b8612df8565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061242357508160026000600884815481106123fc576123fc612df8565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561243957600b54600a54945094505050509091565b61247f600160006008848154811061245357612453612df8565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611f86565b92506124c7600260006008848154811061249b5761249b612df8565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611f86565b9150806124d381612e51565b915050612396565b50600a54600b546124eb91611f21565b82101561250257600b54600a549350935050509091565b90939092509050565b600080600080600080600061251f88612a3c565b9050600061254861252f8a612a58565b61254261253b8c612a74565b8c90611f86565b90611f86565b90506125618261254261255a8c612a90565b8490611f86565b905061257661256f8a612aac565b8290611f86565b9050806125828a612a74565b61258b8b612a58565b6125948c612a90565b8561259e8e612aac565b949e939d50919b50995097509095509350505050565b60008080806125c38786611fe2565b905060006125d18787611fe2565b905060006126026125eb886125e58c612a58565b90611fe2565b6125426125fb8a6125e58e612a74565b8690611f86565b90506126188261254261255a8a6125e58e612a90565b905061262a61256f886125e58c612aac565b9050828161263b896125e58d612a74565b95509550955050505093509350939050565b601e805460ff60a01b1916600160a01b179055601b546126789030906001600160a01b031684611785565b601b546001600160a01b031663f305d7198230856000806126a16000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b15801561270457600080fd5b505af1158015612718573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061273d9190612f89565b5050601e805460ff60a01b19169055505050565b6011541580156127615750601354155b801561276d5750601754155b80156127795750601554155b80156127855750601954155b1561278c57565b60118054601255601380546014556017805460185560198054601a5560158054601655600094859055928490559083905582905555565b60008060008060006127d486611f39565b6001600160a01b038d16600090815260026020526040902054949950929750909550935091506128049087611f86565b6001600160a01b0389166000908152600260209081526040808320939093556001905220546128339086611f86565b6001600160a01b03808a1660009081526001602052604080822093909355908916815220546128629085611f2d565b6001600160a01b03881660009081526001602052604090205561288486612ac8565b61288e8382612bce565b866001600160a01b0316886001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516128d391815260200190565b60405180910390a35050505050505050565b60008060008060006128f686611f39565b6001600160a01b038d16600090815260016020526040902054949950929750909550935091506129269086611f86565b6001600160a01b03808a16600090815260016020908152604080832094909455918a1681526002909152205461295c9083611f2d565b6001600160a01b0388166000908152600260209081526040808320939093556001905220546128629085611f2d565b600080600080600061299c86611f39565b6001600160a01b038d16600090815260016020526040902054949950929750909550935091506128339086611f86565b60008060008060006129dd86611f39565b6001600160a01b038d1660009081526002602052604090205494995092975090955093509150612a0d9087611f86565b6001600160a01b0389166000908152600260209081526040808320939093556001905220546129269086611f86565b6000610aac6064611bac60155485611fe290919063ffffffff16565b6000610aac6064611bac60135485611fe290919063ffffffff16565b6000610aac6064611bac60115485611fe290919063ffffffff16565b6000610aac6064611bac60175485611fe290919063ffffffff16565b6000610aac6064611bac60195485611fe290919063ffffffff16565b600080600080612ad78561250b565b955095509550955050506000612aeb611efe565b90506000612af98683611fe2565b90506000612b078684611fe2565b90506000612b158685611fe2565b90506000612b26856125e58c612aac565b90506000612b4087612b3a8a818d8f611f2d565b90611f2d565b90506000612b5483612b3a8681898b611f2d565b30600090815260016020526040902054909150612b719082611f2d565b3060009081526001602090815260408083209390935560059052205460ff1615612bc05730600090815260026020526040902054612baf9083611f2d565b306000908152600260205260409020555b505050505050505050505050565b600b54612bdb9083611f86565b600b55600c54612beb9082611f2d565b600c555050565b600060208284031215612c0457600080fd5b5035919050565b600060208083528351808285015260005b81811015612c3857858101830151858201604001528201612c1c565b81811115612c4a576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146115a057600080fd5b60008060408385031215612c8857600080fd5b8235612c9381612c60565b946020939093013593505050565b600060208284031215612cb357600080fd5b8135610be481612c60565b600080600060608486031215612cd357600080fd5b8335612cde81612c60565b92506020840135612cee81612c60565b929592945050506040919091013590565b80151581146115a057600080fd5b60008060408385031215612d2057600080fd5b823591506020830135612d3281612cff565b809150509250929050565b600060208284031215612d4f57600080fd5b8135610be481612cff565b60008060408385031215612d6d57600080fd5b8235612d7881612c60565b91506020830135612d3281612c60565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612dd157607f821691505b60208210811415612df257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015612e3657612e36612e0e565b500390565b634e487b7160e01b600052603160045260246000fd5b6000600019821415612e6557612e65612e0e565b5060010190565b600060208284031215612e7e57600080fd5b5051919050565b600060208284031215612e9757600080fd5b8151610be481612cff565b60008219821115612eb557612eb5612e0e565b500190565b600082612ed757634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612ef657612ef6612e0e565b500290565b600060208284031215612f0d57600080fd5b8151610be481612c60565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612f685784516001600160a01b031683529383019391830191600101612f43565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612f9e57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220a3321816b421fad691e52e9f88384f0fabd5ee978821d3d84e7373a50c47f2cd64736f6c63430008090033