ERC-20
DeFi
Overview
Max Total Supply
964,910 NOS
Holders
286 (0.00%)
Market
Price
$0.06 @ 0.000017 ETH
Onchain Market Cap
$55,140.77
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
500 NOSValue
$28.57 ( ~0.00855611306155169 Eth) [0.0518%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NOSToken
Compiler Version
v0.7.1+commit.f4a555be
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.7.1; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; contract NOSToken is IERC20, Ownable { using SafeMath for uint; struct FeeConfig { uint16 fee; //percentage expressed as number between 0 and 1000 address destination; } FeeConfig config; uint256 _totalSupply; IUniswapV2Factory public factory; IUniswapV2Router02 public router; address public tokenUniswapPair; mapping(address => uint256) balances; mapping(address => mapping(address => uint256)) allowances; string public name = "NOS nitrous.finance"; string public symbol = "NOS"; constructor(uint16 fee, address destination, address _router, address _factory) { _totalSupply = 964910 * 1e18; balances[msg.sender] = _totalSupply; config.fee = fee; config.destination = destination; router = IUniswapV2Router02(_router); factory = IUniswapV2Factory(_factory); } function fee() external view returns (uint16) { return config.fee; } function decimals() external view returns (uint8) { return 18; } function totalSupply() external override view returns (uint256) { return _totalSupply; } function balanceOf(address account) external override view returns (uint256) { return balances[account]; } function transfer(address recipient, uint256 amount) external override returns (bool) { _transfer(msg.sender, recipient, amount); return true; } function allowance(address owner, address spender) external override view returns (uint256) { return allowances[owner][spender]; } function approve(address spender, uint256 amount) external override returns (bool) { _approve(msg.sender, spender, amount); } function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function transferFrom( address sender, address recipient, uint256 amount ) external override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, msg.sender, allowances[sender][msg.sender].sub( amount, "ERC20: transfer amount exceeds allowance" ) ); return true; } function createUniswapPair() public onlyOwner returns (address) { require(tokenUniswapPair == address(0), "Token: pool already created"); tokenUniswapPair = factory.createPair( address(router.WETH()), address(this) ); return tokenUniswapPair; } function configureFeeDestination(address destination) public onlyOwner { config.destination = destination; } /* 1% = 10 10% = 100 */ function configureFee(uint16 _fee) public onlyOwner { require(config.fee == 0, "NOS: fee already set"); require(_fee <= 1000, "NOS: max fee reached"); config.fee = _fee; } function _transfer( address sender, address recipient, uint256 amount ) internal returns (bool) { uint fee; if (config.destination != address(0)) { fee = (config.fee * amount).div(1000); balances[config.destination] = balances[config.destination] + fee; if (fee != 0) { emit Transfer(sender, config.destination, fee); } } balances[recipient] = balances[recipient].add(amount - fee); balances[sender] = balances[sender].sub(amount); emit Transfer(sender, recipient, amount); } }
// 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; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../GSN/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 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, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
// 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); }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; 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; }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "istanbul", "libraries": { "": {} }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint16","name":"fee","type":"uint16"},{"internalType":"address","name":"destination","type":"address"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"_factory","type":"address"}],"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":"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":"uint16","name":"_fee","type":"uint16"}],"name":"configureFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"destination","type":"address"}],"name":"configureFeeDestination","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"createUniswapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenUniswapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"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"}]
Contract Creation Code
60c0604052601360808190527f4e4f53206e6974726f75732e66696e616e63650000000000000000000000000060a090815262000040916008919062000196565b50604080518082019091526003808252624e4f5360e81b60209092019182526200006d9160099162000196565b503480156200007b57600080fd5b50604051620012193803806200121983398181016040526080811015620000a157600080fd5b50805160208201516040830151606090930151919290916000620000c462000192565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35069cc53e03bcfb757f800006002819055336000908152600660205260409020556001805461ffff191661ffff959095169490941762010000600160b01b031916620100006001600160a01b039485160217909355600480546001600160a01b0319908116928416929092179055600380549091169290911691909117905562000232565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001d957805160ff191683800117855562000209565b8280016001018555821562000209579182015b8281111562000209578251825591602001919060010190620001ec565b50620002179291506200021b565b5090565b5b808211156200021757600081556001016200021c565b610fd780620002426000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c8063715018a6116100ad578063c45a015511610071578063c45a015514610330578063dd62ed3e14610338578063ddca3f4314610366578063f2fde38b14610385578063f887ea40146103ab57610121565b8063715018a6146102cb5780637e6f3507146102d35780638da5cb5b146102f457806395d89b41146102fc578063a9059cbb1461030457610121565b8063313ce567116100f4578063313ce567146102335780634a131672146102515780634d33245714610275578063665692b41461027d57806370a08231146102a557610121565b806306fdde0314610126578063095ea7b3146101a357806318160ddd146101e357806323b872dd146101fd575b600080fd5b61012e6103b3565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610168578181015183820152602001610150565b50505050905090810190601f1680156101955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101cf600480360360408110156101b957600080fd5b506001600160a01b038135169060200135610441565b604080519115158252519081900360200190f35b6101eb610454565b60408051918252519081900360200190f35b6101cf6004803603606081101561021357600080fd5b506001600160a01b0381358116916020810135909116906040013561045a565b61023b6104c4565b6040805160ff9092168252519081900360200190f35b6102596104c9565b604080516001600160a01b039092168252519081900360200190f35b610259610699565b6102a36004803603602081101561029357600080fd5b50356001600160a01b03166106a8565b005b6101eb600480360360208110156102bb57600080fd5b50356001600160a01b031661072a565b6102a3610745565b6102a3600480360360208110156102e957600080fd5b503561ffff166107e7565b6102596108f9565b61012e610908565b6101cf6004803603604081101561031a57600080fd5b506001600160a01b038135169060200135610963565b610259610970565b6101eb6004803603604081101561034e57600080fd5b506001600160a01b038135811691602001351661097f565b61036e6109aa565b6040805161ffff9092168252519081900360200190f35b6102a36004803603602081101561039b57600080fd5b50356001600160a01b03166109b4565b610259610aac565b6008805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104395780601f1061040e57610100808354040283529160200191610439565b820191906000526020600020905b81548152906001019060200180831161041c57829003601f168201915b505050505081565b600061044e338484610abb565b92915050565b60025490565b6000610467848484610ba7565b506104ba84336104b585604051806060016040528060288152602001610f36602891396001600160a01b038a1660009081526007602090815260408083203384529091529020549190610d08565b610abb565b5060019392505050565b601290565b60006104d3610d9f565b6000546001600160a01b03908116911614610523576040805162461bcd60e51b81526020600482018190526024820152600080516020610f5e833981519152604482015290519081900360640190fd5b6005546001600160a01b031615610581576040805162461bcd60e51b815260206004820152601b60248201527f546f6b656e3a20706f6f6c20616c726561647920637265617465640000000000604482015290519081900360640190fd5b60035460048054604080516315ab88c960e31b815290516001600160a01b039485169463c9c653969493169263ad5c464892808201926020929091829003018186803b1580156105d057600080fd5b505afa1580156105e4573d6000803e3d6000fd5b505050506040513d60208110156105fa57600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b0390921660048301523060248301525160448083019260209291908290030181600087803b15801561064957600080fd5b505af115801561065d573d6000803e3d6000fd5b505050506040513d602081101561067357600080fd5b5051600580546001600160a01b0319166001600160a01b03928316179081905516919050565b6005546001600160a01b031681565b6106b0610d9f565b6000546001600160a01b03908116911614610700576040805162461bcd60e51b81526020600482018190526024820152600080516020610f5e833981519152604482015290519081900360640190fd5b600180546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b6001600160a01b031660009081526006602052604090205490565b61074d610d9f565b6000546001600160a01b0390811691161461079d576040805162461bcd60e51b81526020600482018190526024820152600080516020610f5e833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6107ef610d9f565b6000546001600160a01b0390811691161461083f576040805162461bcd60e51b81526020600482018190526024820152600080516020610f5e833981519152604482015290519081900360640190fd5b60015461ffff161561088f576040805162461bcd60e51b81526020600482015260146024820152731393d4ce8819995948185b1c9958591e481cd95d60621b604482015290519081900360640190fd5b6103e88161ffff1611156108e1576040805162461bcd60e51b81526020600482015260146024820152731393d4ce881b585e08199959481c995858da195960621b604482015290519081900360640190fd5b6001805461ffff191661ffff92909216919091179055565b6000546001600160a01b031690565b6009805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104395780601f1061040e57610100808354040283529160200191610439565b60006104ba338484610ba7565b6003546001600160a01b031681565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b60015461ffff1690565b6109bc610d9f565b6000546001600160a01b03908116911614610a0c576040805162461bcd60e51b81526020600482018190526024820152600080516020610f5e833981519152604482015290519081900360640190fd5b6001600160a01b038116610a515760405162461bcd60e51b8152600401808060200182810382526026815260200180610eee6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b6001600160a01b038316610b005760405162461bcd60e51b8152600401808060200182810382526024815260200180610f7e6024913960400191505060405180910390fd5b6001600160a01b038216610b455760405162461bcd60e51b8152600401808060200182810382526022815260200180610f146022913960400191505060405180910390fd5b6001600160a01b03808416600081815260076020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60015460009081906201000090046001600160a01b031615610c5357600154610bd89061ffff1684026103e8610da3565b6001546201000090046001600160a01b0316600090815260066020526040902080548201905590508015610c53576001546040805183815290516001600160a01b03620100009093048316928816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35b6001600160a01b038416600090815260066020526040902054610c7890828503610dec565b6001600160a01b038086166000908152600660205260408082209390935590871681522054610ca79084610e46565b6001600160a01b0380871660008181526006602090815260409182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3509392505050565b60008184841115610d975760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d5c578181015183820152602001610d44565b50505050905090810190601f168015610d895780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b3390565b6000610de583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610e88565b9392505050565b600082820183811015610de5576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000610de583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610d08565b60008183610ed75760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610d5c578181015183820152602001610d44565b506000838581610ee357fe5b049594505050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373a26469706673582212207d84dc1fa89c31054eecb5398dddc42588ee1af6b55068a5c0a1c1e2aa02b6f964736f6c634300070100330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b1e5e9d9afc39655d5165374406de3b0e585460f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101215760003560e01c8063715018a6116100ad578063c45a015511610071578063c45a015514610330578063dd62ed3e14610338578063ddca3f4314610366578063f2fde38b14610385578063f887ea40146103ab57610121565b8063715018a6146102cb5780637e6f3507146102d35780638da5cb5b146102f457806395d89b41146102fc578063a9059cbb1461030457610121565b8063313ce567116100f4578063313ce567146102335780634a131672146102515780634d33245714610275578063665692b41461027d57806370a08231146102a557610121565b806306fdde0314610126578063095ea7b3146101a357806318160ddd146101e357806323b872dd146101fd575b600080fd5b61012e6103b3565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610168578181015183820152602001610150565b50505050905090810190601f1680156101955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101cf600480360360408110156101b957600080fd5b506001600160a01b038135169060200135610441565b604080519115158252519081900360200190f35b6101eb610454565b60408051918252519081900360200190f35b6101cf6004803603606081101561021357600080fd5b506001600160a01b0381358116916020810135909116906040013561045a565b61023b6104c4565b6040805160ff9092168252519081900360200190f35b6102596104c9565b604080516001600160a01b039092168252519081900360200190f35b610259610699565b6102a36004803603602081101561029357600080fd5b50356001600160a01b03166106a8565b005b6101eb600480360360208110156102bb57600080fd5b50356001600160a01b031661072a565b6102a3610745565b6102a3600480360360208110156102e957600080fd5b503561ffff166107e7565b6102596108f9565b61012e610908565b6101cf6004803603604081101561031a57600080fd5b506001600160a01b038135169060200135610963565b610259610970565b6101eb6004803603604081101561034e57600080fd5b506001600160a01b038135811691602001351661097f565b61036e6109aa565b6040805161ffff9092168252519081900360200190f35b6102a36004803603602081101561039b57600080fd5b50356001600160a01b03166109b4565b610259610aac565b6008805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104395780601f1061040e57610100808354040283529160200191610439565b820191906000526020600020905b81548152906001019060200180831161041c57829003601f168201915b505050505081565b600061044e338484610abb565b92915050565b60025490565b6000610467848484610ba7565b506104ba84336104b585604051806060016040528060288152602001610f36602891396001600160a01b038a1660009081526007602090815260408083203384529091529020549190610d08565b610abb565b5060019392505050565b601290565b60006104d3610d9f565b6000546001600160a01b03908116911614610523576040805162461bcd60e51b81526020600482018190526024820152600080516020610f5e833981519152604482015290519081900360640190fd5b6005546001600160a01b031615610581576040805162461bcd60e51b815260206004820152601b60248201527f546f6b656e3a20706f6f6c20616c726561647920637265617465640000000000604482015290519081900360640190fd5b60035460048054604080516315ab88c960e31b815290516001600160a01b039485169463c9c653969493169263ad5c464892808201926020929091829003018186803b1580156105d057600080fd5b505afa1580156105e4573d6000803e3d6000fd5b505050506040513d60208110156105fa57600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b0390921660048301523060248301525160448083019260209291908290030181600087803b15801561064957600080fd5b505af115801561065d573d6000803e3d6000fd5b505050506040513d602081101561067357600080fd5b5051600580546001600160a01b0319166001600160a01b03928316179081905516919050565b6005546001600160a01b031681565b6106b0610d9f565b6000546001600160a01b03908116911614610700576040805162461bcd60e51b81526020600482018190526024820152600080516020610f5e833981519152604482015290519081900360640190fd5b600180546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b6001600160a01b031660009081526006602052604090205490565b61074d610d9f565b6000546001600160a01b0390811691161461079d576040805162461bcd60e51b81526020600482018190526024820152600080516020610f5e833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6107ef610d9f565b6000546001600160a01b0390811691161461083f576040805162461bcd60e51b81526020600482018190526024820152600080516020610f5e833981519152604482015290519081900360640190fd5b60015461ffff161561088f576040805162461bcd60e51b81526020600482015260146024820152731393d4ce8819995948185b1c9958591e481cd95d60621b604482015290519081900360640190fd5b6103e88161ffff1611156108e1576040805162461bcd60e51b81526020600482015260146024820152731393d4ce881b585e08199959481c995858da195960621b604482015290519081900360640190fd5b6001805461ffff191661ffff92909216919091179055565b6000546001600160a01b031690565b6009805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104395780601f1061040e57610100808354040283529160200191610439565b60006104ba338484610ba7565b6003546001600160a01b031681565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b60015461ffff1690565b6109bc610d9f565b6000546001600160a01b03908116911614610a0c576040805162461bcd60e51b81526020600482018190526024820152600080516020610f5e833981519152604482015290519081900360640190fd5b6001600160a01b038116610a515760405162461bcd60e51b8152600401808060200182810382526026815260200180610eee6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b6001600160a01b038316610b005760405162461bcd60e51b8152600401808060200182810382526024815260200180610f7e6024913960400191505060405180910390fd5b6001600160a01b038216610b455760405162461bcd60e51b8152600401808060200182810382526022815260200180610f146022913960400191505060405180910390fd5b6001600160a01b03808416600081815260076020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60015460009081906201000090046001600160a01b031615610c5357600154610bd89061ffff1684026103e8610da3565b6001546201000090046001600160a01b0316600090815260066020526040902080548201905590508015610c53576001546040805183815290516001600160a01b03620100009093048316928816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35b6001600160a01b038416600090815260066020526040902054610c7890828503610dec565b6001600160a01b038086166000908152600660205260408082209390935590871681522054610ca79084610e46565b6001600160a01b0380871660008181526006602090815260409182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3509392505050565b60008184841115610d975760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d5c578181015183820152602001610d44565b50505050905090810190601f168015610d895780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b3390565b6000610de583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610e88565b9392505050565b600082820183811015610de5576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000610de583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610d08565b60008183610ed75760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610d5c578181015183820152602001610d44565b506000838581610ee357fe5b049594505050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373a26469706673582212207d84dc1fa89c31054eecb5398dddc42588ee1af6b55068a5c0a1c1e2aa02b6f964736f6c63430007010033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b1e5e9d9afc39655d5165374406de3b0e585460f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
-----Decoded View---------------
Arg [0] : fee (uint16): 0
Arg [1] : destination (address): 0xb1e5e9d9afC39655D5165374406DE3b0E585460f
Arg [2] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [3] : _factory (address): 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [1] : 000000000000000000000000b1e5e9d9afc39655d5165374406de3b0e585460f
Arg [2] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [3] : 0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
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.