Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
99,898.896235374214616693 MEGA
Holders
766
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
15 MEGAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MEGA
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: MIT /** * 5% airdrop to 999 MEGA FUMO ROCK holders, 95% LP, 0/0 tax * https://megafumorock.com/ * https://twitter.com/MegaFumoRock * https://t.me/MegaFumoRock */ pragma solidity 0.8.19; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } function tryAdd( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } function trySub( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } function tryMul( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } function tryDiv( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } function tryMod( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } interface IERC20 { function totalSupply() external view returns (uint256); function decimals() external view returns (uint8); function symbol() external view returns (string memory); function name() external view returns (string memory); function getOwner() external view returns (address); 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 ); } abstract contract Ownable { address internal owner; constructor(address _owner) { owner = _owner; } modifier onlyOwner() { require(isOwner(msg.sender), "!OWNER"); _; } function isOwner(address account) public view returns (bool) { return account == owner; } function transferOwnership(address payable adr) public onlyOwner { owner = adr; emit OwnershipTransferred(adr); } event OwnershipTransferred(address owner); } interface IFactory { function createPair( address tokenA, address tokenB ) external returns (address pair); function getPair( address tokenA, address tokenB ) external view returns (address pair); } interface IRouter { 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); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } contract MEGA is IERC20, Ownable { using SafeMath for uint256; address internal constant DEAD = 0x000000000000000000000000000000000000dEaD; string private constant _name = "Mega Fumo Rock"; string private constant _symbol = "MEGA"; uint8 private constant _decimals = 18; uint256 private _totalSupply = 99999 * (10 ** _decimals); uint256 private _maxTxAmountPercent = 200; uint256 private _maxTransferPercent = 200; uint256 private _maxWalletPercent = 200; mapping(address => uint256) _balances; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) public isFeeExempt; IRouter router; address public pair; bool private tradingAllowed = false; uint256 private marketingFee = 500; uint256 private developmentFee = 1500; uint256 private totalFee = 0; uint256 private sellFee = 1000; uint256 private transferFee = 1500; uint256 private denominator = 10000; bool private swapEnabled = true; bool private swapping; uint256 private swapThreshold = (_totalSupply * 10) / 100000; uint256 private minTokenAmount = (_totalSupply * 10) / 100000; modifier lockTheSwap() { swapping = true; _; swapping = false; } address internal development_receiver; address internal constant marketing_receiver = 0x2f5bf48294a40657C3E0B61527141cCbB0Db5F98; constructor() Ownable(msg.sender) { IRouter _router = IRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address _pair = IFactory(_router.factory()).createPair( address(this), _router.WETH() ); router = _router; pair = _pair; totalFee = marketingFee + developmentFee; development_receiver = msg.sender; isFeeExempt[address(this)] = true; isFeeExempt[marketing_receiver] = true; isFeeExempt[msg.sender] = true; _balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); } receive() external payable {} 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 startTrading() external onlyOwner { totalFee = 2000; tradingAllowed = true; } function getOwner() external view override returns (address) { return owner; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function transfer( address recipient, uint256 amount ) public override returns (bool) { _transfer(msg.sender, recipient, amount); return true; } function allowance( address owner, address spender ) public view override returns (uint256) { return _allowances[owner][spender]; } function setisExempt(address _address, bool _enabled) external onlyOwner { isFeeExempt[_address] = _enabled; } function approve( address spender, uint256 amount ) public override returns (bool) { _approve(msg.sender, spender, amount); return true; } function totalSupply() public view override returns (uint256) { return _totalSupply.sub(balanceOf(DEAD)).sub(balanceOf(address(0))); } function _maxWalletToken() public view returns (uint256) { return (totalSupply() * _maxWalletPercent) / denominator; } function _maxTxAmount() public view returns (uint256) { return (totalSupply() * _maxTxAmountPercent) / denominator; } function _maxTransferAmount() public view returns (uint256) { return (totalSupply() * _maxTransferPercent) / denominator; } function preTxCheck( address sender, address recipient, uint256 amount ) internal view { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); require( amount > uint256(0), "Transfer amount must be greater than zero" ); require( amount <= balanceOf(sender), "You are trying to transfer more than your balance" ); } function _transfer( address sender, address recipient, uint256 amount ) private { preTxCheck(sender, recipient, amount); checkTradingAllowed(sender, recipient); checkMaxWallet(sender, recipient, amount); checkTxLimit(sender, recipient, amount); swapBack(sender, recipient); _balances[sender] = _balances[sender].sub(amount); uint256 amountReceived = shouldTakeFee(sender, recipient) ? takeFee(sender, recipient, amount) : amount; _balances[recipient] = _balances[recipient].add(amountReceived); emit Transfer(sender, recipient, amountReceived); } function setFees( uint256 _marketing, uint256 _development, uint256 _extraSell, uint256 _trans ) external onlyOwner { marketingFee = _marketing; developmentFee = _development; totalFee = _marketing + _development; sellFee = totalFee + _extraSell; transferFee = _trans; require( totalFee <= denominator && sellFee <= denominator, "totalFee and sellFee cannot be more than the denominator" ); } function setTxLimits( uint256 _newMaxTx, uint256 _newMaxTransfer, uint256 _newMaxWallet ) external onlyOwner { uint256 newTx = (totalSupply() * _newMaxTx) / 10000; uint256 newTransfer = (totalSupply() * _newMaxTransfer) / 10000; uint256 newWallet = (totalSupply() * _newMaxWallet) / 10000; _maxTxAmountPercent = _newMaxTx; _maxTransferPercent = _newMaxTransfer; _maxWalletPercent = _newMaxWallet; uint256 limit = totalSupply().mul(5).div(1000); require( newTx >= limit && newTransfer >= limit && newWallet >= limit, "Max TXs and Max Wallet cannot be less than .5%" ); } function checkTradingAllowed( address sender, address recipient ) internal view { if (!isFeeExempt[sender] && !isFeeExempt[recipient]) { require(tradingAllowed, "tradingAllowed"); } } function checkMaxWallet( address sender, address recipient, uint256 amount ) internal view { if ( !isFeeExempt[sender] && !isFeeExempt[recipient] && recipient != address(pair) && recipient != address(DEAD) ) { require( (_balances[recipient].add(amount)) <= _maxWalletToken(), "Exceeds maximum wallet amount." ); } } function checkTxLimit( address sender, address recipient, uint256 amount ) internal view { if (sender != pair) { require( amount <= _maxTransferAmount() || isFeeExempt[sender] || isFeeExempt[recipient], "TX Limit Exceeded" ); } require( amount <= _maxTxAmount() || isFeeExempt[sender] || isFeeExempt[recipient], "TX Limit Exceeded" ); } function swapAndLiquify() private lockTheSwap { uint256 tokens = balanceOf(address(this)); uint256 _denominator = ( marketingFee.add(1).add(developmentFee) ); swapTokensForETH(tokens); uint256 deltaBalance = address(this).balance; uint256 unitBalance = deltaBalance.div(_denominator); uint256 marketingAmt = unitBalance.mul(marketingFee); if (marketingAmt > 0) { payable(marketing_receiver).transfer(marketingAmt); } uint256 remainingBalance = address(this).balance; if (remainingBalance > uint256(0)) { payable(development_receiver).transfer(remainingBalance); } } function swapTokensForETH(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); _approve(address(this), address(router), tokenAmount); router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function shouldSwapBack( address sender, address recipient ) internal view returns (bool) { bool aboveThreshold = balanceOf(address(this)) >= swapThreshold; return !swapping && swapEnabled && tradingAllowed && !isFeeExempt[sender] && recipient == pair && aboveThreshold; } function setSwapbackSettings( uint256 _swapThreshold, uint256 _minTokenAmount ) external onlyOwner { swapThreshold = _totalSupply.mul(_swapThreshold).div(uint256(100000)); minTokenAmount = _totalSupply.mul(_minTokenAmount).div(uint256(100000)); } function swapBack( address sender, address recipient ) internal { if (shouldSwapBack(sender, recipient)) { swapAndLiquify(); } } function shouldTakeFee( address sender, address recipient ) internal view returns (bool) { return !isFeeExempt[sender] && !isFeeExempt[recipient]; } function getTotalFee( address sender, address recipient ) internal view returns (uint256) { if (recipient == pair) { return sellFee; } if (sender == pair) { return totalFee; } return transferFee; } function takeFee( address sender, address recipient, uint256 amount ) internal returns (uint256) { if (getTotalFee(sender, recipient) > 0) { uint256 feeAmount = amount.div(denominator).mul( getTotalFee(sender, recipient) ); _balances[address(this)] = _balances[address(this)].add(feeAmount); emit Transfer(sender, address(this), feeAmount); return amount.sub(feeAmount); } return amount; } function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, msg.sender, _allowances[sender][msg.sender].sub( amount, "ERC20: transfer amount exceeds allowance" ) ); return true; } function _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); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
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":"address","name":"owner","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":"_maxTransferAmount","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":"_maxWalletToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"pure","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isFeeExempt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketing","type":"uint256"},{"internalType":"uint256","name":"_development","type":"uint256"},{"internalType":"uint256","name":"_extraSell","type":"uint256"},{"internalType":"uint256","name":"_trans","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_swapThreshold","type":"uint256"},{"internalType":"uint256","name":"_minTokenAmount","type":"uint256"}],"name":"setSwapbackSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxTx","type":"uint256"},{"internalType":"uint256","name":"_newMaxTransfer","type":"uint256"},{"internalType":"uint256","name":"_newMaxWallet","type":"uint256"}],"name":"setTxLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setisExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTrading","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":"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 payable","name":"adr","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052620000126012600a62000448565b62000021906201869f62000460565b600181815560c8600281905560038190556004556009805460ff60a01b191690556101f4600a9081556105dc600b8190556000600c556103e8600d55600e55612710600f556010805460ff1916909217909155620186a091620000849162000460565b6200009091906200047a565b601155620186a0600154600a620000a8919062000460565b620000b491906200047a565b601255348015620000c457600080fd5b50600080546001600160a01b031916331781556040805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d9291839163c45a0155916004808201926020929091908290030181865afa1580156200012c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015291906200049d565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c691906200049d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200023a91906200049d565b600880546001600160a01b038086166001600160a01b0319928316179092556009805492841692909116919091179055600b54600a549192506200027e91620004c8565b600c55601380546001600160a01b03191633908117909155306000908152600760209081526040808320805460ff1990811660019081179092557f4570f66382b8e72166839ea12aa312dac735603818a56daaf36761c63e1781268054821683179055858552828520805490911682179055546005835281842081905590519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050620004de565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200038a5781600019048211156200036e576200036e62000333565b808516156200037c57918102915b93841c93908002906200034e565b509250929050565b600082620003a35750600162000442565b81620003b25750600062000442565b8160018114620003cb5760028114620003d657620003f6565b600191505062000442565b60ff841115620003ea57620003ea62000333565b50506001821b62000442565b5060208310610133831016604e8410600b84101617156200041b575081810a62000442565b62000427838362000349565b80600019048211156200043e576200043e62000333565b0290505b92915050565b60006200045960ff84168362000392565b9392505050565b808202811582820484141762000442576200044262000333565b6000826200049857634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215620004b057600080fd5b81516001600160a01b03811681146200045957600080fd5b8082018082111562000442576200044262000333565b61187580620004ee6000396000f3fe6080604052600436106101395760003560e01c80636fcba377116100ab57806395d89b411161006f57806395d89b411461039a578063a8aa1b31146103c7578063a9059cbb146103e7578063dd62ed3e14610407578063e46b3b3f1461044d578063f2fde38b1461046d57600080fd5b80636fcba377146102e857806370a082311461030857806378109e541461033e5780637d1db4a514610353578063893d20e81461036857600080fd5b8063293230b8116100fd578063293230b8146102165780632f54bf6e1461022d578063313ce5671461025c5780633f4218e01461027857806348ff2b8b146102a857806350dc03b1146102c857600080fd5b806306fdde0314610145578063095ea7b31461018e57806318160ddd146101be5780631f976b7e146101e157806323b872dd146101f657600080fd5b3661014057005b600080fd5b34801561015157600080fd5b5060408051808201909152600e81526d4d6567612046756d6f20526f636b60901b60208201525b6040516101859190611502565b60405180910390f35b34801561019a57600080fd5b506101ae6101a9366004611568565b61048d565b6040519015158152602001610185565b3480156101ca57600080fd5b506101d36104a4565b604051908152602001610185565b3480156101ed57600080fd5b506101d3610515565b34801561020257600080fd5b506101ae610211366004611594565b610539565b34801561022257600080fd5b5061022b6105a3565b005b34801561023957600080fd5b506101ae6102483660046115d5565b6000546001600160a01b0391821691161490565b34801561026857600080fd5b5060405160128152602001610185565b34801561028457600080fd5b506101ae6102933660046115d5565b60076020526000908152604090205460ff1681565b3480156102b457600080fd5b5061022b6102c33660046115f2565b6105f1565b3480156102d457600080fd5b5061022b6102e3366004611630565b610646565b3480156102f457600080fd5b5061022b610303366004611652565b6106b2565b34801561031457600080fd5b506101d36103233660046115d5565b6001600160a01b031660009081526005602052604090205490565b34801561034a57600080fd5b506101d3610798565b34801561035f57600080fd5b506101d36107a8565b34801561037457600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610185565b3480156103a657600080fd5b506040805180820190915260048152634d45474160e01b6020820152610178565b3480156103d357600080fd5b50600954610382906001600160a01b031681565b3480156103f357600080fd5b506101ae610402366004611568565b6107b8565b34801561041357600080fd5b506101d3610422366004611684565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b34801561045957600080fd5b5061022b6104683660046116b2565b6107c5565b34801561047957600080fd5b5061022b6104883660046115d5565b61090f565b600061049a33848461098d565b5060015b92915050565b60056020527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc5461dead60009081527f7d509c07f0d4edcc2dd1b53aae68677132eb562dcba78e36381b63ccaf66e6ba54600154919261051092909161050a9190610ab1565b90610ab1565b905090565b6000600f546003546105256104a4565b61052f91906116f4565b610510919061170b565b6000610546848484610abd565b610598843361059385604051806060016040528060288152602001611818602891396001600160a01b038a1660009081526006602090815260408083203384529091529020549190610bd8565b61098d565b5060015b9392505050565b6000546001600160a01b031633146105d65760405162461bcd60e51b81526004016105cd9061172d565b60405180910390fd5b6107d0600c556009805460ff60a01b1916600160a01b179055565b6000546001600160a01b0316331461061b5760405162461bcd60e51b81526004016105cd9061172d565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146106705760405162461bcd60e51b81526004016105cd9061172d565b610692620186a061068c84600154610c0490919063ffffffff16565b90610c10565b6011556001546106ab90620186a09061068c9084610c04565b6012555050565b6000546001600160a01b031633146106dc5760405162461bcd60e51b81526004016105cd9061172d565b600a849055600b8390556106f0838561174d565b600c81905561070090839061174d565b600d55600e819055600f54600c54118015906107205750600f54600d5411155b6107925760405162461bcd60e51b815260206004820152603860248201527f746f74616c46656520616e642073656c6c4665652063616e6e6f74206265206d60448201527f6f7265207468616e207468652064656e6f6d696e61746f72000000000000000060648201526084016105cd565b50505050565b6000600f546004546105256104a4565b6000600f546002546105256104a4565b600061049a338484610abd565b6000546001600160a01b031633146107ef5760405162461bcd60e51b81526004016105cd9061172d565b6000612710846107fd6104a4565b61080791906116f4565b610811919061170b565b90506000612710846108216104a4565b61082b91906116f4565b610835919061170b565b90506000612710846108456104a4565b61084f91906116f4565b610859919061170b565b600287905560038690556004859055905060006108856103e861068c600561087f6104a4565b90610c04565b90508084101580156108975750808310155b80156108a35750808210155b6109065760405162461bcd60e51b815260206004820152602e60248201527f4d61782054587320616e64204d61782057616c6c65742063616e6e6f7420626560448201526d206c657373207468616e202e352560901b60648201526084016105cd565b50505050505050565b6000546001600160a01b031633146109395760405162461bcd60e51b81526004016105cd9061172d565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc6861639060200160405180910390a150565b6001600160a01b0383166109ef5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105cd565b6001600160a01b038216610a505760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105cd565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061059c8284611760565b610ac8838383610c1c565b610ad28383610dcb565b610add838383610e60565b610ae8838383610f51565b610af28383611088565b6001600160a01b038316600090815260056020526040902054610b159082610ab1565b6001600160a01b038416600090815260056020526040812091909155610b3b848461109f565b610b455781610b50565b610b508484846110e5565b6001600160a01b038416600090815260056020526040902054909150610b7690826111a4565b6001600160a01b0380851660008181526005602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610bca9085815260200190565b60405180910390a350505050565b60008184841115610bfc5760405162461bcd60e51b81526004016105cd9190611502565b505050900390565b600061059c82846116f4565b600061059c828461170b565b6001600160a01b038316610c805760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105cd565b6001600160a01b038216610ce25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105cd565b60008111610d445760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016105cd565b6001600160a01b038316600090815260056020526040902054811115610dc65760405162461bcd60e51b815260206004820152603160248201527f596f752061726520747279696e6720746f207472616e73666572206d6f7265206044820152707468616e20796f75722062616c616e636560781b60648201526084016105cd565b505050565b6001600160a01b03821660009081526007602052604090205460ff16158015610e0d57506001600160a01b03811660009081526007602052604090205460ff16155b15610e5c57600954600160a01b900460ff16610e5c5760405162461bcd60e51b815260206004820152600e60248201526d1d1c98591a5b99d05b1b1bddd95960921b60448201526064016105cd565b5050565b6001600160a01b03831660009081526007602052604090205460ff16158015610ea257506001600160a01b03821660009081526007602052604090205460ff16155b8015610ebc57506009546001600160a01b03838116911614155b8015610ed357506001600160a01b03821661dead14155b15610dc657610ee0610798565b6001600160a01b038316600090815260056020526040902054610f0390836111a4565b1115610dc65760405162461bcd60e51b815260206004820152601e60248201527f45786365656473206d6178696d756d2077616c6c657420616d6f756e742e000060448201526064016105cd565b6009546001600160a01b03848116911614610ff757610f6e610515565b81111580610f9457506001600160a01b03831660009081526007602052604090205460ff165b80610fb757506001600160a01b03821660009081526007602052604090205460ff165b610ff75760405162461bcd60e51b8152602060048201526011602482015270151608131a5b5a5d08115e18d959591959607a1b60448201526064016105cd565b610fff6107a8565b8111158061102557506001600160a01b03831660009081526007602052604090205460ff165b8061104857506001600160a01b03821660009081526007602052604090205460ff165b610dc65760405162461bcd60e51b8152602060048201526011602482015270151608131a5b5a5d08115e18d959591959607a1b60448201526064016105cd565b61109282826111b0565b15610e5c57610e5c611246565b6001600160a01b03821660009081526007602052604081205460ff1615801561059c5750506001600160a01b031660009081526007602052604090205460ff1615919050565b6000806110f2858561135d565b111561119d576000611115611107868661135d565b600f5461087f908690610c10565b3060009081526005602052604090205490915061113290826111a4565b30600081815260056020526040908190209290925590516001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906111839085815260200190565b60405180910390a36111958382610ab1565b91505061059c565b5092915050565b600061059c828461174d565b601154306000908152600560205260408120546010549192111590610100900460ff161580156111e2575060105460ff165b80156111f75750600954600160a01b900460ff165b801561121c57506001600160a01b03841660009081526007602052604090205460ff16155b801561123557506009546001600160a01b038481169116145b801561123e5750805b949350505050565b6010805461ff001916610100179055306000908152600560205260408120549050600061128b600b546112856001600a546111a490919063ffffffff16565b906111a4565b9050611296826113a8565b4760006112a38284610c10565b905060006112bc600a5483610c0490919063ffffffff16565b9050801561130757604051732f5bf48294a40657c3e0b61527141ccbb0db5f989082156108fc029083906000818181858888f19350505050158015611305573d6000803e3d6000fd5b505b47801561134a576013546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611348573d6000803e3d6000fd5b505b50506010805461ff001916905550505050565b6009546000906001600160a01b039081169083160361137f5750600d5461049e565b6009546001600160a01b039081169084160361139e5750600c5461049e565b50600e5492915050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106113dd576113dd611773565b6001600160a01b03928316602091820292909201810191909152600854604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611436573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145a9190611789565b8160018151811061146d5761146d611773565b6001600160a01b039283166020918202929092010152600854611493913091168461098d565b60085460405163791ac94760e01b81526001600160a01b039091169063791ac947906114cc9085906000908690309042906004016117a6565b600060405180830381600087803b1580156114e657600080fd5b505af11580156114fa573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561152f57858101830151858201604001528201611513565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461156557600080fd5b50565b6000806040838503121561157b57600080fd5b823561158681611550565b946020939093013593505050565b6000806000606084860312156115a957600080fd5b83356115b481611550565b925060208401356115c481611550565b929592945050506040919091013590565b6000602082840312156115e757600080fd5b813561059c81611550565b6000806040838503121561160557600080fd5b823561161081611550565b91506020830135801515811461162557600080fd5b809150509250929050565b6000806040838503121561164357600080fd5b50508035926020909101359150565b6000806000806080858703121561166857600080fd5b5050823594602084013594506040840135936060013592509050565b6000806040838503121561169757600080fd5b82356116a281611550565b9150602083013561162581611550565b6000806000606084860312156116c757600080fd5b505081359360208301359350604090920135919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761049e5761049e6116de565b60008261172857634e487b7160e01b600052601260045260246000fd5b500490565b60208082526006908201526510a7aba722a960d11b604082015260600190565b8082018082111561049e5761049e6116de565b8181038181111561049e5761049e6116de565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561179b57600080fd5b815161059c81611550565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156117f65784516001600160a01b0316835293830193918301916001016117d1565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220edfeea783e8a631f6dad1fc88f257c045f293589241c7f9e4a12f8bf4b6e793a64736f6c63430008130033
Deployed Bytecode
0x6080604052600436106101395760003560e01c80636fcba377116100ab57806395d89b411161006f57806395d89b411461039a578063a8aa1b31146103c7578063a9059cbb146103e7578063dd62ed3e14610407578063e46b3b3f1461044d578063f2fde38b1461046d57600080fd5b80636fcba377146102e857806370a082311461030857806378109e541461033e5780637d1db4a514610353578063893d20e81461036857600080fd5b8063293230b8116100fd578063293230b8146102165780632f54bf6e1461022d578063313ce5671461025c5780633f4218e01461027857806348ff2b8b146102a857806350dc03b1146102c857600080fd5b806306fdde0314610145578063095ea7b31461018e57806318160ddd146101be5780631f976b7e146101e157806323b872dd146101f657600080fd5b3661014057005b600080fd5b34801561015157600080fd5b5060408051808201909152600e81526d4d6567612046756d6f20526f636b60901b60208201525b6040516101859190611502565b60405180910390f35b34801561019a57600080fd5b506101ae6101a9366004611568565b61048d565b6040519015158152602001610185565b3480156101ca57600080fd5b506101d36104a4565b604051908152602001610185565b3480156101ed57600080fd5b506101d3610515565b34801561020257600080fd5b506101ae610211366004611594565b610539565b34801561022257600080fd5b5061022b6105a3565b005b34801561023957600080fd5b506101ae6102483660046115d5565b6000546001600160a01b0391821691161490565b34801561026857600080fd5b5060405160128152602001610185565b34801561028457600080fd5b506101ae6102933660046115d5565b60076020526000908152604090205460ff1681565b3480156102b457600080fd5b5061022b6102c33660046115f2565b6105f1565b3480156102d457600080fd5b5061022b6102e3366004611630565b610646565b3480156102f457600080fd5b5061022b610303366004611652565b6106b2565b34801561031457600080fd5b506101d36103233660046115d5565b6001600160a01b031660009081526005602052604090205490565b34801561034a57600080fd5b506101d3610798565b34801561035f57600080fd5b506101d36107a8565b34801561037457600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610185565b3480156103a657600080fd5b506040805180820190915260048152634d45474160e01b6020820152610178565b3480156103d357600080fd5b50600954610382906001600160a01b031681565b3480156103f357600080fd5b506101ae610402366004611568565b6107b8565b34801561041357600080fd5b506101d3610422366004611684565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b34801561045957600080fd5b5061022b6104683660046116b2565b6107c5565b34801561047957600080fd5b5061022b6104883660046115d5565b61090f565b600061049a33848461098d565b5060015b92915050565b60056020527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc5461dead60009081527f7d509c07f0d4edcc2dd1b53aae68677132eb562dcba78e36381b63ccaf66e6ba54600154919261051092909161050a9190610ab1565b90610ab1565b905090565b6000600f546003546105256104a4565b61052f91906116f4565b610510919061170b565b6000610546848484610abd565b610598843361059385604051806060016040528060288152602001611818602891396001600160a01b038a1660009081526006602090815260408083203384529091529020549190610bd8565b61098d565b5060015b9392505050565b6000546001600160a01b031633146105d65760405162461bcd60e51b81526004016105cd9061172d565b60405180910390fd5b6107d0600c556009805460ff60a01b1916600160a01b179055565b6000546001600160a01b0316331461061b5760405162461bcd60e51b81526004016105cd9061172d565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146106705760405162461bcd60e51b81526004016105cd9061172d565b610692620186a061068c84600154610c0490919063ffffffff16565b90610c10565b6011556001546106ab90620186a09061068c9084610c04565b6012555050565b6000546001600160a01b031633146106dc5760405162461bcd60e51b81526004016105cd9061172d565b600a849055600b8390556106f0838561174d565b600c81905561070090839061174d565b600d55600e819055600f54600c54118015906107205750600f54600d5411155b6107925760405162461bcd60e51b815260206004820152603860248201527f746f74616c46656520616e642073656c6c4665652063616e6e6f74206265206d60448201527f6f7265207468616e207468652064656e6f6d696e61746f72000000000000000060648201526084016105cd565b50505050565b6000600f546004546105256104a4565b6000600f546002546105256104a4565b600061049a338484610abd565b6000546001600160a01b031633146107ef5760405162461bcd60e51b81526004016105cd9061172d565b6000612710846107fd6104a4565b61080791906116f4565b610811919061170b565b90506000612710846108216104a4565b61082b91906116f4565b610835919061170b565b90506000612710846108456104a4565b61084f91906116f4565b610859919061170b565b600287905560038690556004859055905060006108856103e861068c600561087f6104a4565b90610c04565b90508084101580156108975750808310155b80156108a35750808210155b6109065760405162461bcd60e51b815260206004820152602e60248201527f4d61782054587320616e64204d61782057616c6c65742063616e6e6f7420626560448201526d206c657373207468616e202e352560901b60648201526084016105cd565b50505050505050565b6000546001600160a01b031633146109395760405162461bcd60e51b81526004016105cd9061172d565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc6861639060200160405180910390a150565b6001600160a01b0383166109ef5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105cd565b6001600160a01b038216610a505760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105cd565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061059c8284611760565b610ac8838383610c1c565b610ad28383610dcb565b610add838383610e60565b610ae8838383610f51565b610af28383611088565b6001600160a01b038316600090815260056020526040902054610b159082610ab1565b6001600160a01b038416600090815260056020526040812091909155610b3b848461109f565b610b455781610b50565b610b508484846110e5565b6001600160a01b038416600090815260056020526040902054909150610b7690826111a4565b6001600160a01b0380851660008181526005602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610bca9085815260200190565b60405180910390a350505050565b60008184841115610bfc5760405162461bcd60e51b81526004016105cd9190611502565b505050900390565b600061059c82846116f4565b600061059c828461170b565b6001600160a01b038316610c805760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105cd565b6001600160a01b038216610ce25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105cd565b60008111610d445760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016105cd565b6001600160a01b038316600090815260056020526040902054811115610dc65760405162461bcd60e51b815260206004820152603160248201527f596f752061726520747279696e6720746f207472616e73666572206d6f7265206044820152707468616e20796f75722062616c616e636560781b60648201526084016105cd565b505050565b6001600160a01b03821660009081526007602052604090205460ff16158015610e0d57506001600160a01b03811660009081526007602052604090205460ff16155b15610e5c57600954600160a01b900460ff16610e5c5760405162461bcd60e51b815260206004820152600e60248201526d1d1c98591a5b99d05b1b1bddd95960921b60448201526064016105cd565b5050565b6001600160a01b03831660009081526007602052604090205460ff16158015610ea257506001600160a01b03821660009081526007602052604090205460ff16155b8015610ebc57506009546001600160a01b03838116911614155b8015610ed357506001600160a01b03821661dead14155b15610dc657610ee0610798565b6001600160a01b038316600090815260056020526040902054610f0390836111a4565b1115610dc65760405162461bcd60e51b815260206004820152601e60248201527f45786365656473206d6178696d756d2077616c6c657420616d6f756e742e000060448201526064016105cd565b6009546001600160a01b03848116911614610ff757610f6e610515565b81111580610f9457506001600160a01b03831660009081526007602052604090205460ff165b80610fb757506001600160a01b03821660009081526007602052604090205460ff165b610ff75760405162461bcd60e51b8152602060048201526011602482015270151608131a5b5a5d08115e18d959591959607a1b60448201526064016105cd565b610fff6107a8565b8111158061102557506001600160a01b03831660009081526007602052604090205460ff165b8061104857506001600160a01b03821660009081526007602052604090205460ff165b610dc65760405162461bcd60e51b8152602060048201526011602482015270151608131a5b5a5d08115e18d959591959607a1b60448201526064016105cd565b61109282826111b0565b15610e5c57610e5c611246565b6001600160a01b03821660009081526007602052604081205460ff1615801561059c5750506001600160a01b031660009081526007602052604090205460ff1615919050565b6000806110f2858561135d565b111561119d576000611115611107868661135d565b600f5461087f908690610c10565b3060009081526005602052604090205490915061113290826111a4565b30600081815260056020526040908190209290925590516001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906111839085815260200190565b60405180910390a36111958382610ab1565b91505061059c565b5092915050565b600061059c828461174d565b601154306000908152600560205260408120546010549192111590610100900460ff161580156111e2575060105460ff165b80156111f75750600954600160a01b900460ff165b801561121c57506001600160a01b03841660009081526007602052604090205460ff16155b801561123557506009546001600160a01b038481169116145b801561123e5750805b949350505050565b6010805461ff001916610100179055306000908152600560205260408120549050600061128b600b546112856001600a546111a490919063ffffffff16565b906111a4565b9050611296826113a8565b4760006112a38284610c10565b905060006112bc600a5483610c0490919063ffffffff16565b9050801561130757604051732f5bf48294a40657c3e0b61527141ccbb0db5f989082156108fc029083906000818181858888f19350505050158015611305573d6000803e3d6000fd5b505b47801561134a576013546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611348573d6000803e3d6000fd5b505b50506010805461ff001916905550505050565b6009546000906001600160a01b039081169083160361137f5750600d5461049e565b6009546001600160a01b039081169084160361139e5750600c5461049e565b50600e5492915050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106113dd576113dd611773565b6001600160a01b03928316602091820292909201810191909152600854604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611436573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145a9190611789565b8160018151811061146d5761146d611773565b6001600160a01b039283166020918202929092010152600854611493913091168461098d565b60085460405163791ac94760e01b81526001600160a01b039091169063791ac947906114cc9085906000908690309042906004016117a6565b600060405180830381600087803b1580156114e657600080fd5b505af11580156114fa573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561152f57858101830151858201604001528201611513565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461156557600080fd5b50565b6000806040838503121561157b57600080fd5b823561158681611550565b946020939093013593505050565b6000806000606084860312156115a957600080fd5b83356115b481611550565b925060208401356115c481611550565b929592945050506040919091013590565b6000602082840312156115e757600080fd5b813561059c81611550565b6000806040838503121561160557600080fd5b823561161081611550565b91506020830135801515811461162557600080fd5b809150509250929050565b6000806040838503121561164357600080fd5b50508035926020909101359150565b6000806000806080858703121561166857600080fd5b5050823594602084013594506040840135936060013592509050565b6000806040838503121561169757600080fd5b82356116a281611550565b9150602083013561162581611550565b6000806000606084860312156116c757600080fd5b505081359360208301359350604090920135919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761049e5761049e6116de565b60008261172857634e487b7160e01b600052601260045260246000fd5b500490565b60208082526006908201526510a7aba722a960d11b604082015260600190565b8082018082111561049e5761049e6116de565b8181038181111561049e5761049e6116de565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561179b57600080fd5b815161059c81611550565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156117f65784516001600160a01b0316835293830193918301916001016117d1565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220edfeea783e8a631f6dad1fc88f257c045f293589241c7f9e4a12f8bf4b6e793a64736f6c63430008130033
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.