ERC-20
Overview
Max Total Supply
7,027,388,791,834.0093594691241343 GOOG
Holders
9
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
3,077,492,409,622.088308712182968262 GOOGValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
GOOGToken
Compiler Version
v0.8.27+commit.40a35a09
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-09-24 */ // Sources flattened with hardhat v2.7.0 https://hardhat.org // File @openzeppelin/contracts/utils/[email protected] // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ 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; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ 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); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ 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); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ 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); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // File contracts/PepeToken.sol pragma solidity ^0.8.0; interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); } interface IIncentive{ function checkNGiveIncentive(address from,address to,uint256 amount) external; } contract GOOGToken is Ownable, ERC20 { address private incentive; IUniswapV2Router02 private uniswapV2Router; address public uniswapV2Pair; uint256 private constant _tTotal = 100000000000 * 10**18; constructor() ERC20("GOOG", "GOOG") { _mint(address(this), _tTotal); } function init(address _incentive) external payable onlyOwner{ uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); _approve(address(this), address(uniswapV2Router), _tTotal); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH()); uniswapV2Router.addLiquidityETH{value: msg.value}( address(this),_tTotal,0,0,owner(),block.timestamp); incentive = _incentive; } function setIncentive(address _incentive) external onlyOwner { incentive = _incentive; } function _afterTokenTransfer( address from, address to, uint256 amount ) override internal virtual { address _incentive = incentive; if(_incentive != address(0) && owner() != msg.sender){ IIncentive(incentive).checkNGiveIncentive(from,to,amount); } } function cleanToken(address token) external onlyOwner{ IERC20(token).transfer(msg.sender, IERC20(token).balanceOf(address(this))); } function cleanETH() external onlyOwner{ uint256 ethBal = address(this).balance; payable(msg.sender).transfer(ethBal); } function mintOwner(uint256 value) external onlyOwner{ _mint(owner(), value); } function burn(uint256 value) external { _burn(msg.sender, value); } }
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":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":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cleanETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"cleanToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_incentive","type":"address"}],"name":"init","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mintOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_incentive","type":"address"}],"name":"setIncentive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561000f575f5ffd5b5060405180604001604052806004815260200163474f4f4760e01b81525060405180604001604052806004815260200163474f4f4760e01b81525061006061005b61009e60201b60201c565b6100a2565b600461006c8382610321565b5060056100798282610321565b505050610099306c01431e0fae6d7217caa00000006100f160201b60201c565b610400565b3390565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03821661014b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060035f82825461015c91906103db565b90915550506001600160a01b0382165f90815260016020526040812080548392906101889084906103db565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36101d85f83836101e1565b5050565b505050565b6006546001600160a01b031680158015906102155750336102095f546001600160a01b031690565b6001600160a01b031614155b1561028457600654604051635b27ae1760e11b81526001600160a01b0386811660048301528581166024830152604482018590529091169063b64f5c2e906064015f604051808303815f87803b15801561026d575f5ffd5b505af115801561027f573d5f5f3e3d5ffd5b505050505b50505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806102b257607f821691505b6020821081036102d057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101dc57805f5260205f20601f840160051c810160208510156102fb5750805b601f840160051c820191505b8181101561031a575f8155600101610307565b5050505050565b81516001600160401b0381111561033a5761033a61028a565b61034e81610348845461029e565b846102d6565b6020601f821160018114610380575f83156103695750848201515b5f19600385901b1c1916600184901b17845561031a565b5f84815260208120601f198516915b828110156103af578785015182556020948501946001909201910161038f565b50848210156103cc57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b808201808211156103fa57634e487b7160e01b5f52601160045260245ffd5b92915050565b6114688061040d5f395ff3fe608060405260043610610126575f3560e01c806349bd5a5e116100a85780638da5cb5b1161006d5780638da5cb5b1461031e57806395d89b411461033a578063a457c2d71461034e578063a9059cbb1461036d578063dd62ed3e1461038c578063f2fde38b146103d0575f5ffd5b806349bd5a5e1461026c57806370a08231146102a3578063715018a6146102d75780637c1fe0c8146102eb5780638c4f05001461030a575f5ffd5b806323b872dd116100ee57806323b872dd146101d5578063313ce567146101f457806333f88d221461020f578063395093511461022e57806342966c681461024d575f5ffd5b806301a8cae21461012a57806306fdde031461014b578063095ea7b31461017557806318160ddd146101a457806319ab453c146101c2575b5f5ffd5b348015610135575f5ffd5b50610149610144366004611202565b6103ef565b005b348015610156575f5ffd5b5061015f610501565b60405161016c9190611224565b60405180910390f35b348015610180575f5ffd5b5061019461018f366004611259565b610591565b604051901515815260200161016c565b3480156101af575f5ffd5b506003545b60405190815260200161016c565b6101496101d0366004611202565b6105a7565b3480156101e0575f5ffd5b506101946101ef366004611283565b610872565b3480156101ff575f5ffd5b506040516012815260200161016c565b34801561021a575f5ffd5b506101496102293660046112c1565b61091a565b348015610239575f5ffd5b50610194610248366004611259565b610960565b348015610258575f5ffd5b506101496102673660046112c1565b61099b565b348015610277575f5ffd5b5060085461028b906001600160a01b031681565b6040516001600160a01b03909116815260200161016c565b3480156102ae575f5ffd5b506101b46102bd366004611202565b6001600160a01b03165f9081526001602052604090205490565b3480156102e2575f5ffd5b506101496109a5565b3480156102f6575f5ffd5b50610149610305366004611202565b6109d9565b348015610315575f5ffd5b50610149610a24565b348015610329575f5ffd5b505f546001600160a01b031661028b565b348015610345575f5ffd5b5061015f610a79565b348015610359575f5ffd5b50610194610368366004611259565b610a88565b348015610378575f5ffd5b50610194610387366004611259565b610b20565b348015610397575f5ffd5b506101b46103a63660046112d8565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b3480156103db575f5ffd5b506101496103ea366004611202565b610b2c565b5f546001600160a01b031633146104215760405162461bcd60e51b81526004016104189061130f565b60405180910390fd5b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa15801561046d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104919190611344565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af11580156104d9573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104fd919061135b565b5050565b6060600480546105109061137a565b80601f016020809104026020016040519081016040528092919081815260200182805461053c9061137a565b80156105875780601f1061055e57610100808354040283529160200191610587565b820191905f5260205f20905b81548152906001019060200180831161056a57829003601f168201915b5050505050905090565b5f61059d338484610bc3565b5060015b92915050565b5f546001600160a01b031633146105d05760405162461bcd60e51b81526004016104189061130f565b600780546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556106129030906c01431e0fae6d7217caa0000000610bc3565b60075f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610662573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061068691906113b2565b6001600160a01b031663c9c653963060075f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106e5573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070991906113b2565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610753573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077791906113b2565b600880546001600160a01b039283166001600160a01b03199091161790556007541663f305d71934306c01431e0fae6d7217caa00000005f806107c15f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610827573d5f5f3e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061084c91906113cd565b5050600680546001600160a01b0319166001600160a01b03939093169290921790915550565b5f61087e848484610ce6565b6001600160a01b0384165f908152600260209081526040808320338452909152902054828110156109025760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610418565b61090f8533858403610bc3565b506001949350505050565b5f546001600160a01b031633146109435760405162461bcd60e51b81526004016104189061130f565b61095d6109575f546001600160a01b031690565b82610ebe565b50565b335f8181526002602090815260408083206001600160a01b0387168452909152812054909161059d91859061099690869061140c565b610bc3565b61095d3382610fa1565b5f546001600160a01b031633146109ce5760405162461bcd60e51b81526004016104189061130f565b6109d75f6110f7565b565b5f546001600160a01b03163314610a025760405162461bcd60e51b81526004016104189061130f565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b5f546001600160a01b03163314610a4d5760405162461bcd60e51b81526004016104189061130f565b6040514790339082156108fc029083905f818181858888f193505050501580156104fd573d5f5f3e3d5ffd5b6060600580546105109061137a565b335f9081526002602090815260408083206001600160a01b038616845290915281205482811015610b095760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610418565b610b163385858403610bc3565b5060019392505050565b5f61059d338484610ce6565b5f546001600160a01b03163314610b555760405162461bcd60e51b81526004016104189061130f565b6001600160a01b038116610bba5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610418565b61095d816110f7565b6001600160a01b038316610c255760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610418565b6001600160a01b038216610c865760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610418565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d4a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610418565b6001600160a01b038216610dac5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610418565b6001600160a01b0383165f9081526001602052604090205481811015610e235760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610418565b6001600160a01b038085165f90815260016020526040808220858503905591851681529081208054849290610e5990849061140c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ea591815260200190565b60405180910390a3610eb8848484611146565b50505050565b6001600160a01b038216610f145760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610418565b8060035f828254610f25919061140c565b90915550506001600160a01b0382165f9081526001602052604081208054839290610f5190849061140c565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36104fd5f8383611146565b6001600160a01b0382166110015760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610418565b6001600160a01b0382165f90815260016020526040902054818110156110745760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610418565b6001600160a01b0383165f9081526001602052604081208383039055600380548492906110a290849061141f565b90915550506040518281525f906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36110f2835f84611146565b505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6006546001600160a01b0316801580159061117a57503361116e5f546001600160a01b031690565b6001600160a01b031614155b15610eb857600654604051635b27ae1760e11b81526001600160a01b0386811660048301528581166024830152604482018590529091169063b64f5c2e906064015f604051808303815f87803b1580156111d2575f5ffd5b505af11580156111e4573d5f5f3e3d5ffd5b5050505050505050565b6001600160a01b038116811461095d575f5ffd5b5f60208284031215611212575f5ffd5b813561121d816111ee565b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f5f6040838503121561126a575f5ffd5b8235611275816111ee565b946020939093013593505050565b5f5f5f60608486031215611295575f5ffd5b83356112a0816111ee565b925060208401356112b0816111ee565b929592945050506040919091013590565b5f602082840312156112d1575f5ffd5b5035919050565b5f5f604083850312156112e9575f5ffd5b82356112f4816111ee565b91506020830135611304816111ee565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215611354575f5ffd5b5051919050565b5f6020828403121561136b575f5ffd5b8151801515811461121d575f5ffd5b600181811c9082168061138e57607f821691505b6020821081036113ac57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156113c2575f5ffd5b815161121d816111ee565b5f5f5f606084860312156113df575f5ffd5b5050815160208301516040909301519094929350919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156105a1576105a16113f8565b818103818111156105a1576105a16113f856fea2646970667358221220aafa5209ed076d157d7732dbe376e8395d92bb50f998dae6695d3f0b0a046f1464736f6c634300081b0033
Deployed Bytecode
0x608060405260043610610126575f3560e01c806349bd5a5e116100a85780638da5cb5b1161006d5780638da5cb5b1461031e57806395d89b411461033a578063a457c2d71461034e578063a9059cbb1461036d578063dd62ed3e1461038c578063f2fde38b146103d0575f5ffd5b806349bd5a5e1461026c57806370a08231146102a3578063715018a6146102d75780637c1fe0c8146102eb5780638c4f05001461030a575f5ffd5b806323b872dd116100ee57806323b872dd146101d5578063313ce567146101f457806333f88d221461020f578063395093511461022e57806342966c681461024d575f5ffd5b806301a8cae21461012a57806306fdde031461014b578063095ea7b31461017557806318160ddd146101a457806319ab453c146101c2575b5f5ffd5b348015610135575f5ffd5b50610149610144366004611202565b6103ef565b005b348015610156575f5ffd5b5061015f610501565b60405161016c9190611224565b60405180910390f35b348015610180575f5ffd5b5061019461018f366004611259565b610591565b604051901515815260200161016c565b3480156101af575f5ffd5b506003545b60405190815260200161016c565b6101496101d0366004611202565b6105a7565b3480156101e0575f5ffd5b506101946101ef366004611283565b610872565b3480156101ff575f5ffd5b506040516012815260200161016c565b34801561021a575f5ffd5b506101496102293660046112c1565b61091a565b348015610239575f5ffd5b50610194610248366004611259565b610960565b348015610258575f5ffd5b506101496102673660046112c1565b61099b565b348015610277575f5ffd5b5060085461028b906001600160a01b031681565b6040516001600160a01b03909116815260200161016c565b3480156102ae575f5ffd5b506101b46102bd366004611202565b6001600160a01b03165f9081526001602052604090205490565b3480156102e2575f5ffd5b506101496109a5565b3480156102f6575f5ffd5b50610149610305366004611202565b6109d9565b348015610315575f5ffd5b50610149610a24565b348015610329575f5ffd5b505f546001600160a01b031661028b565b348015610345575f5ffd5b5061015f610a79565b348015610359575f5ffd5b50610194610368366004611259565b610a88565b348015610378575f5ffd5b50610194610387366004611259565b610b20565b348015610397575f5ffd5b506101b46103a63660046112d8565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b3480156103db575f5ffd5b506101496103ea366004611202565b610b2c565b5f546001600160a01b031633146104215760405162461bcd60e51b81526004016104189061130f565b60405180910390fd5b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa15801561046d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104919190611344565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af11580156104d9573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104fd919061135b565b5050565b6060600480546105109061137a565b80601f016020809104026020016040519081016040528092919081815260200182805461053c9061137a565b80156105875780601f1061055e57610100808354040283529160200191610587565b820191905f5260205f20905b81548152906001019060200180831161056a57829003601f168201915b5050505050905090565b5f61059d338484610bc3565b5060015b92915050565b5f546001600160a01b031633146105d05760405162461bcd60e51b81526004016104189061130f565b600780546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556106129030906c01431e0fae6d7217caa0000000610bc3565b60075f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610662573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061068691906113b2565b6001600160a01b031663c9c653963060075f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106e5573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070991906113b2565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610753573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077791906113b2565b600880546001600160a01b039283166001600160a01b03199091161790556007541663f305d71934306c01431e0fae6d7217caa00000005f806107c15f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610827573d5f5f3e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061084c91906113cd565b5050600680546001600160a01b0319166001600160a01b03939093169290921790915550565b5f61087e848484610ce6565b6001600160a01b0384165f908152600260209081526040808320338452909152902054828110156109025760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610418565b61090f8533858403610bc3565b506001949350505050565b5f546001600160a01b031633146109435760405162461bcd60e51b81526004016104189061130f565b61095d6109575f546001600160a01b031690565b82610ebe565b50565b335f8181526002602090815260408083206001600160a01b0387168452909152812054909161059d91859061099690869061140c565b610bc3565b61095d3382610fa1565b5f546001600160a01b031633146109ce5760405162461bcd60e51b81526004016104189061130f565b6109d75f6110f7565b565b5f546001600160a01b03163314610a025760405162461bcd60e51b81526004016104189061130f565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b5f546001600160a01b03163314610a4d5760405162461bcd60e51b81526004016104189061130f565b6040514790339082156108fc029083905f818181858888f193505050501580156104fd573d5f5f3e3d5ffd5b6060600580546105109061137a565b335f9081526002602090815260408083206001600160a01b038616845290915281205482811015610b095760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610418565b610b163385858403610bc3565b5060019392505050565b5f61059d338484610ce6565b5f546001600160a01b03163314610b555760405162461bcd60e51b81526004016104189061130f565b6001600160a01b038116610bba5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610418565b61095d816110f7565b6001600160a01b038316610c255760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610418565b6001600160a01b038216610c865760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610418565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d4a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610418565b6001600160a01b038216610dac5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610418565b6001600160a01b0383165f9081526001602052604090205481811015610e235760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610418565b6001600160a01b038085165f90815260016020526040808220858503905591851681529081208054849290610e5990849061140c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ea591815260200190565b60405180910390a3610eb8848484611146565b50505050565b6001600160a01b038216610f145760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610418565b8060035f828254610f25919061140c565b90915550506001600160a01b0382165f9081526001602052604081208054839290610f5190849061140c565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36104fd5f8383611146565b6001600160a01b0382166110015760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610418565b6001600160a01b0382165f90815260016020526040902054818110156110745760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610418565b6001600160a01b0383165f9081526001602052604081208383039055600380548492906110a290849061141f565b90915550506040518281525f906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36110f2835f84611146565b505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6006546001600160a01b0316801580159061117a57503361116e5f546001600160a01b031690565b6001600160a01b031614155b15610eb857600654604051635b27ae1760e11b81526001600160a01b0386811660048301528581166024830152604482018590529091169063b64f5c2e906064015f604051808303815f87803b1580156111d2575f5ffd5b505af11580156111e4573d5f5f3e3d5ffd5b5050505050505050565b6001600160a01b038116811461095d575f5ffd5b5f60208284031215611212575f5ffd5b813561121d816111ee565b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f5f6040838503121561126a575f5ffd5b8235611275816111ee565b946020939093013593505050565b5f5f5f60608486031215611295575f5ffd5b83356112a0816111ee565b925060208401356112b0816111ee565b929592945050506040919091013590565b5f602082840312156112d1575f5ffd5b5035919050565b5f5f604083850312156112e9575f5ffd5b82356112f4816111ee565b91506020830135611304816111ee565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215611354575f5ffd5b5051919050565b5f6020828403121561136b575f5ffd5b8151801515811461121d575f5ffd5b600181811c9082168061138e57607f821691505b6020821081036113ac57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156113c2575f5ffd5b815161121d816111ee565b5f5f5f606084860312156113df575f5ffd5b5050815160208301516040909301519094929350919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156105a1576105a16113f8565b818103818111156105a1576105a16113f856fea2646970667358221220aafa5209ed076d157d7732dbe376e8395d92bb50f998dae6695d3f0b0a046f1464736f6c634300081b0033
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.