ERC-20
Overview
Max Total Supply
1,000,000,000,000,000 RUSH
Holders
144
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RushInu
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity Standard Json-Input format)
/** #features: 2% fee auto add to the liquidity pool to locked forever when selling 2% fee auto distribute to all holders token will deflate itself in supply with every transaction 50% Supply is burned at start. */ pragma solidity ^0.6.12; // SPDX-License-Identifier: Unlicensed interface IERC20 { function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; address private _previousOwner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } // pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } // pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } // pragma solidity >=0.6.2; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } contract RushInu 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 constant _tTotal = 1000000000 * 10**6 * 10**9; uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; string private constant _name = "Rush Inu"; string private constant _symbol = "RUSH"; uint8 private constant _decimals = 9; uint256 public _taxFee = 2; uint256 private _previousTaxFee = _taxFee; uint256 public _liquidityFee = 2; uint256 private _previousLiquidityFee = _liquidityFee; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; bool inSwapAndLiquify; bool public swapAndLiquifyEnabled = true; uint256 public _maxTxAmount = 5000000 * 10**6 * 10**9; uint256 private constant numTokensSellToAddToLiquidity = 500000 * 10**6 * 10**9; event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap); event SwapAndLiquifyEnabledUpdated(bool enabled); event IsExcludeFromRewardUpdated(address account); event IsIncludedInRewardUpdated(address account); event IsExcludedFromFeeUpdated(address account); event IsIncludedInFeeUpdated(address account); event TaxFeeUpdated(uint256 taxFee); event LiquidityFeeUpdated(uint256 liquidityFee); event MaxTxAmountUpdated(uint256 maxTxAmount); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); event OwnerWithdrewExcessEth(uint256 excessEth); modifier lockTheSwap { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor () public { _rOwned[_msgSender()] = _rTotal; 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 _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; emit Transfer(address(0), _msgSender(), _tTotal); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { if (_isExcluded[account]) return _tOwned[account]; return tokenFromReflection(_rOwned[account]); } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } function isExcludedFromReward(address account) public view returns (bool) { return _isExcluded[account]; } function totalFees() public view returns (uint256) { return _tFeeTotal; } function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns(uint256) { require(tAmount <= _tTotal, "Amount must be less than supply"); if (!deductTransferFee) { (uint256 rAmount,,,,,) = _getValues(tAmount); return rAmount; } else { (,uint256 rTransferAmount,,,,) = _getValues(tAmount); return rTransferAmount; } } function tokenFromReflection(uint256 rAmount) public view returns(uint256) { require(rAmount <= _rTotal, "Amount must be less than total reflections"); uint256 currentRate = _getRate(); return rAmount.div(currentRate); } function excludeFromReward(address account) public onlyOwner() { require(!_isExcluded[account], "Account is already excluded"); if(_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcluded[account] = true; _excluded.push(account); emit IsExcludeFromRewardUpdated(account); } function includeInReward(address account) external onlyOwner() { require(_isExcluded[account], "Account is not 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(); emit IsIncludedInRewardUpdated(account); break; } } } function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function excludeFromFee(address account) public onlyOwner { _isExcludedFromFee[account] = true; emit IsExcludedFromFeeUpdated(account); } function includeInFee(address account) public onlyOwner { _isExcludedFromFee[account] = false; emit IsIncludedInFeeUpdated(account); } function setTaxFeePercent(uint256 taxFee) external onlyOwner() { _taxFee = taxFee; emit TaxFeeUpdated(_taxFee); } function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner() { _liquidityFee = liquidityFee; emit LiquidityFeeUpdated(_liquidityFee); } function setMaxTxPercent(uint256 maxTxPercent) external onlyOwner() { _maxTxAmount = _tTotal.mul(maxTxPercent).div( 10**2 ); emit MaxTxAmountUpdated(_maxTxAmount); } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } // allows owner to withdraw excess ETH from swapAndLiquify function function withdrawExcessEth() external onlyOwner { uint256 excessEth = address(this).balance; payable(owner()).transfer(excessEth); emit OwnerWithdrewExcessEth(excessEth); } //to receive ETH from uniswapV2Router when swapping receive() external payable {} function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) { (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, _getRate()); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity); } function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256) { uint256 tFee = calculateTaxFee(tAmount); uint256 tLiquidity = calculateLiquidityFee(tAmount); uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity); return (tTransferAmount, tFee, tLiquidity); } function _getRValues(uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 currentRate) private pure returns (uint256, uint256, uint256) { uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rLiquidity = tLiquidity.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity); return (rAmount, rTransferAmount, rFee); } function _getRate() private view returns(uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply.div(tSupply); } function _getCurrentSupply() private view returns(uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _tTotal; for (uint256 i = 0; i < _excluded.length; i++) { if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal); rSupply = rSupply.sub(_rOwned[_excluded[i]]); tSupply = tSupply.sub(_tOwned[_excluded[i]]); } if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal); return (rSupply, tSupply); } function _takeLiquidity(uint256 tLiquidity) private { uint256 currentRate = _getRate(); uint256 rLiquidity = tLiquidity.mul(currentRate); _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity); if(_isExcluded[address(this)]) _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity); } function calculateTaxFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_taxFee).div( 10**2 ); } function calculateLiquidityFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_liquidityFee).div( 10**2 ); } function removeAllFee() private { if(_taxFee == 0 && _liquidityFee == 0) return; _previousTaxFee = _taxFee; _previousLiquidityFee = _liquidityFee; _taxFee = 0; _liquidityFee = 0; } function restoreAllFee() private { _taxFee = _previousTaxFee; _liquidityFee = _previousLiquidityFee; } function isExcludedFromFee(address account) public view returns(bool) { return _isExcludedFromFee[account]; } function _approve(address owner, address spender, uint256 amount) private { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _transfer( address from, address to, uint256 amount ) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if(from != owner() && to != owner()) require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount."); // is the token balance of this contract address over the min number of // tokens that we need to initiate a swap + liquidity lock? // also, don't get caught in a circular liquidity event. // also, don't swap & liquify if sender is uniswap pair. uint256 contractTokenBalance = balanceOf(address(this)); if(contractTokenBalance >= _maxTxAmount) { contractTokenBalance = _maxTxAmount; } bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity; if ( overMinTokenBalance && !inSwapAndLiquify && from != uniswapV2Pair && swapAndLiquifyEnabled ) { contractTokenBalance = numTokensSellToAddToLiquidity; //add liquidity swapAndLiquify(contractTokenBalance); } //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 contractTokenBalance) private lockTheSwap { // split the contract balance into halves uint256 half = contractTokenBalance.div(2); uint256 otherHalf = contractTokenBalance.sub(half); // capture the contract's current ETH balance. // this is so that we can capture exactly the amount of ETH that the // swap creates, and not make the liquidity event include any ETH that // has been manually sent to the contract uint256 initialBalance = address(this).balance; // swap tokens for ETH swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered // how much ETH did we just swap into? uint256 newBalance = address(this).balance.sub(initialBalance); // add liquidity to uniswap addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner(), block.timestamp ); } //this method is responsible for taking all fee, if takeFee is true function _tokenTransfer(address sender, address recipient, uint256 amount,bool takeFee) private { if(!takeFee) removeAllFee(); if (_isExcluded[sender] && !_isExcluded[recipient]) { _transferFromExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && _isExcluded[recipient]) { _transferToExcluded(sender, recipient, amount); } else if (_isExcluded[sender] && _isExcluded[recipient]) { _transferBothExcluded(sender, recipient, amount); } else { _transferStandard(sender, recipient, amount); } if(!takeFee) restoreAllFee(); } function _transferStandard(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferToExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } }
{ "evmVersion": "istanbul", "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":"address","name":"account","type":"address"}],"name":"IsExcludeFromRewardUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"IsExcludedFromFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"IsIncludedInFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"IsIncludedInRewardUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"LiquidityFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"excessEth","type":"uint256"}],"name":"OwnerWithdrewExcessEth","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":"tokensIntoLiquidity","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":false,"internalType":"uint256","name":"taxFee","type":"uint256"}],"name":"TaxFeeUpdated","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":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"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":"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"setLiquidityFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxPercent","type":"uint256"}],"name":"setMaxTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxFee","type":"uint256"}],"name":"setTaxFeePercent","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":[],"name":"withdrawExcessEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c060405269085afffa6ff50bffffff196008556002600a819055600b819055600c819055600d55600e805461ff00191661010017905569010f0cf064dd59200000600f553480156200005157600080fd5b5060006200005e6200032b565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060085460026000620000b96200032b565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200013057600080fd5b505afa15801562000145573d6000803e3d6000fd5b505050506040513d60208110156200015c57600080fd5b5051604080516315ab88c960e31b815290516001600160a01b039283169263c9c653969230929186169163ad5c464891600480820192602092909190829003018186803b158015620001ad57600080fd5b505afa158015620001c2573d6000803e3d6000fd5b505050506040513d6020811015620001d957600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301525160448083019260209291908290030181600087803b1580156200022c57600080fd5b505af115801562000241573d6000803e3d6000fd5b505050506040513d60208110156200025857600080fd5b50516001600160601b0319606091821b811660a0529082901b16608052600160056000620002856200032f565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526005909252902080549091166001179055620002cf6200032b565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef69d3c21bcecceda10000006040518082815260200191505060405180910390a3506200033e565b3390565b6000546001600160a01b031690565b60805160601c60a05160601c61287e6200038660003980610da152806118945250806108d9528061202552806120dd528061210452806121ea5280612211525061287e6000f3fe6080604052600436106101fd5760003560e01c80635342acb41161010d5780638ee88c53116100a0578063c49b9a801161006f578063c49b9a8014610707578063d543dbeb14610733578063dd62ed3e1461075d578063ea2f0b3714610798578063f2fde38b146107cb57610204565b80638ee88c531461065657806395d89b4114610680578063a457c2d714610695578063a9059cbb146106ce57610204565b80637d1db4a5116100dc5780637d1db4a5146105e457806382a00b3c146105f957806388f820201461060e5780638da5cb5b1461064157610204565b80635342acb4146105545780636bc87c3a1461058757806370a082311461059c578063715018a6146105cf57610204565b8063313ce56711610190578063437823ec1161015f578063437823ec146104925780634549b039146104c557806349bd5a5e146104f75780634a74bb021461050c57806352390c021461052157610204565b8063313ce567146103e65780633685d4191461041157806339509351146104445780633b124fe71461047d57610204565b80631694505e116101cc5780631694505e1461033357806318160ddd1461036457806323b872dd146103795780632d838119146103bc57610204565b8063061c82d01461020957806306fdde0314610235578063095ea7b3146102bf57806313114a9d1461030c57610204565b3661020457005b600080fd5b34801561021557600080fd5b506102336004803603602081101561022c57600080fd5b50356107fe565b005b34801561024157600080fd5b5061024a610891565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028457818101518382015260200161026c565b50505050905090810190601f1680156102b15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102cb57600080fd5b506102f8600480360360408110156102e257600080fd5b506001600160a01b0381351690602001356108b3565b604080519115158252519081900360200190f35b34801561031857600080fd5b506103216108d1565b60408051918252519081900360200190f35b34801561033f57600080fd5b506103486108d7565b604080516001600160a01b039092168252519081900360200190f35b34801561037057600080fd5b506103216108fb565b34801561038557600080fd5b506102f86004803603606081101561039c57600080fd5b506001600160a01b03813581169160208101359091169060400135610909565b3480156103c857600080fd5b50610321600480360360208110156103df57600080fd5b5035610990565b3480156103f257600080fd5b506103fb6109f2565b6040805160ff9092168252519081900360200190f35b34801561041d57600080fd5b506102336004803603602081101561043457600080fd5b50356001600160a01b03166109f7565b34801561045057600080fd5b506102f86004803603604081101561046757600080fd5b506001600160a01b038135169060200135610bfe565b34801561048957600080fd5b50610321610c4c565b34801561049e57600080fd5b50610233600480360360208110156104b557600080fd5b50356001600160a01b0316610c52565b3480156104d157600080fd5b50610321600480360360408110156104e857600080fd5b50803590602001351515610d05565b34801561050357600080fd5b50610348610d9f565b34801561051857600080fd5b506102f8610dc3565b34801561052d57600080fd5b506102336004803603602081101561054457600080fd5b50356001600160a01b0316610dd1565b34801561056057600080fd5b506102f86004803603602081101561057757600080fd5b50356001600160a01b0316610f8e565b34801561059357600080fd5b50610321610fac565b3480156105a857600080fd5b50610321600480360360208110156105bf57600080fd5b50356001600160a01b0316610fb2565b3480156105db57600080fd5b50610233611014565b3480156105f057600080fd5b506103216110b6565b34801561060557600080fd5b506102336110bc565b34801561061a57600080fd5b506102f86004803603602081101561063157600080fd5b50356001600160a01b031661118c565b34801561064d57600080fd5b506103486111aa565b34801561066257600080fd5b506102336004803603602081101561067957600080fd5b50356111b9565b34801561068c57600080fd5b5061024a61124c565b3480156106a157600080fd5b506102f8600480360360408110156106b857600080fd5b506001600160a01b03813516906020013561126a565b3480156106da57600080fd5b506102f8600480360360408110156106f157600080fd5b506001600160a01b0381351690602001356112d2565b34801561071357600080fd5b506102336004803603602081101561072a57600080fd5b503515156112e6565b34801561073f57600080fd5b506102336004803603602081101561075657600080fd5b503561138d565b34801561076957600080fd5b506103216004803603604081101561078057600080fd5b506001600160a01b038135811691602001351661143e565b3480156107a457600080fd5b50610233600480360360208110156107bb57600080fd5b50356001600160a01b0316611469565b3480156107d757600080fd5b50610233600480360360208110156107ee57600080fd5b50356001600160a01b0316611519565b610806611611565b6000546001600160a01b03908116911614610856576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b600a8190556040805182815290517faa4b71ac29531fdea0ef1650c76ef91e3771dac25f4a4dd2a561ff3e0b9a5de29181900360200190a150565b6040805180820190915260088152675275736820496e7560c01b602082015290565b60006108c76108c0611611565b8484611615565b5060015b92915050565b60095490565b7f000000000000000000000000000000000000000000000000000000000000000081565b69d3c21bcecceda100000090565b6000610916848484611701565b61098684610922611611565b6109818560405180606001604052806028815260200161276a602891396001600160a01b038a16600090815260046020526040812090610960611611565b6001600160a01b031681526020810191909152604001600020549190611955565b611615565b5060019392505050565b60006008548211156109d35760405162461bcd60e51b815260040180806020018281038252602a8152602001806126af602a913960400191505060405180910390fd5b60006109dd6119ec565b90506109e98382611a0f565b9150505b919050565b600990565b6109ff611611565b6000546001600160a01b03908116911614610a4f576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526006602052604090205460ff16610abc576040805162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c75646564000000000000000000604482015290519081900360640190fd5b60005b600754811015610bfa57816001600160a01b031660078281548110610ae057fe5b6000918252602090912001546001600160a01b03161415610bf257600780546000198101908110610b0d57fe5b600091825260209091200154600780546001600160a01b039092169183908110610b3357fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600382526040808220829055600690925220805460ff191690556007805480610b8557fe5b6001900381819060005260206000200160006101000a8154906001600160a01b03021916905590557f142228d34b728e344f64870386cfc7773b0f4f57aa7115b95a98ca1b8cd744338260405180826001600160a01b0316815260200191505060405180910390a1610bfa565b600101610abf565b5050565b60006108c7610c0b611611565b846109818560046000610c1c611611565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611a58565b600a5481565b610c5a611611565b6000546001600160a01b03908116911614610caa576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b6001600160a01b038116600081815260056020908152604091829020805460ff19166001179055815192835290517f553b20f69fe0311c120f87c8cf4abbf382a240e6297f10a5eb54fffa3864cd299281900390910190a150565b600069d3c21bcecceda1000000831115610d66576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015290519081900360640190fd5b81610d85576000610d7684611ab2565b509395506108cb945050505050565b6000610d9084611ab2565b509295506108cb945050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600e54610100900460ff1681565b610dd9611611565b6000546001600160a01b03908116911614610e29576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526006602052604090205460ff1615610e97576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b6001600160a01b03811660009081526002602052604090205415610ef1576001600160a01b038116600090815260026020526040902054610ed790610990565b6001600160a01b0382166000908152600360205260409020555b6001600160a01b0381166000818152600660209081526040808320805460ff191660019081179091556007805491820181559093527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68890920180546001600160a01b03191684179055815192835290517f7a38e8e20706d9ad723cbada5ec3714a5693ed170f6fd1f8207fa3d9c1775bf09281900390910190a150565b6001600160a01b031660009081526005602052604090205460ff1690565b600c5481565b6001600160a01b03811660009081526006602052604081205460ff1615610ff257506001600160a01b0381166000908152600360205260409020546109ed565b6001600160a01b0382166000908152600260205260409020546108cb90610990565b61101c611611565b6000546001600160a01b0390811691161461106c576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600f5481565b6110c4611611565b6000546001600160a01b03908116911614611114576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b4761111d6111aa565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015611155573d6000803e3d6000fd5b506040805182815290517fe7a4fcee5c002a27a6ee3797b9d87179efed19f67877923be3175c393b885b529181900360200190a150565b6001600160a01b031660009081526006602052604090205460ff1690565b6000546001600160a01b031690565b6111c1611611565b6000546001600160a01b03908116911614611211576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b600c8190556040805182815290517f5597c0e02a719eddde3b801d7abc15c0023afdcf6880c1e254427559820083c29181900360200190a150565b6040805180820190915260048152630a4aaa6960e31b602082015290565b60006108c7611277611611565b846109818560405180606001604052806025815260200161282460259139600460006112a1611611565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611955565b60006108c76112df611611565b8484611701565b6112ee611611565b6000546001600160a01b0390811691161461133e576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b600e8054821515610100810261ff00199092169190911790915560408051918252517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599181900360200190a150565b611395611611565b6000546001600160a01b039081169116146113e5576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b61140460646113fe69d3c21bcecceda100000084611b01565b90611a0f565b600f81905560408051918252517f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf9181900360200190a150565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b611471611611565b6000546001600160a01b039081169116146114c1576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b6001600160a01b038116600081815260056020908152604091829020805460ff19169055815192835290517f7c296c0fc865a931e5ed78d50317253daca5db0a3248614ba3037a1308da2d359281900390910190a150565b611521611611565b6000546001600160a01b03908116911614611571576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b6001600160a01b0381166115b65760405162461bcd60e51b81526004018080602001828103825260268152602001806126d96026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b03831661165a5760405162461bcd60e51b81526004018080602001828103825260248152602001806128006024913960400191505060405180910390fd5b6001600160a01b03821661169f5760405162461bcd60e51b81526004018080602001828103825260228152602001806126ff6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260046020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166117465760405162461bcd60e51b81526004018080602001828103825260258152602001806127db6025913960400191505060405180910390fd5b6001600160a01b03821661178b5760405162461bcd60e51b815260040180806020018281038252602381526020018061268c6023913960400191505060405180910390fd5b600081116117ca5760405162461bcd60e51b81526004018080602001828103825260298152602001806127b26029913960400191505060405180910390fd5b6117d26111aa565b6001600160a01b0316836001600160a01b03161415801561180c57506117f66111aa565b6001600160a01b0316826001600160a01b031614155b1561185257600f548111156118525760405162461bcd60e51b81526004018080602001828103825260288152602001806127216028913960400191505060405180910390fd5b600061185d30610fb2565b9050600f54811061186d5750600f545b681b1ae4d6e2ef5000008110801590819061188b5750600e5460ff16155b80156118c957507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b80156118dc5750600e54610100900460ff165b156118f657681b1ae4d6e2ef50000091506118f682611b5a565b6001600160a01b03851660009081526005602052604090205460019060ff168061193857506001600160a01b03851660009081526005602052604090205460ff165b15611941575060005b61194d86868684611bf7565b505050505050565b600081848411156119e45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156119a9578181015183820152602001611991565b50505050905090810190601f1680156119d65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008060006119f9611d19565b9092509050611a088282611a0f565b9250505090565b6000611a5183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611e9c565b9392505050565b600082820183811015611a51576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000806000806000806000806000611ac98a611f01565b9250925092506000806000611ae78d8686611ae26119ec565b611f43565b919f909e50909c50959a5093985091965092945050505050565b600082611b10575060006108cb565b82820282848281611b1d57fe5b0414611a515760405162461bcd60e51b81526004018080602001828103825260218152602001806127496021913960400191505060405180910390fd5b600e805460ff191660011790556000611b74826002611a0f565b90506000611b828383611f93565b905047611b8e83611fd5565b6000611b9a4783611f93565b9050611ba683826121e4565b604080518581526020810183905280820185905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15050600e805460ff19169055505050565b80611c0457611c046122e2565b6001600160a01b03841660009081526006602052604090205460ff168015611c4557506001600160a01b03831660009081526006602052604090205460ff16155b15611c5a57611c55848484612314565b611d06565b6001600160a01b03841660009081526006602052604090205460ff16158015611c9b57506001600160a01b03831660009081526006602052604090205460ff165b15611cab57611c55848484612438565b6001600160a01b03841660009081526006602052604090205460ff168015611ceb57506001600160a01b03831660009081526006602052604090205460ff165b15611cfb57611c558484846124e1565b611d06848484612554565b80611d1357611d13612598565b50505050565b600854600090819069d3c21bcecceda1000000825b600754811015611e5a57826002600060078481548110611d4a57fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611daf5750816003600060078481548110611d8857fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15611dce5760085469d3c21bcecceda100000094509450505050611e98565b611e0e6002600060078481548110611de257fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611f93565b9250611e506003600060078481548110611e2457fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611f93565b9150600101611d2e565b50600854611e729069d3c21bcecceda1000000611a0f565b821015611e925760085469d3c21bcecceda1000000935093505050611e98565b90925090505b9091565b60008183611eeb5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156119a9578181015183820152602001611991565b506000838581611ef757fe5b0495945050505050565b600080600080611f10856125a6565b90506000611f1d866125c2565b90506000611f3582611f2f8986611f93565b90611f93565b979296509094509092505050565b6000808080611f528886611b01565b90506000611f608887611b01565b90506000611f6e8888611b01565b90506000611f8082611f2f8686611f93565b939b939a50919850919650505050505050565b6000611a5183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611955565b6040805160028082526060808301845292602083019080368337019050509050308160008151811061200357fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561207c57600080fd5b505afa158015612090573d6000803e3d6000fd5b505050506040513d60208110156120a657600080fd5b50518151829060019081106120b757fe5b60200260200101906001600160a01b031690816001600160a01b031681525050612102307f000000000000000000000000000000000000000000000000000000000000000084611615565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663791ac9478360008430426040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156121a757818101518382015260200161218f565b505050509050019650505050505050600060405180830381600087803b1580156121d057600080fd5b505af115801561194d573d6000803e3d6000fd5b61220f307f000000000000000000000000000000000000000000000000000000000000000084611615565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d71982308560008061224c6111aa565b426040518863ffffffff1660e01b815260040180876001600160a01b03168152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200196505050505050506060604051808303818588803b1580156122b757600080fd5b505af11580156122cb573d6000803e3d6000fd5b50505050506040513d6060811015611d1357600080fd5b600a541580156122f25750600c54155b156122fc57612312565b600a8054600b55600c8054600d55600091829055555b565b60008060008060008061232687611ab2565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506123589088611f93565b6001600160a01b038a166000908152600360209081526040808320939093556002905220546123879087611f93565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546123b69086611a58565b6001600160a01b0389166000908152600260205260409020556123d8816125de565b6123e28483612667565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3505050505050505050565b60008060008060008061244a87611ab2565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061247c9087611f93565b6001600160a01b03808b16600090815260026020908152604080832094909455918b168152600390915220546124b29084611a58565b6001600160a01b0389166000908152600360209081526040808320939093556002905220546123b69086611a58565b6000806000806000806124f387611ab2565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506125259088611f93565b6001600160a01b038a1660009081526003602090815260408083209390935560029052205461247c9087611f93565b60008060008060008061256687611ab2565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506123879087611f93565b600b54600a55600d54600c55565b60006108cb60646113fe600a5485611b0190919063ffffffff16565b60006108cb60646113fe600c5485611b0190919063ffffffff16565b60006125e86119ec565b905060006125f68383611b01565b306000908152600260205260409020549091506126139082611a58565b3060009081526002602090815260408083209390935560069052205460ff161561266257306000908152600360205260409020546126519084611a58565b306000908152600360205260409020555b505050565b6008546126749083611f93565b6008556009546126849082611a58565b600955505056fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373416d6f756e74206d757374206265206c657373207468616e20746f74616c207265666c656374696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573735472616e7366657220616d6f756e74206578636565647320746865206d61785478416d6f756e742e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d6ecdbd5912faa616b957669f0b7ca0f54c49b1b2f7951291ca499983a500d4664736f6c634300060c0033
Deployed Bytecode
0x6080604052600436106101fd5760003560e01c80635342acb41161010d5780638ee88c53116100a0578063c49b9a801161006f578063c49b9a8014610707578063d543dbeb14610733578063dd62ed3e1461075d578063ea2f0b3714610798578063f2fde38b146107cb57610204565b80638ee88c531461065657806395d89b4114610680578063a457c2d714610695578063a9059cbb146106ce57610204565b80637d1db4a5116100dc5780637d1db4a5146105e457806382a00b3c146105f957806388f820201461060e5780638da5cb5b1461064157610204565b80635342acb4146105545780636bc87c3a1461058757806370a082311461059c578063715018a6146105cf57610204565b8063313ce56711610190578063437823ec1161015f578063437823ec146104925780634549b039146104c557806349bd5a5e146104f75780634a74bb021461050c57806352390c021461052157610204565b8063313ce567146103e65780633685d4191461041157806339509351146104445780633b124fe71461047d57610204565b80631694505e116101cc5780631694505e1461033357806318160ddd1461036457806323b872dd146103795780632d838119146103bc57610204565b8063061c82d01461020957806306fdde0314610235578063095ea7b3146102bf57806313114a9d1461030c57610204565b3661020457005b600080fd5b34801561021557600080fd5b506102336004803603602081101561022c57600080fd5b50356107fe565b005b34801561024157600080fd5b5061024a610891565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028457818101518382015260200161026c565b50505050905090810190601f1680156102b15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102cb57600080fd5b506102f8600480360360408110156102e257600080fd5b506001600160a01b0381351690602001356108b3565b604080519115158252519081900360200190f35b34801561031857600080fd5b506103216108d1565b60408051918252519081900360200190f35b34801561033f57600080fd5b506103486108d7565b604080516001600160a01b039092168252519081900360200190f35b34801561037057600080fd5b506103216108fb565b34801561038557600080fd5b506102f86004803603606081101561039c57600080fd5b506001600160a01b03813581169160208101359091169060400135610909565b3480156103c857600080fd5b50610321600480360360208110156103df57600080fd5b5035610990565b3480156103f257600080fd5b506103fb6109f2565b6040805160ff9092168252519081900360200190f35b34801561041d57600080fd5b506102336004803603602081101561043457600080fd5b50356001600160a01b03166109f7565b34801561045057600080fd5b506102f86004803603604081101561046757600080fd5b506001600160a01b038135169060200135610bfe565b34801561048957600080fd5b50610321610c4c565b34801561049e57600080fd5b50610233600480360360208110156104b557600080fd5b50356001600160a01b0316610c52565b3480156104d157600080fd5b50610321600480360360408110156104e857600080fd5b50803590602001351515610d05565b34801561050357600080fd5b50610348610d9f565b34801561051857600080fd5b506102f8610dc3565b34801561052d57600080fd5b506102336004803603602081101561054457600080fd5b50356001600160a01b0316610dd1565b34801561056057600080fd5b506102f86004803603602081101561057757600080fd5b50356001600160a01b0316610f8e565b34801561059357600080fd5b50610321610fac565b3480156105a857600080fd5b50610321600480360360208110156105bf57600080fd5b50356001600160a01b0316610fb2565b3480156105db57600080fd5b50610233611014565b3480156105f057600080fd5b506103216110b6565b34801561060557600080fd5b506102336110bc565b34801561061a57600080fd5b506102f86004803603602081101561063157600080fd5b50356001600160a01b031661118c565b34801561064d57600080fd5b506103486111aa565b34801561066257600080fd5b506102336004803603602081101561067957600080fd5b50356111b9565b34801561068c57600080fd5b5061024a61124c565b3480156106a157600080fd5b506102f8600480360360408110156106b857600080fd5b506001600160a01b03813516906020013561126a565b3480156106da57600080fd5b506102f8600480360360408110156106f157600080fd5b506001600160a01b0381351690602001356112d2565b34801561071357600080fd5b506102336004803603602081101561072a57600080fd5b503515156112e6565b34801561073f57600080fd5b506102336004803603602081101561075657600080fd5b503561138d565b34801561076957600080fd5b506103216004803603604081101561078057600080fd5b506001600160a01b038135811691602001351661143e565b3480156107a457600080fd5b50610233600480360360208110156107bb57600080fd5b50356001600160a01b0316611469565b3480156107d757600080fd5b50610233600480360360208110156107ee57600080fd5b50356001600160a01b0316611519565b610806611611565b6000546001600160a01b03908116911614610856576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b600a8190556040805182815290517faa4b71ac29531fdea0ef1650c76ef91e3771dac25f4a4dd2a561ff3e0b9a5de29181900360200190a150565b6040805180820190915260088152675275736820496e7560c01b602082015290565b60006108c76108c0611611565b8484611615565b5060015b92915050565b60095490565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b69d3c21bcecceda100000090565b6000610916848484611701565b61098684610922611611565b6109818560405180606001604052806028815260200161276a602891396001600160a01b038a16600090815260046020526040812090610960611611565b6001600160a01b031681526020810191909152604001600020549190611955565b611615565b5060019392505050565b60006008548211156109d35760405162461bcd60e51b815260040180806020018281038252602a8152602001806126af602a913960400191505060405180910390fd5b60006109dd6119ec565b90506109e98382611a0f565b9150505b919050565b600990565b6109ff611611565b6000546001600160a01b03908116911614610a4f576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526006602052604090205460ff16610abc576040805162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c75646564000000000000000000604482015290519081900360640190fd5b60005b600754811015610bfa57816001600160a01b031660078281548110610ae057fe5b6000918252602090912001546001600160a01b03161415610bf257600780546000198101908110610b0d57fe5b600091825260209091200154600780546001600160a01b039092169183908110610b3357fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600382526040808220829055600690925220805460ff191690556007805480610b8557fe5b6001900381819060005260206000200160006101000a8154906001600160a01b03021916905590557f142228d34b728e344f64870386cfc7773b0f4f57aa7115b95a98ca1b8cd744338260405180826001600160a01b0316815260200191505060405180910390a1610bfa565b600101610abf565b5050565b60006108c7610c0b611611565b846109818560046000610c1c611611565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611a58565b600a5481565b610c5a611611565b6000546001600160a01b03908116911614610caa576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b6001600160a01b038116600081815260056020908152604091829020805460ff19166001179055815192835290517f553b20f69fe0311c120f87c8cf4abbf382a240e6297f10a5eb54fffa3864cd299281900390910190a150565b600069d3c21bcecceda1000000831115610d66576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015290519081900360640190fd5b81610d85576000610d7684611ab2565b509395506108cb945050505050565b6000610d9084611ab2565b509295506108cb945050505050565b7f000000000000000000000000c83dfc5b6085b32adabd512526e392b2b6daa0ad81565b600e54610100900460ff1681565b610dd9611611565b6000546001600160a01b03908116911614610e29576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526006602052604090205460ff1615610e97576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b6001600160a01b03811660009081526002602052604090205415610ef1576001600160a01b038116600090815260026020526040902054610ed790610990565b6001600160a01b0382166000908152600360205260409020555b6001600160a01b0381166000818152600660209081526040808320805460ff191660019081179091556007805491820181559093527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68890920180546001600160a01b03191684179055815192835290517f7a38e8e20706d9ad723cbada5ec3714a5693ed170f6fd1f8207fa3d9c1775bf09281900390910190a150565b6001600160a01b031660009081526005602052604090205460ff1690565b600c5481565b6001600160a01b03811660009081526006602052604081205460ff1615610ff257506001600160a01b0381166000908152600360205260409020546109ed565b6001600160a01b0382166000908152600260205260409020546108cb90610990565b61101c611611565b6000546001600160a01b0390811691161461106c576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600f5481565b6110c4611611565b6000546001600160a01b03908116911614611114576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b4761111d6111aa565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015611155573d6000803e3d6000fd5b506040805182815290517fe7a4fcee5c002a27a6ee3797b9d87179efed19f67877923be3175c393b885b529181900360200190a150565b6001600160a01b031660009081526006602052604090205460ff1690565b6000546001600160a01b031690565b6111c1611611565b6000546001600160a01b03908116911614611211576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b600c8190556040805182815290517f5597c0e02a719eddde3b801d7abc15c0023afdcf6880c1e254427559820083c29181900360200190a150565b6040805180820190915260048152630a4aaa6960e31b602082015290565b60006108c7611277611611565b846109818560405180606001604052806025815260200161282460259139600460006112a1611611565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611955565b60006108c76112df611611565b8484611701565b6112ee611611565b6000546001600160a01b0390811691161461133e576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b600e8054821515610100810261ff00199092169190911790915560408051918252517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599181900360200190a150565b611395611611565b6000546001600160a01b039081169116146113e5576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b61140460646113fe69d3c21bcecceda100000084611b01565b90611a0f565b600f81905560408051918252517f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf9181900360200190a150565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b611471611611565b6000546001600160a01b039081169116146114c1576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b6001600160a01b038116600081815260056020908152604091829020805460ff19169055815192835290517f7c296c0fc865a931e5ed78d50317253daca5db0a3248614ba3037a1308da2d359281900390910190a150565b611521611611565b6000546001600160a01b03908116911614611571576040805162461bcd60e51b81526020600482018190526024820152600080516020612792833981519152604482015290519081900360640190fd5b6001600160a01b0381166115b65760405162461bcd60e51b81526004018080602001828103825260268152602001806126d96026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b03831661165a5760405162461bcd60e51b81526004018080602001828103825260248152602001806128006024913960400191505060405180910390fd5b6001600160a01b03821661169f5760405162461bcd60e51b81526004018080602001828103825260228152602001806126ff6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260046020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166117465760405162461bcd60e51b81526004018080602001828103825260258152602001806127db6025913960400191505060405180910390fd5b6001600160a01b03821661178b5760405162461bcd60e51b815260040180806020018281038252602381526020018061268c6023913960400191505060405180910390fd5b600081116117ca5760405162461bcd60e51b81526004018080602001828103825260298152602001806127b26029913960400191505060405180910390fd5b6117d26111aa565b6001600160a01b0316836001600160a01b03161415801561180c57506117f66111aa565b6001600160a01b0316826001600160a01b031614155b1561185257600f548111156118525760405162461bcd60e51b81526004018080602001828103825260288152602001806127216028913960400191505060405180910390fd5b600061185d30610fb2565b9050600f54811061186d5750600f545b681b1ae4d6e2ef5000008110801590819061188b5750600e5460ff16155b80156118c957507f000000000000000000000000c83dfc5b6085b32adabd512526e392b2b6daa0ad6001600160a01b0316856001600160a01b031614155b80156118dc5750600e54610100900460ff165b156118f657681b1ae4d6e2ef50000091506118f682611b5a565b6001600160a01b03851660009081526005602052604090205460019060ff168061193857506001600160a01b03851660009081526005602052604090205460ff165b15611941575060005b61194d86868684611bf7565b505050505050565b600081848411156119e45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156119a9578181015183820152602001611991565b50505050905090810190601f1680156119d65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008060006119f9611d19565b9092509050611a088282611a0f565b9250505090565b6000611a5183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611e9c565b9392505050565b600082820183811015611a51576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000806000806000806000806000611ac98a611f01565b9250925092506000806000611ae78d8686611ae26119ec565b611f43565b919f909e50909c50959a5093985091965092945050505050565b600082611b10575060006108cb565b82820282848281611b1d57fe5b0414611a515760405162461bcd60e51b81526004018080602001828103825260218152602001806127496021913960400191505060405180910390fd5b600e805460ff191660011790556000611b74826002611a0f565b90506000611b828383611f93565b905047611b8e83611fd5565b6000611b9a4783611f93565b9050611ba683826121e4565b604080518581526020810183905280820185905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15050600e805460ff19169055505050565b80611c0457611c046122e2565b6001600160a01b03841660009081526006602052604090205460ff168015611c4557506001600160a01b03831660009081526006602052604090205460ff16155b15611c5a57611c55848484612314565b611d06565b6001600160a01b03841660009081526006602052604090205460ff16158015611c9b57506001600160a01b03831660009081526006602052604090205460ff165b15611cab57611c55848484612438565b6001600160a01b03841660009081526006602052604090205460ff168015611ceb57506001600160a01b03831660009081526006602052604090205460ff165b15611cfb57611c558484846124e1565b611d06848484612554565b80611d1357611d13612598565b50505050565b600854600090819069d3c21bcecceda1000000825b600754811015611e5a57826002600060078481548110611d4a57fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611daf5750816003600060078481548110611d8857fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15611dce5760085469d3c21bcecceda100000094509450505050611e98565b611e0e6002600060078481548110611de257fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611f93565b9250611e506003600060078481548110611e2457fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611f93565b9150600101611d2e565b50600854611e729069d3c21bcecceda1000000611a0f565b821015611e925760085469d3c21bcecceda1000000935093505050611e98565b90925090505b9091565b60008183611eeb5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156119a9578181015183820152602001611991565b506000838581611ef757fe5b0495945050505050565b600080600080611f10856125a6565b90506000611f1d866125c2565b90506000611f3582611f2f8986611f93565b90611f93565b979296509094509092505050565b6000808080611f528886611b01565b90506000611f608887611b01565b90506000611f6e8888611b01565b90506000611f8082611f2f8686611f93565b939b939a50919850919650505050505050565b6000611a5183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611955565b6040805160028082526060808301845292602083019080368337019050509050308160008151811061200357fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561207c57600080fd5b505afa158015612090573d6000803e3d6000fd5b505050506040513d60208110156120a657600080fd5b50518151829060019081106120b757fe5b60200260200101906001600160a01b031690816001600160a01b031681525050612102307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611615565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663791ac9478360008430426040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156121a757818101518382015260200161218f565b505050509050019650505050505050600060405180830381600087803b1580156121d057600080fd5b505af115801561194d573d6000803e3d6000fd5b61220f307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611615565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d71982308560008061224c6111aa565b426040518863ffffffff1660e01b815260040180876001600160a01b03168152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200196505050505050506060604051808303818588803b1580156122b757600080fd5b505af11580156122cb573d6000803e3d6000fd5b50505050506040513d6060811015611d1357600080fd5b600a541580156122f25750600c54155b156122fc57612312565b600a8054600b55600c8054600d55600091829055555b565b60008060008060008061232687611ab2565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506123589088611f93565b6001600160a01b038a166000908152600360209081526040808320939093556002905220546123879087611f93565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546123b69086611a58565b6001600160a01b0389166000908152600260205260409020556123d8816125de565b6123e28483612667565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3505050505050505050565b60008060008060008061244a87611ab2565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061247c9087611f93565b6001600160a01b03808b16600090815260026020908152604080832094909455918b168152600390915220546124b29084611a58565b6001600160a01b0389166000908152600360209081526040808320939093556002905220546123b69086611a58565b6000806000806000806124f387611ab2565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506125259088611f93565b6001600160a01b038a1660009081526003602090815260408083209390935560029052205461247c9087611f93565b60008060008060008061256687611ab2565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506123879087611f93565b600b54600a55600d54600c55565b60006108cb60646113fe600a5485611b0190919063ffffffff16565b60006108cb60646113fe600c5485611b0190919063ffffffff16565b60006125e86119ec565b905060006125f68383611b01565b306000908152600260205260409020549091506126139082611a58565b3060009081526002602090815260408083209390935560069052205460ff161561266257306000908152600360205260409020546126519084611a58565b306000908152600360205260409020555b505050565b6008546126749083611f93565b6008556009546126849082611a58565b600955505056fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373416d6f756e74206d757374206265206c657373207468616e20746f74616c207265666c656374696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573735472616e7366657220616d6f756e74206578636565647320746865206d61785478416d6f756e742e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d6ecdbd5912faa616b957669f0b7ca0f54c49b1b2f7951291ca499983a500d4664736f6c634300060c0033
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.