ERC-20
Overview
Max Total Supply
100,000,000,000 OGS
Holders
118
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
1,357,083,829.851364648 OGSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OGS
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED // File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol //OGSociety.xyz 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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (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() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://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 functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } pragma solidity ^0.8.10; /* solhint-disable */ contract OGS is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _rOwned; mapping(address => uint256) private _tOwned; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExcludedFromFee; mapping(address => bool) private _isExcluded; address[] private _excluded; uint256 private constant MAX = ~uint256(0); uint256 private _tTotal = 1e11 * 1e9; uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; string private _name = "Society"; string private _symbol = "OGS"; uint8 private _decimals = 9; struct Fee { uint16 liquidityFee; uint16 marketingFee; uint16 devFee; uint16 burnFee; uint16 taxFee; } Fee public buyFee; Fee public sellFee; uint16 private _taxFee; uint16 private _liquidityFee; uint16 private _marketingFee; uint16 private _burnFee; uint16 private _devFee; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; address public _marketingWallet = payable(address(0x1c6544d9Dee550d2797a00d66E11f743f37fB0f3)); address public _burnWallet = payable(address(0xdead)); address public _devWallet = payable(address(0x1c6544d9Dee550d2797a00d66E11f743f37fB0f3)); bool internal inSwapAndLiquify; bool public swapAndLiquifyEnabled = true; bool public isTradingEnabled; uint256 public maxBuyAmount; uint256 public maxSellAmount; uint256 public maxWalletAmount; uint256 private totalBuyFee; uint256 private totalSellFee; uint256 private numTokensSellToAddToLiquidity = 1e3 * 1e9; event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap); event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity); modifier lockTheSwap() { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor() { _rOwned[_msgSender()] = _rTotal; buyFee.liquidityFee = 0; buyFee.marketingFee = 50; buyFee.burnFee = 0; buyFee.taxFee = 0; buyFee.devFee = 0; sellFee.liquidityFee = 50; sellFee.marketingFee = 140; sellFee.burnFee = 0; sellFee.taxFee = 0; sellFee.devFee = 0; totalBuyFee = buyFee.liquidityFee + buyFee.marketingFee + buyFee.burnFee + buyFee.taxFee + buyFee.devFee; totalSellFee = sellFee.liquidityFee + sellFee.marketingFee + sellFee.burnFee + sellFee.taxFee + sellFee.devFee; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // 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/limits _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[_burnWallet] = true; //exclude Burn,Pair and token address from reward excludeFromReward(_burnWallet); excludeFromReward(address(uniswapV2Pair)); excludeFromReward(address(this)); maxSellAmount = totalSupply().mul(2).div(100); //2% of the supply maxBuyAmount = totalSupply().mul(2).div(100); // 2% of the supply maxWalletAmount = totalSupply().mul(2).div(100); // 2% of the supply 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 setBuyFee(uint16 liq, uint16 market, uint16 burn, uint16 tax, uint16 dev) external onlyOwner { buyFee.liquidityFee = liq; buyFee.marketingFee = market; buyFee.burnFee = burn; buyFee.taxFee = tax; buyFee.devFee = dev; require (totalBuyFee < 200, "Max buy fees should be less than equal to 20 percent"); } function setSellFee(uint16 liq, uint16 market, uint16 burn, uint16 tax, uint16 dev) external onlyOwner { sellFee.liquidityFee = liq; sellFee.marketingFee = market; sellFee.burnFee = burn; sellFee.taxFee = tax; sellFee.devFee = dev; require (totalSellFee < 200, "Max sell fees should be less than equal to 20 percent"); } function setWallets (address market, address dev) external onlyOwner { require (market != address(0) || dev != address(0), "marketing or dev wallet can't be zero address"); _marketingWallet = market; _devWallet = dev; } function setNumTokensSellToAddToLiquidity(uint256 numTokens) external onlyOwner { numTokensSellToAddToLiquidity = numTokens; } function updateRouter(address newAddress) external onlyOwner { require(newAddress != address(uniswapV2Router), "TOKEN: The router already has that address"); uniswapV2Router = IUniswapV2Router02(newAddress); address get_pair = IUniswapV2Factory(uniswapV2Router.factory()).getPair(address(this), uniswapV2Router.WETH()); if (get_pair == address(0)) { uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH()); } else { uniswapV2Pair = get_pair; } } function enableTrading() external onlyOwner { isTradingEnabled = true; } function setMaxWallet(uint256 value) external onlyOwner { require (value >= totalSupply().div(100), "No rug pull"); maxWalletAmount = value; } function setMaxBuyAmount(uint256 value) external onlyOwner { require (value >= totalSupply().div(100), "No rug pull"); maxBuyAmount = value; } function setMaxSellAmount(uint256 value) external onlyOwner { require (value >= totalSupply().div(100), "No rug pull"); maxSellAmount = value; } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } function removeAllLimits() external onlyOwner { maxBuyAmount = totalSupply(); maxSellAmount = totalSupply(); maxWalletAmount = totalSupply(); } 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 { this; } function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) { ( uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tWallet ) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues( tAmount, tFee, tLiquidity, tWallet, _getRate() ); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity); } function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256) { uint256 tFee = calculateTaxFee(tAmount); uint256 tLiquidity = calculateLiquidityFee(tAmount); uint256 tWallet = calculateBurnFee(tAmount) + calculateMarketingFee(tAmount) + calculatedevFee(tAmount); uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity); tTransferAmount = tTransferAmount.sub(tWallet); return (tTransferAmount, tFee, tLiquidity, tWallet); } function _getRValues( uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 tWallet, uint256 currentRate ) private pure returns (uint256, uint256, uint256) { uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rLiquidity = tLiquidity.mul(currentRate); uint256 rWallet = tWallet.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity).sub(rWallet); 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 _takeWallet(uint256 tBurn, uint256 tMarketing, uint256 tDev) private { uint256 currentRate = _getRate(); uint256 rBurn = tBurn.mul(currentRate); uint256 rMarketing = tMarketing.mul(currentRate); uint256 rDev = tDev.mul(currentRate); _rOwned[address(this)] = _rOwned[address(this)].add(rMarketing).add(rDev); _rOwned[_burnWallet] =_rOwned[_burnWallet].add(rBurn); if (_isExcluded[address(this)]){ _tOwned[address(this)] = _tOwned[address(this)].add(tMarketing).add(tDev); } if(_isExcluded[_burnWallet]){ _tOwned[_burnWallet] = _tOwned[_burnWallet].add(tBurn); } } function calculateTaxFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_taxFee).div(10 ** 3); } function calculateLiquidityFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_liquidityFee).div(10 ** 3); } function calculateBurnFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_burnFee).div(10 ** 3); } function calculateMarketingFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_marketingFee).div(10 ** 3); } function calculatedevFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_devFee).div(10 ** 3); } function removeAllFee() private { _taxFee = 0; _liquidityFee = 0; _burnFee = 0; _marketingFee = 0; _devFee = 0; } function setBuy() private { _taxFee = buyFee.taxFee; _liquidityFee = buyFee.liquidityFee; _burnFee = buyFee.burnFee; _marketingFee = buyFee.marketingFee; _devFee = buyFee.devFee; } function setSell() private { _taxFee = sellFee.taxFee; _liquidityFee = sellFee.liquidityFee; _burnFee = sellFee.burnFee; _marketingFee = sellFee.marketingFee; _devFee = sellFee.devFee; } 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"); // 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)); bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity; if (overMinTokenBalance && !inSwapAndLiquify && from != uniswapV2Pair && swapAndLiquifyEnabled) { swapAndLiquify(contractTokenBalance); } //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; } //transfer amount, it will take tax, burn, liquidity fee _tokenTransfer(from, to, amount, takeFee); } function swapAndLiquify(uint256 tokens) private lockTheSwap { uint256 initialBalance = address(this).balance; uint256 totalFee = totalBuyFee + totalSellFee - buyFee.burnFee - sellFee.burnFee - buyFee.taxFee - sellFee.taxFee; uint256 swapTokens = tokens.mul(buyFee.marketingFee + sellFee.marketingFee + (buyFee.liquidityFee + sellFee.liquidityFee)/2 + buyFee.devFee + sellFee.devFee).div(totalFee); uint256 liqTokens = tokens - swapTokens; swapTokensForETH(swapTokens); uint256 newBalance = address(this).balance.sub(initialBalance); uint256 marketingPart = newBalance.mul(buyFee.marketingFee + sellFee.marketingFee) .div(totalFee); uint256 devPart = newBalance.mul(buyFee.devFee + sellFee.devFee) .div(totalFee); uint256 liqETH = newBalance - marketingPart - devPart; payable(_marketingWallet).transfer(marketingPart); payable(_devWallet).transfer(devPart); addLiquidity(liqTokens, liqETH); emit SwapAndLiquify(tokens,liqTokens, liqETH); } 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 address(0), 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 { removeAllFee(); if (takeFee) { require(isTradingEnabled, "Trading not enabled yet"); if (recipient != uniswapV2Pair) { require(balanceOf(recipient) + amount <= maxWalletAmount, "Balance exceeds limit"); } if (sender == uniswapV2Pair) { require(amount <= maxBuyAmount, "Buy exceeds limit"); setBuy(); } if (recipient == uniswapV2Pair) { require(amount <= maxSellAmount, "Sell exceeds limit"); setSell(); } } 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); } } function _transferStandard(address sender, address recipient, uint256 tAmount) private { ( uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity ) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeWallet(calculateBurnFee(tAmount), calculateMarketingFee(tAmount), calculatedevFee(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, uint256 tLiquidity ) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeWallet(calculateBurnFee(tAmount), calculateMarketingFee(tAmount), calculatedevFee(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, uint256 tLiquidity ) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeWallet(calculateBurnFee(tAmount), calculateMarketingFee(tAmount), calculatedevFee(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, uint256 tLiquidity ) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeWallet(calculateBurnFee(tAmount), calculateMarketingFee(tAmount), calculatedevFee(tAmount)); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_burnWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint16","name":"liquidityFee","type":"uint16"},{"internalType":"uint16","name":"marketingFee","type":"uint16"},{"internalType":"uint16","name":"devFee","type":"uint16"},{"internalType":"uint16","name":"burnFee","type":"uint16"},{"internalType":"uint16","name":"taxFee","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"claimStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeAllLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint16","name":"liquidityFee","type":"uint16"},{"internalType":"uint16","name":"marketingFee","type":"uint16"},{"internalType":"uint16","name":"devFee","type":"uint16"},{"internalType":"uint16","name":"burnFee","type":"uint16"},{"internalType":"uint16","name":"taxFee","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"liq","type":"uint16"},{"internalType":"uint16","name":"market","type":"uint16"},{"internalType":"uint16","name":"burn","type":"uint16"},{"internalType":"uint16","name":"tax","type":"uint16"},{"internalType":"uint16","name":"dev","type":"uint16"}],"name":"setBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMaxBuyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMaxSellAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"setNumTokensSellToAddToLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"liq","type":"uint16"},{"internalType":"uint16","name":"market","type":"uint16"},{"internalType":"uint16","name":"burn","type":"uint16"},{"internalType":"uint16","name":"tax","type":"uint16"},{"internalType":"uint16","name":"dev","type":"uint16"}],"name":"setSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"market","type":"address"},{"internalType":"address","name":"dev","type":"address"}],"name":"setWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405268056bc75e2d6310000060078190556200002190600019620009bd565b6200002f90600019620009ea565b600855604080518082019091526007815266536f636965747960c81b6020820152600a906200005f908262000aa5565b506040805180820190915260038152624f475360e81b6020820152600b9062000089908262000aa5565b50600c805460ff19166009179055601180546001600160a01b0319908116731c6544d9dee550d2797a00d66e11f743f37fb0f3179091556012805490911661dead179055601380547501001c6544d9dee550d2797a00d66e11f743f37fb0f3600161ff0160a01b031990911617905564e8d4a510006019553480156200010e57600080fd5b506200011a33620004ff565b60085433600090815260016020526040812091909155600d80546001600160501b0319908116623200001791829055600e8054909116628c0032179055640100000000810461ffff9081169268010000000000000000830482169266010000000000008104831692620001969262010000909204169062000b71565b620001a2919062000b71565b620001ae919062000b71565b620001ba919062000b71565b61ffff908116601755600e5464010000000081048216916801000000000000000082048116916601000000000000810482169162000202916201000081048216911662000b71565b6200020e919062000b71565b6200021a919062000b71565b62000226919062000b71565b61ffff166018819055506000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000288573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ae919062000b96565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002fc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000322919062000b96565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000370573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000396919062000b96565b601080546001600160a01b0319166001600160a01b03928316179055600f8054600160501b600160f01b0319166a010000000000000000000084841602179055600080548216815260046020526040808220805460ff1990811660019081179092553084528284208054821683179055601280548616855292909320805490931617909155546200042891166200054f565b6010546200043f906001600160a01b03166200054f565b6200044a306200054f565b6200048860646200047460026200046060075490565b6200068b60201b62001a571790919060201c565b620006a260201b62001a631790919060201c565b601555620004a160646200047460026200046060075490565b601455620004ba60646200047460026200046060075490565b60165560075460405190815233906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35062000c24565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b62000559620006b0565b6001600160a01b03811660009081526005602052604090205460ff1615620005c85760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064015b60405180910390fd5b6001600160a01b0381166000908152600160205260409020541562000625576001600160a01b0381166000908152600160205260409020546200060b906200070e565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b600062000699828462000bc1565b90505b92915050565b600062000699828462000bdb565b6000546001600160a01b031633146200070c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620005bf565b565b6000600854821115620007775760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401620005bf565b600062000783620007a6565b90506200079f8184620006a260201b62001a631790919060201c565b9392505050565b60008080620007b4620007d9565b91509150620007d28183620006a260201b62001a631790919060201c565b9250505090565b6008546007546000918291825b60065481101562000959578260016000600684815481106200080c576200080c62000bf2565b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806200087b575081600260006006848154811062000854576200085462000bf2565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156200089257600854600754945094505050509091565b620008e96001600060068481548110620008b057620008b062000bf2565b60009182526020808320909101546001600160a01b03168352828101939093526040909101902054859162001a6f62000999821b17901c565b925062000942600260006006848154811062000909576200090962000bf2565b60009182526020808320909101546001600160a01b03168352828101939093526040909101902054849162001a6f62000999821b17901c565b915080620009508162000c08565b915050620007e6565b5062000978600754600854620006a260201b62001a631790919060201c565b82101562000990576008546007549350935050509091565b90939092509050565b6000620006998284620009ea565b634e487b7160e01b600052601260045260246000fd5b600082620009cf57620009cf620009a7565b500690565b634e487b7160e01b600052601160045260246000fd5b818103818111156200069c576200069c620009d4565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000a2b57607f821691505b60208210810362000a4c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000aa057600081815260208120601f850160051c8101602086101562000a7b5750805b601f850160051c820191505b8181101562000a9c5782815560010162000a87565b5050505b505050565b81516001600160401b0381111562000ac15762000ac162000a00565b62000ad98162000ad2845462000a16565b8462000a52565b602080601f83116001811462000b11576000841562000af85750858301515b600019600386901b1c1916600185901b17855562000a9c565b600085815260208120601f198616915b8281101562000b425788860151825594840194600190910190840162000b21565b508582101562000b615787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61ffff81811683821601908082111562000b8f5762000b8f620009d4565b5092915050565b60006020828403121562000ba957600080fd5b81516001600160a01b03811681146200079f57600080fd5b80820281158282048414176200069c576200069c620009d4565b60008262000bed5762000bed620009a7565b500490565b634e487b7160e01b600052603260045260246000fd5b60006001820162000c1d5762000c1d620009d4565b5060010190565b6134468062000c346000396000f3fe6080604052600436106102975760003560e01c806366d602ae1161015a578063aa4bde28116100c1578063e99c9d091161007a578063e99c9d091461089c578063ea2f0b37146108bc578063f0f165af146108dc578063f2fde38b146108fc578063f34eb0b81461091c578063f9d0831a1461093c57600080fd5b8063aa4bde28146107cb578063c49b9a80146107e1578063c851cc3214610801578063d3f6a15714610821578063db05e5cb14610841578063dd62ed3e1461085657600080fd5b80638c369d3b116101135780638c369d3b146107185780638da5cb5b1461073857806395d89b4114610756578063962dfc751461076b578063a457c2d71461078b578063a9059cbb146107ab57600080fd5b806366d602ae1461066957806370a082311461067f578063715018a61461069f57806388e765ff146106b457806388f82020146106ca5780638a8c523c1461070357600080fd5b80633685d419116101fe57806349bd5a5e116101b757806349bd5a5e1461058f5780634a74bb02146105af5780634cfd4a92146105d057806352390c02146105f05780635342acb4146106105780635d0044ca1461064957600080fd5b80633685d419146104ab57806339509351146104cb5780633bd5d173146104eb578063437823ec1461050b5780634549b0391461052b578063470624021461054b57600080fd5b80631694505e116102505780631694505e1461039457806318160ddd146103bb57806323b872dd146103d05780632b14ca56146103f05780632d83811914610469578063313ce5671461048957600080fd5b8063064a59d0146102a357806306fdde03146102d9578063095ea7b3146102fb57806311a63e171461031b57806313114a9d146103535780631465d9291461037257600080fd5b3661029e57005b600080fd5b3480156102af57600080fd5b506013546102c490600160b01b900460ff1681565b60405190151581526020015b60405180910390f35b3480156102e557600080fd5b506102ee61095c565b6040516102d09190612f62565b34801561030757600080fd5b506102c4610316366004612fc5565b6109ee565b34801561032757600080fd5b5060135461033b906001600160a01b031681565b6040516001600160a01b0390911681526020016102d0565b34801561035f57600080fd5b506009545b6040519081526020016102d0565b34801561037e57600080fd5b5061039261038d366004613008565b610a05565b005b3480156103a057600080fd5b50600f5461033b90600160501b90046001600160a01b031681565b3480156103c757600080fd5b50600754610364565b3480156103dc57600080fd5b506102c46103eb36600461306d565b610ae9565b3480156103fc57600080fd5b50600e546104349061ffff80821691620100008104821691600160201b8204811691600160301b8104821691600160401b9091041685565b6040805161ffff968716815294861660208601529285169284019290925283166060830152909116608082015260a0016102d0565b34801561047557600080fd5b506103646104843660046130ae565b610b52565b34801561049557600080fd5b50600c5460405160ff90911681526020016102d0565b3480156104b757600080fd5b506103926104c63660046130c7565b610bd6565b3480156104d757600080fd5b506102c46104e6366004612fc5565b610d6a565b3480156104f757600080fd5b506103926105063660046130ae565b610da0565b34801561051757600080fd5b506103926105263660046130c7565b610e8a565b34801561053757600080fd5b506103646105463660046130f2565b610eb6565b34801561055757600080fd5b50600d546104349061ffff80821691620100008104821691600160201b8204811691600160301b8104821691600160401b9091041685565b34801561059b57600080fd5b5060105461033b906001600160a01b031681565b3480156105bb57600080fd5b506013546102c490600160a81b900460ff1681565b3480156105dc57600080fd5b506103926105eb366004613008565b610f43565b3480156105fc57600080fd5b5061039261060b3660046130c7565b61101c565b34801561061c57600080fd5b506102c461062b3660046130c7565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561065557600080fd5b506103926106643660046130ae565b61114d565b34801561067557600080fd5b5061036460155481565b34801561068b57600080fd5b5061036461069a3660046130c7565b61118d565b3480156106ab57600080fd5b506103926111ec565b3480156106c057600080fd5b5061036460145481565b3480156106d657600080fd5b506102c46106e53660046130c7565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561070f57600080fd5b50610392611200565b34801561072457600080fd5b5060125461033b906001600160a01b031681565b34801561074457600080fd5b506000546001600160a01b031661033b565b34801561076257600080fd5b506102ee61121d565b34801561077757600080fd5b5060115461033b906001600160a01b031681565b34801561079757600080fd5b506102c46107a6366004612fc5565b61122c565b3480156107b757600080fd5b506102c46107c6366004612fc5565b61127b565b3480156107d757600080fd5b5061036460165481565b3480156107ed57600080fd5b506103926107fc366004613122565b611288565b34801561080d57600080fd5b5061039261081c3660046130c7565b6112e8565b34801561082d57600080fd5b5061039261083c36600461313f565b6116c0565b34801561084d57600080fd5b50610392611777565b34801561086257600080fd5b5061036461087136600461313f565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b3480156108a857600080fd5b506103926108b73660046130ae565b611793565b3480156108c857600080fd5b506103926108d73660046130c7565b6117cd565b3480156108e857600080fd5b506103926108f73660046130ae565b6117f6565b34801561090857600080fd5b506103926109173660046130c7565b611803565b34801561092857600080fd5b506103926109373660046130ae565b61187c565b34801561094857600080fd5b506103926109573660046130c7565b6118b6565b6060600a805461096b9061316d565b80601f01602080910402602001604051908101604052809291908181526020018280546109979061316d565b80156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b5050505050905090565b60006109fb338484611a7b565b5060015b92915050565b610a0d611b9f565b600d805461ffff87811663ffffffff199092169190911762010000878316021769ffffffff0000000000001916600160301b8683160261ffff60401b191617600160401b858316021765ffff000000001916600160201b9184169190910217905560175460c811610ae25760405162461bcd60e51b815260206004820152603460248201527f4d61782062757920666565732073686f756c64206265206c657373207468616e60448201527308195c5d585b081d1bc80c8c081c195c98d95b9d60621b60648201526084015b60405180910390fd5b5050505050565b6000610af6848484611bf9565b610b488433610b43856040518060600160405280602881526020016133c4602891396001600160a01b038a1660009081526003602090815260408083203384529091529020549190611de9565b611a7b565b5060019392505050565b6000600854821115610bb95760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610ad9565b6000610bc3611e15565b9050610bcf8382611a63565b9392505050565b610bde611b9f565b6001600160a01b03811660009081526005602052604090205460ff16610c465760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610ad9565b60005b600654811015610d6657816001600160a01b031660068281548110610c7057610c706131a7565b6000918252602090912001546001600160a01b031603610d545760068054610c9a906001906131d3565b81548110610caa57610caa6131a7565b600091825260209091200154600680546001600160a01b039092169183908110610cd657610cd66131a7565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600590925220805460ff191690556006805480610d2e57610d2e6131e6565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610d5e816131fc565b915050610c49565b5050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916109fb918590610b439086611e38565b3360008181526005602052604090205460ff1615610e155760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610ad9565b6000610e2083611e44565b505050506001600160a01b038416600090815260016020526040902054919250610e4c91905082611a6f565b6001600160a01b038316600090815260016020526040902055600854610e729082611a6f565b600855600954610e829084611e38565b600955505050565b610e92611b9f565b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b6000600754831115610f0a5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610ad9565b81610f29576000610f1a84611e44565b509395506109ff945050505050565b6000610f3484611e44565b509295506109ff945050505050565b610f4b611b9f565b600e805461ffff87811663ffffffff199092169190911762010000878316021769ffffffff0000000000001916600160301b8683160261ffff60401b191617600160401b858316021765ffff000000001916600160201b9184169190910217905560185460c811610ae25760405162461bcd60e51b815260206004820152603560248201527f4d61782073656c6c20666565732073686f756c64206265206c657373207468616044820152741b88195c5d585b081d1bc80c8c081c195c98d95b9d605a1b6064820152608401610ad9565b611024611b9f565b6001600160a01b03811660009081526005602052604090205460ff161561108d5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610ad9565b6001600160a01b038116600090815260016020526040902054156110e7576001600160a01b0381166000908152600160205260409020546110cd90610b52565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b611155611b9f565b611169606461116360075490565b90611a63565b8110156111885760405162461bcd60e51b8152600401610ad990613215565b601655565b6001600160a01b03811660009081526005602052604081205460ff16156111ca57506001600160a01b031660009081526002602052604090205490565b6001600160a01b0382166000908152600160205260409020546109ff90610b52565b6111f4611b9f565b6111fe6000611e9a565b565b611208611b9f565b6013805460ff60b01b1916600160b01b179055565b6060600b805461096b9061316d565b60006109fb3384610b43856040518060600160405280602581526020016133ec602591393360009081526003602090815260408083206001600160a01b038d1684529091529020549190611de9565b60006109fb338484611bf9565b611290611b9f565b60138054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906112dd90831515815260200190565b60405180910390a150565b6112f0611b9f565b600f546001600160a01b03600160501b9091048116908216036113685760405162461bcd60e51b815260206004820152602a60248201527f544f4b454e3a2054686520726f7574657220616c7265616479206861732074686044820152696174206164647265737360b01b6064820152608401610ad9565b80600f600a6101000a8154816001600160a01b0302191690836001600160a01b031602179055506000600f600a9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611408919061323a565b6001600160a01b031663e6a4390530600f600a9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561146a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148e919061323a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa1580156114d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fd919061323a565b90506001600160a01b03811661169f57600f600a9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611560573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611584919061323a565b6001600160a01b031663c9c6539630600f600a9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160a919061323a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611657573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167b919061323a565b601080546001600160a01b0319166001600160a01b03929092169190911790555050565b601080546001600160a01b0383166001600160a01b03199091161790555050565b6116c8611b9f565b6001600160a01b0382161515806116e757506001600160a01b03811615155b6117495760405162461bcd60e51b815260206004820152602d60248201527f6d61726b6574696e67206f72206465762077616c6c65742063616e277420626560448201526c207a65726f206164647265737360981b6064820152608401610ad9565b601180546001600160a01b039384166001600160a01b03199182161790915560138054929093169116179055565b61177f611b9f565b600754601455600754601555600754601655565b61179b611b9f565b6117a9606461116360075490565b8110156117c85760405162461bcd60e51b8152600401610ad990613215565b601555565b6117d5611b9f565b6001600160a01b03166000908152600460205260409020805460ff19169055565b6117fe611b9f565b601955565b61180b611b9f565b6001600160a01b0381166118705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ad9565b61187981611e9a565b50565b611884611b9f565b611892606461116360075490565b8110156118b15760405162461bcd60e51b8152600401610ad990613215565b601455565b6118be611b9f565b306001600160a01b038216036119085760405162461bcd60e51b815260206004820152600f60248201526e4e6f207275672070756c6c73203a2960881b6044820152606401610ad9565b6001600160a01b03811661195057600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015610d66573d6000803e3d6000fd5b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015611999573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bd9190613257565b9050816001600160a01b031663a9059cbb6119e06000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015611a2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a519190613270565b50505050565b6000610bcf828461328d565b6000610bcf82846132ba565b6000610bcf82846131d3565b6001600160a01b038316611add5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ad9565b6001600160a01b038216611b3e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ad9565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b031633146111fe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad9565b6001600160a01b038316611c5d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610ad9565b6001600160a01b038216611cbf5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610ad9565b60008111611d215760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610ad9565b6000611d2c3061118d565b60195490915081108015908190611d4d5750601354600160a01b900460ff16155b8015611d6757506010546001600160a01b03868116911614155b8015611d7c5750601354600160a81b900460ff165b15611d8a57611d8a82611eea565b6001600160a01b03851660009081526004602052604090205460019060ff1680611dcc57506001600160a01b03851660009081526004602052604090205460ff165b15611dd5575060005b611de186868684612188565b505050505050565b60008184841115611e0d5760405162461bcd60e51b8152600401610ad99190612f62565b505050900390565b6000806000611e2261256c565b9092509050611e318282611a63565b9250505090565b6000610bcf82846132ce565b600080600080600080600080600080611e5c8b6126ee565b93509350935093506000806000611e7d8e878787611e78611e15565b612773565b919e509c509a509598509396509194505050505091939550919395565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6013805460ff60a01b1916600160a01b179055600e54600d54601854601754479360009361ffff600160401b808404821695908304821694600160301b9485900483169490930490911691611f3f91906132ce565b611f4991906131d3565b611f5391906131d3565b611f5d91906131d3565b611f6791906131d3565b600e54600d54919250600091611ff79184916111639161ffff600160201b808304821693908104821692600292611fa29291811691166132e1565b611fac9190613303565b600e54600d54611fce9161ffff620100009182900481169291909104166132e1565b611fd891906132e1565b611fe291906132e1565b611fec91906132e1565b879061ffff16611a57565b9050600061200582866131d3565b9050612010826127d5565b600061201c4786611a6f565b600e54600d549192506000916120589187916111639161204d9161ffff6201000092839004811692909104166132e1565b859061ffff16611a57565b600e54600d549192506000916120959188916111639161208a9161ffff600160201b92839004811692909104166132e1565b869061ffff16611a57565b90506000816120a484866131d3565b6120ae91906131d3565b6011546040519192506001600160a01b03169084156108fc029085906000818181858888f193505050501580156120e9573d6000803e3d6000fd5b506013546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015612124573d6000803e3d6000fd5b5061212f858261294e565b604080518a8152602081018790529081018290527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506013805460ff60a01b1916905550505050505050565b6121a0600f805469ffffffffffffffffffff19169055565b801561241857601354600160b01b900460ff166121ff5760405162461bcd60e51b815260206004820152601760248201527f54726164696e67206e6f7420656e61626c6564207965740000000000000000006044820152606401610ad9565b6010546001600160a01b0384811691161461227157601654826122218561118d565b61222b91906132ce565b11156122715760405162461bcd60e51b815260206004820152601560248201527410985b185b98d948195e18d959591cc81b1a5b5a5d605a1b6044820152606401610ad9565b6010546001600160a01b0390811690851603612344576014548211156122cd5760405162461bcd60e51b8152602060048201526011602482015270109d5e48195e18d959591cc81b1a5b5a5d607a1b6044820152606401610ad9565b600d54600f8054600160401b80840461ffff90811663ffffffff1990931692909217828516620100009081029190911767ffffffff000000001916600160301b80870485160265ffff000000001916179085048316600160201b9081029190911761ffff60401b1916940491909116029190911790555b6010546001600160a01b0390811690841603612418576015548211156123a15760405162461bcd60e51b815260206004820152601260248201527114d95b1b08195e18d959591cc81b1a5b5a5d60721b6044820152606401610ad9565b600e54600f8054600160401b80840461ffff90811663ffffffff1990931692909217828516620100009081029190911767ffffffff000000001916600160301b80870485160265ffff000000001916179085048316600160201b9081029190911761ffff60401b1916940491909116029190911790555b6001600160a01b03841660009081526005602052604090205460ff16801561245957506001600160a01b03831660009081526005602052604090205460ff16155b1561246e57612469848484612a05565b611a51565b6001600160a01b03841660009081526005602052604090205460ff161580156124af57506001600160a01b03831660009081526005602052604090205460ff165b156124bf57612469848484612b4e565b6001600160a01b03841660009081526005602052604090205460ff1615801561250157506001600160a01b03831660009081526005602052604090205460ff16155b1561251157612469848484612bf7565b6001600160a01b03841660009081526005602052604090205460ff16801561255157506001600160a01b03831660009081526005602052604090205460ff165b1561256157612469848484612c3b565b611a51848484612bf7565b6008546007546000918291825b6006548110156126be5782600160006006848154811061259b5761259b6131a7565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061260657508160026000600684815481106125df576125df6131a7565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561261c57600854600754945094505050509091565b6126626001600060068481548110612636576126366131a7565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611a6f565b92506126aa600260006006848154811061267e5761267e6131a7565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611a6f565b9150806126b6816131fc565b915050612579565b506007546008546126ce91611a63565b8210156126e5576008546007549350935050509091565b90939092509050565b60008060008060006126ff86612cae565b9050600061270c87612ccb565b9050600061271988612cee565b61272289612d12565b61272b8a612d36565b61273591906132ce565b61273f91906132ce565b90506000612757836127518b87611a6f565b90611a6f565b90506127638183611a6f565b9993985091965094509092505050565b60008080806127828986611a57565b905060006127908987611a57565b9050600061279e8988611a57565b905060006127ac8989611a57565b905060006127c08261275185818989611a6f565b949d949c50929a509298505050505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061280a5761280a6131a7565b60200260200101906001600160a01b031690816001600160a01b031681525050600f600a9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561287d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128a1919061323a565b816001815181106128b4576128b46131a7565b6001600160a01b039283166020918202929092010152600f546128e1913091600160501b90041684611a7b565b600f5460405163791ac94760e01b8152600160501b9091046001600160a01b03169063791ac94790612920908590600090869030904290600401613324565b600060405180830381600087803b15801561293a57600080fd5b505af1158015611de1573d6000803e3d6000fd5b600f5461296d903090600160501b90046001600160a01b031684611a7b565b600f5460405163f305d71960e01b8152306004820152602481018490526000604482018190526064820181905260848201524260a4820152600160501b9091046001600160a01b03169063f305d71990839060c40160606040518083038185885af11580156129e0573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610ae29190613395565b600080600080600080612a1787611e44565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150612a499088611a6f565b6001600160a01b038a16600090815260026020908152604080832093909355600190522054612a789087611a6f565b6001600160a01b03808b1660009081526001602052604080822093909355908a1681522054612aa79086611e38565b6001600160a01b038916600090815260016020526040902055612ac981612d5a565b612aec612ad588612d36565b612ade89612d12565b612ae78a612cee565b612de3565b612af68483612f3e565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612b3b91815260200190565b60405180910390a3505050505050505050565b600080600080600080612b6087611e44565b6001600160a01b038f16600090815260016020526040902054959b50939950919750955093509150612b929087611a6f565b6001600160a01b03808b16600090815260016020908152604080832094909455918b16815260029091522054612bc89084611e38565b6001600160a01b038916600090815260026020908152604080832093909355600190522054612aa79086611e38565b600080600080600080612c0987611e44565b6001600160a01b038f16600090815260016020526040902054959b50939950919750955093509150612a789087611a6f565b600080600080600080612c4d87611e44565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150612c7f9088611a6f565b6001600160a01b038a16600090815260026020908152604080832093909355600190522054612b929087611a6f565b600f546000906109ff906103e89061116390859061ffff16611a57565b600f546000906109ff906103e89061116390859062010000900461ffff16611a57565b600f546000906109ff906103e890611163908590600160401b900461ffff16611a57565b600f546000906109ff906103e890611163908590600160201b900461ffff16611a57565b600f546000906109ff906103e890611163908590600160301b900461ffff16611a57565b6000612d64611e15565b90506000612d728383611a57565b30600090815260016020526040902054909150612d8f9082611e38565b3060009081526001602090815260408083209390935560059052205460ff1615612dde5730600090815260026020526040902054612dcd9084611e38565b306000908152600260205260409020555b505050565b6000612ded611e15565b90506000612dfb8583611a57565b90506000612e098584611a57565b90506000612e178585611a57565b30600090815260016020526040902054909150612e40908290612e3a9085611e38565b90611e38565b30600090815260016020526040808220929092556012546001600160a01b031681522054612e6e9084611e38565b6012546001600160a01b031660009081526001602090815260408083209390935530825260059052205460ff1615612ed15730600090815260026020526040902054612ec0908690612e3a9089611e38565b306000908152600260205260409020555b6012546001600160a01b031660009081526005602052604090205460ff1615612f35576012546001600160a01b0316600090815260026020526040902054612f199088611e38565b6012546001600160a01b03166000908152600260205260409020555b50505050505050565b600854612f4b9083611a6f565b600855600954612f5b9082611e38565b6009555050565b600060208083528351808285015260005b81811015612f8f57858101830151858201604001528201612f73565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461187957600080fd5b60008060408385031215612fd857600080fd5b8235612fe381612fb0565b946020939093013593505050565b803561ffff8116811461300357600080fd5b919050565b600080600080600060a0868803121561302057600080fd5b61302986612ff1565b945061303760208701612ff1565b935061304560408701612ff1565b925061305360608701612ff1565b915061306160808701612ff1565b90509295509295909350565b60008060006060848603121561308257600080fd5b833561308d81612fb0565b9250602084013561309d81612fb0565b929592945050506040919091013590565b6000602082840312156130c057600080fd5b5035919050565b6000602082840312156130d957600080fd5b8135610bcf81612fb0565b801515811461187957600080fd5b6000806040838503121561310557600080fd5b823591506020830135613117816130e4565b809150509250929050565b60006020828403121561313457600080fd5b8135610bcf816130e4565b6000806040838503121561315257600080fd5b823561315d81612fb0565b9150602083013561311781612fb0565b600181811c9082168061318157607f821691505b6020821081036131a157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156109ff576109ff6131bd565b634e487b7160e01b600052603160045260246000fd5b60006001820161320e5761320e6131bd565b5060010190565b6020808252600b908201526a139bc81c9d59c81c1d5b1b60aa1b604082015260600190565b60006020828403121561324c57600080fd5b8151610bcf81612fb0565b60006020828403121561326957600080fd5b5051919050565b60006020828403121561328257600080fd5b8151610bcf816130e4565b80820281158282048414176109ff576109ff6131bd565b634e487b7160e01b600052601260045260246000fd5b6000826132c9576132c96132a4565b500490565b808201808211156109ff576109ff6131bd565b61ffff8181168382160190808211156132fc576132fc6131bd565b5092915050565b600061ffff80841680613318576133186132a4565b92169190910492915050565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156133745784516001600160a01b03168352938301939183019160010161334f565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156133aa57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122008546f79824ff4d18545979c86c9b6cc9c7e6f32a696073e5d2071fc7afe1f8e64736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102975760003560e01c806366d602ae1161015a578063aa4bde28116100c1578063e99c9d091161007a578063e99c9d091461089c578063ea2f0b37146108bc578063f0f165af146108dc578063f2fde38b146108fc578063f34eb0b81461091c578063f9d0831a1461093c57600080fd5b8063aa4bde28146107cb578063c49b9a80146107e1578063c851cc3214610801578063d3f6a15714610821578063db05e5cb14610841578063dd62ed3e1461085657600080fd5b80638c369d3b116101135780638c369d3b146107185780638da5cb5b1461073857806395d89b4114610756578063962dfc751461076b578063a457c2d71461078b578063a9059cbb146107ab57600080fd5b806366d602ae1461066957806370a082311461067f578063715018a61461069f57806388e765ff146106b457806388f82020146106ca5780638a8c523c1461070357600080fd5b80633685d419116101fe57806349bd5a5e116101b757806349bd5a5e1461058f5780634a74bb02146105af5780634cfd4a92146105d057806352390c02146105f05780635342acb4146106105780635d0044ca1461064957600080fd5b80633685d419146104ab57806339509351146104cb5780633bd5d173146104eb578063437823ec1461050b5780634549b0391461052b578063470624021461054b57600080fd5b80631694505e116102505780631694505e1461039457806318160ddd146103bb57806323b872dd146103d05780632b14ca56146103f05780632d83811914610469578063313ce5671461048957600080fd5b8063064a59d0146102a357806306fdde03146102d9578063095ea7b3146102fb57806311a63e171461031b57806313114a9d146103535780631465d9291461037257600080fd5b3661029e57005b600080fd5b3480156102af57600080fd5b506013546102c490600160b01b900460ff1681565b60405190151581526020015b60405180910390f35b3480156102e557600080fd5b506102ee61095c565b6040516102d09190612f62565b34801561030757600080fd5b506102c4610316366004612fc5565b6109ee565b34801561032757600080fd5b5060135461033b906001600160a01b031681565b6040516001600160a01b0390911681526020016102d0565b34801561035f57600080fd5b506009545b6040519081526020016102d0565b34801561037e57600080fd5b5061039261038d366004613008565b610a05565b005b3480156103a057600080fd5b50600f5461033b90600160501b90046001600160a01b031681565b3480156103c757600080fd5b50600754610364565b3480156103dc57600080fd5b506102c46103eb36600461306d565b610ae9565b3480156103fc57600080fd5b50600e546104349061ffff80821691620100008104821691600160201b8204811691600160301b8104821691600160401b9091041685565b6040805161ffff968716815294861660208601529285169284019290925283166060830152909116608082015260a0016102d0565b34801561047557600080fd5b506103646104843660046130ae565b610b52565b34801561049557600080fd5b50600c5460405160ff90911681526020016102d0565b3480156104b757600080fd5b506103926104c63660046130c7565b610bd6565b3480156104d757600080fd5b506102c46104e6366004612fc5565b610d6a565b3480156104f757600080fd5b506103926105063660046130ae565b610da0565b34801561051757600080fd5b506103926105263660046130c7565b610e8a565b34801561053757600080fd5b506103646105463660046130f2565b610eb6565b34801561055757600080fd5b50600d546104349061ffff80821691620100008104821691600160201b8204811691600160301b8104821691600160401b9091041685565b34801561059b57600080fd5b5060105461033b906001600160a01b031681565b3480156105bb57600080fd5b506013546102c490600160a81b900460ff1681565b3480156105dc57600080fd5b506103926105eb366004613008565b610f43565b3480156105fc57600080fd5b5061039261060b3660046130c7565b61101c565b34801561061c57600080fd5b506102c461062b3660046130c7565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561065557600080fd5b506103926106643660046130ae565b61114d565b34801561067557600080fd5b5061036460155481565b34801561068b57600080fd5b5061036461069a3660046130c7565b61118d565b3480156106ab57600080fd5b506103926111ec565b3480156106c057600080fd5b5061036460145481565b3480156106d657600080fd5b506102c46106e53660046130c7565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561070f57600080fd5b50610392611200565b34801561072457600080fd5b5060125461033b906001600160a01b031681565b34801561074457600080fd5b506000546001600160a01b031661033b565b34801561076257600080fd5b506102ee61121d565b34801561077757600080fd5b5060115461033b906001600160a01b031681565b34801561079757600080fd5b506102c46107a6366004612fc5565b61122c565b3480156107b757600080fd5b506102c46107c6366004612fc5565b61127b565b3480156107d757600080fd5b5061036460165481565b3480156107ed57600080fd5b506103926107fc366004613122565b611288565b34801561080d57600080fd5b5061039261081c3660046130c7565b6112e8565b34801561082d57600080fd5b5061039261083c36600461313f565b6116c0565b34801561084d57600080fd5b50610392611777565b34801561086257600080fd5b5061036461087136600461313f565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b3480156108a857600080fd5b506103926108b73660046130ae565b611793565b3480156108c857600080fd5b506103926108d73660046130c7565b6117cd565b3480156108e857600080fd5b506103926108f73660046130ae565b6117f6565b34801561090857600080fd5b506103926109173660046130c7565b611803565b34801561092857600080fd5b506103926109373660046130ae565b61187c565b34801561094857600080fd5b506103926109573660046130c7565b6118b6565b6060600a805461096b9061316d565b80601f01602080910402602001604051908101604052809291908181526020018280546109979061316d565b80156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b5050505050905090565b60006109fb338484611a7b565b5060015b92915050565b610a0d611b9f565b600d805461ffff87811663ffffffff199092169190911762010000878316021769ffffffff0000000000001916600160301b8683160261ffff60401b191617600160401b858316021765ffff000000001916600160201b9184169190910217905560175460c811610ae25760405162461bcd60e51b815260206004820152603460248201527f4d61782062757920666565732073686f756c64206265206c657373207468616e60448201527308195c5d585b081d1bc80c8c081c195c98d95b9d60621b60648201526084015b60405180910390fd5b5050505050565b6000610af6848484611bf9565b610b488433610b43856040518060600160405280602881526020016133c4602891396001600160a01b038a1660009081526003602090815260408083203384529091529020549190611de9565b611a7b565b5060019392505050565b6000600854821115610bb95760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610ad9565b6000610bc3611e15565b9050610bcf8382611a63565b9392505050565b610bde611b9f565b6001600160a01b03811660009081526005602052604090205460ff16610c465760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610ad9565b60005b600654811015610d6657816001600160a01b031660068281548110610c7057610c706131a7565b6000918252602090912001546001600160a01b031603610d545760068054610c9a906001906131d3565b81548110610caa57610caa6131a7565b600091825260209091200154600680546001600160a01b039092169183908110610cd657610cd66131a7565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600590925220805460ff191690556006805480610d2e57610d2e6131e6565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610d5e816131fc565b915050610c49565b5050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916109fb918590610b439086611e38565b3360008181526005602052604090205460ff1615610e155760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610ad9565b6000610e2083611e44565b505050506001600160a01b038416600090815260016020526040902054919250610e4c91905082611a6f565b6001600160a01b038316600090815260016020526040902055600854610e729082611a6f565b600855600954610e829084611e38565b600955505050565b610e92611b9f565b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b6000600754831115610f0a5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610ad9565b81610f29576000610f1a84611e44565b509395506109ff945050505050565b6000610f3484611e44565b509295506109ff945050505050565b610f4b611b9f565b600e805461ffff87811663ffffffff199092169190911762010000878316021769ffffffff0000000000001916600160301b8683160261ffff60401b191617600160401b858316021765ffff000000001916600160201b9184169190910217905560185460c811610ae25760405162461bcd60e51b815260206004820152603560248201527f4d61782073656c6c20666565732073686f756c64206265206c657373207468616044820152741b88195c5d585b081d1bc80c8c081c195c98d95b9d605a1b6064820152608401610ad9565b611024611b9f565b6001600160a01b03811660009081526005602052604090205460ff161561108d5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610ad9565b6001600160a01b038116600090815260016020526040902054156110e7576001600160a01b0381166000908152600160205260409020546110cd90610b52565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b611155611b9f565b611169606461116360075490565b90611a63565b8110156111885760405162461bcd60e51b8152600401610ad990613215565b601655565b6001600160a01b03811660009081526005602052604081205460ff16156111ca57506001600160a01b031660009081526002602052604090205490565b6001600160a01b0382166000908152600160205260409020546109ff90610b52565b6111f4611b9f565b6111fe6000611e9a565b565b611208611b9f565b6013805460ff60b01b1916600160b01b179055565b6060600b805461096b9061316d565b60006109fb3384610b43856040518060600160405280602581526020016133ec602591393360009081526003602090815260408083206001600160a01b038d1684529091529020549190611de9565b60006109fb338484611bf9565b611290611b9f565b60138054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906112dd90831515815260200190565b60405180910390a150565b6112f0611b9f565b600f546001600160a01b03600160501b9091048116908216036113685760405162461bcd60e51b815260206004820152602a60248201527f544f4b454e3a2054686520726f7574657220616c7265616479206861732074686044820152696174206164647265737360b01b6064820152608401610ad9565b80600f600a6101000a8154816001600160a01b0302191690836001600160a01b031602179055506000600f600a9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611408919061323a565b6001600160a01b031663e6a4390530600f600a9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561146a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148e919061323a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa1580156114d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fd919061323a565b90506001600160a01b03811661169f57600f600a9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611560573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611584919061323a565b6001600160a01b031663c9c6539630600f600a9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160a919061323a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611657573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167b919061323a565b601080546001600160a01b0319166001600160a01b03929092169190911790555050565b601080546001600160a01b0383166001600160a01b03199091161790555050565b6116c8611b9f565b6001600160a01b0382161515806116e757506001600160a01b03811615155b6117495760405162461bcd60e51b815260206004820152602d60248201527f6d61726b6574696e67206f72206465762077616c6c65742063616e277420626560448201526c207a65726f206164647265737360981b6064820152608401610ad9565b601180546001600160a01b039384166001600160a01b03199182161790915560138054929093169116179055565b61177f611b9f565b600754601455600754601555600754601655565b61179b611b9f565b6117a9606461116360075490565b8110156117c85760405162461bcd60e51b8152600401610ad990613215565b601555565b6117d5611b9f565b6001600160a01b03166000908152600460205260409020805460ff19169055565b6117fe611b9f565b601955565b61180b611b9f565b6001600160a01b0381166118705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ad9565b61187981611e9a565b50565b611884611b9f565b611892606461116360075490565b8110156118b15760405162461bcd60e51b8152600401610ad990613215565b601455565b6118be611b9f565b306001600160a01b038216036119085760405162461bcd60e51b815260206004820152600f60248201526e4e6f207275672070756c6c73203a2960881b6044820152606401610ad9565b6001600160a01b03811661195057600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015610d66573d6000803e3d6000fd5b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015611999573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bd9190613257565b9050816001600160a01b031663a9059cbb6119e06000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015611a2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a519190613270565b50505050565b6000610bcf828461328d565b6000610bcf82846132ba565b6000610bcf82846131d3565b6001600160a01b038316611add5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ad9565b6001600160a01b038216611b3e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ad9565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b031633146111fe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ad9565b6001600160a01b038316611c5d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610ad9565b6001600160a01b038216611cbf5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610ad9565b60008111611d215760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610ad9565b6000611d2c3061118d565b60195490915081108015908190611d4d5750601354600160a01b900460ff16155b8015611d6757506010546001600160a01b03868116911614155b8015611d7c5750601354600160a81b900460ff165b15611d8a57611d8a82611eea565b6001600160a01b03851660009081526004602052604090205460019060ff1680611dcc57506001600160a01b03851660009081526004602052604090205460ff165b15611dd5575060005b611de186868684612188565b505050505050565b60008184841115611e0d5760405162461bcd60e51b8152600401610ad99190612f62565b505050900390565b6000806000611e2261256c565b9092509050611e318282611a63565b9250505090565b6000610bcf82846132ce565b600080600080600080600080600080611e5c8b6126ee565b93509350935093506000806000611e7d8e878787611e78611e15565b612773565b919e509c509a509598509396509194505050505091939550919395565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6013805460ff60a01b1916600160a01b179055600e54600d54601854601754479360009361ffff600160401b808404821695908304821694600160301b9485900483169490930490911691611f3f91906132ce565b611f4991906131d3565b611f5391906131d3565b611f5d91906131d3565b611f6791906131d3565b600e54600d54919250600091611ff79184916111639161ffff600160201b808304821693908104821692600292611fa29291811691166132e1565b611fac9190613303565b600e54600d54611fce9161ffff620100009182900481169291909104166132e1565b611fd891906132e1565b611fe291906132e1565b611fec91906132e1565b879061ffff16611a57565b9050600061200582866131d3565b9050612010826127d5565b600061201c4786611a6f565b600e54600d549192506000916120589187916111639161204d9161ffff6201000092839004811692909104166132e1565b859061ffff16611a57565b600e54600d549192506000916120959188916111639161208a9161ffff600160201b92839004811692909104166132e1565b869061ffff16611a57565b90506000816120a484866131d3565b6120ae91906131d3565b6011546040519192506001600160a01b03169084156108fc029085906000818181858888f193505050501580156120e9573d6000803e3d6000fd5b506013546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015612124573d6000803e3d6000fd5b5061212f858261294e565b604080518a8152602081018790529081018290527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506013805460ff60a01b1916905550505050505050565b6121a0600f805469ffffffffffffffffffff19169055565b801561241857601354600160b01b900460ff166121ff5760405162461bcd60e51b815260206004820152601760248201527f54726164696e67206e6f7420656e61626c6564207965740000000000000000006044820152606401610ad9565b6010546001600160a01b0384811691161461227157601654826122218561118d565b61222b91906132ce565b11156122715760405162461bcd60e51b815260206004820152601560248201527410985b185b98d948195e18d959591cc81b1a5b5a5d605a1b6044820152606401610ad9565b6010546001600160a01b0390811690851603612344576014548211156122cd5760405162461bcd60e51b8152602060048201526011602482015270109d5e48195e18d959591cc81b1a5b5a5d607a1b6044820152606401610ad9565b600d54600f8054600160401b80840461ffff90811663ffffffff1990931692909217828516620100009081029190911767ffffffff000000001916600160301b80870485160265ffff000000001916179085048316600160201b9081029190911761ffff60401b1916940491909116029190911790555b6010546001600160a01b0390811690841603612418576015548211156123a15760405162461bcd60e51b815260206004820152601260248201527114d95b1b08195e18d959591cc81b1a5b5a5d60721b6044820152606401610ad9565b600e54600f8054600160401b80840461ffff90811663ffffffff1990931692909217828516620100009081029190911767ffffffff000000001916600160301b80870485160265ffff000000001916179085048316600160201b9081029190911761ffff60401b1916940491909116029190911790555b6001600160a01b03841660009081526005602052604090205460ff16801561245957506001600160a01b03831660009081526005602052604090205460ff16155b1561246e57612469848484612a05565b611a51565b6001600160a01b03841660009081526005602052604090205460ff161580156124af57506001600160a01b03831660009081526005602052604090205460ff165b156124bf57612469848484612b4e565b6001600160a01b03841660009081526005602052604090205460ff1615801561250157506001600160a01b03831660009081526005602052604090205460ff16155b1561251157612469848484612bf7565b6001600160a01b03841660009081526005602052604090205460ff16801561255157506001600160a01b03831660009081526005602052604090205460ff165b1561256157612469848484612c3b565b611a51848484612bf7565b6008546007546000918291825b6006548110156126be5782600160006006848154811061259b5761259b6131a7565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061260657508160026000600684815481106125df576125df6131a7565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561261c57600854600754945094505050509091565b6126626001600060068481548110612636576126366131a7565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611a6f565b92506126aa600260006006848154811061267e5761267e6131a7565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611a6f565b9150806126b6816131fc565b915050612579565b506007546008546126ce91611a63565b8210156126e5576008546007549350935050509091565b90939092509050565b60008060008060006126ff86612cae565b9050600061270c87612ccb565b9050600061271988612cee565b61272289612d12565b61272b8a612d36565b61273591906132ce565b61273f91906132ce565b90506000612757836127518b87611a6f565b90611a6f565b90506127638183611a6f565b9993985091965094509092505050565b60008080806127828986611a57565b905060006127908987611a57565b9050600061279e8988611a57565b905060006127ac8989611a57565b905060006127c08261275185818989611a6f565b949d949c50929a509298505050505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061280a5761280a6131a7565b60200260200101906001600160a01b031690816001600160a01b031681525050600f600a9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561287d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128a1919061323a565b816001815181106128b4576128b46131a7565b6001600160a01b039283166020918202929092010152600f546128e1913091600160501b90041684611a7b565b600f5460405163791ac94760e01b8152600160501b9091046001600160a01b03169063791ac94790612920908590600090869030904290600401613324565b600060405180830381600087803b15801561293a57600080fd5b505af1158015611de1573d6000803e3d6000fd5b600f5461296d903090600160501b90046001600160a01b031684611a7b565b600f5460405163f305d71960e01b8152306004820152602481018490526000604482018190526064820181905260848201524260a4820152600160501b9091046001600160a01b03169063f305d71990839060c40160606040518083038185885af11580156129e0573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610ae29190613395565b600080600080600080612a1787611e44565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150612a499088611a6f565b6001600160a01b038a16600090815260026020908152604080832093909355600190522054612a789087611a6f565b6001600160a01b03808b1660009081526001602052604080822093909355908a1681522054612aa79086611e38565b6001600160a01b038916600090815260016020526040902055612ac981612d5a565b612aec612ad588612d36565b612ade89612d12565b612ae78a612cee565b612de3565b612af68483612f3e565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612b3b91815260200190565b60405180910390a3505050505050505050565b600080600080600080612b6087611e44565b6001600160a01b038f16600090815260016020526040902054959b50939950919750955093509150612b929087611a6f565b6001600160a01b03808b16600090815260016020908152604080832094909455918b16815260029091522054612bc89084611e38565b6001600160a01b038916600090815260026020908152604080832093909355600190522054612aa79086611e38565b600080600080600080612c0987611e44565b6001600160a01b038f16600090815260016020526040902054959b50939950919750955093509150612a789087611a6f565b600080600080600080612c4d87611e44565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150612c7f9088611a6f565b6001600160a01b038a16600090815260026020908152604080832093909355600190522054612b929087611a6f565b600f546000906109ff906103e89061116390859061ffff16611a57565b600f546000906109ff906103e89061116390859062010000900461ffff16611a57565b600f546000906109ff906103e890611163908590600160401b900461ffff16611a57565b600f546000906109ff906103e890611163908590600160201b900461ffff16611a57565b600f546000906109ff906103e890611163908590600160301b900461ffff16611a57565b6000612d64611e15565b90506000612d728383611a57565b30600090815260016020526040902054909150612d8f9082611e38565b3060009081526001602090815260408083209390935560059052205460ff1615612dde5730600090815260026020526040902054612dcd9084611e38565b306000908152600260205260409020555b505050565b6000612ded611e15565b90506000612dfb8583611a57565b90506000612e098584611a57565b90506000612e178585611a57565b30600090815260016020526040902054909150612e40908290612e3a9085611e38565b90611e38565b30600090815260016020526040808220929092556012546001600160a01b031681522054612e6e9084611e38565b6012546001600160a01b031660009081526001602090815260408083209390935530825260059052205460ff1615612ed15730600090815260026020526040902054612ec0908690612e3a9089611e38565b306000908152600260205260409020555b6012546001600160a01b031660009081526005602052604090205460ff1615612f35576012546001600160a01b0316600090815260026020526040902054612f199088611e38565b6012546001600160a01b03166000908152600260205260409020555b50505050505050565b600854612f4b9083611a6f565b600855600954612f5b9082611e38565b6009555050565b600060208083528351808285015260005b81811015612f8f57858101830151858201604001528201612f73565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461187957600080fd5b60008060408385031215612fd857600080fd5b8235612fe381612fb0565b946020939093013593505050565b803561ffff8116811461300357600080fd5b919050565b600080600080600060a0868803121561302057600080fd5b61302986612ff1565b945061303760208701612ff1565b935061304560408701612ff1565b925061305360608701612ff1565b915061306160808701612ff1565b90509295509295909350565b60008060006060848603121561308257600080fd5b833561308d81612fb0565b9250602084013561309d81612fb0565b929592945050506040919091013590565b6000602082840312156130c057600080fd5b5035919050565b6000602082840312156130d957600080fd5b8135610bcf81612fb0565b801515811461187957600080fd5b6000806040838503121561310557600080fd5b823591506020830135613117816130e4565b809150509250929050565b60006020828403121561313457600080fd5b8135610bcf816130e4565b6000806040838503121561315257600080fd5b823561315d81612fb0565b9150602083013561311781612fb0565b600181811c9082168061318157607f821691505b6020821081036131a157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156109ff576109ff6131bd565b634e487b7160e01b600052603160045260246000fd5b60006001820161320e5761320e6131bd565b5060010190565b6020808252600b908201526a139bc81c9d59c81c1d5b1b60aa1b604082015260600190565b60006020828403121561324c57600080fd5b8151610bcf81612fb0565b60006020828403121561326957600080fd5b5051919050565b60006020828403121561328257600080fd5b8151610bcf816130e4565b80820281158282048414176109ff576109ff6131bd565b634e487b7160e01b600052601260045260246000fd5b6000826132c9576132c96132a4565b500490565b808201808211156109ff576109ff6131bd565b61ffff8181168382160190808211156132fc576132fc6131bd565b5092915050565b600061ffff80841680613318576133186132a4565b92169190910492915050565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156133745784516001600160a01b03168352938301939183019160010161334f565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156133aa57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122008546f79824ff4d18545979c86c9b6cc9c7e6f32a696073e5d2071fc7afe1f8e64736f6c63430008110033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.