ERC-20
Overview
Max Total Supply
1,000,000,000 CASPER
Holders
522
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
73,266.005039128 CASPERValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CASPER
Compiler Version
v0.8.22+commit.4fc1097e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-08-24 */ /* CASPER | Vitalik's First Memecoin https://x.com/VitalikButerin/status/1572567641214287872 https://t.me/CASPERoneth https://x.com/CASPERoneth https://www.casperoneth.com/ */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.22; interface IUniswapV2Factory { function getPair(address tokenA, address tokenB) external view returns (address pair); } interface IUniswapV2Router02 { 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 swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address to, 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 from, address to, 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); } interface IERC20Metadata is IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); } contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function decimals() public view virtual override returns (uint8) { return 9; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { _transferOwnership(_msgSender()); } function owner() public view virtual returns (address) { return _owner; } modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } contract CASPER is ERC20, Ownable { IUniswapV2Router02 private constant _router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address public uniswapV2Pair; address public immutable feeAddr; uint256 public maxWalletSize = 20000000 * 1e9; uint256 private contractSwapMax = 20000000 * 1e9; uint256 private contractSwapMin = 3000000 * 1e9; uint32 private _buyCount; uint32 private _sellCount; uint32 private _lastSellBlock; uint32 private _preventSwapBefore = 15; uint32 private _lowerTaxAt = 25; bool private _inSwap; uint256 public buyFeeProcent; uint256 public sellFeeProcent; mapping (address => bool) private _excludedFromLimits; constructor() ERC20("Vitalik's Casper", "CASPER") payable { uint256 totalSupply = 1000000000 * 1e9; feeAddr = 0x9efAc80f0684632B7972dB0975e9317AaefDC9F5; buyFeeProcent = 1; sellFeeProcent = 1; _excludedFromLimits[feeAddr] = true; _excludedFromLimits[msg.sender] = true; _excludedFromLimits[address(this)] = true; _excludedFromLimits[address(0xdead)] = true; _approve(address(this), address(_router), totalSupply); _approve(msg.sender, address(_router), totalSupply); _mint(msg.sender, totalSupply); } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "Transfer from the zero address not allowed."); require(to != address(0), "Transfer to the zero address not allowed."); require(amount > 0, 'Transfer amount must be greater than zero.'); bool excluded = _excludedFromLimits[from] || _excludedFromLimits[to]; require(uniswapV2Pair != address(0) || excluded, "Liquidity pair not yet created."); bool isSell = to == uniswapV2Pair; bool isBuy = from == uniswapV2Pair; if(isBuy && !excluded){ require(balanceOf(to) + amount <= maxWalletSize || to == address(_router), "Max wallet exceeded"); if(_buyCount <= _lowerTaxAt) _buyCount++; if(_buyCount == _lowerTaxAt){ buyFeeProcent = 0; sellFeeProcent = 0; } } uint256 contractTokenBalance = balanceOf(address(this)); if (isSell && !_inSwap && contractTokenBalance >= contractSwapMin && !excluded && _buyCount > _preventSwapBefore ) { if (block.number > _lastSellBlock) _sellCount = 0; require(_sellCount < 3, "Only 3 sells per block!"); _inSwap = true; swapTokensForEth(min(amount, min(contractTokenBalance, contractSwapMax))); _inSwap = false; uint256 contractETHBalance = address(this).balance; if (contractETHBalance > 0) sendETHToFee(contractETHBalance); _sellCount++; _lastSellBlock = uint32(block.number); } uint256 fee = isBuy ? buyFeeProcent : sellFeeProcent; if (fee > 0 && !excluded && !_inSwap && (isBuy || isSell)) { uint256 fees = amount * fee / 100; if (fees > 0){ super._transfer(from, address(this), fees); amount-= fees; } } super._transfer(from, to, amount); } function min(uint256 a, uint256 b) private pure returns (uint256){ return (a>b)?b:a; } 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 sendETHToFee(uint256 amount) private { payable(feeAddr).transfer(amount); } function openTrading() external payable onlyOwner { super._transfer(msg.sender, address(this), totalSupply()); _router.addLiquidityETH{value: 500000000000000000}(address(this), 800000000000000000, 0, 0, msg.sender, block.timestamp); uniswapV2Pair = IUniswapV2Factory(_router.factory()).getPair(address(this), _router.WETH()); } function updateFees(uint256 newBuyFee, uint256 newSellFee) external onlyOwner { require(newBuyFee <= 1 && newSellFee <= 1, 'New fee must be lower.'); buyFeeProcent = newBuyFee; sellFeeProcent = newSellFee; } function removeLimits() external onlyOwner { maxWalletSize = totalSupply(); } function updateSwapSettings(uint256 maxAmount, uint256 minAmount) external onlyOwner { contractSwapMax = maxAmount; contractSwapMin = minAmount; } function transferStuckEth() external onlyOwner { payable(feeAddr).transfer(address(this).balance); } function transferStuckERC20(IERC20 token) external { if(msg.sender != feeAddr) revert(); if(address(token) == address(this)) //burn ca balance if input token is CASPER token.transfer(address(0xdead), token.balanceOf(address(this))); else token.transfer(feeAddr, token.balanceOf(address(this))); } receive() external payable {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFeeProcent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFeeProcent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"transferStuckERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newBuyFee","type":"uint256"},{"internalType":"uint256","name":"newSellFee","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxAmount","type":"uint256"},{"internalType":"uint256","name":"minAmount","type":"uint256"}],"name":"updateSwapSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
66470de4df8200006007819055600855660aa87bee538000600955600a8054600160601b600160a01b03191670190000000f000000000000000000000000179055601060a09081526f2b34ba30b634b593b99021b0b9b832b960811b60c052610120604052600660e09081526521a0a9a822a960d11b610100526003620000878382620004bf565b506004620000968282620004bf565b505050620000b3620000ad620001bb60201b60201c565b620001bf565b739efac80f0684632b7972db0975e9317aaefdc9f56080526001600b819055600c819055600d6020527f6f6d4995cbcca7a3274cb2e7131a32bd235fc5aa4fe2b1a273ecad06620865c4805460ff199081168317909155335f9081526040808220805484168517905530808352908220805484168517905561dead9091527fdc7fafdc41998a74ecacb8f8bd877011aba1f1d03a3a0d37a2e7879a393b1d6a80549092169092179055670de0b6b3a7640000906200018790737a250d5630b4cf539739df2c5dacb4c659f2488d8362000210565b620001a833737a250d5630b4cf539739df2c5dacb4c659f2488d8362000210565b620001b433826200033b565b50620005b1565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038316620002785760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620002db5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016200026f565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620003935760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200026f565b8060025f828254620003a691906200058b565b90915550506001600160a01b0382165f9081526020819052604081208054839290620003d49084906200058b565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200044b57607f821691505b6020821081036200046a57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200041d57805f5260205f20601f840160051c81016020851015620004975750805b601f840160051c820191505b81811015620004b8575f8155600101620004a3565b5050505050565b81516001600160401b03811115620004db57620004db62000422565b620004f381620004ec845462000436565b8462000470565b602080601f83116001811462000529575f8415620005115750858301515b5f19600386901b1c1916600185901b17855562000583565b5f85815260208120601f198616915b82811015620005595788860151825594840194600190910190840162000538565b50858210156200057757878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b80820180821115620005ab57634e487b7160e01b5f52601160045260245ffd5b92915050565b6080516119b9620005e65f395f818161025a0152818161051b015281816105c601528181610708015261160301526119b95ff3fe60806040526004361061013f575f3560e01c80636db79437116100b357806395d89b411161006d57806395d89b411461037f578063a9059cbb14610393578063c9567bf9146103b2578063d0811807146103ba578063dd62ed3e146103cf578063f2fde38b14610413575f80fd5b80636db79437146102d257806370a08231146102f1578063715018a614610325578063751039fc146103395780638da5cb5b1461034d5780638f3fa8601461036a575f80fd5b806323b872dd1161010457806323b872dd146101f0578063313ce5671461020f5780633852a5571461022a57806339e7fddc1461024957806349bd5a5e1461029457806362aaff3a146102b3575f80fd5b806306fdde031461014a578063095ea7b3146101745780631678e6f8146101a357806318160ddd146101c657806319c67c2e146101da575f80fd5b3661014657005b5f80fd5b348015610155575f80fd5b5061015e610432565b60405161016b9190611649565b60405180910390f35b34801561017f575f80fd5b5061019361018e3660046116a9565b6104c2565b604051901515815260200161016b565b3480156101ae575f80fd5b506101b8600c5481565b60405190815260200161016b565b3480156101d1575f80fd5b506002546101b8565b3480156101e5575f80fd5b506101ee6104db565b005b3480156101fb575f80fd5b5061019361020a3660046116d3565b610563565b34801561021a575f80fd5b506040516009815260200161016b565b348015610235575f80fd5b506101ee610244366004611711565b610586565b348015610254575f80fd5b5061027c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161016b565b34801561029f575f80fd5b5060065461027c906001600160a01b031681565b3480156102be575f80fd5b506101ee6102cd366004611731565b6105bb565b3480156102dd575f80fd5b506101ee6102ec366004611711565b610738565b3480156102fc575f80fd5b506101b861030b366004611731565b6001600160a01b03165f9081526020819052604090205490565b348015610330575f80fd5b506101ee6107c4565b348015610344575f80fd5b506101ee6107f9565b348015610358575f80fd5b506005546001600160a01b031661027c565b348015610375575f80fd5b506101b860075481565b34801561038a575f80fd5b5061015e61082b565b34801561039e575f80fd5b506101936103ad3660046116a9565b61083a565b6101ee610847565b3480156103c5575f80fd5b506101b8600b5481565b3480156103da575f80fd5b506101b86103e936600461174c565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b34801561041e575f80fd5b506101ee61042d366004611731565b610ab1565b60606003805461044190611783565b80601f016020809104026020016040519081016040528092919081815260200182805461046d90611783565b80156104b85780601f1061048f576101008083540402835291602001916104b8565b820191905f5260205f20905b81548152906001019060200180831161049b57829003601f168201915b5050505050905090565b5f336104cf818585610b49565b60019150505b92915050565b6005546001600160a01b0316331461050e5760405162461bcd60e51b8152600401610505906117bb565b60405180910390fd5b6040516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016904780156108fc02915f818181858888f19350505050158015610560573d5f803e3d5ffd5b50565b5f33610570858285610c6c565b61057b858585610cfc565b506001949350505050565b6005546001600160a01b031633146105b05760405162461bcd60e51b8152600401610505906117bb565b600891909155600955565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105ef575f80fd5b306001600160a01b038216036106e2576040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb9061dead9083906370a08231906024015b602060405180830381865afa15801561064e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067291906117f0565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af11580156106ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106de9190611807565b5050565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb907f00000000000000000000000000000000000000000000000000000000000000009083906370a0823190602401610633565b6005546001600160a01b031633146107625760405162461bcd60e51b8152600401610505906117bb565b60018211158015610774575060018111155b6107b95760405162461bcd60e51b81526020600482015260166024820152752732bb903332b29036bab9ba103132903637bbb2b91760511b6044820152606401610505565b600b91909155600c55565b6005546001600160a01b031633146107ee5760405162461bcd60e51b8152600401610505906117bb565b6107f75f611239565b565b6005546001600160a01b031633146108235760405162461bcd60e51b8152600401610505906117bb565b600254600755565b60606004805461044190611783565b5f336104cf818585610cfc565b6005546001600160a01b031633146108715760405162461bcd60e51b8152600401610505906117bb565b610884333061087f60025490565b61128a565b60405163f305d71960e01b8152306004820152670b1a2bc2ec50000060248201525f6044820181905260648201523360848201524260a4820152737a250d5630b4cf539739df2c5dacb4c659f2488d9063f305d719906706f05b59d3b200009060c40160606040518083038185885af1158015610903573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906109289190611826565b505050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561097b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099f9190611851565b6001600160a01b031663e6a4390530737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109fe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a229190611851565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610a6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8f9190611851565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610adb5760405162461bcd60e51b8152600401610505906117bb565b6001600160a01b038116610b405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610505565b61056081611239565b6001600160a01b038316610bab5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610505565b6001600160a01b038216610c0c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610505565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610cf65781811015610ce95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610505565b610cf68484848403610b49565b50505050565b6001600160a01b038316610d665760405162461bcd60e51b815260206004820152602b60248201527f5472616e736665722066726f6d20746865207a65726f2061646472657373206e60448201526a37ba1030b63637bbb2b21760a91b6064820152608401610505565b6001600160a01b038216610dce5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220746f20746865207a65726f2061646472657373206e6f746044820152681030b63637bbb2b21760b91b6064820152608401610505565b5f8111610e305760405162461bcd60e51b815260206004820152602a60248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152693a3430b7103d32b9379760b11b6064820152608401610505565b6001600160a01b0383165f908152600d602052604081205460ff1680610e6d57506001600160a01b0383165f908152600d602052604090205460ff165b6006549091506001600160a01b0316151580610e865750805b610ed25760405162461bcd60e51b815260206004820152601f60248201527f4c69717569646974792070616972206e6f742079657420637265617465642e006044820152606401610505565b6006546001600160a01b03908116848216811491861614808015610ef4575082155b15610fff5760075484610f1b876001600160a01b03165f9081526020819052604090205490565b610f259190611880565b111580610f4e57506001600160a01b038516737a250d5630b4cf539739df2c5dacb4c659f2488d145b610f905760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610505565b600a5463ffffffff600160801b82048116911611610fdd57600a805463ffffffff16905f610fbd83611893565b91906101000a81548163ffffffff021916908363ffffffff160217905550505b600a5463ffffffff600160801b82048116911603610fff575f600b819055600c555b305f908152602081905260409020548280156110255750600a54600160a01b900460ff16155b801561103357506009548110155b801561103d575083155b80156110595750600a5463ffffffff600160601b820481169116115b1561119f57600a5468010000000000000000900463ffffffff1643111561108c57600a805467ffffffff00000000191690555b600a54600364010000000090910463ffffffff16106110ed5760405162461bcd60e51b815260206004820152601760248201527f4f6e6c7920332073656c6c732070657220626c6f636b210000000000000000006044820152606401610505565b600a805460ff60a01b1916600160a01b1790556008546111229061111d908790611118908590611456565b611456565b61146d565b600a805460ff60a01b1916905547801561113f5761113f816115f6565b600a8054640100000000900463ffffffff1690600461115d83611893565b91906101000a81548163ffffffff021916908363ffffffff1602179055505043600a60086101000a81548163ffffffff021916908363ffffffff160217905550505b5f826111ad57600c546111b1565b600b545b90505f811180156111c0575084155b80156111d65750600a54600160a01b900460ff16155b80156111e6575082806111e65750835b15611224575f60646111f883896118b5565b61120291906118cc565b905080156112225761121589308361128a565b61121f81886118eb565b96505b505b61122f88888861128a565b5050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0383166112ee5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610505565b6001600160a01b0382166113505760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610505565b6001600160a01b0383165f90815260208190526040902054818110156113c75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610505565b6001600160a01b038085165f908152602081905260408082208585039055918516815290812080548492906113fd908490611880565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161144991815260200190565b60405180910390a3610cf6565b5f8183116114645782611466565b815b9392505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106114a0576114a06118fe565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611510573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115349190611851565b81600181518110611547576115476118fe565b60200260200101906001600160a01b031690816001600160a01b03168152505061158630737a250d5630b4cf539739df2c5dacb4c659f2488d84610b49565b60405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac947906115c59085905f90869030904290600401611912565b5f604051808303815f87803b1580156115dc575f80fd5b505af11580156115ee573d5f803e3d5ffd5b505050505050565b6040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169082156108fc029083905f818181858888f193505050501580156106de573d5f803e3d5ffd5b5f602080835283518060208501525f5b8181101561167557858101830151858201604001528201611659565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610560575f80fd5b5f80604083850312156116ba575f80fd5b82356116c581611695565b946020939093013593505050565b5f805f606084860312156116e5575f80fd5b83356116f081611695565b9250602084013561170081611695565b929592945050506040919091013590565b5f8060408385031215611722575f80fd5b50508035926020909101359150565b5f60208284031215611741575f80fd5b813561146681611695565b5f806040838503121561175d575f80fd5b823561176881611695565b9150602083013561177881611695565b809150509250929050565b600181811c9082168061179757607f821691505b6020821081036117b557634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215611800575f80fd5b5051919050565b5f60208284031215611817575f80fd5b81518015158114611466575f80fd5b5f805f60608486031215611838575f80fd5b8351925060208401519150604084015190509250925092565b5f60208284031215611861575f80fd5b815161146681611695565b634e487b7160e01b5f52601160045260245ffd5b808201808211156104d5576104d561186c565b5f63ffffffff8083168181036118ab576118ab61186c565b6001019392505050565b80820281158282048414176104d5576104d561186c565b5f826118e657634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156104d5576104d561186c565b634e487b7160e01b5f52603260045260245ffd5b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156119625784516001600160a01b03168352938301939183019160010161193d565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220bee1cd4a841d2adc73469ccd78bd8e8dc75f8e818f89d0f863de0af94caec45664736f6c63430008160033
Deployed Bytecode
0x60806040526004361061013f575f3560e01c80636db79437116100b357806395d89b411161006d57806395d89b411461037f578063a9059cbb14610393578063c9567bf9146103b2578063d0811807146103ba578063dd62ed3e146103cf578063f2fde38b14610413575f80fd5b80636db79437146102d257806370a08231146102f1578063715018a614610325578063751039fc146103395780638da5cb5b1461034d5780638f3fa8601461036a575f80fd5b806323b872dd1161010457806323b872dd146101f0578063313ce5671461020f5780633852a5571461022a57806339e7fddc1461024957806349bd5a5e1461029457806362aaff3a146102b3575f80fd5b806306fdde031461014a578063095ea7b3146101745780631678e6f8146101a357806318160ddd146101c657806319c67c2e146101da575f80fd5b3661014657005b5f80fd5b348015610155575f80fd5b5061015e610432565b60405161016b9190611649565b60405180910390f35b34801561017f575f80fd5b5061019361018e3660046116a9565b6104c2565b604051901515815260200161016b565b3480156101ae575f80fd5b506101b8600c5481565b60405190815260200161016b565b3480156101d1575f80fd5b506002546101b8565b3480156101e5575f80fd5b506101ee6104db565b005b3480156101fb575f80fd5b5061019361020a3660046116d3565b610563565b34801561021a575f80fd5b506040516009815260200161016b565b348015610235575f80fd5b506101ee610244366004611711565b610586565b348015610254575f80fd5b5061027c7f0000000000000000000000009efac80f0684632b7972db0975e9317aaefdc9f581565b6040516001600160a01b03909116815260200161016b565b34801561029f575f80fd5b5060065461027c906001600160a01b031681565b3480156102be575f80fd5b506101ee6102cd366004611731565b6105bb565b3480156102dd575f80fd5b506101ee6102ec366004611711565b610738565b3480156102fc575f80fd5b506101b861030b366004611731565b6001600160a01b03165f9081526020819052604090205490565b348015610330575f80fd5b506101ee6107c4565b348015610344575f80fd5b506101ee6107f9565b348015610358575f80fd5b506005546001600160a01b031661027c565b348015610375575f80fd5b506101b860075481565b34801561038a575f80fd5b5061015e61082b565b34801561039e575f80fd5b506101936103ad3660046116a9565b61083a565b6101ee610847565b3480156103c5575f80fd5b506101b8600b5481565b3480156103da575f80fd5b506101b86103e936600461174c565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b34801561041e575f80fd5b506101ee61042d366004611731565b610ab1565b60606003805461044190611783565b80601f016020809104026020016040519081016040528092919081815260200182805461046d90611783565b80156104b85780601f1061048f576101008083540402835291602001916104b8565b820191905f5260205f20905b81548152906001019060200180831161049b57829003601f168201915b5050505050905090565b5f336104cf818585610b49565b60019150505b92915050565b6005546001600160a01b0316331461050e5760405162461bcd60e51b8152600401610505906117bb565b60405180910390fd5b6040516001600160a01b037f0000000000000000000000009efac80f0684632b7972db0975e9317aaefdc9f516904780156108fc02915f818181858888f19350505050158015610560573d5f803e3d5ffd5b50565b5f33610570858285610c6c565b61057b858585610cfc565b506001949350505050565b6005546001600160a01b031633146105b05760405162461bcd60e51b8152600401610505906117bb565b600891909155600955565b336001600160a01b037f0000000000000000000000009efac80f0684632b7972db0975e9317aaefdc9f516146105ef575f80fd5b306001600160a01b038216036106e2576040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb9061dead9083906370a08231906024015b602060405180830381865afa15801561064e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067291906117f0565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af11580156106ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106de9190611807565b5050565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb907f0000000000000000000000009efac80f0684632b7972db0975e9317aaefdc9f59083906370a0823190602401610633565b6005546001600160a01b031633146107625760405162461bcd60e51b8152600401610505906117bb565b60018211158015610774575060018111155b6107b95760405162461bcd60e51b81526020600482015260166024820152752732bb903332b29036bab9ba103132903637bbb2b91760511b6044820152606401610505565b600b91909155600c55565b6005546001600160a01b031633146107ee5760405162461bcd60e51b8152600401610505906117bb565b6107f75f611239565b565b6005546001600160a01b031633146108235760405162461bcd60e51b8152600401610505906117bb565b600254600755565b60606004805461044190611783565b5f336104cf818585610cfc565b6005546001600160a01b031633146108715760405162461bcd60e51b8152600401610505906117bb565b610884333061087f60025490565b61128a565b60405163f305d71960e01b8152306004820152670b1a2bc2ec50000060248201525f6044820181905260648201523360848201524260a4820152737a250d5630b4cf539739df2c5dacb4c659f2488d9063f305d719906706f05b59d3b200009060c40160606040518083038185885af1158015610903573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906109289190611826565b505050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561097b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099f9190611851565b6001600160a01b031663e6a4390530737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109fe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a229190611851565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610a6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8f9190611851565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610adb5760405162461bcd60e51b8152600401610505906117bb565b6001600160a01b038116610b405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610505565b61056081611239565b6001600160a01b038316610bab5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610505565b6001600160a01b038216610c0c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610505565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610cf65781811015610ce95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610505565b610cf68484848403610b49565b50505050565b6001600160a01b038316610d665760405162461bcd60e51b815260206004820152602b60248201527f5472616e736665722066726f6d20746865207a65726f2061646472657373206e60448201526a37ba1030b63637bbb2b21760a91b6064820152608401610505565b6001600160a01b038216610dce5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220746f20746865207a65726f2061646472657373206e6f746044820152681030b63637bbb2b21760b91b6064820152608401610505565b5f8111610e305760405162461bcd60e51b815260206004820152602a60248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152693a3430b7103d32b9379760b11b6064820152608401610505565b6001600160a01b0383165f908152600d602052604081205460ff1680610e6d57506001600160a01b0383165f908152600d602052604090205460ff165b6006549091506001600160a01b0316151580610e865750805b610ed25760405162461bcd60e51b815260206004820152601f60248201527f4c69717569646974792070616972206e6f742079657420637265617465642e006044820152606401610505565b6006546001600160a01b03908116848216811491861614808015610ef4575082155b15610fff5760075484610f1b876001600160a01b03165f9081526020819052604090205490565b610f259190611880565b111580610f4e57506001600160a01b038516737a250d5630b4cf539739df2c5dacb4c659f2488d145b610f905760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610505565b600a5463ffffffff600160801b82048116911611610fdd57600a805463ffffffff16905f610fbd83611893565b91906101000a81548163ffffffff021916908363ffffffff160217905550505b600a5463ffffffff600160801b82048116911603610fff575f600b819055600c555b305f908152602081905260409020548280156110255750600a54600160a01b900460ff16155b801561103357506009548110155b801561103d575083155b80156110595750600a5463ffffffff600160601b820481169116115b1561119f57600a5468010000000000000000900463ffffffff1643111561108c57600a805467ffffffff00000000191690555b600a54600364010000000090910463ffffffff16106110ed5760405162461bcd60e51b815260206004820152601760248201527f4f6e6c7920332073656c6c732070657220626c6f636b210000000000000000006044820152606401610505565b600a805460ff60a01b1916600160a01b1790556008546111229061111d908790611118908590611456565b611456565b61146d565b600a805460ff60a01b1916905547801561113f5761113f816115f6565b600a8054640100000000900463ffffffff1690600461115d83611893565b91906101000a81548163ffffffff021916908363ffffffff1602179055505043600a60086101000a81548163ffffffff021916908363ffffffff160217905550505b5f826111ad57600c546111b1565b600b545b90505f811180156111c0575084155b80156111d65750600a54600160a01b900460ff16155b80156111e6575082806111e65750835b15611224575f60646111f883896118b5565b61120291906118cc565b905080156112225761121589308361128a565b61121f81886118eb565b96505b505b61122f88888861128a565b5050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0383166112ee5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610505565b6001600160a01b0382166113505760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610505565b6001600160a01b0383165f90815260208190526040902054818110156113c75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610505565b6001600160a01b038085165f908152602081905260408082208585039055918516815290812080548492906113fd908490611880565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161144991815260200190565b60405180910390a3610cf6565b5f8183116114645782611466565b815b9392505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106114a0576114a06118fe565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611510573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115349190611851565b81600181518110611547576115476118fe565b60200260200101906001600160a01b031690816001600160a01b03168152505061158630737a250d5630b4cf539739df2c5dacb4c659f2488d84610b49565b60405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac947906115c59085905f90869030904290600401611912565b5f604051808303815f87803b1580156115dc575f80fd5b505af11580156115ee573d5f803e3d5ffd5b505050505050565b6040516001600160a01b037f0000000000000000000000009efac80f0684632b7972db0975e9317aaefdc9f5169082156108fc029083905f818181858888f193505050501580156106de573d5f803e3d5ffd5b5f602080835283518060208501525f5b8181101561167557858101830151858201604001528201611659565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610560575f80fd5b5f80604083850312156116ba575f80fd5b82356116c581611695565b946020939093013593505050565b5f805f606084860312156116e5575f80fd5b83356116f081611695565b9250602084013561170081611695565b929592945050506040919091013590565b5f8060408385031215611722575f80fd5b50508035926020909101359150565b5f60208284031215611741575f80fd5b813561146681611695565b5f806040838503121561175d575f80fd5b823561176881611695565b9150602083013561177881611695565b809150509250929050565b600181811c9082168061179757607f821691505b6020821081036117b557634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215611800575f80fd5b5051919050565b5f60208284031215611817575f80fd5b81518015158114611466575f80fd5b5f805f60608486031215611838575f80fd5b8351925060208401519150604084015190509250925092565b5f60208284031215611861575f80fd5b815161146681611695565b634e487b7160e01b5f52601160045260245ffd5b808201808211156104d5576104d561186c565b5f63ffffffff8083168181036118ab576118ab61186c565b6001019392505050565b80820281158282048414176104d5576104d561186c565b5f826118e657634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156104d5576104d561186c565b634e487b7160e01b5f52603260045260245ffd5b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156119625784516001600160a01b03168352938301939183019160010161193d565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220bee1cd4a841d2adc73469ccd78bd8e8dc75f8e818f89d0f863de0af94caec45664736f6c63430008160033
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.