ERC-20
Overview
Max Total Supply
100,000,000 SHFL
Holders
759
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
89,147.99999998997085 SHFLValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Shuffle
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 2000 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./external/IUniswapV2Router02.sol"; import "./external/IUniswapV2Factory.sol"; library ShuffleConstants { string private constant _name = "SHUFFLE!"; string private constant _symbol = "SHFL"; uint8 private constant _decimals = 18; address private constant _tokenOwner = 0xb82EC3578dA0DAD284E4C60a45C52F95186E929A; uint256 private constant _unlockMultiple = 5; uint256 private constant _maxLock = 20 * 24 * 60 * 60; function getName() internal pure returns (string memory) { return _name; } function getSymbol() internal pure returns (string memory) { return _symbol; } function getDecimals() internal pure returns (uint8) { return _decimals; } function getTokenOwner() internal pure returns (address) { return _tokenOwner; } function getUnlockMultiple() internal pure returns (uint256) { return _unlockMultiple; } function getMaxLock() internal pure returns (uint256) { return _maxLock; } } contract Shuffle is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; uint256 _totalSupply = 10**8 * 10**18; mapping (address => uint256) _balances; mapping (address => mapping (address => uint256)) _allowances; IUniswapV2Router02 public uniRouter; IUniswapV2Factory public uniFactory; address public launchPool; uint256 private _tradingTime; uint256 private _restrictionLiftTime; uint256 private _maxRestrictionAmount; uint256 private _restrictionGas; uint256 private _launchPrice; mapping (address => bool) private _isWhitelisted; mapping (address => bool) private _openSender; mapping (address => bool) private _lastTx; mapping (address => uint256) public lockTime; mapping (address => uint256) public lockedAmount; constructor (uint256 _gas, uint256 _amount) public { uniRouter = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniFactory = IUniswapV2Factory(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f); launchPool = uniFactory.createPair(address(uniRouter.WETH()),address(this)); _maxRestrictionAmount = _amount; _restrictionGas = _gas; _isWhitelisted[0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D] = true; _isWhitelisted[launchPool] = true; _balances[ShuffleConstants.getTokenOwner()] = _totalSupply; emit Transfer(address(0), ShuffleConstants.getTokenOwner(), _totalSupply); } function name() public view returns (string memory) { return ShuffleConstants.getName(); } function symbol() public view returns (string memory) { return ShuffleConstants.getSymbol(); } function decimals() public view returns (uint8) { return ShuffleConstants.getDecimals(); } function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view override returns (uint256) { return _balances[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, "SHFL: transfer amount exceeds allowance")); return true; } function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "SHFL: decreased allowance below zero")); return true; } function _transfer(address sender, address recipient, uint256 amount) private launchRestrict(sender, recipient, amount) { require(sender != address(0), "SHFL: transfer from the zero address"); require(recipient != address(0), "SHFL: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "SHFL: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } function _approve(address owner, address spender, uint256 amount) private { require(owner != address(0), "SHFL: approve from the zero address"); require(spender != address(0), "SHFL: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function setRestrictionAmount(uint256 amount) external onlyOwner() { _maxRestrictionAmount = amount; } function setRestrictionGas(uint256 price) external onlyOwner() { _restrictionGas = price; } function addSender(address account) external onlyOwner() { _openSender[account] = true; } function setLaunchPrice(uint256 price) external onlyOwner() { _launchPrice = price; } function lockBot(address account, uint256 unlockBotTime) external onlyOwner() { lockTime[account] = unlockBotTime; } modifier launchRestrict(address sender, address recipient, uint256 amount) { if (_tradingTime == 0) { require(_openSender[sender],"SHFL: transfers are disabled"); if (recipient == launchPool) { _tradingTime = now; _restrictionLiftTime = now.add(3*60); } } else if (_tradingTime == now) { revert("SHFL: no transactions allowed"); } else if (_tradingTime < now && _restrictionLiftTime > now) { require(amount <= _maxRestrictionAmount, "SHFL: amount greater than max limit"); require(tx.gasprice <= _restrictionGas,"SHFL: gas price above limit"); if (!_isWhitelisted[sender] && !_isWhitelisted[recipient]) { require(!_lastTx[sender] && !_lastTx[recipient] && !_lastTx[tx.origin], "SHFL: only one tx in restricted time"); _lastTx[sender] = true; _lastTx[recipient] = true; _lastTx[tx.origin] = true; } else if (!_isWhitelisted[recipient]){ require(!_lastTx[recipient] && !_lastTx[tx.origin], "SHFL: only one tx in restricted time"); _lastTx[recipient] = true; _lastTx[tx.origin] = true; } else if (!_isWhitelisted[sender]) { require(!_lastTx[sender] && !_lastTx[tx.origin], "SHFL: only one tx in restricted time"); _lastTx[sender] = true; _lastTx[tx.origin] = true; } // If 100 ETH : 8000 Tokens were in pool, price before buy = 0.0125. If 110 ETH : 7200 Tokens // after the purchase, price after buy = 0.0153. The ETH will be in the pool by the time of this function // execution, but tokens won't decrease yet, so we get to understand the actual execution price here // 110 ETH : 8000 Tokens = 0.01375. This logic will be used to understand the multiple and execute vesting // accordingly. if (sender == launchPool) { require((_isWhitelisted[recipient] || _isWhitelisted[msg.sender]) && !Address.isContract(tx.origin), "SHFL: only uniswap router allowed"); uint256 ethBal = IERC20(address(uniRouter.WETH())).balanceOf(launchPool); uint256 tokenBal = balanceOf(launchPool); uint256 curPriceMultiple = (ethBal * 10**18 / tokenBal) * 10**3 / _launchPrice; uint256 timeDelay = ShuffleConstants.getMaxLock()*curPriceMultiple/(10**3 * ShuffleConstants.getUnlockMultiple()); if (timeDelay <= ShuffleConstants.getMaxLock()) { lockTime[recipient] = now.add(ShuffleConstants.getMaxLock().sub(timeDelay)); } uint256 unlockAmount = amount.mul(curPriceMultiple)/(10**3 * ShuffleConstants.getUnlockMultiple()); if (unlockAmount <= amount) { lockedAmount[recipient] = amount.sub(unlockAmount); } } } else { if (!_isWhitelisted[sender] && lockTime[sender] >= now) { require(amount.add(lockedAmount[sender]) <= _balances[sender], "SHFL: locked balance"); } } _; } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; 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; }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../utils/Context.sol";
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { 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; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @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, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { 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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // 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"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 2000 }, "evmVersion": "byzantium", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_gas","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":[{"internalType":"address","name":"account","type":"address"}],"name":"addSender","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":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launchPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"unlockBotTime","type":"uint256"}],"name":"lockBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lockedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setLaunchPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setRestrictionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setRestrictionGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"uniFactory","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526a52b7d2dcc80cd2e40000006001553480156200002057600080fd5b5060405162001ebc38038062001ebc833981810160405260408110156200004657600080fd5b50805160209091015160006200006464010000000062000337810204565b60008054600160a060020a031916600160a060020a0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060048054600160a060020a0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d1780835560058054909216735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f1791829055604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051600160a060020a039384169463c9c6539694939093169263ad5c464892808201926020929091829003018186803b1580156200015c57600080fd5b505afa15801562000171573d6000803e3d6000fd5b505050506040513d60208110156200018857600080fd5b5051604080517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301523060248301525160448083019260209291908290030181600087803b158015620001ef57600080fd5b505af115801562000204573d6000803e3d6000fd5b505050506040513d60208110156200021b57600080fd5b505160068054600160a060020a031916600160a060020a0392831617908190556009839055600a849055600c6020527f0ec9aca9afadc09fc0bd96ec7d7d6cfbb5408a5bc5bcf87bc0656b65508e559a805460ff1990811660019081179092559190921660009081526040812080549092168317909155905490600290620002b06401000000006200033b810262000c391704565b600160a060020a03168152602081019190915260400160002055620002e264010000000062000c396200033b82021704565b600160a060020a03166000600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6001546040518082815260200191505060405180910390a3505062000353565b3390565b73b82ec3578da0dad284e4c60a45c52f95186e929a90565b611b5980620003636000396000f3fe608060405234801561001057600080fd5b50600436106101b5576000357c01000000000000000000000000000000000000000000000000000000009004806395d89b4111610100578063a9059cbb116100a9578063dd62ed3e11610083578063dd62ed3e146104b5578063f2f82712146104e3578063f2fde38b14610500576101b5565b8063a9059cbb14610446578063b697f53114610472578063cf607eaa14610498576101b5565b8063a1d4958c116100da578063a1d4958c146103ec578063a457c2d7146103f4578063a4beda6314610420576101b5565b806395d89b41146103b6578063a0e47bf6146103be578063a153e708146103c6576101b5565b806350993f3e116101625780637521b7c21161013c5780637521b7c21461036d57806376771d4b1461038a5780638da5cb5b146103ae576101b5565b806350993f3e1461031157806370a082311461033f578063715018a614610365576101b5565b806323b872dd1161019357806323b872dd14610291578063313ce567146102c757806339509351146102e5576101b5565b806306fdde03146101ba578063095ea7b31461023757806318160ddd14610277575b600080fd5b6101c2610526565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101fc5781810151838201526020016101e4565b50505050905090810190601f1680156102295780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102636004803603604081101561024d57600080fd5b50600160a060020a038135169060200135610535565b604080519115158252519081900360200190f35b61027f610553565b60408051918252519081900360200190f35b610263600480360360608110156102a757600080fd5b50600160a060020a03813581169160208101359091169060400135610559565b6102cf6105e0565b6040805160ff9092168252519081900360200190f35b610263600480360360408110156102fb57600080fd5b50600160a060020a0381351690602001356105ea565b61033d6004803603604081101561032757600080fd5b50600160a060020a038135169060200135610638565b005b61027f6004803603602081101561035557600080fd5b5035600160a060020a03166106d0565b61033d6106eb565b61033d6004803603602081101561038357600080fd5b50356107c9565b61039261084a565b60408051600160a060020a039092168252519081900360200190f35b610392610859565b6101c2610868565b610392610872565b61027f600480360360208110156103dc57600080fd5b5035600160a060020a0316610881565b610392610893565b6102636004803603604081101561040a57600080fd5b50600160a060020a0381351690602001356108a2565b61027f6004803603602081101561043657600080fd5b5035600160a060020a031661090a565b6102636004803603604081101561045c57600080fd5b50600160a060020a03813516906020013561091c565b61033d6004803603602081101561048857600080fd5b5035600160a060020a0316610930565b61033d600480360360208110156104ae57600080fd5b50356109d0565b61027f600480360360408110156104cb57600080fd5b50600160a060020a0381358116916020013516610a51565b61033d600480360360208110156104f957600080fd5b5035610a7c565b61033d6004803603602081101561051657600080fd5b5035600160a060020a0316610afd565b6060610530610c51565b905090565b6000610549610542610c88565b8484610c8c565b5060015b92915050565b60015490565b6000610566848484610d88565b6105d684610572610c88565b6105d185604051806060016040528060278152602001611ad860279139600160a060020a038a166000908152600360205260408120906105b0610c88565b600160a060020a03168152602081019190915260400160002054919061173e565b610c8c565b5060019392505050565b60006105306117dd565b60006105496105f7610c88565b846105d18560036000610608610c88565b600160a060020a03908116825260208083019390935260409182016000908120918c1681529252902054906117e2565b610640610c88565b600160a060020a0316610651610859565b600160a060020a0316146106b45760408051600080516020611a52833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a039091166000908152600f6020526040902055565b600160a060020a031660009081526002602052604090205490565b6106f3610c88565b600160a060020a0316610704610859565b600160a060020a0316146107675760408051600080516020611a52833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6107d1610c88565b600160a060020a03166107e2610859565b600160a060020a0316146108455760408051600080516020611a52833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600a55565b600554600160a060020a031681565b600054600160a060020a031690565b606061053061184b565b600454600160a060020a031681565b60106020526000908152604090205481565b600654600160a060020a031681565b60006105496108af610c88565b846105d185604051806060016040528060248152602001611a7260249139600360006108d9610c88565b600160a060020a03908116825260208083019390935260409182016000908120918d1681529252902054919061173e565b600f6020526000908152604090205481565b6000610549610929610c88565b8484610d88565b610938610c88565b600160a060020a0316610949610859565b600160a060020a0316146109ac5760408051600080516020611a52833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03166000908152600d60205260409020805460ff19166001179055565b6109d8610c88565b600160a060020a03166109e9610859565b600160a060020a031614610a4c5760408051600080516020611a52833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600b55565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b610a84610c88565b600160a060020a0316610a95610859565b600160a060020a031614610af85760408051600080516020611a52833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600955565b610b05610c88565b600160a060020a0316610b16610859565b600160a060020a031614610b795760408051600080516020611a52833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a038116610bc657604051600080516020611a52833981519152815260040180806020018281038252602681526020018061197f6026913960400191505060405180910390fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff000000000000000000000000000000000000000016600160a060020a0392909216919091179055565b73b82ec3578da0dad284e4c60a45c52f95186e929a90565b60408051808201909152600881527f53485546464c4521000000000000000000000000000000000000000000000000602082015290565b3390565b600160a060020a038316610cd957604051600080516020611a5283398151915281526004018080602001828103825260238152602001806119ec6023913960400191505060405180910390fd5b600160a060020a038216610d2657604051600080516020611a528339815191528152600401808060200182810382526021815260200180611a0f6021913960400191505060405180910390fd5b600160a060020a03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b82828260075460001415610e3b57600160a060020a0383166000908152600d602052604090205460ff16610e0b5760408051600080516020611a52833981519152815260206004820152601c60248201527f5348464c3a207472616e7366657273206172652064697361626c656400000000604482015290519081900360640190fd5b600654600160a060020a0383811691161415610e3657426007819055610e329060b46117e2565b6008555b6115d9565b426007541415610e9a5760408051600080516020611a52833981519152815260206004820152601d60248201527f5348464c3a206e6f207472616e73616374696f6e7320616c6c6f776564000000604482015290519081900360640190fd5b42600754108015610eac575042600854115b1561150857600954811115610efa57604051600080516020611a5283398151915281526004018080602001828103825260238152602001806119c96023913960400191505060405180910390fd5b600a543a1115610f595760408051600080516020611a52833981519152815260206004820152601b60248201527f5348464c3a206761732070726963652061626f7665206c696d69740000000000604482015290519081900360640190fd5b600160a060020a0383166000908152600c602052604090205460ff16158015610f9b5750600160a060020a0382166000908152600c602052604090205460ff16155b1561108c57600160a060020a0383166000908152600e602052604090205460ff16158015610fe25750600160a060020a0382166000908152600e602052604090205460ff16155b8015610ffe5750326000908152600e602052604090205460ff16155b61104157604051600080516020611a52833981519152815260040180806020018281038252602481526020018061195b6024913960400191505060405180910390fd5b600160a060020a038381166000908152600e60205260408082208054600160ff199182168117909255938616835281832080548516821790553283529120805490921617905561123c565b600160a060020a0382166000908152600c602052604090205460ff1661116657600160a060020a0382166000908152600e602052604090205460ff161580156110e55750326000908152600e602052604090205460ff16155b61112857604051600080516020611a52833981519152815260040180806020018281038252602481526020018061195b6024913960400191505060405180910390fd5b600160a060020a0382166000908152600e60205260408082208054600160ff199182168117909255328452919092208054909116909117905561123c565b600160a060020a0383166000908152600c602052604090205460ff1661123c57600160a060020a0383166000908152600e602052604090205460ff161580156111bf5750326000908152600e602052604090205460ff16155b61120257604051600080516020611a52833981519152815260040180806020018281038252602481526020018061195b6024913960400191505060405180910390fd5b600160a060020a0383166000908152600e60205260408082208054600160ff19918216811790925532845291909220805490911690911790555b600654600160a060020a0384811691161415610e3657600160a060020a0382166000908152600c602052604090205460ff16806112885750336000908152600c602052604090205460ff165b801561129a575061129832611882565b155b6112dd57604051600080516020611a528339815191528152600401808060200182810382526021815260200180611a966021913960400191505060405180910390fd5b6000600460009054906101000a9004600160a060020a0316600160a060020a031663ad5c46486040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b15801561134957600080fd5b505afa15801561135d573d6000803e3d6000fd5b505050506040513d602081101561137357600080fd5b5051600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152905191909216916370a08231916024808301926020929190829003018186803b1580156113db57600080fd5b505afa1580156113ef573d6000803e3d6000fd5b505050506040513d602081101561140557600080fd5b505160065490915060009061142290600160a060020a03166106d0565b90506000600b548284670de0b6b3a7640000028161143c57fe5b046103e8028161144857fe5b0490506000611455611888565b6103e8028261146261188d565b028161146a57fe5b04905061147561188d565b81116114b1576114976114908261148a61188d565b90611894565b42906117e2565b600160a060020a0387166000908152600f60205260409020555b60006114bb611888565b6103e8026114c987856118f9565b816114d057fe5b0490508581116114fe576114e48682611894565b600160a060020a0388166000908152601060205260409020555b50505050506115d9565b600160a060020a0383166000908152600c602052604090205460ff161580156115495750600160a060020a0383166000908152600f60205260409020544211155b156115d957600160a060020a03831660009081526002602090815260408083205460109092529091205461157e9083906117e2565b11156115d95760408051600080516020611a52833981519152815260206004820152601460248201527f5348464c3a206c6f636b65642062616c616e6365000000000000000000000000604482015290519081900360640190fd5b600160a060020a03861661162657604051600080516020611a5283398151915281526004018080602001828103825260248152602001806119a56024913960400191505060405180910390fd5b600160a060020a03851661167357604051600080516020611a528339815191528152600401808060200182810382526022815260200180611a306022913960400191505060405180910390fd5b6116b084604051806060016040528060258152602001611aff60259139600160a060020a038916600090815260026020526040902054919061173e565b600160a060020a0380881660009081526002602052604080822093909355908716815220546116df90856117e2565b600160a060020a0380871660008181526002602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050505050565b600081848411156117d557604051600080516020611a5283398151915281526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561179a578181015183820152602001611782565b50505050905090810190601f1680156117c75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b601290565b6000828201838110156118445760408051600080516020611a52833981519152815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60408051808201909152600481527f5348464c00000000000000000000000000000000000000000000000000000000602082015290565b3b151590565b600590565b621a5e0090565b6000828211156118f35760408051600080516020611a52833981519152815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000826119085750600061054d565b8282028284828161191557fe5b041461184457604051600080516020611a528339815191528152600401808060200182810382526021815260200180611ab76021913960400191505060405180910390fdfe5348464c3a206f6e6c79206f6e6520747820696e20726573747269637465642074696d654f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735348464c3a207472616e736665722066726f6d20746865207a65726f20616464726573735348464c3a20616d6f756e742067726561746572207468616e206d6178206c696d69745348464c3a20617070726f76652066726f6d20746865207a65726f20616464726573735348464c3a20617070726f766520746f20746865207a65726f20616464726573735348464c3a207472616e7366657220746f20746865207a65726f206164647265737308c379a0000000000000000000000000000000000000000000000000000000005348464c3a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f5348464c3a206f6e6c7920756e697377617020726f7574657220616c6c6f776564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775348464c3a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655348464c3a207472616e7366657220616d6f756e7420657863656564732062616c616e6365a2646970667358221220d20099fc41a49d0dcc0536b7a64af450d9ed1f6fd534fadebe1409a9f7be409564736f6c634300060c00330000000000000000000000000000000000000000000000000000005448e1a4000000000000000000000000000000000000000000000040023cc4e8ff9eaa2600
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101b5576000357c01000000000000000000000000000000000000000000000000000000009004806395d89b4111610100578063a9059cbb116100a9578063dd62ed3e11610083578063dd62ed3e146104b5578063f2f82712146104e3578063f2fde38b14610500576101b5565b8063a9059cbb14610446578063b697f53114610472578063cf607eaa14610498576101b5565b8063a1d4958c116100da578063a1d4958c146103ec578063a457c2d7146103f4578063a4beda6314610420576101b5565b806395d89b41146103b6578063a0e47bf6146103be578063a153e708146103c6576101b5565b806350993f3e116101625780637521b7c21161013c5780637521b7c21461036d57806376771d4b1461038a5780638da5cb5b146103ae576101b5565b806350993f3e1461031157806370a082311461033f578063715018a614610365576101b5565b806323b872dd1161019357806323b872dd14610291578063313ce567146102c757806339509351146102e5576101b5565b806306fdde03146101ba578063095ea7b31461023757806318160ddd14610277575b600080fd5b6101c2610526565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101fc5781810151838201526020016101e4565b50505050905090810190601f1680156102295780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102636004803603604081101561024d57600080fd5b50600160a060020a038135169060200135610535565b604080519115158252519081900360200190f35b61027f610553565b60408051918252519081900360200190f35b610263600480360360608110156102a757600080fd5b50600160a060020a03813581169160208101359091169060400135610559565b6102cf6105e0565b6040805160ff9092168252519081900360200190f35b610263600480360360408110156102fb57600080fd5b50600160a060020a0381351690602001356105ea565b61033d6004803603604081101561032757600080fd5b50600160a060020a038135169060200135610638565b005b61027f6004803603602081101561035557600080fd5b5035600160a060020a03166106d0565b61033d6106eb565b61033d6004803603602081101561038357600080fd5b50356107c9565b61039261084a565b60408051600160a060020a039092168252519081900360200190f35b610392610859565b6101c2610868565b610392610872565b61027f600480360360208110156103dc57600080fd5b5035600160a060020a0316610881565b610392610893565b6102636004803603604081101561040a57600080fd5b50600160a060020a0381351690602001356108a2565b61027f6004803603602081101561043657600080fd5b5035600160a060020a031661090a565b6102636004803603604081101561045c57600080fd5b50600160a060020a03813516906020013561091c565b61033d6004803603602081101561048857600080fd5b5035600160a060020a0316610930565b61033d600480360360208110156104ae57600080fd5b50356109d0565b61027f600480360360408110156104cb57600080fd5b50600160a060020a0381358116916020013516610a51565b61033d600480360360208110156104f957600080fd5b5035610a7c565b61033d6004803603602081101561051657600080fd5b5035600160a060020a0316610afd565b6060610530610c51565b905090565b6000610549610542610c88565b8484610c8c565b5060015b92915050565b60015490565b6000610566848484610d88565b6105d684610572610c88565b6105d185604051806060016040528060278152602001611ad860279139600160a060020a038a166000908152600360205260408120906105b0610c88565b600160a060020a03168152602081019190915260400160002054919061173e565b610c8c565b5060019392505050565b60006105306117dd565b60006105496105f7610c88565b846105d18560036000610608610c88565b600160a060020a03908116825260208083019390935260409182016000908120918c1681529252902054906117e2565b610640610c88565b600160a060020a0316610651610859565b600160a060020a0316146106b45760408051600080516020611a52833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a039091166000908152600f6020526040902055565b600160a060020a031660009081526002602052604090205490565b6106f3610c88565b600160a060020a0316610704610859565b600160a060020a0316146107675760408051600080516020611a52833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6107d1610c88565b600160a060020a03166107e2610859565b600160a060020a0316146108455760408051600080516020611a52833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600a55565b600554600160a060020a031681565b600054600160a060020a031690565b606061053061184b565b600454600160a060020a031681565b60106020526000908152604090205481565b600654600160a060020a031681565b60006105496108af610c88565b846105d185604051806060016040528060248152602001611a7260249139600360006108d9610c88565b600160a060020a03908116825260208083019390935260409182016000908120918d1681529252902054919061173e565b600f6020526000908152604090205481565b6000610549610929610c88565b8484610d88565b610938610c88565b600160a060020a0316610949610859565b600160a060020a0316146109ac5760408051600080516020611a52833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03166000908152600d60205260409020805460ff19166001179055565b6109d8610c88565b600160a060020a03166109e9610859565b600160a060020a031614610a4c5760408051600080516020611a52833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600b55565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b610a84610c88565b600160a060020a0316610a95610859565b600160a060020a031614610af85760408051600080516020611a52833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600955565b610b05610c88565b600160a060020a0316610b16610859565b600160a060020a031614610b795760408051600080516020611a52833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a038116610bc657604051600080516020611a52833981519152815260040180806020018281038252602681526020018061197f6026913960400191505060405180910390fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff000000000000000000000000000000000000000016600160a060020a0392909216919091179055565b73b82ec3578da0dad284e4c60a45c52f95186e929a90565b60408051808201909152600881527f53485546464c4521000000000000000000000000000000000000000000000000602082015290565b3390565b600160a060020a038316610cd957604051600080516020611a5283398151915281526004018080602001828103825260238152602001806119ec6023913960400191505060405180910390fd5b600160a060020a038216610d2657604051600080516020611a528339815191528152600401808060200182810382526021815260200180611a0f6021913960400191505060405180910390fd5b600160a060020a03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b82828260075460001415610e3b57600160a060020a0383166000908152600d602052604090205460ff16610e0b5760408051600080516020611a52833981519152815260206004820152601c60248201527f5348464c3a207472616e7366657273206172652064697361626c656400000000604482015290519081900360640190fd5b600654600160a060020a0383811691161415610e3657426007819055610e329060b46117e2565b6008555b6115d9565b426007541415610e9a5760408051600080516020611a52833981519152815260206004820152601d60248201527f5348464c3a206e6f207472616e73616374696f6e7320616c6c6f776564000000604482015290519081900360640190fd5b42600754108015610eac575042600854115b1561150857600954811115610efa57604051600080516020611a5283398151915281526004018080602001828103825260238152602001806119c96023913960400191505060405180910390fd5b600a543a1115610f595760408051600080516020611a52833981519152815260206004820152601b60248201527f5348464c3a206761732070726963652061626f7665206c696d69740000000000604482015290519081900360640190fd5b600160a060020a0383166000908152600c602052604090205460ff16158015610f9b5750600160a060020a0382166000908152600c602052604090205460ff16155b1561108c57600160a060020a0383166000908152600e602052604090205460ff16158015610fe25750600160a060020a0382166000908152600e602052604090205460ff16155b8015610ffe5750326000908152600e602052604090205460ff16155b61104157604051600080516020611a52833981519152815260040180806020018281038252602481526020018061195b6024913960400191505060405180910390fd5b600160a060020a038381166000908152600e60205260408082208054600160ff199182168117909255938616835281832080548516821790553283529120805490921617905561123c565b600160a060020a0382166000908152600c602052604090205460ff1661116657600160a060020a0382166000908152600e602052604090205460ff161580156110e55750326000908152600e602052604090205460ff16155b61112857604051600080516020611a52833981519152815260040180806020018281038252602481526020018061195b6024913960400191505060405180910390fd5b600160a060020a0382166000908152600e60205260408082208054600160ff199182168117909255328452919092208054909116909117905561123c565b600160a060020a0383166000908152600c602052604090205460ff1661123c57600160a060020a0383166000908152600e602052604090205460ff161580156111bf5750326000908152600e602052604090205460ff16155b61120257604051600080516020611a52833981519152815260040180806020018281038252602481526020018061195b6024913960400191505060405180910390fd5b600160a060020a0383166000908152600e60205260408082208054600160ff19918216811790925532845291909220805490911690911790555b600654600160a060020a0384811691161415610e3657600160a060020a0382166000908152600c602052604090205460ff16806112885750336000908152600c602052604090205460ff165b801561129a575061129832611882565b155b6112dd57604051600080516020611a528339815191528152600401808060200182810382526021815260200180611a966021913960400191505060405180910390fd5b6000600460009054906101000a9004600160a060020a0316600160a060020a031663ad5c46486040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b15801561134957600080fd5b505afa15801561135d573d6000803e3d6000fd5b505050506040513d602081101561137357600080fd5b5051600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152905191909216916370a08231916024808301926020929190829003018186803b1580156113db57600080fd5b505afa1580156113ef573d6000803e3d6000fd5b505050506040513d602081101561140557600080fd5b505160065490915060009061142290600160a060020a03166106d0565b90506000600b548284670de0b6b3a7640000028161143c57fe5b046103e8028161144857fe5b0490506000611455611888565b6103e8028261146261188d565b028161146a57fe5b04905061147561188d565b81116114b1576114976114908261148a61188d565b90611894565b42906117e2565b600160a060020a0387166000908152600f60205260409020555b60006114bb611888565b6103e8026114c987856118f9565b816114d057fe5b0490508581116114fe576114e48682611894565b600160a060020a0388166000908152601060205260409020555b50505050506115d9565b600160a060020a0383166000908152600c602052604090205460ff161580156115495750600160a060020a0383166000908152600f60205260409020544211155b156115d957600160a060020a03831660009081526002602090815260408083205460109092529091205461157e9083906117e2565b11156115d95760408051600080516020611a52833981519152815260206004820152601460248201527f5348464c3a206c6f636b65642062616c616e6365000000000000000000000000604482015290519081900360640190fd5b600160a060020a03861661162657604051600080516020611a5283398151915281526004018080602001828103825260248152602001806119a56024913960400191505060405180910390fd5b600160a060020a03851661167357604051600080516020611a528339815191528152600401808060200182810382526022815260200180611a306022913960400191505060405180910390fd5b6116b084604051806060016040528060258152602001611aff60259139600160a060020a038916600090815260026020526040902054919061173e565b600160a060020a0380881660009081526002602052604080822093909355908716815220546116df90856117e2565b600160a060020a0380871660008181526002602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050505050565b600081848411156117d557604051600080516020611a5283398151915281526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561179a578181015183820152602001611782565b50505050905090810190601f1680156117c75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b601290565b6000828201838110156118445760408051600080516020611a52833981519152815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60408051808201909152600481527f5348464c00000000000000000000000000000000000000000000000000000000602082015290565b3b151590565b600590565b621a5e0090565b6000828211156118f35760408051600080516020611a52833981519152815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000826119085750600061054d565b8282028284828161191557fe5b041461184457604051600080516020611a528339815191528152600401808060200182810382526021815260200180611ab76021913960400191505060405180910390fdfe5348464c3a206f6e6c79206f6e6520747820696e20726573747269637465642074696d654f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735348464c3a207472616e736665722066726f6d20746865207a65726f20616464726573735348464c3a20616d6f756e742067726561746572207468616e206d6178206c696d69745348464c3a20617070726f76652066726f6d20746865207a65726f20616464726573735348464c3a20617070726f766520746f20746865207a65726f20616464726573735348464c3a207472616e7366657220746f20746865207a65726f206164647265737308c379a0000000000000000000000000000000000000000000000000000000005348464c3a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f5348464c3a206f6e6c7920756e697377617020726f7574657220616c6c6f776564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775348464c3a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655348464c3a207472616e7366657220616d6f756e7420657863656564732062616c616e6365a2646970667358221220d20099fc41a49d0dcc0536b7a64af450d9ed1f6fd534fadebe1409a9f7be409564736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000005448e1a4000000000000000000000000000000000000000000000040023cc4e8ff9eaa2600
-----Decoded View---------------
Arg [0] : _gas (uint256): 362000000000
Arg [1] : _amount (uint256): 302272727272727000000000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000005448e1a400
Arg [1] : 0000000000000000000000000000000000000000000040023cc4e8ff9eaa2600
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.