Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,231,231,231 VEGA
Holders
222
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,278,188.359504059202300252 VEGAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Vegachu
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return payable(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; } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } 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; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by 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; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } library Address { function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly {codehash := extcodehash(account)} return (codehash != accountHash && codehash != 0x0); } 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"); } function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } 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"); } function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{ value : weiValue}(data); if (success) { return returndata; } else { if (returndata.length > 0) { assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } contract Ownable is Context { address public _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function waiveOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } interface IUniswapV2Factory { function getPair(address tokenA, address tokenB) external view returns (address pair); function createPair(address tokenA, address tokenB) external returns (address pair); 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); } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external view 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); } interface IUniswapV2Router02 is IUniswapV2Router01 { function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function balanceOf(address account) external view returns (uint256); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface ISwapPair { function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function token0() external view returns (address); function balanceOf(address account) external view returns (uint256); function totalSupply() external view returns (uint256); function kLast() external view returns (uint); } contract Vegachu is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; string private _name = unicode"Vegachu"; string private _symbol = unicode"VEGA"; uint8 private _decimals = 18; address payable private marketingWalletAddress; address payable private teamWalletAddress; address private deadAddress = 0x000000000000000000000000000000000000dEaD; uint256 private preLPUnlockTime = 3087269820; mapping (address => uint256) _balances; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private isMarketPair; uint256 private _totalTaxIfBuying = 0; uint256 private _totalTaxIfSelling = 0; string public constant ONLY_TRACKED_TOKEN = "ONLY_TRACKED_TOKEN"; string public constant ONLY_YIELD_SOURCE = "ONLY_YIELD_SOURCE"; uint256 private _totalSupply = 1_231_231_231 * 10**18; uint256 private _minimumTokensBeforeSwap = 0; bool private startTx; address private _usdt; IUniswapV2Router02 private uniswap; address private uniswapPair; bool inSwapAndSend; bool private swapAndLiquifyEnabled = false; bool private swapAndLiquifyByLimitOnly = false; event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndTransfer( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); event SwapETHForTokens( uint256 amountIn, address[] path ); event SwapTokensForETH( uint256 amountIn, address[] path ); modifier inSwap { inSwapAndSend = true; _; inSwapAndSend = false; } constructor () payable { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); _owner = msg.sender; marketingWalletAddress = payable(0x1f21f11DDD33979D268556289F3C6246123CC93a); teamWalletAddress = payable(0x1f21f11DDD33979D268556289F3C6246123CC93a); uniswap = _uniswapV2Router; _allowances[address(this)][address(uniswap)] = _totalSupply; _balances[_owner] = _totalSupply; emit Transfer(address(0), _owner, _totalSupply); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function _approve(address owner, address spender, uint256 amount) private { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function setMinSwap(uint256 newLimit) external onlyOwner() { _minimumTokensBeforeSwap = newLimit; } function enableSwapAndSend(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } function updateRouter(address newRouterAddress) public onlyOwner returns(address newRouter) { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(newRouterAddress); uniswap = _uniswapV2Router; //Set new router address isMarketPair[address(uniswapPair)] = true; } function sendETH(address payable recipient, uint256 amount) private { recipient.transfer(amount); } //to recieve ETH from uniswapV2Router when swaping receive() external payable {} function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function _transfer(address sender, address recipient, uint256 amount) private returns (bool) { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if(inSwapAndSend) { return _normalTrans(sender, recipient, amount); } else { uint256 contractTokenBalance = balanceOf(address(this)); bool overMinimumTokenBalance = contractTokenBalance >= _minimumTokensBeforeSwap; if (overMinimumTokenBalance && !inSwapAndSend && !isMarketPair[sender] && swapAndLiquifyEnabled) { if(swapAndLiquifyByLimitOnly) contractTokenBalance = _minimumTokensBeforeSwap; addLP(sender,contractTokenBalance); } _balances[sender] = _balances[sender].sub(amount, "Insufficient Balance"); uint256 finalAmount = chargeTax(sender, recipient, amount); _balances[recipient] = _balances[recipient].add(finalAmount); emit Transfer(sender, recipient, finalAmount); return true; } } function _normalTrans(address sender, address recipient, uint256 amount) internal returns (bool) { _balances[sender] = _balances[sender].sub(amount, "Insufficient Balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); return true; } function swanThenSend(uint256 tAmount) private inSwap { // swap token -> eth swapToEth(tAmount); uint256 amountReceived = address(this).balance; // team eth uint256 amountUSDTTeam = amountReceived.mul(50).div(100); // marketing eth uint256 amountUSDTMarketing = amountReceived.sub(amountUSDTTeam); if(amountUSDTMarketing > 0) sendETH(marketingWalletAddress, amountUSDTMarketing); if(amountUSDTTeam > 0) sendETH(teamWalletAddress, amountUSDTTeam); } function min(uint256 a, uint256 b) private pure returns (uint256){ return (a>b)?b:a; } function addLP(address sender,uint256 tokenAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswap), tokenAmount); uint256 ethAmount = address(this).balance; // add the liquidity uniswap.addLiquidityETH{value: ethAmount}( sender, tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable address(this), block.timestamp ); } function swapToEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswap.WETH(); _approve(address(this), address(uniswap), tokenAmount); // make the swap uniswap.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), // The contract block.timestamp ); emit SwapTokensForETH(tokenAmount, path); } function chargeTax(address sender, address recipient, uint256 amount) internal returns (uint256) { uint256 feeAmount = 0; if(isMarketPair[sender]) { feeAmount = amount.mul(_totalTaxIfBuying).div(100); } else if(isMarketPair[recipient]) { feeAmount = amount.mul(_totalTaxIfSelling).div(100); } if(feeAmount > 0) { _balances[address(this)] = _balances[address(this)].add(feeAmount); emit Transfer(sender, address(this), feeAmount); } return amount.sub(feeAmount); } function emergencyWithdrawToken(address _token, uint256 _amount) external onlyOwner { IERC20(_token).transfer(msg.sender, _amount); } function emergencyWithdrawETH(uint256 _amount) external onlyOwner { payable(msg.sender).call{value: _amount}(""); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"payable","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":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapETHForTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapTokensForETH","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ONLY_TRACKED_TOKEN","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ONLY_YIELD_SOURCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyWithdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyWithdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"enableSwapAndSend","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":"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":[{"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"setMinSwap","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":[{"internalType":"address","name":"newRouterAddress","type":"address"}],"name":"updateRouter","outputs":[{"internalType":"address","name":"newRouter","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"waiveOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c060405260076080908152665665676163687560c81b60a0526001906200002890826200022b565b506040805180820190915260048152635645474160e01b60208201526002906200005390826200022b565b50600380546005805461dead6001600160a01b03199182161790915563b803ffbc6006556000600a819055600b8190556b03fa735ac62c14511c9c0000600c819055600d8290556010805461ffff60a81b191690558154339084161782556001600160a81b0319909316741f21f11ddd33979d268556289f3c6246123cc93a121790935560048054731f21f11ddd33979d268556289f3c6246123cc93a908316179055600f8054737a250d5630b4cf539739df2c5dacb4c659f2488d921682179055308352600860209081526040808520838652825280852084905584546001600160a01b039081168652600783528186208590558554915194855292949216927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350620002f7565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001b157607f821691505b602082108103620001d257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200022657600081815260208120601f850160051c81016020861015620002015750805b601f850160051c820191505b8181101562000222578281556001016200020d565b5050505b505050565b81516001600160401b0381111562000247576200024762000186565b6200025f816200025884546200019c565b84620001d8565b602080601f8311600181146200029757600084156200027e5750858301515b600019600386901b1c1916600185901b17855562000222565b600085815260208120601f198616915b82811015620002c857888601518255948401946001909101908401620002a7565b5085821015620002e75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61157280620003076000396000f3fe6080604052600436106101395760003560e01c8063951e3fbb116100ab578063a9059cbb1161006f578063a9059cbb146103b0578063a9e282b8146103d0578063b2bdfa7b146103f0578063c851cc3214610410578063dd62ed3e14610430578063f2fde38b1461047657600080fd5b8063951e3fbb146102fe57806395d89b411461033b5780639d17383a14610350578063a457c2d714610370578063a4c3b0911461039057600080fd5b8063313ce567116100fd578063313ce5671461021d578063395093511461023f5780636b792c4b1461025f57806370a08231146102815780638da5cb5b146102b7578063914eb66a146102e957600080fd5b806306fdde0314610145578063095ea7b31461017057806318160ddd146101a057806323b872dd146101bf578063306d04fe146101df57600080fd5b3661014057005b600080fd5b34801561015157600080fd5b5061015a610496565b604051610167919061125b565b60405180910390f35b34801561017c57600080fd5b5061019061018b3660046112c5565b610528565b6040519015158152602001610167565b3480156101ac57600080fd5b50600c545b604051908152602001610167565b3480156101cb57600080fd5b506101906101da3660046112ef565b61053f565b3480156101eb57600080fd5b5061015a6040518060400160405280601281526020017127a7262cafaa2920a1a5a2a22faa27a5a2a760711b81525081565b34801561022957600080fd5b5060035460405160ff9091168152602001610167565b34801561024b57600080fd5b5061019061025a3660046112c5565b6105aa565b34801561026b57600080fd5b5061027f61027a36600461132b565b6105e0565b005b34801561028d57600080fd5b506101b161029c366004611344565b6001600160a01b031660009081526007602052604090205490565b3480156102c357600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610167565b3480156102f557600080fd5b5061027f61065e565b34801561030a57600080fd5b5061015a604051806040016040528060118152602001704f4e4c595f5949454c445f534f5552434560781b81525081565b34801561034757600080fd5b5061015a6106d2565b34801561035c57600080fd5b5061027f61036b366004611370565b6106e1565b34801561037c57600080fd5b5061019061038b3660046112c5565b610763565b34801561039c57600080fd5b5061027f6103ab3660046112c5565b6107b2565b3480156103bc57600080fd5b506101906103cb3660046112c5565b610852565b3480156103dc57600080fd5b5061027f6103eb36600461132b565b61085f565b3480156103fc57600080fd5b506000546102d1906001600160a01b031681565b34801561041c57600080fd5b506102d161042b366004611344565b61088e565b34801561043c57600080fd5b506101b161044b36600461138d565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b34801561048257600080fd5b5061027f610491366004611344565b6108f7565b6060600180546104a5906113c0565b80601f01602080910402602001604051908101604052809291908181526020018280546104d1906113c0565b801561051e5780601f106104f35761010080835404028352916020019161051e565b820191906000526020600020905b81548152906001019060200180831161050157829003601f168201915b5050505050905090565b60006105353384846109e1565b5060015b92915050565b600061054c848484610b05565b5061059f843361059a856040518060600160405280602881526020016114f0602891396001600160a01b038a1660009081526008602090815260408083203384529091529020549190610de9565b6109e1565b5060015b9392505050565b3360008181526008602090815260408083206001600160a01b0387168452909152812054909161053591859061059a9086610e23565b6000546001600160a01b031633146106135760405162461bcd60e51b815260040161060a906113fa565b60405180910390fd5b60405133908290600081818185875af1925050503d8060008114610653576040519150601f19603f3d011682016040523d82523d6000602084013e610658565b606091505b50505050565b6000546001600160a01b031633146106885760405162461bcd60e51b815260040161060a906113fa565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6060600280546104a5906113c0565b6000546001600160a01b0316331461070b5760405162461bcd60e51b815260040161060a906113fa565b60108054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061075890831515815260200190565b60405180910390a150565b6000610535338461059a85604051806060016040528060258152602001611518602591393360009081526008602090815260408083206001600160a01b038d1684529091529020549190610de9565b6000546001600160a01b031633146107dc5760405162461bcd60e51b815260040161060a906113fa565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610829573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084d919061142f565b505050565b600061059f338484610b05565b6000546001600160a01b031633146108895760405162461bcd60e51b815260040161060a906113fa565b600d55565b600080546001600160a01b031633146108b95760405162461bcd60e51b815260040161060a906113fa565b600f80546001600160a01b0319166001600160a01b039384161790556010549091166000908152600960205260409020805460ff1916600117905590565b6000546001600160a01b031633146109215760405162461bcd60e51b815260040161060a906113fa565b6001600160a01b0381166109865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161060a565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610a435760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161060a565b6001600160a01b038216610aa45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161060a565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006001600160a01b038416610b6b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161060a565b6001600160a01b038316610bcd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161060a565b60008211610c2f5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161060a565b601054600160a01b900460ff1615610c5357610c4c848484610e82565b90506105a3565b30600090815260076020526040902054600d5481108015908190610c815750601054600160a01b900460ff16155b8015610ca657506001600160a01b03861660009081526009602052604090205460ff16155b8015610cbb5750601054600160a81b900460ff165b15610ce257601054600160b01b900460ff1615610cd857600d5491505b610ce28683610f68565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038916600090815260079091529190912054610d34918690610de9565b6001600160a01b038716600090815260076020526040812091909155610d5b87878761101b565b6001600160a01b038716600090815260076020526040902054909150610d819082610e23565b6001600160a01b0380881660008181526007602052604090819020939093559151908916907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610dd59085815260200190565b60405180910390a3600193505050506105a3565b60008184841115610e0d5760405162461bcd60e51b815260040161060a919061125b565b506000610e1a8486611462565b95945050505050565b600080610e308385611475565b9050838110156105a35760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161060a565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386166000908152600790915291822054610ed3918490610de9565b6001600160a01b038086166000908152600760205260408082209390935590851681522054610f029083610e23565b6001600160a01b0380851660008181526007602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f569086815260200190565b60405180910390a35060019392505050565b600f54610f809030906001600160a01b0316836109e1565b600f5460405163f305d71960e01b81526001600160a01b0384811660048301526024820184905260006044830181905260648301523060848301524260a48301524792169063f305d71990839060c40160606040518083038185885af1158015610fee573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906110139190611488565b505050505050565b6001600160a01b038316600090815260096020526040812054819060ff16156110655761105e6064611058600a548661112790919063ffffffff16565b906111a9565b90506110a3565b6001600160a01b03841660009081526009602052604090205460ff16156110a3576110a06064611058600b548661112790919063ffffffff16565b90505b801561111d57306000908152600760205260409020546110c39082610e23565b30600081815260076020526040908190209290925590516001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906111149085815260200190565b60405180910390a35b610e1a83826111eb565b60008260000361113957506000610539565b600061114583856114b6565b90508261115285836114cd565b146105a35760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161060a565b60006105a383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061122d565b60006105a383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610de9565b6000818361124e5760405162461bcd60e51b815260040161060a919061125b565b506000610e1a84866114cd565b600060208083528351808285015260005b818110156112885785810183015185820160400152820161126c565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146112c057600080fd5b919050565b600080604083850312156112d857600080fd5b6112e1836112a9565b946020939093013593505050565b60008060006060848603121561130457600080fd5b61130d846112a9565b925061131b602085016112a9565b9150604084013590509250925092565b60006020828403121561133d57600080fd5b5035919050565b60006020828403121561135657600080fd5b6105a3826112a9565b801515811461136d57600080fd5b50565b60006020828403121561138257600080fd5b81356105a38161135f565b600080604083850312156113a057600080fd5b6113a9836112a9565b91506113b7602084016112a9565b90509250929050565b600181811c908216806113d457607f821691505b6020821081036113f457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561144157600080fd5b81516105a38161135f565b634e487b7160e01b600052601160045260246000fd5b818103818111156105395761053961144c565b808201808211156105395761053961144c565b60008060006060848603121561149d57600080fd5b8351925060208401519150604084015190509250925092565b80820281158282048414176105395761053961144c565b6000826114ea57634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220fe76742a419ddb542151a1906a24c61ea308943f20e59b5fe75e5c143d61609864736f6c63430008130033
Deployed Bytecode
0x6080604052600436106101395760003560e01c8063951e3fbb116100ab578063a9059cbb1161006f578063a9059cbb146103b0578063a9e282b8146103d0578063b2bdfa7b146103f0578063c851cc3214610410578063dd62ed3e14610430578063f2fde38b1461047657600080fd5b8063951e3fbb146102fe57806395d89b411461033b5780639d17383a14610350578063a457c2d714610370578063a4c3b0911461039057600080fd5b8063313ce567116100fd578063313ce5671461021d578063395093511461023f5780636b792c4b1461025f57806370a08231146102815780638da5cb5b146102b7578063914eb66a146102e957600080fd5b806306fdde0314610145578063095ea7b31461017057806318160ddd146101a057806323b872dd146101bf578063306d04fe146101df57600080fd5b3661014057005b600080fd5b34801561015157600080fd5b5061015a610496565b604051610167919061125b565b60405180910390f35b34801561017c57600080fd5b5061019061018b3660046112c5565b610528565b6040519015158152602001610167565b3480156101ac57600080fd5b50600c545b604051908152602001610167565b3480156101cb57600080fd5b506101906101da3660046112ef565b61053f565b3480156101eb57600080fd5b5061015a6040518060400160405280601281526020017127a7262cafaa2920a1a5a2a22faa27a5a2a760711b81525081565b34801561022957600080fd5b5060035460405160ff9091168152602001610167565b34801561024b57600080fd5b5061019061025a3660046112c5565b6105aa565b34801561026b57600080fd5b5061027f61027a36600461132b565b6105e0565b005b34801561028d57600080fd5b506101b161029c366004611344565b6001600160a01b031660009081526007602052604090205490565b3480156102c357600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610167565b3480156102f557600080fd5b5061027f61065e565b34801561030a57600080fd5b5061015a604051806040016040528060118152602001704f4e4c595f5949454c445f534f5552434560781b81525081565b34801561034757600080fd5b5061015a6106d2565b34801561035c57600080fd5b5061027f61036b366004611370565b6106e1565b34801561037c57600080fd5b5061019061038b3660046112c5565b610763565b34801561039c57600080fd5b5061027f6103ab3660046112c5565b6107b2565b3480156103bc57600080fd5b506101906103cb3660046112c5565b610852565b3480156103dc57600080fd5b5061027f6103eb36600461132b565b61085f565b3480156103fc57600080fd5b506000546102d1906001600160a01b031681565b34801561041c57600080fd5b506102d161042b366004611344565b61088e565b34801561043c57600080fd5b506101b161044b36600461138d565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b34801561048257600080fd5b5061027f610491366004611344565b6108f7565b6060600180546104a5906113c0565b80601f01602080910402602001604051908101604052809291908181526020018280546104d1906113c0565b801561051e5780601f106104f35761010080835404028352916020019161051e565b820191906000526020600020905b81548152906001019060200180831161050157829003601f168201915b5050505050905090565b60006105353384846109e1565b5060015b92915050565b600061054c848484610b05565b5061059f843361059a856040518060600160405280602881526020016114f0602891396001600160a01b038a1660009081526008602090815260408083203384529091529020549190610de9565b6109e1565b5060015b9392505050565b3360008181526008602090815260408083206001600160a01b0387168452909152812054909161053591859061059a9086610e23565b6000546001600160a01b031633146106135760405162461bcd60e51b815260040161060a906113fa565b60405180910390fd5b60405133908290600081818185875af1925050503d8060008114610653576040519150601f19603f3d011682016040523d82523d6000602084013e610658565b606091505b50505050565b6000546001600160a01b031633146106885760405162461bcd60e51b815260040161060a906113fa565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6060600280546104a5906113c0565b6000546001600160a01b0316331461070b5760405162461bcd60e51b815260040161060a906113fa565b60108054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061075890831515815260200190565b60405180910390a150565b6000610535338461059a85604051806060016040528060258152602001611518602591393360009081526008602090815260408083206001600160a01b038d1684529091529020549190610de9565b6000546001600160a01b031633146107dc5760405162461bcd60e51b815260040161060a906113fa565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610829573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084d919061142f565b505050565b600061059f338484610b05565b6000546001600160a01b031633146108895760405162461bcd60e51b815260040161060a906113fa565b600d55565b600080546001600160a01b031633146108b95760405162461bcd60e51b815260040161060a906113fa565b600f80546001600160a01b0319166001600160a01b039384161790556010549091166000908152600960205260409020805460ff1916600117905590565b6000546001600160a01b031633146109215760405162461bcd60e51b815260040161060a906113fa565b6001600160a01b0381166109865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161060a565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610a435760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161060a565b6001600160a01b038216610aa45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161060a565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006001600160a01b038416610b6b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161060a565b6001600160a01b038316610bcd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161060a565b60008211610c2f5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161060a565b601054600160a01b900460ff1615610c5357610c4c848484610e82565b90506105a3565b30600090815260076020526040902054600d5481108015908190610c815750601054600160a01b900460ff16155b8015610ca657506001600160a01b03861660009081526009602052604090205460ff16155b8015610cbb5750601054600160a81b900460ff165b15610ce257601054600160b01b900460ff1615610cd857600d5491505b610ce28683610f68565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038916600090815260079091529190912054610d34918690610de9565b6001600160a01b038716600090815260076020526040812091909155610d5b87878761101b565b6001600160a01b038716600090815260076020526040902054909150610d819082610e23565b6001600160a01b0380881660008181526007602052604090819020939093559151908916907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610dd59085815260200190565b60405180910390a3600193505050506105a3565b60008184841115610e0d5760405162461bcd60e51b815260040161060a919061125b565b506000610e1a8486611462565b95945050505050565b600080610e308385611475565b9050838110156105a35760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161060a565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386166000908152600790915291822054610ed3918490610de9565b6001600160a01b038086166000908152600760205260408082209390935590851681522054610f029083610e23565b6001600160a01b0380851660008181526007602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f569086815260200190565b60405180910390a35060019392505050565b600f54610f809030906001600160a01b0316836109e1565b600f5460405163f305d71960e01b81526001600160a01b0384811660048301526024820184905260006044830181905260648301523060848301524260a48301524792169063f305d71990839060c40160606040518083038185885af1158015610fee573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906110139190611488565b505050505050565b6001600160a01b038316600090815260096020526040812054819060ff16156110655761105e6064611058600a548661112790919063ffffffff16565b906111a9565b90506110a3565b6001600160a01b03841660009081526009602052604090205460ff16156110a3576110a06064611058600b548661112790919063ffffffff16565b90505b801561111d57306000908152600760205260409020546110c39082610e23565b30600081815260076020526040908190209290925590516001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906111149085815260200190565b60405180910390a35b610e1a83826111eb565b60008260000361113957506000610539565b600061114583856114b6565b90508261115285836114cd565b146105a35760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161060a565b60006105a383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061122d565b60006105a383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610de9565b6000818361124e5760405162461bcd60e51b815260040161060a919061125b565b506000610e1a84866114cd565b600060208083528351808285015260005b818110156112885785810183015185820160400152820161126c565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146112c057600080fd5b919050565b600080604083850312156112d857600080fd5b6112e1836112a9565b946020939093013593505050565b60008060006060848603121561130457600080fd5b61130d846112a9565b925061131b602085016112a9565b9150604084013590509250925092565b60006020828403121561133d57600080fd5b5035919050565b60006020828403121561135657600080fd5b6105a3826112a9565b801515811461136d57600080fd5b50565b60006020828403121561138257600080fd5b81356105a38161135f565b600080604083850312156113a057600080fd5b6113a9836112a9565b91506113b7602084016112a9565b90509250929050565b600181811c908216806113d457607f821691505b6020821081036113f457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561144157600080fd5b81516105a38161135f565b634e487b7160e01b600052601160045260246000fd5b818103818111156105395761053961144c565b808201808211156105395761053961144c565b60008060006060848603121561149d57600080fd5b8351925060208401519150604084015190509250925092565b80820281158282048414176105395761053961144c565b6000826114ea57634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220fe76742a419ddb542151a1906a24c61ea308943f20e59b5fe75e5c143d61609864736f6c63430008130033
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.