Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,937 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 21405567 | 11 days ago | IN | 0 ETH | 0.00042867 | ||||
Approve | 21292362 | 26 days ago | IN | 0 ETH | 0.00034871 | ||||
Transfer | 21292221 | 27 days ago | IN | 0 ETH | 0.00029518 | ||||
Transfer | 21292218 | 27 days ago | IN | 0 ETH | 0.00040504 | ||||
Approve | 21228837 | 35 days ago | IN | 0 ETH | 0.00059087 | ||||
Approve | 21215880 | 37 days ago | IN | 0 ETH | 0.00055516 | ||||
Approve | 21207146 | 38 days ago | IN | 0 ETH | 0.00035315 | ||||
Approve | 20997060 | 68 days ago | IN | 0 ETH | 0.00019832 | ||||
Approve | 20558079 | 129 days ago | IN | 0 ETH | 0.00005137 | ||||
Transfer | 20553201 | 130 days ago | IN | 0 ETH | 0.00003872 | ||||
Transfer | 20553198 | 130 days ago | IN | 0 ETH | 0.00003986 | ||||
Transfer | 20553196 | 130 days ago | IN | 0 ETH | 0.00006002 | ||||
Approve | 20172037 | 183 days ago | IN | 0 ETH | 0.00008498 | ||||
Approve | 20172037 | 183 days ago | IN | 0 ETH | 0.00008478 | ||||
Approve | 20144157 | 187 days ago | IN | 0 ETH | 0.00012979 | ||||
Transfer | 20121589 | 190 days ago | IN | 0 ETH | 0.00026247 | ||||
Approve | 19905505 | 220 days ago | IN | 0 ETH | 0.00017595 | ||||
Transfer | 19888342 | 223 days ago | IN | 0 ETH | 0.0005242 | ||||
Approve | 19888183 | 223 days ago | IN | 0 ETH | 0.00027925 | ||||
Approve | 19860238 | 226 days ago | IN | 0 ETH | 0.00046561 | ||||
Transfer | 19836777 | 230 days ago | IN | 0 ETH | 0.0001925 | ||||
Approve | 19651761 | 256 days ago | IN | 0 ETH | 0.00030043 | ||||
Transfer | 19389018 | 293 days ago | IN | 0 ETH | 0.00248602 | ||||
Transfer | 19388558 | 293 days ago | IN | 0 ETH | 0.00248487 | ||||
Transfer | 19361514 | 296 days ago | IN | 0 ETH | 0.00370158 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Somee2
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 Somee2Constants { string private constant _name = "SoMee Advertising Token V2"; string private constant _symbol = "SAT"; uint8 private constant _decimals = 18; address private constant _tokenOwner = 0xF5C61968518Ec4536295DE0F784770Df3fbC2CE0; uint256 private constant _unlockMultiple = 10; 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 Somee2 is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; uint256 _totalSupply = 10**9 * 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[Somee2Constants.getTokenOwner()] = _totalSupply; emit Transfer(address(0), Somee2Constants.getTokenOwner(), _totalSupply); } function name() public view returns (string memory) { return Somee2Constants.getName(); } function symbol() public view returns (string memory) { return Somee2Constants.getSymbol(); } function decimals() public view returns (uint8) { return Somee2Constants.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, "SAT: 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, "SAT: decreased allowance below zero")); return true; } function _transfer(address sender, address recipient, uint256 amount) private launchRestrict(sender, recipient, amount) { require(sender != address(0), "SAT: transfer from the zero address"); require(recipient != address(0), "SAT: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "SAT: 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), "SAT: approve from the zero address"); require(spender != address(0), "SAT: 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; } modifier launchRestrict(address sender, address recipient, uint256 amount) { if (_tradingTime == 0) { require(_openSender[sender],"SAT: transfers are disabled"); if (recipient == launchPool) { _tradingTime = now; _restrictionLiftTime = now.add(10*60); } } else if (_tradingTime == now) { revert("SAT: no transactions allowed"); } else if (_tradingTime < now && _restrictionLiftTime > now) { require(amount <= _maxRestrictionAmount, "SAT: amount greater than max limit"); require(tx.gasprice <= _restrictionGas,"SAT: gas price above limit"); if (!_isWhitelisted[sender] && !_isWhitelisted[recipient]) { require(!_lastTx[sender] && !_lastTx[recipient] && !_lastTx[tx.origin], "SAT: 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], "SAT: only one tx in restricted time"); _lastTx[recipient] = true; _lastTx[tx.origin] = true; } else if (!_isWhitelisted[sender]) { require(!_lastTx[sender] && !_lastTx[tx.origin], "SAT: 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), "SAT: 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 = Somee2Constants.getMaxLock()*curPriceMultiple/(10**3 * Somee2Constants.getUnlockMultiple()); if (timeDelay <= Somee2Constants.getMaxLock()) { lockTime[recipient] = now.add(Somee2Constants.getMaxLock().sub(timeDelay)); } uint256 unlockAmount = amount.mul(curPriceMultiple)/(10**3 * Somee2Constants.getUnlockMultiple()); if (unlockAmount <= amount) { lockedAmount[recipient] = amount.sub(unlockAmount); } } } else { if (!_isWhitelisted[sender] && lockTime[sender] >= now) { require(amount.add(lockedAmount[sender]) <= _balances[sender], "SAT: 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":"","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
60806040526b033b2e3c9fd0803ce80000006001553480156200002157600080fd5b5060405162001dd138038062001dd1833981810160405260408110156200004757600080fd5b50805160209091015160006200006564010000000062000338810204565b60008054600160a060020a031916600160a060020a0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060048054600160a060020a0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d1780835560058054909216735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f1791829055604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051600160a060020a039384169463c9c6539694939093169263ad5c464892808201926020929091829003018186803b1580156200015d57600080fd5b505afa15801562000172573d6000803e3d6000fd5b505050506040513d60208110156200018957600080fd5b5051604080517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301523060248301525160448083019260209291908290030181600087803b158015620001f057600080fd5b505af115801562000205573d6000803e3d6000fd5b505050506040513d60208110156200021c57600080fd5b505160068054600160a060020a031916600160a060020a0392831617908190556009839055600a849055600c6020527f0ec9aca9afadc09fc0bd96ec7d7d6cfbb5408a5bc5bcf87bc0656b65508e559a805460ff1990811660019081179092559190921660009081526040812080549092168317909155905490600290620002b16401000000006200033c810262000b6a1704565b600160a060020a03168152602081019190915260400160002055620002e364010000000062000b6a6200033c82021704565b600160a060020a03166000600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6001546040518082815260200191505060405180910390a3505062000354565b3390565b73f5c61968518ec4536295de0f784770df3fbc2ce090565b611a6d80620003646000396000f3fe608060405234801561001057600080fd5b50600436106101aa576000357c01000000000000000000000000000000000000000000000000000000009004806395d89b4111610100578063a9059cbb116100a9578063dd62ed3e11610083578063dd62ed3e1461047e578063f2f82712146104ac578063f2fde38b146104c9576101aa565b8063a9059cbb1461040f578063b697f5311461043b578063cf607eaa14610461576101aa565b8063a1d4958c116100da578063a1d4958c146103b5578063a457c2d7146103bd578063a4beda63146103e9576101aa565b806395d89b411461037f578063a0e47bf614610387578063a153e7081461038f576101aa565b806339509351116101625780637521b7c21161013c5780637521b7c21461033657806376771d4b146103535780638da5cb5b14610377576101aa565b806339509351146102da57806370a0823114610306578063715018a61461032c576101aa565b806318160ddd1161019357806318160ddd1461026c57806323b872dd14610286578063313ce567146102bc576101aa565b806306fdde03146101af578063095ea7b31461022c575b600080fd5b6101b76104ef565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101f15781810151838201526020016101d9565b50505050905090810190601f16801561021e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102586004803603604081101561024257600080fd5b50600160a060020a0381351690602001356104fe565b604080519115158252519081900360200190f35b61027461051c565b60408051918252519081900360200190f35b6102586004803603606081101561029c57600080fd5b50600160a060020a03813581169160208101359091169060400135610522565b6102c46105a9565b6040805160ff9092168252519081900360200190f35b610258600480360360408110156102f057600080fd5b50600160a060020a0381351690602001356105b3565b6102746004803603602081101561031c57600080fd5b5035600160a060020a0316610601565b61033461061c565b005b6103346004803603602081101561034c57600080fd5b50356106fa565b61035b61077b565b60408051600160a060020a039092168252519081900360200190f35b61035b61078a565b6101b7610799565b61035b6107a3565b610274600480360360208110156103a557600080fd5b5035600160a060020a03166107b2565b61035b6107c4565b610258600480360360408110156103d357600080fd5b50600160a060020a0381351690602001356107d3565b610274600480360360208110156103ff57600080fd5b5035600160a060020a031661083b565b6102586004803603604081101561042557600080fd5b50600160a060020a03813516906020013561084d565b6103346004803603602081101561045157600080fd5b5035600160a060020a0316610861565b6103346004803603602081101561047757600080fd5b5035610901565b6102746004803603604081101561049457600080fd5b50600160a060020a0381358116916020013516610982565b610334600480360360208110156104c257600080fd5b50356109ad565b610334600480360360208110156104df57600080fd5b5035600160a060020a0316610a2e565b60606104f9610b82565b905090565b600061051261050b610bb9565b8484610bbd565b5060015b92915050565b60015490565b600061052f848484610ccf565b61059f8461053b610bb9565b61059a856040518060600160405280602681526020016119ce60269139600160a060020a038a16600090815260036020526040812090610579610bb9565b600160a060020a03168152602081019190915260400160002054919061169c565b610bbd565b5060019392505050565b60006104f961173b565b60006105126105c0610bb9565b8461059a85600360006105d1610bb9565b600160a060020a03908116825260208083019390935260409182016000908120918c168152925290205490611740565b600160a060020a031660009081526002602052604090205490565b610624610bb9565b600160a060020a031661063561078a565b600160a060020a031614610698576040805160008051602061198d833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610702610bb9565b600160a060020a031661071361078a565b600160a060020a031614610776576040805160008051602061198d833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600a55565b600554600160a060020a031681565b600054600160a060020a031690565b60606104f96117a9565b600454600160a060020a031681565b60106020526000908152604090205481565b600654600160a060020a031681565b60006105126107e0610bb9565b8461059a85604051806060016040528060238152602001611903602391396003600061080a610bb9565b600160a060020a03908116825260208083019390935260409182016000908120918d1681529252902054919061169c565b600f6020526000908152604090205481565b600061051261085a610bb9565b8484610ccf565b610869610bb9565b600160a060020a031661087a61078a565b600160a060020a0316146108dd576040805160008051602061198d833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03166000908152600d60205260409020805460ff19166001179055565b610909610bb9565b600160a060020a031661091a61078a565b600160a060020a03161461097d576040805160008051602061198d833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600b55565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b6109b5610bb9565b600160a060020a03166109c661078a565b600160a060020a031614610a29576040805160008051602061198d833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600955565b610a36610bb9565b600160a060020a0316610a4761078a565b600160a060020a031614610aaa576040805160008051602061198d833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a038116610af75760405160008051602061198d83398151915281526004018080602001828103825260268152602001806118b96026913960400191505060405180910390fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff000000000000000000000000000000000000000016600160a060020a0392909216919091179055565b73f5c61968518ec4536295de0f784770df3fbc2ce090565b60408051808201909152601a81527f536f4d6565204164766572746973696e6720546f6b656e205632000000000000602082015290565b3390565b600160a060020a038316610c0a5760405160008051602061198d83398151915281526004018080602001828103825260228152602001806119496022913960400191505060405180910390fd5b600160a060020a038216610c6d576040805160008051602061198d833981519152815260206004820181905260248201527f5341543a20617070726f766520746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b600160a060020a03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b82828260075460001415610d8357600160a060020a0383166000908152600d602052604090205460ff16610d52576040805160008051602061198d833981519152815260206004820152601b60248201527f5341543a207472616e7366657273206172652064697361626c65640000000000604482015290519081900360640190fd5b600654600160a060020a0383811691161415610d7e57426007819055610d7a90610258611740565b6008555b611537565b426007541415610de2576040805160008051602061198d833981519152815260206004820152601c60248201527f5341543a206e6f207472616e73616374696f6e7320616c6c6f77656400000000604482015290519081900360640190fd5b42600754108015610df4575042600854115b1561146657600954811115610e425760405160008051602061198d833981519152815260040180806020018281038252602281526020018061196b6022913960400191505060405180910390fd5b600a543a1115610ea1576040805160008051602061198d833981519152815260206004820152601a60248201527f5341543a206761732070726963652061626f7665206c696d6974000000000000604482015290519081900360640190fd5b600160a060020a0383166000908152600c602052604090205460ff16158015610ee35750600160a060020a0382166000908152600c602052604090205460ff16155b15610fd457600160a060020a0383166000908152600e602052604090205460ff16158015610f2a5750600160a060020a0382166000908152600e602052604090205460ff16155b8015610f465750326000908152600e602052604090205460ff16155b610f895760405160008051602061198d83398151915281526004018080602001828103825260238152602001806119266023913960400191505060405180910390fd5b600160a060020a038381166000908152600e60205260408082208054600160ff1991821681179092559386168352818320805485168217905532835291208054909216179055611184565b600160a060020a0382166000908152600c602052604090205460ff166110ae57600160a060020a0382166000908152600e602052604090205460ff1615801561102d5750326000908152600e602052604090205460ff16155b6110705760405160008051602061198d83398151915281526004018080602001828103825260238152602001806119266023913960400191505060405180910390fd5b600160a060020a0382166000908152600e60205260408082208054600160ff1991821681179092553284529190922080549091169091179055611184565b600160a060020a0383166000908152600c602052604090205460ff1661118457600160a060020a0383166000908152600e602052604090205460ff161580156111075750326000908152600e602052604090205460ff16155b61114a5760405160008051602061198d83398151915281526004018080602001828103825260238152602001806119266023913960400191505060405180910390fd5b600160a060020a0383166000908152600e60205260408082208054600160ff19918216811790925532845291909220805490911690911790555b600654600160a060020a0384811691161415610d7e57600160a060020a0382166000908152600c602052604090205460ff16806111d05750336000908152600c602052604090205460ff165b80156111e257506111e0326117e0565b155b61123b576040805160008051602061198d833981519152815260206004820181905260248201527f5341543a206f6e6c7920756e697377617020726f7574657220616c6c6f776564604482015290519081900360640190fd5b6000600460009054906101000a9004600160a060020a0316600160a060020a031663ad5c46486040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b1580156112a757600080fd5b505afa1580156112bb573d6000803e3d6000fd5b505050506040513d60208110156112d157600080fd5b5051600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152905191909216916370a08231916024808301926020929190829003018186803b15801561133957600080fd5b505afa15801561134d573d6000803e3d6000fd5b505050506040513d602081101561136357600080fd5b505160065490915060009061138090600160a060020a0316610601565b90506000600b548284670de0b6b3a7640000028161139a57fe5b046103e802816113a657fe5b04905060006113b36117e6565b6103e802826113c06117eb565b02816113c857fe5b0490506113d36117eb565b811161140f576113f56113ee826113e86117eb565b906117f2565b4290611740565b600160a060020a0387166000908152600f60205260409020555b60006114196117e6565b6103e8026114278785611857565b8161142e57fe5b04905085811161145c5761144286826117f2565b600160a060020a0388166000908152601060205260409020555b5050505050611537565b600160a060020a0383166000908152600c602052604090205460ff161580156114a75750600160a060020a0383166000908152600f60205260409020544211155b1561153757600160a060020a0383166000908152600260209081526040808320546010909252909120546114dc908390611740565b1115611537576040805160008051602061198d833981519152815260206004820152601360248201527f5341543a206c6f636b65642062616c616e636500000000000000000000000000604482015290519081900360640190fd5b600160a060020a0386166115845760405160008051602061198d8339815191528152600401808060200182810382526023815260200180611a156023913960400191505060405180910390fd5b600160a060020a0385166115d15760405160008051602061198d83398151915281526004018080602001828103825260218152602001806119f46021913960400191505060405180910390fd5b61160e846040518060600160405280602481526020016118df60249139600160a060020a038916600090815260026020526040902054919061169c565b600160a060020a03808816600090815260026020526040808220939093559087168152205461163d9085611740565b600160a060020a0380871660008181526002602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050505050565b600081848411156117335760405160008051602061198d83398151915281526004018080602001828103825283818151815260200191508051906020019080838360005b838110156116f85781810151838201526020016116e0565b50505050905090810190601f1680156117255780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b601290565b6000828201838110156117a2576040805160008051602061198d833981519152815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60408051808201909152600381527f5341540000000000000000000000000000000000000000000000000000000000602082015290565b3b151590565b600a90565b621a5e0090565b600082821115611851576040805160008051602061198d833981519152815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261186657506000610516565b8282028284828161187357fe5b04146117a25760405160008051602061198d83398151915281526004018080602001828103825260218152602001806119ad6021913960400191505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735341543a207472616e7366657220616d6f756e7420657863656564732062616c616e63655341543a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f5341543a206f6e6c79206f6e6520747820696e20726573747269637465642074696d655341543a20617070726f76652066726f6d20746865207a65726f20616464726573735341543a20616d6f756e742067726561746572207468616e206d6178206c696d697408c379a000000000000000000000000000000000000000000000000000000000536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775341543a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655341543a207472616e7366657220746f20746865207a65726f20616464726573735341543a207472616e736665722066726f6d20746865207a65726f2061646472657373a2646970667358221220023d335568731731d7b60a009a57c594fb4ea2a0a8e89a3a70a2aa68ce2e365964736f6c634300060c00330000000000000000000000000000000000000000000000000000007039705400000000000000000000000000000000000000000000006ce3697777f8b2f08800
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101aa576000357c01000000000000000000000000000000000000000000000000000000009004806395d89b4111610100578063a9059cbb116100a9578063dd62ed3e11610083578063dd62ed3e1461047e578063f2f82712146104ac578063f2fde38b146104c9576101aa565b8063a9059cbb1461040f578063b697f5311461043b578063cf607eaa14610461576101aa565b8063a1d4958c116100da578063a1d4958c146103b5578063a457c2d7146103bd578063a4beda63146103e9576101aa565b806395d89b411461037f578063a0e47bf614610387578063a153e7081461038f576101aa565b806339509351116101625780637521b7c21161013c5780637521b7c21461033657806376771d4b146103535780638da5cb5b14610377576101aa565b806339509351146102da57806370a0823114610306578063715018a61461032c576101aa565b806318160ddd1161019357806318160ddd1461026c57806323b872dd14610286578063313ce567146102bc576101aa565b806306fdde03146101af578063095ea7b31461022c575b600080fd5b6101b76104ef565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101f15781810151838201526020016101d9565b50505050905090810190601f16801561021e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102586004803603604081101561024257600080fd5b50600160a060020a0381351690602001356104fe565b604080519115158252519081900360200190f35b61027461051c565b60408051918252519081900360200190f35b6102586004803603606081101561029c57600080fd5b50600160a060020a03813581169160208101359091169060400135610522565b6102c46105a9565b6040805160ff9092168252519081900360200190f35b610258600480360360408110156102f057600080fd5b50600160a060020a0381351690602001356105b3565b6102746004803603602081101561031c57600080fd5b5035600160a060020a0316610601565b61033461061c565b005b6103346004803603602081101561034c57600080fd5b50356106fa565b61035b61077b565b60408051600160a060020a039092168252519081900360200190f35b61035b61078a565b6101b7610799565b61035b6107a3565b610274600480360360208110156103a557600080fd5b5035600160a060020a03166107b2565b61035b6107c4565b610258600480360360408110156103d357600080fd5b50600160a060020a0381351690602001356107d3565b610274600480360360208110156103ff57600080fd5b5035600160a060020a031661083b565b6102586004803603604081101561042557600080fd5b50600160a060020a03813516906020013561084d565b6103346004803603602081101561045157600080fd5b5035600160a060020a0316610861565b6103346004803603602081101561047757600080fd5b5035610901565b6102746004803603604081101561049457600080fd5b50600160a060020a0381358116916020013516610982565b610334600480360360208110156104c257600080fd5b50356109ad565b610334600480360360208110156104df57600080fd5b5035600160a060020a0316610a2e565b60606104f9610b82565b905090565b600061051261050b610bb9565b8484610bbd565b5060015b92915050565b60015490565b600061052f848484610ccf565b61059f8461053b610bb9565b61059a856040518060600160405280602681526020016119ce60269139600160a060020a038a16600090815260036020526040812090610579610bb9565b600160a060020a03168152602081019190915260400160002054919061169c565b610bbd565b5060019392505050565b60006104f961173b565b60006105126105c0610bb9565b8461059a85600360006105d1610bb9565b600160a060020a03908116825260208083019390935260409182016000908120918c168152925290205490611740565b600160a060020a031660009081526002602052604090205490565b610624610bb9565b600160a060020a031661063561078a565b600160a060020a031614610698576040805160008051602061198d833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610702610bb9565b600160a060020a031661071361078a565b600160a060020a031614610776576040805160008051602061198d833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600a55565b600554600160a060020a031681565b600054600160a060020a031690565b60606104f96117a9565b600454600160a060020a031681565b60106020526000908152604090205481565b600654600160a060020a031681565b60006105126107e0610bb9565b8461059a85604051806060016040528060238152602001611903602391396003600061080a610bb9565b600160a060020a03908116825260208083019390935260409182016000908120918d1681529252902054919061169c565b600f6020526000908152604090205481565b600061051261085a610bb9565b8484610ccf565b610869610bb9565b600160a060020a031661087a61078a565b600160a060020a0316146108dd576040805160008051602061198d833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03166000908152600d60205260409020805460ff19166001179055565b610909610bb9565b600160a060020a031661091a61078a565b600160a060020a03161461097d576040805160008051602061198d833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600b55565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b6109b5610bb9565b600160a060020a03166109c661078a565b600160a060020a031614610a29576040805160008051602061198d833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600955565b610a36610bb9565b600160a060020a0316610a4761078a565b600160a060020a031614610aaa576040805160008051602061198d833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a038116610af75760405160008051602061198d83398151915281526004018080602001828103825260268152602001806118b96026913960400191505060405180910390fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff000000000000000000000000000000000000000016600160a060020a0392909216919091179055565b73f5c61968518ec4536295de0f784770df3fbc2ce090565b60408051808201909152601a81527f536f4d6565204164766572746973696e6720546f6b656e205632000000000000602082015290565b3390565b600160a060020a038316610c0a5760405160008051602061198d83398151915281526004018080602001828103825260228152602001806119496022913960400191505060405180910390fd5b600160a060020a038216610c6d576040805160008051602061198d833981519152815260206004820181905260248201527f5341543a20617070726f766520746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b600160a060020a03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b82828260075460001415610d8357600160a060020a0383166000908152600d602052604090205460ff16610d52576040805160008051602061198d833981519152815260206004820152601b60248201527f5341543a207472616e7366657273206172652064697361626c65640000000000604482015290519081900360640190fd5b600654600160a060020a0383811691161415610d7e57426007819055610d7a90610258611740565b6008555b611537565b426007541415610de2576040805160008051602061198d833981519152815260206004820152601c60248201527f5341543a206e6f207472616e73616374696f6e7320616c6c6f77656400000000604482015290519081900360640190fd5b42600754108015610df4575042600854115b1561146657600954811115610e425760405160008051602061198d833981519152815260040180806020018281038252602281526020018061196b6022913960400191505060405180910390fd5b600a543a1115610ea1576040805160008051602061198d833981519152815260206004820152601a60248201527f5341543a206761732070726963652061626f7665206c696d6974000000000000604482015290519081900360640190fd5b600160a060020a0383166000908152600c602052604090205460ff16158015610ee35750600160a060020a0382166000908152600c602052604090205460ff16155b15610fd457600160a060020a0383166000908152600e602052604090205460ff16158015610f2a5750600160a060020a0382166000908152600e602052604090205460ff16155b8015610f465750326000908152600e602052604090205460ff16155b610f895760405160008051602061198d83398151915281526004018080602001828103825260238152602001806119266023913960400191505060405180910390fd5b600160a060020a038381166000908152600e60205260408082208054600160ff1991821681179092559386168352818320805485168217905532835291208054909216179055611184565b600160a060020a0382166000908152600c602052604090205460ff166110ae57600160a060020a0382166000908152600e602052604090205460ff1615801561102d5750326000908152600e602052604090205460ff16155b6110705760405160008051602061198d83398151915281526004018080602001828103825260238152602001806119266023913960400191505060405180910390fd5b600160a060020a0382166000908152600e60205260408082208054600160ff1991821681179092553284529190922080549091169091179055611184565b600160a060020a0383166000908152600c602052604090205460ff1661118457600160a060020a0383166000908152600e602052604090205460ff161580156111075750326000908152600e602052604090205460ff16155b61114a5760405160008051602061198d83398151915281526004018080602001828103825260238152602001806119266023913960400191505060405180910390fd5b600160a060020a0383166000908152600e60205260408082208054600160ff19918216811790925532845291909220805490911690911790555b600654600160a060020a0384811691161415610d7e57600160a060020a0382166000908152600c602052604090205460ff16806111d05750336000908152600c602052604090205460ff165b80156111e257506111e0326117e0565b155b61123b576040805160008051602061198d833981519152815260206004820181905260248201527f5341543a206f6e6c7920756e697377617020726f7574657220616c6c6f776564604482015290519081900360640190fd5b6000600460009054906101000a9004600160a060020a0316600160a060020a031663ad5c46486040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b1580156112a757600080fd5b505afa1580156112bb573d6000803e3d6000fd5b505050506040513d60208110156112d157600080fd5b5051600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152905191909216916370a08231916024808301926020929190829003018186803b15801561133957600080fd5b505afa15801561134d573d6000803e3d6000fd5b505050506040513d602081101561136357600080fd5b505160065490915060009061138090600160a060020a0316610601565b90506000600b548284670de0b6b3a7640000028161139a57fe5b046103e802816113a657fe5b04905060006113b36117e6565b6103e802826113c06117eb565b02816113c857fe5b0490506113d36117eb565b811161140f576113f56113ee826113e86117eb565b906117f2565b4290611740565b600160a060020a0387166000908152600f60205260409020555b60006114196117e6565b6103e8026114278785611857565b8161142e57fe5b04905085811161145c5761144286826117f2565b600160a060020a0388166000908152601060205260409020555b5050505050611537565b600160a060020a0383166000908152600c602052604090205460ff161580156114a75750600160a060020a0383166000908152600f60205260409020544211155b1561153757600160a060020a0383166000908152600260209081526040808320546010909252909120546114dc908390611740565b1115611537576040805160008051602061198d833981519152815260206004820152601360248201527f5341543a206c6f636b65642062616c616e636500000000000000000000000000604482015290519081900360640190fd5b600160a060020a0386166115845760405160008051602061198d8339815191528152600401808060200182810382526023815260200180611a156023913960400191505060405180910390fd5b600160a060020a0385166115d15760405160008051602061198d83398151915281526004018080602001828103825260218152602001806119f46021913960400191505060405180910390fd5b61160e846040518060600160405280602481526020016118df60249139600160a060020a038916600090815260026020526040902054919061169c565b600160a060020a03808816600090815260026020526040808220939093559087168152205461163d9085611740565b600160a060020a0380871660008181526002602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050505050565b600081848411156117335760405160008051602061198d83398151915281526004018080602001828103825283818151815260200191508051906020019080838360005b838110156116f85781810151838201526020016116e0565b50505050905090810190601f1680156117255780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b601290565b6000828201838110156117a2576040805160008051602061198d833981519152815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60408051808201909152600381527f5341540000000000000000000000000000000000000000000000000000000000602082015290565b3b151590565b600a90565b621a5e0090565b600082821115611851576040805160008051602061198d833981519152815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261186657506000610516565b8282028284828161187357fe5b04146117a25760405160008051602061198d83398151915281526004018080602001828103825260218152602001806119ad6021913960400191505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735341543a207472616e7366657220616d6f756e7420657863656564732062616c616e63655341543a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f5341543a206f6e6c79206f6e6520747820696e20726573747269637465642074696d655341543a20617070726f76652066726f6d20746865207a65726f20616464726573735341543a20616d6f756e742067726561746572207468616e206d6178206c696d697408c379a000000000000000000000000000000000000000000000000000000000536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775341543a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655341543a207472616e7366657220746f20746865207a65726f20616464726573735341543a207472616e736665722066726f6d20746865207a65726f2061646472657373a2646970667358221220023d335568731731d7b60a009a57c594fb4ea2a0a8e89a3a70a2aa68ce2e365964736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000007039705400000000000000000000000000000000000000000000006ce3697777f8b2f08800
-----Decoded View---------------
Arg [0] : _gas (uint256): 482000000000
Arg [1] : _amount (uint256): 514210590729460000000000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000007039705400
Arg [1] : 000000000000000000000000000000000000000000006ce3697777f8b2f08800
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.999123 | 1,000 | $999.12 |
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.