ERC-20
Overview
Max Total Supply
10,000,000 $RR
Holders
23
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:
RyoshisRevenge
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.9; // 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) { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @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; uint256 private _lockTime; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { 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; } function geUnlockTime() public view returns (uint256) { return _lockTime; } //Locks the contract for owner for the amount of time provided function lock(uint256 time) public virtual onlyOwner { _previousOwner = _owner; _owner = address(0); _lockTime = block.timestamp + time; emit OwnershipTransferred(_owner, address(0)); } //Unlocks the contract for owner when _lockTime is exceeds function unlock() public virtual { require(_previousOwner == msg.sender, "You don't have permission to unlock"); require(block.timestamp > _lockTime , "Contract is locked until 7 days"); emit OwnershipTransferred(_owner, _previousOwner); _owner = _previousOwner; } } interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } interface IAirdrop { function airdrop(address recipient, uint256 amount) external; } contract RyoshisRevenge is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private _isExcludedFromFee; mapping (address => bool) private _isExcluded; address[] private _excluded; mapping (address => bool) private botWallets; bool botscantrade = false; bool public canTrade = false; uint256 private constant MAX = ~uint256(0); uint256 private _tTotal = 10000000 * 10**9; uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; address public marketingWallet; string private _name = "Ryoshis Revenge"; string private _symbol = unicode"$RR"; uint8 private _decimals = 9; uint256 public _taxFee = 0; uint256 private _previousTaxFee = _taxFee; uint256 public marketingFeePercent = 3; uint256 public _liquidityFee = 0; uint256 private _previousLiquidityFee = _liquidityFee; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; bool inSwapAndLiquify; bool public swapAndLiquifyEnabled = true; uint256 public _maxTxAmount = 100000 * 10**9; uint256 public numTokensSellToAddToLiquidity = 100000 * 10**9; uint256 public _maxWalletSize = 200000 * 10**9; event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap); event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); modifier lockTheSwap { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor () { _rOwned[_msgSender()] = _rTotal; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); //Mainnet & Testnet ETH // 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 airdrop(address recipient, uint256 amount) external onlyOwner() { removeAllFee(); _transfer(_msgSender(), recipient, amount * 10**9); restoreAllFee(); } function airdropInternal(address recipient, uint256 amount) internal { removeAllFee(); _transfer(_msgSender(), recipient, amount); restoreAllFee(); } function airdropArray(address[] calldata newholders, uint256[] calldata amounts) external onlyOwner(){ uint256 iterator = 0; require(newholders.length == amounts.length, "must be the same length"); while(iterator < newholders.length){ airdropInternal(newholders[iterator], amounts[iterator] * 10**9); iterator += 1; } } 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(account != 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, 'We can not exclude Uniswap router.'); require(!_isExcluded[account], "Account is already excluded"); if(_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcluded[account] = true; _excluded.push(account); } function includeInReward(address account) external onlyOwner() { require(_isExcluded[account], "Account is already excluded"); for (uint256 i = 0; i < _excluded.length; i++) { if (_excluded[i] == account) { _excluded[i] = _excluded[_excluded.length - 1]; _tOwned[account] = 0; _isExcluded[account] = false; _excluded.pop(); break; } } } function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function excludeFromFee(address account) public onlyOwner { _isExcludedFromFee[account] = true; } function includeInFee(address account) public onlyOwner { _isExcludedFromFee[account] = false; } function setMarketingFeePercent(uint256 fee) public onlyOwner { marketingFeePercent = fee; } function setMarketingWallet(address walletAddress) public onlyOwner { marketingWallet = walletAddress; } function setTaxFeePercent(uint256 taxFee) external onlyOwner() { require(taxFee < 10, "Tax fee cannot be more than 10%"); _taxFee = taxFee; } function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner() { _liquidityFee = liquidityFee; } function _setMaxWalletSizePercent(uint256 maxWalletSize) external onlyOwner { _maxWalletSize = _tTotal.mul(maxWalletSize).div(10**3); } function setMaxTxAmount(uint256 maxTxAmount) external onlyOwner() { require(maxTxAmount > 200000, "Max Tx Amount cannot be less than 69 Million"); _maxTxAmount = maxTxAmount * 10**9; } function setSwapThresholdAmount(uint256 SwapThresholdAmount) external onlyOwner() { require(SwapThresholdAmount > 200000, "Swap Threshold Amount cannot be less than 69 Million"); numTokensSellToAddToLiquidity = SwapThresholdAmount * 10**9; } function claimTokens () public onlyOwner { // make sure we capture all BNB that may or may not be sent to this contract payable(marketingWallet).transfer(address(this).balance); } function claimOtherTokens(IERC20 tokenAddress, address walletaddress) external onlyOwner() { tokenAddress.transfer(walletaddress, tokenAddress.balanceOf(address(this))); } function clearStuckBalance (address payable walletaddress) external onlyOwner() { walletaddress.transfer(address(this).balance); } function addBotWallet(address botwallet) external onlyOwner() { botWallets[botwallet] = true; } function removeBotWallet(address botwallet) external onlyOwner() { botWallets[botwallet] = false; } function getBotWalletStatus(address botwallet) public view returns (bool) { return botWallets[botwallet]; } function allowtrading()external onlyOwner() { canTrade = true; } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } //to recieve ETH from uniswapV2Router when swaping receive() external payable {} function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) { (uint256 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; } if (takeFee) { if (to != uniswapV2Pair) { require( amount + balanceOf(to) <= _maxWalletSize, "Recipient exceeds max wallet size." ); } } //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 // add the marketing wallet 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); uint256 marketingshare = newBalance.mul(marketingFeePercent).div(100); payable(marketingWallet).transfer(marketingshare); newBalance -= marketingshare; // 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(!canTrade){ require(sender == owner()); // only owner allowed to trade or add liquidity } if(botWallets[sender] || botWallets[recipient]){ require(botscantrade, "bots arent allowed to trade"); } if(!takeFee) removeAllFee(); if (_isExcluded[sender] && !_isExcluded[recipient]) { _transferFromExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && _isExcluded[recipient]) { _transferToExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && !_isExcluded[recipient]) { _transferStandard(sender, recipient, amount); } else if (_isExcluded[sender] && _isExcluded[recipient]) { _transferBothExcluded(sender, recipient, amount); } else { _transferStandard(sender, recipient, amount); } if(!takeFee) restoreAllFee(); } function _transferStandard(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _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); } }
{ "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":"_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":"_maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxWalletSize","type":"uint256"}],"name":"_setMaxWalletSizePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_taxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"botwallet","type":"address"}],"name":"addBotWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"newholders","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdropArray","outputs":[],"stateMutability":"nonpayable","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":[],"name":"allowtrading","outputs":[],"stateMutability":"nonpayable","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":"canTrade","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"tokenAddress","type":"address"},{"internalType":"address","name":"walletaddress","type":"address"}],"name":"claimOtherTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"walletaddress","type":"address"}],"name":"clearStuckBalance","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":[{"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":[],"name":"geUnlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"botwallet","type":"address"}],"name":"getBotWalletStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"time","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensSellToAddToLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"botwallet","type":"address"}],"name":"removeBotWallet","outputs":[],"stateMutability":"nonpayable","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":"fee","type":"uint256"}],"name":"setMarketingFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"walletAddress","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxAmount","type":"uint256"}],"name":"setMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"SwapThresholdAmount","type":"uint256"}],"name":"setSwapThresholdAmount","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":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052600a805461ffff19169055662386f26fc10000600b8190556200002a9060001962000452565b620000389060001962000475565b600c5560408051808201909152600f8082526e52796f7368697320526576656e676560881b6020909201918252620000719181620003ac565b506040805180820190915260038082526212292960e91b60209092019182526200009e91601091620003ac565b506011805460ff19166009179055600060128190556013819055600360145560158190556016556017805461ff001916610100179055655af3107a4000601881905560195565b5e620f48000601a55348015620000fa57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600c543360009081526003602090815260409182902092909255805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d92839263c45a01559260048083019392829003018186803b1580156200019e57600080fd5b505afa158015620001b3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d991906200049b565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200022257600080fd5b505afa15801562000237573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200025d91906200049b565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620002a657600080fd5b505af1158015620002bb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002e191906200049b565b6001600160a01b0390811660a05281166080526001600660006200030d6000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526006909252902080549091166001179055620003553390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600b546040516200039d91815260200190565b60405180910390a3506200050a565b828054620003ba90620004cd565b90600052602060002090601f016020900481019282620003de576000855562000429565b82601f10620003f957805160ff191683800117855562000429565b8280016001018555821562000429579182015b82811115620004295782518255916020019190600101906200040c565b50620004379291506200043b565b5090565b5b808211156200043757600081556001016200043c565b6000826200047057634e487b7160e01b600052601260045260246000fd5b500690565b6000828210156200049657634e487b7160e01b600052601160045260246000fd5b500390565b600060208284031215620004ae57600080fd5b81516001600160a01b0381168114620004c657600080fd5b9392505050565b600181811c90821680620004e257607f821691505b602082108114156200050457634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a051613411620005616000396000818161065b01528181611f7a015261202801526000818161042e01528181612909015281816129d101528181612a0d01528181612a7f0152612aa601526134116000f3fe6080604052600436106103545760003560e01c806360d48489116101c6578063a6334231116100f7578063d4a3883f11610095578063dd62ed3e1161006f578063dd62ed3e146109dc578063ea2f0b3714610a22578063ec28438a14610a42578063f2fde38b14610a6257600080fd5b8063d4a3883f14610986578063da6fa55c146109a6578063dd467064146109bc57600080fd5b8063af2ce614116100d1578063af2ce6141461091b578063b6c523241461093b578063c49b9a8014610950578063d12a76881461097057600080fd5b8063a6334231146108d1578063a69df4b5146108e6578063a9059cbb146108fb57600080fd5b806388f82020116101645780638ee88c531161013e5780638ee88c53146108665780638f9a55c01461088657806395d89b411461089c578063a457c2d7146108b157600080fd5b806388f82020146107ef5780638ba4cc3c146108285780638da5cb5b1461084857600080fd5b8063715018a6116101a0578063715018a61461078457806375f0a87414610799578063764d72bf146107b95780637d1db4a5146107d957600080fd5b806360d48489146107155780636bc87c3a1461074e57806370a082311461076457600080fd5b80633685d419116102a0578063457c194c1161023e5780634a74bb02116102185780634a74bb021461067d57806352390c021461069c5780635342acb4146106bc5780635d098b38146106f557600080fd5b8063457c194c1461061457806348c54b9d1461063457806349bd5a5e1461064957600080fd5b80633b124fe71161027a5780633b124fe71461059e5780633bd5d173146105b4578063437823ec146105d45780634549b039146105f457600080fd5b80633685d4191461053e578063395093511461055e5780633ae7dc201461057e57600080fd5b806318160ddd1161030d5780632a360631116102e75780632a360631146104bd5780632d838119146104dd5780632f05205c146104fd578063313ce5671461051c57600080fd5b806318160ddd1461046857806323b872dd1461047d57806329e04b4a1461049d57600080fd5b80630305caff14610360578063061c82d01461038257806306fdde03146103a2578063095ea7b3146103cd57806313114a9d146103fd5780631694505e1461041c57600080fd5b3661035b57005b600080fd5b34801561036c57600080fd5b5061038061037b366004612f06565b610a82565b005b34801561038e57600080fd5b5061038061039d366004612f23565b610ad6565b3480156103ae57600080fd5b506103b7610b55565b6040516103c49190612f3c565b60405180910390f35b3480156103d957600080fd5b506103ed6103e8366004612f91565b610be7565b60405190151581526020016103c4565b34801561040957600080fd5b50600d545b6040519081526020016103c4565b34801561042857600080fd5b506104507f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016103c4565b34801561047457600080fd5b50600b5461040e565b34801561048957600080fd5b506103ed610498366004612fbd565b610bfe565b3480156104a957600080fd5b506103806104b8366004612f23565b610c67565b3480156104c957600080fd5b506103806104d8366004612f06565b610d14565b3480156104e957600080fd5b5061040e6104f8366004612f23565b610d62565b34801561050957600080fd5b50600a546103ed90610100900460ff1681565b34801561052857600080fd5b5060115460405160ff90911681526020016103c4565b34801561054a57600080fd5b50610380610559366004612f06565b610de6565b34801561056a57600080fd5b506103ed610579366004612f91565b610f9d565b34801561058a57600080fd5b50610380610599366004612ffe565b610fd3565b3480156105aa57600080fd5b5061040e60125481565b3480156105c057600080fd5b506103806105cf366004612f23565b611101565b3480156105e057600080fd5b506103806105ef366004612f06565b6111eb565b34801561060057600080fd5b5061040e61060f366004613045565b611239565b34801561062057600080fd5b5061038061062f366004612f23565b6112c6565b34801561064057600080fd5b506103806112f5565b34801561065557600080fd5b506104507f000000000000000000000000000000000000000000000000000000000000000081565b34801561068957600080fd5b506017546103ed90610100900460ff1681565b3480156106a857600080fd5b506103806106b7366004612f06565b61135b565b3480156106c857600080fd5b506103ed6106d7366004612f06565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561070157600080fd5b50610380610710366004612f06565b6114ae565b34801561072157600080fd5b506103ed610730366004612f06565b6001600160a01b031660009081526009602052604090205460ff1690565b34801561075a57600080fd5b5061040e60155481565b34801561077057600080fd5b5061040e61077f366004612f06565b6114fa565b34801561079057600080fd5b50610380611559565b3480156107a557600080fd5b50600e54610450906001600160a01b031681565b3480156107c557600080fd5b506103806107d4366004612f06565b6115bb565b3480156107e557600080fd5b5061040e60185481565b3480156107fb57600080fd5b506103ed61080a366004612f06565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561083457600080fd5b50610380610843366004612f91565b61161a565b34801561085457600080fd5b506000546001600160a01b0316610450565b34801561087257600080fd5b50610380610881366004612f23565b611675565b34801561089257600080fd5b5061040e601a5481565b3480156108a857600080fd5b506103b76116a4565b3480156108bd57600080fd5b506103ed6108cc366004612f91565b6116b3565b3480156108dd57600080fd5b50610380611702565b3480156108f257600080fd5b5061038061173d565b34801561090757600080fd5b506103ed610916366004612f91565b611843565b34801561092757600080fd5b50610380610936366004612f23565b611850565b34801561094757600080fd5b5060025461040e565b34801561095c57600080fd5b5061038061096b36600461306a565b6118a1565b34801561097c57600080fd5b5061040e60195481565b34801561099257600080fd5b506103806109a13660046130d3565b61191f565b3480156109b257600080fd5b5061040e60145481565b3480156109c857600080fd5b506103806109d7366004612f23565b611a12565b3480156109e857600080fd5b5061040e6109f7366004612ffe565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b348015610a2e57600080fd5b50610380610a3d366004612f06565b611a97565b348015610a4e57600080fd5b50610380610a5d366004612f23565b611ae2565b348015610a6e57600080fd5b50610380610a7d366004612f06565b611b87565b6000546001600160a01b03163314610ab55760405162461bcd60e51b8152600401610aac9061313f565b60405180910390fd5b6001600160a01b03166000908152600960205260409020805460ff19169055565b6000546001600160a01b03163314610b005760405162461bcd60e51b8152600401610aac9061313f565b600a8110610b505760405162461bcd60e51b815260206004820152601f60248201527f546178206665652063616e6e6f74206265206d6f7265207468616e20313025006044820152606401610aac565b601255565b6060600f8054610b6490613174565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9090613174565b8015610bdd5780601f10610bb257610100808354040283529160200191610bdd565b820191906000526020600020905b815481529060010190602001808311610bc057829003601f168201915b5050505050905090565b6000610bf4338484611c5f565b5060015b92915050565b6000610c0b848484611d83565b610c5d8433610c588560405180606001604052806028815260200161336f602891396001600160a01b038a16600090815260056020908152604080832033845290915290205491906120e2565b611c5f565b5060019392505050565b6000546001600160a01b03163314610c915760405162461bcd60e51b8152600401610aac9061313f565b62030d408111610d005760405162461bcd60e51b815260206004820152603460248201527f53776170205468726573686f6c6420416d6f756e742063616e6e6f74206265206044820152733632b9b9903a3430b7101b1c9026b4b63634b7b760611b6064820152608401610aac565b610d0e81633b9aca006131c5565b60195550565b6000546001600160a01b03163314610d3e5760405162461bcd60e51b8152600401610aac9061313f565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6000600c54821115610dc95760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610aac565b6000610dd361211c565b9050610ddf838261213f565b9392505050565b6000546001600160a01b03163314610e105760405162461bcd60e51b8152600401610aac9061313f565b6001600160a01b03811660009081526007602052604090205460ff16610e785760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610aac565b60005b600854811015610f9957816001600160a01b031660088281548110610ea257610ea26131e4565b6000918252602090912001546001600160a01b03161415610f875760088054610ecd906001906131fa565b81548110610edd57610edd6131e4565b600091825260209091200154600880546001600160a01b039092169183908110610f0957610f096131e4565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600482526040808220829055600790925220805460ff191690556008805480610f6157610f61613211565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610f9181613227565b915050610e7b565b5050565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610bf4918590610c589086612181565b6000546001600160a01b03163314610ffd5760405162461bcd60e51b8152600401610aac9061313f565b6040516370a0823160e01b81523060048201526001600160a01b0383169063a9059cbb90839083906370a082319060240160206040518083038186803b15801561104657600080fd5b505afa15801561105a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061107e9190613242565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b1580156110c457600080fd5b505af11580156110d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fc919061325b565b505050565b3360008181526007602052604090205460ff16156111765760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610aac565b6000611181836121e0565b505050506001600160a01b0384166000908152600360205260409020549192506111ad9190508261222f565b6001600160a01b038316600090815260036020526040902055600c546111d3908261222f565b600c55600d546111e39084612181565b600d55505050565b6000546001600160a01b031633146112155760405162461bcd60e51b8152600401610aac9061313f565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6000600b5483111561128d5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610aac565b816112ac57600061129d846121e0565b50939550610bf8945050505050565b60006112b7846121e0565b50929550610bf8945050505050565b6000546001600160a01b031633146112f05760405162461bcd60e51b8152600401610aac9061313f565b601455565b6000546001600160a01b0316331461131f5760405162461bcd60e51b8152600401610aac9061313f565b600e546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611358573d6000803e3d6000fd5b50565b6000546001600160a01b031633146113855760405162461bcd60e51b8152600401610aac9061313f565b6001600160a01b03811660009081526007602052604090205460ff16156113ee5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610aac565b6001600160a01b03811660009081526003602052604090205415611448576001600160a01b03811660009081526003602052604090205461142e90610d62565b6001600160a01b0382166000908152600460205260409020555b6001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b6000546001600160a01b031633146114d85760405162461bcd60e51b8152600401610aac9061313f565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03811660009081526007602052604081205460ff161561153757506001600160a01b031660009081526004602052604090205490565b6001600160a01b038216600090815260036020526040902054610bf890610d62565b6000546001600160a01b031633146115835760405162461bcd60e51b8152600401610aac9061313f565b600080546040516001600160a01b0390911690600080516020613397833981519152908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146115e55760405162461bcd60e51b8152600401610aac9061313f565b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610f99573d6000803e3d6000fd5b6000546001600160a01b031633146116445760405162461bcd60e51b8152600401610aac9061313f565b61164c612271565b611664338361165f84633b9aca006131c5565b611d83565b610f99601354601255601654601555565b6000546001600160a01b0316331461169f5760405162461bcd60e51b8152600401610aac9061313f565b601555565b606060108054610b6490613174565b6000610bf43384610c58856040518060600160405280602581526020016133b7602591393360009081526005602090815260408083206001600160a01b038d16845290915290205491906120e2565b6000546001600160a01b0316331461172c5760405162461bcd60e51b8152600401610aac9061313f565b600a805461ff001916610100179055565b6001546001600160a01b031633146117a35760405162461bcd60e51b815260206004820152602360248201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6044820152626f636b60e81b6064820152608401610aac565b60025442116117f45760405162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c20372064617973006044820152606401610aac565b600154600080546040516001600160a01b03938416939091169160008051602061339783398151915291a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b6000610bf4338484611d83565b6000546001600160a01b0316331461187a5760405162461bcd60e51b8152600401610aac9061313f565b61189b6103e861189583600b5461229f90919063ffffffff16565b9061213f565b601a5550565b6000546001600160a01b031633146118cb5760405162461bcd60e51b8152600401610aac9061313f565b601780548215156101000261ff00199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061191490831515815260200190565b60405180910390a150565b6000546001600160a01b031633146119495760405162461bcd60e51b8152600401610aac9061313f565b600083821461199a5760405162461bcd60e51b815260206004820152601760248201527f6d757374206265207468652073616d65206c656e6774680000000000000000006044820152606401610aac565b83811015611a0b576119f98585838181106119b7576119b76131e4565b90506020020160208101906119cc9190612f06565b8484848181106119de576119de6131e4565b90506020020135633b9aca006119f491906131c5565b61231e565b611a04600182613278565b905061199a565b5050505050565b6000546001600160a01b03163314611a3c5760405162461bcd60e51b8152600401610aac9061313f565b60008054600180546001600160a01b03199081166001600160a01b03841617909155169055611a6b8142613278565b600255600080546040516001600160a01b0390911690600080516020613397833981519152908390a350565b6000546001600160a01b03163314611ac15760405162461bcd60e51b8152600401610aac9061313f565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6000546001600160a01b03163314611b0c5760405162461bcd60e51b8152600401610aac9061313f565b62030d408111611b735760405162461bcd60e51b815260206004820152602c60248201527f4d617820547820416d6f756e742063616e6e6f74206265206c6573732074686160448201526b37101b1c9026b4b63634b7b760a11b6064820152608401610aac565b611b8181633b9aca006131c5565b60185550565b6000546001600160a01b03163314611bb15760405162461bcd60e51b8152600401610aac9061313f565b6001600160a01b038116611c165760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aac565b600080546040516001600160a01b038085169392169160008051602061339783398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316611cc15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610aac565b6001600160a01b038216611d225760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610aac565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611de75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610aac565b6001600160a01b038216611e495760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610aac565b60008111611eab5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610aac565b6000546001600160a01b03848116911614801590611ed757506000546001600160a01b03838116911614155b15611f3f57601854811115611f3f5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610aac565b6000611f4a306114fa565b90506018548110611f5a57506018545b60195481108015908190611f71575060175460ff16155b8015611faf57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b8015611fc25750601754610100900460ff165b15611fd5576019549150611fd582612331565b6001600160a01b03851660009081526006602052604090205460019060ff168061201757506001600160a01b03851660009081526006602052604090205460ff165b15612020575060005b80156120ce577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b0316146120ce57601a5461206b866114fa565b6120759086613278565b11156120ce5760405162461bcd60e51b815260206004820152602260248201527f526563697069656e742065786365656473206d61782077616c6c65742073697a604482015261329760f11b6064820152608401610aac565b6120da86868684612434565b505050505050565b600081848411156121065760405162461bcd60e51b8152600401610aac9190612f3c565b50600061211384866131fa565b95945050505050565b6000806000612129612670565b9092509050612138828261213f565b9250505090565b6000610ddf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506127f2565b60008061218e8385613278565b905083811015610ddf5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610aac565b60008060008060008060008060006121f78a612820565b92509250925060008060006122158d868661221061211c565b612862565b919f909e50909c50959a5093985091965092945050505050565b6000610ddf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506120e2565b6012541580156122815750601554155b1561228857565b601280546013556015805460165560009182905555565b6000826122ae57506000610bf8565b60006122ba83856131c5565b9050826122c78583613290565b14610ddf5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610aac565b612326612271565b611664338383611d83565b6017805460ff19166001179055600061234b82600261213f565b90506000612359838361222f565b905047612365836128b2565b6000612371478361222f565b9050600061238f60646118956014548561229f90919063ffffffff16565b600e546040519192506001600160a01b03169082156108fc029083906000818181858888f193505050501580156123ca573d6000803e3d6000fd5b506123d581836131fa565b91506123e18483612a79565b60408051868152602081018490529081018590527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506017805460ff1916905550505050565b600a54610100900460ff1661245d576000546001600160a01b0385811691161461245d57600080fd5b6001600160a01b03841660009081526009602052604090205460ff168061249c57506001600160a01b03831660009081526009602052604090205460ff165b156124f357600a5460ff166124f35760405162461bcd60e51b815260206004820152601b60248201527f626f7473206172656e7420616c6c6f77656420746f20747261646500000000006044820152606401610aac565b8061250057612500612271565b6001600160a01b03841660009081526007602052604090205460ff16801561254157506001600160a01b03831660009081526007602052604090205460ff16155b1561255657612551848484612b87565b612654565b6001600160a01b03841660009081526007602052604090205460ff1615801561259757506001600160a01b03831660009081526007602052604090205460ff165b156125a757612551848484612cad565b6001600160a01b03841660009081526007602052604090205460ff161580156125e957506001600160a01b03831660009081526007602052604090205460ff16155b156125f957612551848484612d56565b6001600160a01b03841660009081526007602052604090205460ff16801561263957506001600160a01b03831660009081526007602052604090205460ff165b1561264957612551848484612d9a565b612654848484612d56565b8061266a5761266a601354601255601654601555565b50505050565b600c54600b546000918291825b6008548110156127c25782600360006008848154811061269f5761269f6131e4565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061270a57508160046000600884815481106126e3576126e36131e4565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561272057600c54600b54945094505050509091565b612766600360006008848154811061273a5761273a6131e4565b60009182526020808320909101546001600160a01b03168352820192909252604001902054849061222f565b92506127ae6004600060088481548110612782576127826131e4565b60009182526020808320909101546001600160a01b03168352820192909252604001902054839061222f565b9150806127ba81613227565b91505061267d565b50600b54600c546127d29161213f565b8210156127e957600c54600b549350935050509091565b90939092509050565b600081836128135760405162461bcd60e51b8152600401610aac9190612f3c565b5060006121138486613290565b60008060008061282f85612e0d565b9050600061283c86612e29565b905060006128548261284e898661222f565b9061222f565b979296509094509092505050565b6000808080612871888661229f565b9050600061287f888761229f565b9050600061288d888861229f565b9050600061289f8261284e868661222f565b939b939a50919850919650505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106128e7576128e76131e4565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561296057600080fd5b505afa158015612974573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061299891906132b2565b816001815181106129ab576129ab6131e4565b60200260200101906001600160a01b031690816001600160a01b0316815250506129f6307f000000000000000000000000000000000000000000000000000000000000000084611c5f565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612a4b9085906000908690309042906004016132cf565b600060405180830381600087803b158015612a6557600080fd5b505af11580156120da573d6000803e3d6000fd5b612aa4307f000000000000000000000000000000000000000000000000000000000000000084611c5f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d719823085600080612aeb6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015612b4e57600080fd5b505af1158015612b62573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611a0b9190613340565b600080600080600080612b99876121e0565b6001600160a01b038f16600090815260046020526040902054959b50939950919750955093509150612bcb908861222f565b6001600160a01b038a16600090815260046020908152604080832093909355600390522054612bfa908761222f565b6001600160a01b03808b1660009081526003602052604080822093909355908a1681522054612c299086612181565b6001600160a01b038916600090815260036020526040902055612c4b81612e45565b612c558483612ecd565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612c9a91815260200190565b60405180910390a3505050505050505050565b600080600080600080612cbf876121e0565b6001600160a01b038f16600090815260036020526040902054959b50939950919750955093509150612cf1908761222f565b6001600160a01b03808b16600090815260036020908152604080832094909455918b16815260049091522054612d279084612181565b6001600160a01b038916600090815260046020908152604080832093909355600390522054612c299086612181565b600080600080600080612d68876121e0565b6001600160a01b038f16600090815260036020526040902054959b50939950919750955093509150612bfa908761222f565b600080600080600080612dac876121e0565b6001600160a01b038f16600090815260046020526040902054959b50939950919750955093509150612dde908861222f565b6001600160a01b038a16600090815260046020908152604080832093909355600390522054612cf1908761222f565b6000610bf860646118956012548561229f90919063ffffffff16565b6000610bf860646118956015548561229f90919063ffffffff16565b6000612e4f61211c565b90506000612e5d838361229f565b30600090815260036020526040902054909150612e7a9082612181565b3060009081526003602090815260408083209390935560079052205460ff16156110fc5730600090815260046020526040902054612eb89084612181565b30600090815260046020526040902055505050565b600c54612eda908361222f565b600c55600d54612eea9082612181565b600d555050565b6001600160a01b038116811461135857600080fd5b600060208284031215612f1857600080fd5b8135610ddf81612ef1565b600060208284031215612f3557600080fd5b5035919050565b600060208083528351808285015260005b81811015612f6957858101830151858201604001528201612f4d565b81811115612f7b576000604083870101525b50601f01601f1916929092016040019392505050565b60008060408385031215612fa457600080fd5b8235612faf81612ef1565b946020939093013593505050565b600080600060608486031215612fd257600080fd5b8335612fdd81612ef1565b92506020840135612fed81612ef1565b929592945050506040919091013590565b6000806040838503121561301157600080fd5b823561301c81612ef1565b9150602083013561302c81612ef1565b809150509250929050565b801515811461135857600080fd5b6000806040838503121561305857600080fd5b82359150602083013561302c81613037565b60006020828403121561307c57600080fd5b8135610ddf81613037565b60008083601f84011261309957600080fd5b50813567ffffffffffffffff8111156130b157600080fd5b6020830191508360208260051b85010111156130cc57600080fd5b9250929050565b600080600080604085870312156130e957600080fd5b843567ffffffffffffffff8082111561310157600080fd5b61310d88838901613087565b9096509450602087013591508082111561312657600080fd5b5061313387828801613087565b95989497509550505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061318857607f821691505b602082108114156131a957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156131df576131df6131af565b500290565b634e487b7160e01b600052603260045260246000fd5b60008282101561320c5761320c6131af565b500390565b634e487b7160e01b600052603160045260246000fd5b600060001982141561323b5761323b6131af565b5060010190565b60006020828403121561325457600080fd5b5051919050565b60006020828403121561326d57600080fd5b8151610ddf81613037565b6000821982111561328b5761328b6131af565b500190565b6000826132ad57634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156132c457600080fd5b8151610ddf81612ef1565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561331f5784516001600160a01b0316835293830193918301916001016132fa565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561335557600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63658be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122017953771987084ec211a7b34d54ee3543b1c4010d437db0ab6f842e8da721e1d64736f6c63430008090033
Deployed Bytecode
0x6080604052600436106103545760003560e01c806360d48489116101c6578063a6334231116100f7578063d4a3883f11610095578063dd62ed3e1161006f578063dd62ed3e146109dc578063ea2f0b3714610a22578063ec28438a14610a42578063f2fde38b14610a6257600080fd5b8063d4a3883f14610986578063da6fa55c146109a6578063dd467064146109bc57600080fd5b8063af2ce614116100d1578063af2ce6141461091b578063b6c523241461093b578063c49b9a8014610950578063d12a76881461097057600080fd5b8063a6334231146108d1578063a69df4b5146108e6578063a9059cbb146108fb57600080fd5b806388f82020116101645780638ee88c531161013e5780638ee88c53146108665780638f9a55c01461088657806395d89b411461089c578063a457c2d7146108b157600080fd5b806388f82020146107ef5780638ba4cc3c146108285780638da5cb5b1461084857600080fd5b8063715018a6116101a0578063715018a61461078457806375f0a87414610799578063764d72bf146107b95780637d1db4a5146107d957600080fd5b806360d48489146107155780636bc87c3a1461074e57806370a082311461076457600080fd5b80633685d419116102a0578063457c194c1161023e5780634a74bb02116102185780634a74bb021461067d57806352390c021461069c5780635342acb4146106bc5780635d098b38146106f557600080fd5b8063457c194c1461061457806348c54b9d1461063457806349bd5a5e1461064957600080fd5b80633b124fe71161027a5780633b124fe71461059e5780633bd5d173146105b4578063437823ec146105d45780634549b039146105f457600080fd5b80633685d4191461053e578063395093511461055e5780633ae7dc201461057e57600080fd5b806318160ddd1161030d5780632a360631116102e75780632a360631146104bd5780632d838119146104dd5780632f05205c146104fd578063313ce5671461051c57600080fd5b806318160ddd1461046857806323b872dd1461047d57806329e04b4a1461049d57600080fd5b80630305caff14610360578063061c82d01461038257806306fdde03146103a2578063095ea7b3146103cd57806313114a9d146103fd5780631694505e1461041c57600080fd5b3661035b57005b600080fd5b34801561036c57600080fd5b5061038061037b366004612f06565b610a82565b005b34801561038e57600080fd5b5061038061039d366004612f23565b610ad6565b3480156103ae57600080fd5b506103b7610b55565b6040516103c49190612f3c565b60405180910390f35b3480156103d957600080fd5b506103ed6103e8366004612f91565b610be7565b60405190151581526020016103c4565b34801561040957600080fd5b50600d545b6040519081526020016103c4565b34801561042857600080fd5b506104507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016103c4565b34801561047457600080fd5b50600b5461040e565b34801561048957600080fd5b506103ed610498366004612fbd565b610bfe565b3480156104a957600080fd5b506103806104b8366004612f23565b610c67565b3480156104c957600080fd5b506103806104d8366004612f06565b610d14565b3480156104e957600080fd5b5061040e6104f8366004612f23565b610d62565b34801561050957600080fd5b50600a546103ed90610100900460ff1681565b34801561052857600080fd5b5060115460405160ff90911681526020016103c4565b34801561054a57600080fd5b50610380610559366004612f06565b610de6565b34801561056a57600080fd5b506103ed610579366004612f91565b610f9d565b34801561058a57600080fd5b50610380610599366004612ffe565b610fd3565b3480156105aa57600080fd5b5061040e60125481565b3480156105c057600080fd5b506103806105cf366004612f23565b611101565b3480156105e057600080fd5b506103806105ef366004612f06565b6111eb565b34801561060057600080fd5b5061040e61060f366004613045565b611239565b34801561062057600080fd5b5061038061062f366004612f23565b6112c6565b34801561064057600080fd5b506103806112f5565b34801561065557600080fd5b506104507f0000000000000000000000009a170c3cd7ac9c939f5ed17a4b80b31014ea044a81565b34801561068957600080fd5b506017546103ed90610100900460ff1681565b3480156106a857600080fd5b506103806106b7366004612f06565b61135b565b3480156106c857600080fd5b506103ed6106d7366004612f06565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561070157600080fd5b50610380610710366004612f06565b6114ae565b34801561072157600080fd5b506103ed610730366004612f06565b6001600160a01b031660009081526009602052604090205460ff1690565b34801561075a57600080fd5b5061040e60155481565b34801561077057600080fd5b5061040e61077f366004612f06565b6114fa565b34801561079057600080fd5b50610380611559565b3480156107a557600080fd5b50600e54610450906001600160a01b031681565b3480156107c557600080fd5b506103806107d4366004612f06565b6115bb565b3480156107e557600080fd5b5061040e60185481565b3480156107fb57600080fd5b506103ed61080a366004612f06565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561083457600080fd5b50610380610843366004612f91565b61161a565b34801561085457600080fd5b506000546001600160a01b0316610450565b34801561087257600080fd5b50610380610881366004612f23565b611675565b34801561089257600080fd5b5061040e601a5481565b3480156108a857600080fd5b506103b76116a4565b3480156108bd57600080fd5b506103ed6108cc366004612f91565b6116b3565b3480156108dd57600080fd5b50610380611702565b3480156108f257600080fd5b5061038061173d565b34801561090757600080fd5b506103ed610916366004612f91565b611843565b34801561092757600080fd5b50610380610936366004612f23565b611850565b34801561094757600080fd5b5060025461040e565b34801561095c57600080fd5b5061038061096b36600461306a565b6118a1565b34801561097c57600080fd5b5061040e60195481565b34801561099257600080fd5b506103806109a13660046130d3565b61191f565b3480156109b257600080fd5b5061040e60145481565b3480156109c857600080fd5b506103806109d7366004612f23565b611a12565b3480156109e857600080fd5b5061040e6109f7366004612ffe565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b348015610a2e57600080fd5b50610380610a3d366004612f06565b611a97565b348015610a4e57600080fd5b50610380610a5d366004612f23565b611ae2565b348015610a6e57600080fd5b50610380610a7d366004612f06565b611b87565b6000546001600160a01b03163314610ab55760405162461bcd60e51b8152600401610aac9061313f565b60405180910390fd5b6001600160a01b03166000908152600960205260409020805460ff19169055565b6000546001600160a01b03163314610b005760405162461bcd60e51b8152600401610aac9061313f565b600a8110610b505760405162461bcd60e51b815260206004820152601f60248201527f546178206665652063616e6e6f74206265206d6f7265207468616e20313025006044820152606401610aac565b601255565b6060600f8054610b6490613174565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9090613174565b8015610bdd5780601f10610bb257610100808354040283529160200191610bdd565b820191906000526020600020905b815481529060010190602001808311610bc057829003601f168201915b5050505050905090565b6000610bf4338484611c5f565b5060015b92915050565b6000610c0b848484611d83565b610c5d8433610c588560405180606001604052806028815260200161336f602891396001600160a01b038a16600090815260056020908152604080832033845290915290205491906120e2565b611c5f565b5060019392505050565b6000546001600160a01b03163314610c915760405162461bcd60e51b8152600401610aac9061313f565b62030d408111610d005760405162461bcd60e51b815260206004820152603460248201527f53776170205468726573686f6c6420416d6f756e742063616e6e6f74206265206044820152733632b9b9903a3430b7101b1c9026b4b63634b7b760611b6064820152608401610aac565b610d0e81633b9aca006131c5565b60195550565b6000546001600160a01b03163314610d3e5760405162461bcd60e51b8152600401610aac9061313f565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6000600c54821115610dc95760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610aac565b6000610dd361211c565b9050610ddf838261213f565b9392505050565b6000546001600160a01b03163314610e105760405162461bcd60e51b8152600401610aac9061313f565b6001600160a01b03811660009081526007602052604090205460ff16610e785760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610aac565b60005b600854811015610f9957816001600160a01b031660088281548110610ea257610ea26131e4565b6000918252602090912001546001600160a01b03161415610f875760088054610ecd906001906131fa565b81548110610edd57610edd6131e4565b600091825260209091200154600880546001600160a01b039092169183908110610f0957610f096131e4565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600482526040808220829055600790925220805460ff191690556008805480610f6157610f61613211565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610f9181613227565b915050610e7b565b5050565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610bf4918590610c589086612181565b6000546001600160a01b03163314610ffd5760405162461bcd60e51b8152600401610aac9061313f565b6040516370a0823160e01b81523060048201526001600160a01b0383169063a9059cbb90839083906370a082319060240160206040518083038186803b15801561104657600080fd5b505afa15801561105a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061107e9190613242565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b1580156110c457600080fd5b505af11580156110d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fc919061325b565b505050565b3360008181526007602052604090205460ff16156111765760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610aac565b6000611181836121e0565b505050506001600160a01b0384166000908152600360205260409020549192506111ad9190508261222f565b6001600160a01b038316600090815260036020526040902055600c546111d3908261222f565b600c55600d546111e39084612181565b600d55505050565b6000546001600160a01b031633146112155760405162461bcd60e51b8152600401610aac9061313f565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6000600b5483111561128d5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610aac565b816112ac57600061129d846121e0565b50939550610bf8945050505050565b60006112b7846121e0565b50929550610bf8945050505050565b6000546001600160a01b031633146112f05760405162461bcd60e51b8152600401610aac9061313f565b601455565b6000546001600160a01b0316331461131f5760405162461bcd60e51b8152600401610aac9061313f565b600e546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611358573d6000803e3d6000fd5b50565b6000546001600160a01b031633146113855760405162461bcd60e51b8152600401610aac9061313f565b6001600160a01b03811660009081526007602052604090205460ff16156113ee5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610aac565b6001600160a01b03811660009081526003602052604090205415611448576001600160a01b03811660009081526003602052604090205461142e90610d62565b6001600160a01b0382166000908152600460205260409020555b6001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b6000546001600160a01b031633146114d85760405162461bcd60e51b8152600401610aac9061313f565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03811660009081526007602052604081205460ff161561153757506001600160a01b031660009081526004602052604090205490565b6001600160a01b038216600090815260036020526040902054610bf890610d62565b6000546001600160a01b031633146115835760405162461bcd60e51b8152600401610aac9061313f565b600080546040516001600160a01b0390911690600080516020613397833981519152908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146115e55760405162461bcd60e51b8152600401610aac9061313f565b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610f99573d6000803e3d6000fd5b6000546001600160a01b031633146116445760405162461bcd60e51b8152600401610aac9061313f565b61164c612271565b611664338361165f84633b9aca006131c5565b611d83565b610f99601354601255601654601555565b6000546001600160a01b0316331461169f5760405162461bcd60e51b8152600401610aac9061313f565b601555565b606060108054610b6490613174565b6000610bf43384610c58856040518060600160405280602581526020016133b7602591393360009081526005602090815260408083206001600160a01b038d16845290915290205491906120e2565b6000546001600160a01b0316331461172c5760405162461bcd60e51b8152600401610aac9061313f565b600a805461ff001916610100179055565b6001546001600160a01b031633146117a35760405162461bcd60e51b815260206004820152602360248201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6044820152626f636b60e81b6064820152608401610aac565b60025442116117f45760405162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c20372064617973006044820152606401610aac565b600154600080546040516001600160a01b03938416939091169160008051602061339783398151915291a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b6000610bf4338484611d83565b6000546001600160a01b0316331461187a5760405162461bcd60e51b8152600401610aac9061313f565b61189b6103e861189583600b5461229f90919063ffffffff16565b9061213f565b601a5550565b6000546001600160a01b031633146118cb5760405162461bcd60e51b8152600401610aac9061313f565b601780548215156101000261ff00199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061191490831515815260200190565b60405180910390a150565b6000546001600160a01b031633146119495760405162461bcd60e51b8152600401610aac9061313f565b600083821461199a5760405162461bcd60e51b815260206004820152601760248201527f6d757374206265207468652073616d65206c656e6774680000000000000000006044820152606401610aac565b83811015611a0b576119f98585838181106119b7576119b76131e4565b90506020020160208101906119cc9190612f06565b8484848181106119de576119de6131e4565b90506020020135633b9aca006119f491906131c5565b61231e565b611a04600182613278565b905061199a565b5050505050565b6000546001600160a01b03163314611a3c5760405162461bcd60e51b8152600401610aac9061313f565b60008054600180546001600160a01b03199081166001600160a01b03841617909155169055611a6b8142613278565b600255600080546040516001600160a01b0390911690600080516020613397833981519152908390a350565b6000546001600160a01b03163314611ac15760405162461bcd60e51b8152600401610aac9061313f565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6000546001600160a01b03163314611b0c5760405162461bcd60e51b8152600401610aac9061313f565b62030d408111611b735760405162461bcd60e51b815260206004820152602c60248201527f4d617820547820416d6f756e742063616e6e6f74206265206c6573732074686160448201526b37101b1c9026b4b63634b7b760a11b6064820152608401610aac565b611b8181633b9aca006131c5565b60185550565b6000546001600160a01b03163314611bb15760405162461bcd60e51b8152600401610aac9061313f565b6001600160a01b038116611c165760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aac565b600080546040516001600160a01b038085169392169160008051602061339783398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316611cc15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610aac565b6001600160a01b038216611d225760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610aac565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611de75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610aac565b6001600160a01b038216611e495760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610aac565b60008111611eab5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610aac565b6000546001600160a01b03848116911614801590611ed757506000546001600160a01b03838116911614155b15611f3f57601854811115611f3f5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610aac565b6000611f4a306114fa565b90506018548110611f5a57506018545b60195481108015908190611f71575060175460ff16155b8015611faf57507f0000000000000000000000009a170c3cd7ac9c939f5ed17a4b80b31014ea044a6001600160a01b0316856001600160a01b031614155b8015611fc25750601754610100900460ff165b15611fd5576019549150611fd582612331565b6001600160a01b03851660009081526006602052604090205460019060ff168061201757506001600160a01b03851660009081526006602052604090205460ff165b15612020575060005b80156120ce577f0000000000000000000000009a170c3cd7ac9c939f5ed17a4b80b31014ea044a6001600160a01b0316856001600160a01b0316146120ce57601a5461206b866114fa565b6120759086613278565b11156120ce5760405162461bcd60e51b815260206004820152602260248201527f526563697069656e742065786365656473206d61782077616c6c65742073697a604482015261329760f11b6064820152608401610aac565b6120da86868684612434565b505050505050565b600081848411156121065760405162461bcd60e51b8152600401610aac9190612f3c565b50600061211384866131fa565b95945050505050565b6000806000612129612670565b9092509050612138828261213f565b9250505090565b6000610ddf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506127f2565b60008061218e8385613278565b905083811015610ddf5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610aac565b60008060008060008060008060006121f78a612820565b92509250925060008060006122158d868661221061211c565b612862565b919f909e50909c50959a5093985091965092945050505050565b6000610ddf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506120e2565b6012541580156122815750601554155b1561228857565b601280546013556015805460165560009182905555565b6000826122ae57506000610bf8565b60006122ba83856131c5565b9050826122c78583613290565b14610ddf5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610aac565b612326612271565b611664338383611d83565b6017805460ff19166001179055600061234b82600261213f565b90506000612359838361222f565b905047612365836128b2565b6000612371478361222f565b9050600061238f60646118956014548561229f90919063ffffffff16565b600e546040519192506001600160a01b03169082156108fc029083906000818181858888f193505050501580156123ca573d6000803e3d6000fd5b506123d581836131fa565b91506123e18483612a79565b60408051868152602081018490529081018590527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506017805460ff1916905550505050565b600a54610100900460ff1661245d576000546001600160a01b0385811691161461245d57600080fd5b6001600160a01b03841660009081526009602052604090205460ff168061249c57506001600160a01b03831660009081526009602052604090205460ff165b156124f357600a5460ff166124f35760405162461bcd60e51b815260206004820152601b60248201527f626f7473206172656e7420616c6c6f77656420746f20747261646500000000006044820152606401610aac565b8061250057612500612271565b6001600160a01b03841660009081526007602052604090205460ff16801561254157506001600160a01b03831660009081526007602052604090205460ff16155b1561255657612551848484612b87565b612654565b6001600160a01b03841660009081526007602052604090205460ff1615801561259757506001600160a01b03831660009081526007602052604090205460ff165b156125a757612551848484612cad565b6001600160a01b03841660009081526007602052604090205460ff161580156125e957506001600160a01b03831660009081526007602052604090205460ff16155b156125f957612551848484612d56565b6001600160a01b03841660009081526007602052604090205460ff16801561263957506001600160a01b03831660009081526007602052604090205460ff165b1561264957612551848484612d9a565b612654848484612d56565b8061266a5761266a601354601255601654601555565b50505050565b600c54600b546000918291825b6008548110156127c25782600360006008848154811061269f5761269f6131e4565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061270a57508160046000600884815481106126e3576126e36131e4565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561272057600c54600b54945094505050509091565b612766600360006008848154811061273a5761273a6131e4565b60009182526020808320909101546001600160a01b03168352820192909252604001902054849061222f565b92506127ae6004600060088481548110612782576127826131e4565b60009182526020808320909101546001600160a01b03168352820192909252604001902054839061222f565b9150806127ba81613227565b91505061267d565b50600b54600c546127d29161213f565b8210156127e957600c54600b549350935050509091565b90939092509050565b600081836128135760405162461bcd60e51b8152600401610aac9190612f3c565b5060006121138486613290565b60008060008061282f85612e0d565b9050600061283c86612e29565b905060006128548261284e898661222f565b9061222f565b979296509094509092505050565b6000808080612871888661229f565b9050600061287f888761229f565b9050600061288d888861229f565b9050600061289f8261284e868661222f565b939b939a50919850919650505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106128e7576128e76131e4565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561296057600080fd5b505afa158015612974573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061299891906132b2565b816001815181106129ab576129ab6131e4565b60200260200101906001600160a01b031690816001600160a01b0316815250506129f6307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611c5f565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612a4b9085906000908690309042906004016132cf565b600060405180830381600087803b158015612a6557600080fd5b505af11580156120da573d6000803e3d6000fd5b612aa4307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611c5f565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d719823085600080612aeb6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015612b4e57600080fd5b505af1158015612b62573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611a0b9190613340565b600080600080600080612b99876121e0565b6001600160a01b038f16600090815260046020526040902054959b50939950919750955093509150612bcb908861222f565b6001600160a01b038a16600090815260046020908152604080832093909355600390522054612bfa908761222f565b6001600160a01b03808b1660009081526003602052604080822093909355908a1681522054612c299086612181565b6001600160a01b038916600090815260036020526040902055612c4b81612e45565b612c558483612ecd565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612c9a91815260200190565b60405180910390a3505050505050505050565b600080600080600080612cbf876121e0565b6001600160a01b038f16600090815260036020526040902054959b50939950919750955093509150612cf1908761222f565b6001600160a01b03808b16600090815260036020908152604080832094909455918b16815260049091522054612d279084612181565b6001600160a01b038916600090815260046020908152604080832093909355600390522054612c299086612181565b600080600080600080612d68876121e0565b6001600160a01b038f16600090815260036020526040902054959b50939950919750955093509150612bfa908761222f565b600080600080600080612dac876121e0565b6001600160a01b038f16600090815260046020526040902054959b50939950919750955093509150612dde908861222f565b6001600160a01b038a16600090815260046020908152604080832093909355600390522054612cf1908761222f565b6000610bf860646118956012548561229f90919063ffffffff16565b6000610bf860646118956015548561229f90919063ffffffff16565b6000612e4f61211c565b90506000612e5d838361229f565b30600090815260036020526040902054909150612e7a9082612181565b3060009081526003602090815260408083209390935560079052205460ff16156110fc5730600090815260046020526040902054612eb89084612181565b30600090815260046020526040902055505050565b600c54612eda908361222f565b600c55600d54612eea9082612181565b600d555050565b6001600160a01b038116811461135857600080fd5b600060208284031215612f1857600080fd5b8135610ddf81612ef1565b600060208284031215612f3557600080fd5b5035919050565b600060208083528351808285015260005b81811015612f6957858101830151858201604001528201612f4d565b81811115612f7b576000604083870101525b50601f01601f1916929092016040019392505050565b60008060408385031215612fa457600080fd5b8235612faf81612ef1565b946020939093013593505050565b600080600060608486031215612fd257600080fd5b8335612fdd81612ef1565b92506020840135612fed81612ef1565b929592945050506040919091013590565b6000806040838503121561301157600080fd5b823561301c81612ef1565b9150602083013561302c81612ef1565b809150509250929050565b801515811461135857600080fd5b6000806040838503121561305857600080fd5b82359150602083013561302c81613037565b60006020828403121561307c57600080fd5b8135610ddf81613037565b60008083601f84011261309957600080fd5b50813567ffffffffffffffff8111156130b157600080fd5b6020830191508360208260051b85010111156130cc57600080fd5b9250929050565b600080600080604085870312156130e957600080fd5b843567ffffffffffffffff8082111561310157600080fd5b61310d88838901613087565b9096509450602087013591508082111561312657600080fd5b5061313387828801613087565b95989497509550505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061318857607f821691505b602082108114156131a957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156131df576131df6131af565b500290565b634e487b7160e01b600052603260045260246000fd5b60008282101561320c5761320c6131af565b500390565b634e487b7160e01b600052603160045260246000fd5b600060001982141561323b5761323b6131af565b5060010190565b60006020828403121561325457600080fd5b5051919050565b60006020828403121561326d57600080fd5b8151610ddf81613037565b6000821982111561328b5761328b6131af565b500190565b6000826132ad57634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156132c457600080fd5b8151610ddf81612ef1565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561331f5784516001600160a01b0316835293830193918301916001016132fa565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561335557600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63658be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122017953771987084ec211a7b34d54ee3543b1c4010d437db0ab6f842e8da721e1d64736f6c63430008090033
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.