New FOLO Token rebrand and migration announcement.
ERC-20
Overview
Max Total Supply
418,588,042.739374114679119226 IMPACT
Holders
1,262 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
2,999.99999999916 IMPACTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
IMPACT
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 ImpactConstants { string private constant _name = "Alpha Impact"; string private constant _symbol = "IMPACT"; uint8 private constant _decimals = 18; address private constant _tokenOwner = 0xb8E63Cb1E3E5595b8B4d64C6E6020015643E1062; 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 IMPACT is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; uint256 _totalSupply = 424128123 * 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; bool public paused; 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; _balances[ImpactConstants.getTokenOwner()] = _totalSupply; emit Transfer(address(0), ImpactConstants.getTokenOwner(), _totalSupply); } function name() public view returns (string memory) { return ImpactConstants.getName(); } function symbol() public view returns (string memory) { return ImpactConstants.getSymbol(); } function decimals() public view returns (uint8) { return ImpactConstants.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, "IMPACT: 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, "IMPACT: decreased allowance below zero")); return true; } function burn(address account, uint256 amount) public returns (bool) { require(account != address(0), "IMPACT: burn from zero address"); require(_balances[account] >= amount, "IMPACT: burn amount exceeds balance"); _balances[account] = _balances[account].sub(amount); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); return true; } function _transfer(address sender, address recipient, uint256 amount) private notPaused launchRestrict(sender, recipient, amount) { require(sender != address(0), "IMPACT: transfer from the zero address"); require(recipient != address(0), "IMPACT: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "IMPACT: 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), "IMPACT: approve from the zero address"); require(spender != address(0), "IMPACT: 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 whitelistAccount(address account) external onlyOwner() { _isWhitelisted[account] = true; } function addSender(address account) external onlyOwner() { _openSender[account] = true; } function setLaunchPrice(uint256 price) external onlyOwner() { _launchPrice = price; } function emergencyPause(bool _state) external onlyOwner() { paused = _state; } modifier launchRestrict(address sender, address recipient, uint256 amount) { if (_tradingTime == 0) { require(_openSender[sender],"IMPACT: transfers are disabled"); if (recipient == launchPool) { _tradingTime = now; _restrictionLiftTime = now.add(10*60); } } else if (_tradingTime <= now && _restrictionLiftTime > now) { require(amount <= _maxRestrictionAmount, "IMPACT: amount greater than max limit"); require(tx.gasprice <= _restrictionGas,"IMPACT: gas price above limit"); if (!_isWhitelisted[sender] && !_isWhitelisted[recipient]) { require(!_lastTx[sender] && !_lastTx[recipient], "IMPACT: only one tx in restricted time"); _lastTx[sender] = true; _lastTx[recipient] = true; } else if (!_isWhitelisted[recipient]){ require(!_lastTx[recipient], "IMPACT: only one tx in restricted time"); _lastTx[recipient] = true; } else if (!_isWhitelisted[sender]) { require(!_lastTx[sender], "IMPACT: only one tx in restricted time"); _lastTx[sender] = 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] || !Address.isContract(recipient), "IMPACT: recipient can't be contract"); uint256 ethBal = IERC20(address(uniRouter.WETH())).balanceOf(launchPool); uint256 tokenBal = balanceOf(launchPool); uint256 curPriceMultiple = (ethBal * 10**18 / tokenBal) * 10**3 / _launchPrice; uint256 timeDelay = ImpactConstants.getMaxLock()*curPriceMultiple/(10**3 * ImpactConstants.getUnlockMultiple()); if (timeDelay <= ImpactConstants.getMaxLock()) { lockTime[recipient] = now.add(ImpactConstants.getMaxLock().sub(timeDelay)); } uint256 unlockAmount = amount.mul(curPriceMultiple)/(10**3 * ImpactConstants.getUnlockMultiple()); if (unlockAmount <= amount) { lockedAmount[recipient] = amount.sub(unlockAmount); } } } else { if (!_isWhitelisted[sender] && lockTime[sender] >= now) { require(amount.add(lockedAmount[sender]) <= _balances[sender], "IMPACT: locked balance"); } } _; } modifier notPaused() { require(!paused, "IMPACT: token transfer while paused"); _; } }
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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"emergencyPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"whitelistAccount","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526b015ed49f9e5214d3650c00006001553480156200002157600080fd5b506040516200207838038062002078833981810160405260408110156200004757600080fd5b508051602090910151600062000065640100000000620002ed810204565b60008054600160a060020a031916600160a060020a0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060048054600160a060020a0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d1780835560058054909216735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f1791829055604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051600160a060020a039384169463c9c6539694939093169263ad5c464892808201926020929091829003018186803b1580156200015d57600080fd5b505afa15801562000172573d6000803e3d6000fd5b505050506040513d60208110156200018957600080fd5b5051604080517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301523060248301525160448083019260209291908290030181600087803b158015620001f057600080fd5b505af115801562000205573d6000803e3d6000fd5b505050506040513d60208110156200021c57600080fd5b505160068054600160a060020a031916600160a060020a039092169190911790556009819055600a8290556001546002600062000266640100000000620002f1810262000ea11704565b600160a060020a031681526020810191909152604001600020556200029864010000000062000ea1620002f182021704565b600160a060020a03166000600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6001546040518082815260200191505060405180910390a3505062000309565b3390565b73b8e63cb1e3e5595b8b4d64c6e6020015643e106290565b611d5f80620003196000396000f3fe608060405234801561001057600080fd5b50600436106101d6576000357c01000000000000000000000000000000000000000000000000000000009004806395d89b4111610116578063a9059cbb116100b4578063dd62ed3e1161008e578063dd62ed3e14610504578063e8f6940e14610532578063f2f8271214610551578063f2fde38b1461056e576101d6565b8063a9059cbb14610495578063b697f531146104c1578063cf607eaa146104e7576101d6565b8063a153e708116100f0578063a153e70814610415578063a1d4958c1461043b578063a457c2d714610443578063a4beda631461046f576101d6565b806395d89b41146103d95780639dc29fac146103e1578063a0e47bf61461040d576101d6565b80635c975abb11610183578063715018a61161015d578063715018a6146103885780637521b7c21461039057806376771d4b146103ad5780638da5cb5b146103d1576101d6565b80635c975abb1461033257806363e0c2f81461033a57806370a0823114610362576101d6565b806323b872dd116101b457806323b872dd146102b2578063313ce567146102e85780633950935114610306576101d6565b806306fdde03146101db578063095ea7b31461025857806318160ddd14610298575b600080fd5b6101e3610594565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561021d578181015183820152602001610205565b50505050905090810190601f16801561024a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102846004803603604081101561026e57600080fd5b50600160a060020a0381351690602001356105a3565b604080519115158252519081900360200190f35b6102a06105c1565b60408051918252519081900360200190f35b610284600480360360608110156102c857600080fd5b50600160a060020a038135811691602081013590911690604001356105c7565b6102f061064e565b6040805160ff9092168252519081900360200190f35b6102846004803603604081101561031c57600080fd5b50600160a060020a038135169060200135610658565b6102846106a6565b6103606004803603602081101561035057600080fd5b5035600160a060020a03166106af565b005b6102a06004803603602081101561037857600080fd5b5035600160a060020a031661074f565b61036061076a565b610360600480360360208110156103a657600080fd5b5035610848565b6103b56108c9565b60408051600160a060020a039092168252519081900360200190f35b6103b56108d8565b6101e36108e7565b610284600480360360408110156103f757600080fd5b50600160a060020a0381351690602001356108f1565b6103b5610a4b565b6102a06004803603602081101561042b57600080fd5b5035600160a060020a0316610a5a565b6103b5610a6c565b6102846004803603604081101561045957600080fd5b50600160a060020a038135169060200135610a7b565b6102a06004803603602081101561048557600080fd5b5035600160a060020a0316610ae3565b610284600480360360408110156104ab57600080fd5b50600160a060020a038135169060200135610af5565b610360600480360360208110156104d757600080fd5b5035600160a060020a0316610b09565b610360600480360360208110156104fd57600080fd5b5035610ba9565b6102a06004803603604081101561051a57600080fd5b50600160a060020a0381358116916020013516610c2a565b6103606004803603602081101561054857600080fd5b50351515610c55565b6103606004803603602081101561056757600080fd5b5035610ce4565b6103606004803603602081101561058457600080fd5b5035600160a060020a0316610d65565b606061059e610eb9565b905090565b60006105b76105b0610ef0565b8484610ef4565b5060015b92915050565b60015490565b60006105d4848484610ff0565b610644846105e0610ef0565b61063f85604051806060016040528060298152602001611c4360299139600160a060020a038a1660009081526003602052604081209061061e610ef0565b600160a060020a0316815260208101919091526040016000205491906118ea565b610ef4565b5060019392505050565b600061059e611989565b60006105b7610665610ef0565b8461063f8560036000610676610ef0565b600160a060020a03908116825260208083019390935260409182016000908120918c16815292529020549061198e565b600c5460ff1681565b6106b7610ef0565b600160a060020a03166106c86108d8565b600160a060020a03161461072b5760408051600080516020611bdd833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03166000908152600d60205260409020805460ff19166001179055565b600160a060020a031660009081526002602052604090205490565b610772610ef0565b600160a060020a03166107836108d8565b600160a060020a0316146107e65760408051600080516020611bdd833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610850610ef0565b600160a060020a03166108616108d8565b600160a060020a0316146108c45760408051600080516020611bdd833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600a55565b600554600160a060020a031681565b600054600160a060020a031690565b606061059e6119f7565b6000600160a060020a0383166109565760408051600080516020611bdd833981519152815260206004820152601e60248201527f494d504143543a206275726e2066726f6d207a65726f20616464726573730000604482015290519081900360640190fd5b600160a060020a0383166000908152600260205260409020548211156109b557604051600080516020611bdd8339815191528152600401808060200182810382526023815260200180611b076023913960400191505060405180910390fd5b600160a060020a0383166000908152600260205260409020546109d89083611a2e565b600160a060020a0384166000908152600260205260409020556001546109fe9083611a2e565b600155604080518381529051600091600160a060020a038616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350600192915050565b600454600160a060020a031681565b60116020526000908152604090205481565b600654600160a060020a031681565b60006105b7610a88610ef0565b8461063f85604051806060016040528060268152602001611c936026913960036000610ab2610ef0565b600160a060020a03908116825260208083019390935260409182016000908120918d168152925290205491906118ea565b60106020526000908152604090205481565b60006105b7610b02610ef0565b8484610ff0565b610b11610ef0565b600160a060020a0316610b226108d8565b600160a060020a031614610b855760408051600080516020611bdd833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03166000908152600e60205260409020805460ff19166001179055565b610bb1610ef0565b600160a060020a0316610bc26108d8565b600160a060020a031614610c255760408051600080516020611bdd833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600b55565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b610c5d610ef0565b600160a060020a0316610c6e6108d8565b600160a060020a031614610cd15760408051600080516020611bdd833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600c805460ff1916911515919091179055565b610cec610ef0565b600160a060020a0316610cfd6108d8565b600160a060020a031614610d605760408051600080516020611bdd833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600955565b610d6d610ef0565b600160a060020a0316610d7e6108d8565b600160a060020a031614610de15760408051600080516020611bdd833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a038116610e2e57604051600080516020611bdd8339815191528152600401808060200182810382526026815260200180611b2a6026913960400191505060405180910390fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff000000000000000000000000000000000000000016600160a060020a0392909216919091179055565b73b8e63cb1e3e5595b8b4d64c6e6020015643e106290565b60408051808201909152600c81527f416c70686120496d706163740000000000000000000000000000000000000000602082015290565b3390565b600160a060020a038316610f4157604051600080516020611bdd8339815191528152600401808060200182810382526025815260200180611cdf6025913960400191505060405180910390fd5b600160a060020a038216610f8e57604051600080516020611bdd8339815191528152600401808060200182810382526023815260200180611bba6023913960400191505060405180910390fd5b600160a060020a03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600c5460ff161561103a57604051600080516020611bdd8339815191528152600401808060200182810382526023815260200180611b736023913960400191505060405180910390fd5b828282600754600014156110ee57600160a060020a0383166000908152600e602052604090205460ff166110bd5760408051600080516020611bdd833981519152815260206004820152601e60248201527f494d504143543a207472616e7366657273206172652064697361626c65640000604482015290519081900360640190fd5b600654600160a060020a03838116911614156110e9574260078190556110e59061025861198e565b6008555b611785565b4260075411158015611101575042600854115b156116b45760095481111561114f57604051600080516020611bdd8339815191528152600401808060200182810382526025815260200180611bfd6025913960400191505060405180910390fd5b600a543a11156111ae5760408051600080516020611bdd833981519152815260206004820152601d60248201527f494d504143543a206761732070726963652061626f7665206c696d6974000000604482015290519081900360640190fd5b600160a060020a0383166000908152600d602052604090205460ff161580156111f05750600160a060020a0382166000908152600d602052604090205460ff16155b156112b757600160a060020a0383166000908152600f602052604090205460ff161580156112375750600160a060020a0382166000908152600f602052604090205460ff16155b61127a57604051600080516020611bdd8339815191528152600401808060200182810382526026815260200180611d046026913960400191505060405180910390fd5b600160a060020a038381166000908152600f60205260408082208054600160ff199182168117909255938616835291208054909216179055611403565b600160a060020a0382166000908152600d602052604090205460ff1661135f57600160a060020a0382166000908152600f602052604090205460ff161561133757604051600080516020611bdd8339815191528152600401808060200182810382526026815260200180611d046026913960400191505060405180910390fd5b600160a060020a0382166000908152600f60205260409020805460ff19166001179055611403565b600160a060020a0383166000908152600d602052604090205460ff1661140357600160a060020a0383166000908152600f602052604090205460ff16156113df57604051600080516020611bdd8339815191528152600401808060200182810382526026815260200180611d046026913960400191505060405180910390fd5b600160a060020a0383166000908152600f60205260409020805460ff191660011790555b600654600160a060020a03848116911614156110e957600160a060020a0382166000908152600d602052604090205460ff1680611446575061144482611a93565b155b61148957604051600080516020611bdd8339815191528152600401808060200182810382526023815260200180611b506023913960400191505060405180910390fd5b6000600460009054906101000a9004600160a060020a0316600160a060020a031663ad5c46486040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b1580156114f557600080fd5b505afa158015611509573d6000803e3d6000fd5b505050506040513d602081101561151f57600080fd5b5051600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152905191909216916370a08231916024808301926020929190829003018186803b15801561158757600080fd5b505afa15801561159b573d6000803e3d6000fd5b505050506040513d60208110156115b157600080fd5b50516006549091506000906115ce90600160a060020a031661074f565b90506000600b548284670de0b6b3a764000002816115e857fe5b046103e802816115f457fe5b0490506000611601611a99565b6103e8028261160e611a9e565b028161161657fe5b049050611621611a9e565b811161165d5761164361163c82611636611a9e565b90611a2e565b429061198e565b600160a060020a0387166000908152601060205260409020555b6000611667611a99565b6103e8026116758785611aa5565b8161167c57fe5b0490508581116116aa576116908682611a2e565b600160a060020a0388166000908152601160205260409020555b5050505050611785565b600160a060020a0383166000908152600d602052604090205460ff161580156116f55750600160a060020a0383166000908152601060205260409020544211155b1561178557600160a060020a03831660009081526002602090815260408083205460119092529091205461172a90839061198e565b11156117855760408051600080516020611bdd833981519152815260206004820152601660248201527f494d504143543a206c6f636b65642062616c616e636500000000000000000000604482015290519081900360640190fd5b600160a060020a0386166117d257604051600080516020611bdd8339815191528152600401808060200182810382526026815260200180611cb96026913960400191505060405180910390fd5b600160a060020a03851661181f57604051600080516020611bdd8339815191528152600401808060200182810382526024815260200180611b966024913960400191505060405180910390fd5b61185c84604051806060016040528060278152602001611c6c60279139600160a060020a03891660009081526002602052604090205491906118ea565b600160a060020a03808816600090815260026020526040808220939093559087168152205461188b908561198e565b600160a060020a0380871660008181526002602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050505050565b6000818484111561198157604051600080516020611bdd83398151915281526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561194657818101518382015260200161192e565b50505050905090810190601f1680156119735780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b601290565b6000828201838110156119f05760408051600080516020611bdd833981519152815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60408051808201909152600681527f494d504143540000000000000000000000000000000000000000000000000000602082015290565b600082821115611a8d5760408051600080516020611bdd833981519152815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b3b151590565b600a90565b621a5e0090565b600082611ab4575060006105bb565b82820282848281611ac157fe5b04146119f057604051600080516020611bdd8339815191528152600401808060200182810382526021815260200180611c226021913960400191505060405180910390fdfe494d504143543a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373494d504143543a20726563697069656e742063616e277420626520636f6e7472616374494d504143543a20746f6b656e207472616e73666572207768696c6520706175736564494d504143543a207472616e7366657220746f20746865207a65726f2061646472657373494d504143543a20617070726f766520746f20746865207a65726f206164647265737308c379a000000000000000000000000000000000000000000000000000000000494d504143543a20616d6f756e742067726561746572207468616e206d6178206c696d6974536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77494d504143543a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365494d504143543a207472616e7366657220616d6f756e7420657863656564732062616c616e6365494d504143543a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f494d504143543a207472616e736665722066726f6d20746865207a65726f2061646472657373494d504143543a20617070726f76652066726f6d20746865207a65726f2061646472657373494d504143543a206f6e6c79206f6e6520747820696e20726573747269637465642074696d65a26469706673582212201392266226577a5bbc6ba9e5560ddf5f2a6f0b9c3543fddd0ac316d367c1f83a64736f6c634300060c00330000000000000000000000000000000000000000000000000000006cf6f948000000000000000000000000000000000000000000000006194049f30f72000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101d6576000357c01000000000000000000000000000000000000000000000000000000009004806395d89b4111610116578063a9059cbb116100b4578063dd62ed3e1161008e578063dd62ed3e14610504578063e8f6940e14610532578063f2f8271214610551578063f2fde38b1461056e576101d6565b8063a9059cbb14610495578063b697f531146104c1578063cf607eaa146104e7576101d6565b8063a153e708116100f0578063a153e70814610415578063a1d4958c1461043b578063a457c2d714610443578063a4beda631461046f576101d6565b806395d89b41146103d95780639dc29fac146103e1578063a0e47bf61461040d576101d6565b80635c975abb11610183578063715018a61161015d578063715018a6146103885780637521b7c21461039057806376771d4b146103ad5780638da5cb5b146103d1576101d6565b80635c975abb1461033257806363e0c2f81461033a57806370a0823114610362576101d6565b806323b872dd116101b457806323b872dd146102b2578063313ce567146102e85780633950935114610306576101d6565b806306fdde03146101db578063095ea7b31461025857806318160ddd14610298575b600080fd5b6101e3610594565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561021d578181015183820152602001610205565b50505050905090810190601f16801561024a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102846004803603604081101561026e57600080fd5b50600160a060020a0381351690602001356105a3565b604080519115158252519081900360200190f35b6102a06105c1565b60408051918252519081900360200190f35b610284600480360360608110156102c857600080fd5b50600160a060020a038135811691602081013590911690604001356105c7565b6102f061064e565b6040805160ff9092168252519081900360200190f35b6102846004803603604081101561031c57600080fd5b50600160a060020a038135169060200135610658565b6102846106a6565b6103606004803603602081101561035057600080fd5b5035600160a060020a03166106af565b005b6102a06004803603602081101561037857600080fd5b5035600160a060020a031661074f565b61036061076a565b610360600480360360208110156103a657600080fd5b5035610848565b6103b56108c9565b60408051600160a060020a039092168252519081900360200190f35b6103b56108d8565b6101e36108e7565b610284600480360360408110156103f757600080fd5b50600160a060020a0381351690602001356108f1565b6103b5610a4b565b6102a06004803603602081101561042b57600080fd5b5035600160a060020a0316610a5a565b6103b5610a6c565b6102846004803603604081101561045957600080fd5b50600160a060020a038135169060200135610a7b565b6102a06004803603602081101561048557600080fd5b5035600160a060020a0316610ae3565b610284600480360360408110156104ab57600080fd5b50600160a060020a038135169060200135610af5565b610360600480360360208110156104d757600080fd5b5035600160a060020a0316610b09565b610360600480360360208110156104fd57600080fd5b5035610ba9565b6102a06004803603604081101561051a57600080fd5b50600160a060020a0381358116916020013516610c2a565b6103606004803603602081101561054857600080fd5b50351515610c55565b6103606004803603602081101561056757600080fd5b5035610ce4565b6103606004803603602081101561058457600080fd5b5035600160a060020a0316610d65565b606061059e610eb9565b905090565b60006105b76105b0610ef0565b8484610ef4565b5060015b92915050565b60015490565b60006105d4848484610ff0565b610644846105e0610ef0565b61063f85604051806060016040528060298152602001611c4360299139600160a060020a038a1660009081526003602052604081209061061e610ef0565b600160a060020a0316815260208101919091526040016000205491906118ea565b610ef4565b5060019392505050565b600061059e611989565b60006105b7610665610ef0565b8461063f8560036000610676610ef0565b600160a060020a03908116825260208083019390935260409182016000908120918c16815292529020549061198e565b600c5460ff1681565b6106b7610ef0565b600160a060020a03166106c86108d8565b600160a060020a03161461072b5760408051600080516020611bdd833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03166000908152600d60205260409020805460ff19166001179055565b600160a060020a031660009081526002602052604090205490565b610772610ef0565b600160a060020a03166107836108d8565b600160a060020a0316146107e65760408051600080516020611bdd833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610850610ef0565b600160a060020a03166108616108d8565b600160a060020a0316146108c45760408051600080516020611bdd833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600a55565b600554600160a060020a031681565b600054600160a060020a031690565b606061059e6119f7565b6000600160a060020a0383166109565760408051600080516020611bdd833981519152815260206004820152601e60248201527f494d504143543a206275726e2066726f6d207a65726f20616464726573730000604482015290519081900360640190fd5b600160a060020a0383166000908152600260205260409020548211156109b557604051600080516020611bdd8339815191528152600401808060200182810382526023815260200180611b076023913960400191505060405180910390fd5b600160a060020a0383166000908152600260205260409020546109d89083611a2e565b600160a060020a0384166000908152600260205260409020556001546109fe9083611a2e565b600155604080518381529051600091600160a060020a038616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350600192915050565b600454600160a060020a031681565b60116020526000908152604090205481565b600654600160a060020a031681565b60006105b7610a88610ef0565b8461063f85604051806060016040528060268152602001611c936026913960036000610ab2610ef0565b600160a060020a03908116825260208083019390935260409182016000908120918d168152925290205491906118ea565b60106020526000908152604090205481565b60006105b7610b02610ef0565b8484610ff0565b610b11610ef0565b600160a060020a0316610b226108d8565b600160a060020a031614610b855760408051600080516020611bdd833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a03166000908152600e60205260409020805460ff19166001179055565b610bb1610ef0565b600160a060020a0316610bc26108d8565b600160a060020a031614610c255760408051600080516020611bdd833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600b55565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b610c5d610ef0565b600160a060020a0316610c6e6108d8565b600160a060020a031614610cd15760408051600080516020611bdd833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600c805460ff1916911515919091179055565b610cec610ef0565b600160a060020a0316610cfd6108d8565b600160a060020a031614610d605760408051600080516020611bdd833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600955565b610d6d610ef0565b600160a060020a0316610d7e6108d8565b600160a060020a031614610de15760408051600080516020611bdd833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600160a060020a038116610e2e57604051600080516020611bdd8339815191528152600401808060200182810382526026815260200180611b2a6026913960400191505060405180910390fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff000000000000000000000000000000000000000016600160a060020a0392909216919091179055565b73b8e63cb1e3e5595b8b4d64c6e6020015643e106290565b60408051808201909152600c81527f416c70686120496d706163740000000000000000000000000000000000000000602082015290565b3390565b600160a060020a038316610f4157604051600080516020611bdd8339815191528152600401808060200182810382526025815260200180611cdf6025913960400191505060405180910390fd5b600160a060020a038216610f8e57604051600080516020611bdd8339815191528152600401808060200182810382526023815260200180611bba6023913960400191505060405180910390fd5b600160a060020a03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600c5460ff161561103a57604051600080516020611bdd8339815191528152600401808060200182810382526023815260200180611b736023913960400191505060405180910390fd5b828282600754600014156110ee57600160a060020a0383166000908152600e602052604090205460ff166110bd5760408051600080516020611bdd833981519152815260206004820152601e60248201527f494d504143543a207472616e7366657273206172652064697361626c65640000604482015290519081900360640190fd5b600654600160a060020a03838116911614156110e9574260078190556110e59061025861198e565b6008555b611785565b4260075411158015611101575042600854115b156116b45760095481111561114f57604051600080516020611bdd8339815191528152600401808060200182810382526025815260200180611bfd6025913960400191505060405180910390fd5b600a543a11156111ae5760408051600080516020611bdd833981519152815260206004820152601d60248201527f494d504143543a206761732070726963652061626f7665206c696d6974000000604482015290519081900360640190fd5b600160a060020a0383166000908152600d602052604090205460ff161580156111f05750600160a060020a0382166000908152600d602052604090205460ff16155b156112b757600160a060020a0383166000908152600f602052604090205460ff161580156112375750600160a060020a0382166000908152600f602052604090205460ff16155b61127a57604051600080516020611bdd8339815191528152600401808060200182810382526026815260200180611d046026913960400191505060405180910390fd5b600160a060020a038381166000908152600f60205260408082208054600160ff199182168117909255938616835291208054909216179055611403565b600160a060020a0382166000908152600d602052604090205460ff1661135f57600160a060020a0382166000908152600f602052604090205460ff161561133757604051600080516020611bdd8339815191528152600401808060200182810382526026815260200180611d046026913960400191505060405180910390fd5b600160a060020a0382166000908152600f60205260409020805460ff19166001179055611403565b600160a060020a0383166000908152600d602052604090205460ff1661140357600160a060020a0383166000908152600f602052604090205460ff16156113df57604051600080516020611bdd8339815191528152600401808060200182810382526026815260200180611d046026913960400191505060405180910390fd5b600160a060020a0383166000908152600f60205260409020805460ff191660011790555b600654600160a060020a03848116911614156110e957600160a060020a0382166000908152600d602052604090205460ff1680611446575061144482611a93565b155b61148957604051600080516020611bdd8339815191528152600401808060200182810382526023815260200180611b506023913960400191505060405180910390fd5b6000600460009054906101000a9004600160a060020a0316600160a060020a031663ad5c46486040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b1580156114f557600080fd5b505afa158015611509573d6000803e3d6000fd5b505050506040513d602081101561151f57600080fd5b5051600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152905191909216916370a08231916024808301926020929190829003018186803b15801561158757600080fd5b505afa15801561159b573d6000803e3d6000fd5b505050506040513d60208110156115b157600080fd5b50516006549091506000906115ce90600160a060020a031661074f565b90506000600b548284670de0b6b3a764000002816115e857fe5b046103e802816115f457fe5b0490506000611601611a99565b6103e8028261160e611a9e565b028161161657fe5b049050611621611a9e565b811161165d5761164361163c82611636611a9e565b90611a2e565b429061198e565b600160a060020a0387166000908152601060205260409020555b6000611667611a99565b6103e8026116758785611aa5565b8161167c57fe5b0490508581116116aa576116908682611a2e565b600160a060020a0388166000908152601160205260409020555b5050505050611785565b600160a060020a0383166000908152600d602052604090205460ff161580156116f55750600160a060020a0383166000908152601060205260409020544211155b1561178557600160a060020a03831660009081526002602090815260408083205460119092529091205461172a90839061198e565b11156117855760408051600080516020611bdd833981519152815260206004820152601660248201527f494d504143543a206c6f636b65642062616c616e636500000000000000000000604482015290519081900360640190fd5b600160a060020a0386166117d257604051600080516020611bdd8339815191528152600401808060200182810382526026815260200180611cb96026913960400191505060405180910390fd5b600160a060020a03851661181f57604051600080516020611bdd8339815191528152600401808060200182810382526024815260200180611b966024913960400191505060405180910390fd5b61185c84604051806060016040528060278152602001611c6c60279139600160a060020a03891660009081526002602052604090205491906118ea565b600160a060020a03808816600090815260026020526040808220939093559087168152205461188b908561198e565b600160a060020a0380871660008181526002602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050505050565b6000818484111561198157604051600080516020611bdd83398151915281526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561194657818101518382015260200161192e565b50505050905090810190601f1680156119735780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b601290565b6000828201838110156119f05760408051600080516020611bdd833981519152815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60408051808201909152600681527f494d504143540000000000000000000000000000000000000000000000000000602082015290565b600082821115611a8d5760408051600080516020611bdd833981519152815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b3b151590565b600a90565b621a5e0090565b600082611ab4575060006105bb565b82820282848281611ac157fe5b04146119f057604051600080516020611bdd8339815191528152600401808060200182810382526021815260200180611c226021913960400191505060405180910390fdfe494d504143543a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373494d504143543a20726563697069656e742063616e277420626520636f6e7472616374494d504143543a20746f6b656e207472616e73666572207768696c6520706175736564494d504143543a207472616e7366657220746f20746865207a65726f2061646472657373494d504143543a20617070726f766520746f20746865207a65726f206164647265737308c379a000000000000000000000000000000000000000000000000000000000494d504143543a20616d6f756e742067726561746572207468616e206d6178206c696d6974536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77494d504143543a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365494d504143543a207472616e7366657220616d6f756e7420657863656564732062616c616e6365494d504143543a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f494d504143543a207472616e736665722066726f6d20746865207a65726f2061646472657373494d504143543a20617070726f76652066726f6d20746865207a65726f2061646472657373494d504143543a206f6e6c79206f6e6520747820696e20726573747269637465642074696d65a26469706673582212201392266226577a5bbc6ba9e5560ddf5f2a6f0b9c3543fddd0ac316d367c1f83a64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000006cf6f948000000000000000000000000000000000000000000000006194049f30f72000000
-----Decoded View---------------
Arg [0] : _gas (uint256): 468000000000
Arg [1] : _amount (uint256): 28800000000000000000000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000006cf6f94800
Arg [1] : 0000000000000000000000000000000000000000000006194049f30f72000000
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.