ERC-20
Overview
Max Total Supply
30,367,500,000 CP
Holders
125
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
3,000,000 CPValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Clipepe
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract Clipepe is ERC20 { struct User { uint8 numberOfMints; uint256 lastMinted; } struct Round { uint8 index; uint256 price; address winner; uint256 deadline; string uri; } address public constant BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD; uint8 public constant DECIMALS = 18; uint32 public constant MINT_INTERVAL = 1 days; uint256 public constant BILLION = 10**9; uint256 public constant MILLION = 10**6; uint256 public constant THOUSAND = 10**3; uint256 public constant MAX_SUPPLY = 210 * BILLION * 10**DECIMALS; uint256 public constant TEAM_TOTAL_ALLOC = 30 * BILLION * 10**DECIMALS; uint256 public constant COMMUNITY_BASE_ALLOC = 3 * MILLION * 10**DECIMALS; uint256 public constant BASE_PRICE = 300 * THOUSAND * 10**DECIMALS; uint256 public constant PRICE_MULTIPLIER = 150; uint256 public constant PRICE_MULTIPLIER_DECIMALS = 100; address public owner; // solhint-disable-next-line uint256[4] public JACKPOTS; // solhint-disable-next-line uint32[4] public DURATIONS; Round public currentRound; mapping(address => User) public users; error EUnauthorized(); error EMintCooldown(); event RoundWon(uint256 index, address winner); modifier ownerNotAllowed() { if (_msgSender() == owner) revert EUnauthorized(); _; } constructor() ERC20("Clipepe", "CP") { JACKPOTS = [ 10 * BILLION * 10**DECIMALS, 15 * BILLION * 10**DECIMALS, 35 * BILLION * 10**DECIMALS, 0 ]; DURATIONS = [1 days, 2 days, 3 days, 0]; currentRound.winner = BURN_ADDRESS; // prevent potential deadlock currentRound.deadline = block.timestamp + DURATIONS[0]; currentRound.price = BASE_PRICE; _mint(_msgSender(), TEAM_TOTAL_ALLOC); owner = _msgSender(); } function pepe(string calldata uri) external ownerNotAllowed { if (block.timestamp > currentRound.deadline) { emit RoundWon(currentRound.index, currentRound.winner); _mint(currentRound.winner, JACKPOTS[currentRound.index]); currentRound.index++; currentRound.deadline += DURATIONS[currentRound.index]; currentRound.price = (currentRound.price * PRICE_MULTIPLIER) / PRICE_MULTIPLIER_DECIMALS; } _transfer(_msgSender(), BURN_ADDRESS, currentRound.price); // avoid using _burn() so totalSupply does not decrease uint256 newPrice = (currentRound.price * PRICE_MULTIPLIER) / PRICE_MULTIPLIER_DECIMALS; currentRound.price = newPrice; currentRound.uri = uri; currentRound.winner = _msgSender(); } function setURI(string calldata uri) external { if (_msgSender() != currentRound.winner) revert EUnauthorized(); currentRound.uri = uri; } function mint() external ownerNotAllowed { User storage user = users[_msgSender()]; if (block.timestamp - user.lastMinted < MINT_INTERVAL) revert EMintCooldown(); uint256 divisor = ++user.numberOfMints; uint256 mintAmount = COMMUNITY_BASE_ALLOC / divisor; if (totalSupply() + mintAmount > MAX_SUPPLY) { mintAmount = MAX_SUPPLY - totalSupply(); } _mint(_msgSender(), mintAmount); user.lastMinted = block.timestamp; } function decimals() public pure override returns (uint8) { return DECIMALS; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @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: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, 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}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, 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}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ 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; } /** * @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) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, 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) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * 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: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ 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); } /** @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 Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ 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); } } } /** * @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 {} }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"EMintCooldown","type":"error"},{"inputs":[],"name":"EUnauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"winner","type":"address"}],"name":"RoundWon","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BASE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BILLION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BURN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COMMUNITY_BASE_ALLOC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DECIMALS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"DURATIONS","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"JACKPOTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MILLION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_INTERVAL","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_MULTIPLIER_DECIMALS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_TOTAL_ALLOC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"THOUSAND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentRound","outputs":[{"internalType":"uint8","name":"index","type":"uint8"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"address","name":"winner","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":[],"name":"mint","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":[{"internalType":"string","name":"uri","type":"string"}],"name":"pepe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setURI","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":"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":"","type":"address"}],"name":"users","outputs":[{"internalType":"uint8","name":"numberOfMints","type":"uint8"},{"internalType":"uint256","name":"lastMinted","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040805180820182526007815266436c697065706560c81b602080830191825283518085019094526002845261043560f41b9084015281519192916200005b91600391620002f2565b50805162000071906004906020840190620002f2565b50505060405180608001604052806012600a6200008f9190620004c4565b620000a0633b9aca00600a62000592565b620000ac919062000592565b8152602001620000bf6012600a620004c4565b620000d0633b9aca00600f62000592565b620000dc919062000592565b8152602001620000ef6012600a620004c4565b62000100633b9aca00602362000592565b6200010c919062000592565b815260006020909101526200012690600690600462000381565b50604080516080810182526201518081526202a30060208201526203f48091810191909152600060608201526200016290600a906004620003b1565b50600d80546001600160a01b03191661dead179055600a546200018c9063ffffffff164262000460565b600e556200019d6012600a620004c4565b620001ad6103e861012c62000592565b620001b9919062000592565b600c55620001f233620001cf6012600a620004c4565b620001e0633b9aca00601e62000592565b620001ec919062000592565b6200020a565b600580546001600160a01b0319163317905562000607565b6001600160a01b038216620002655760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b806002600082825462000279919062000460565b90915550506001600160a01b03821660009081526020819052604081208054839290620002a890849062000460565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200030090620005b4565b90600052602060002090601f0160209004810192826200032457600085556200036f565b82601f106200033f57805160ff19168380011785556200036f565b828001600101855582156200036f579182015b828111156200036f57825182559160200191906001019062000352565b506200037d92915062000449565b5090565b82600481019282156200036f57916020028201828111156200036f57825182559160200191906001019062000352565b6001830191839082156200036f5791602002820160005b838211156200040d57835183826101000a81548163ffffffff021916908362ffffff1602179055509260200192600401602081600301049283019260010302620003c8565b80156200043f5782816101000a81549063ffffffff02191690556004016020816003010492830192600103026200040d565b50506200037d9291505b5b808211156200037d57600081556001016200044a565b60008219821115620004765762000476620005f1565b500190565b600181815b80851115620004bc578160001904821115620004a057620004a0620005f1565b80851615620004ae57918102915b93841c939080029062000480565b509250929050565b6000620004d560ff841683620004dc565b9392505050565b600082620004ed575060016200058c565b81620004fc575060006200058c565b8160018114620005155760028114620005205762000540565b60019150506200058c565b60ff841115620005345762000534620005f1565b50506001821b6200058c565b5060208310610133831016604e8410600b841016171562000565575081810a6200058c565b6200057183836200047b565b8060001904821115620005885762000588620005f1565b0290505b92915050565b6000816000190483118215151615620005af57620005af620005f1565b500290565b600181811c90821680620005c957607f821691505b60208210811415620005eb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6113cc80620006176000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c806370a082311161010f578063a9059cbb116100a2578063efcb765511610071578063efcb76551461041c578063f86325ed14610424578063fccc28131461042c578063ff9eee1a1461043557600080fd5b8063a9059cbb146103e6578063cf4285a4146103f9578063d464579814610401578063dd62ed3e1461040957600080fd5b80638da5cb5b116100de5780638da5cb5b1461035a57806395d89b4114610385578063a457c2d71461038d578063a87430ba146103a057600080fd5b806370a082311461030557806384e7e3d31461032e578063851cad90146103385780638a19c8bc1461034157600080fd5b806323b872dd1161018757806332cb6b0c1161015657806332cb6b0c146102cc57806339509351146102d45780634beda18b146102e75780634e6700f3146102f257600080fd5b806323b872dd1461028e5780632e0f2625146102a1578063313ce567146102bb57806332bc934c146102c257600080fd5b8063113990b8116101c3578063113990b8146102405780631249c58b1461025657806318160ddd1461025e57806321ffabca1461026657600080fd5b806302fe5305146101ea57806306fdde03146101ff578063095ea7b31461021d575b600080fd5b6101fd6101f83660046110a5565b610448565b005b61020761048d565b6040516102149190611175565b60405180910390f35b61023061022b36600461107c565b61051f565b6040519015158152602001610214565b610248609681565b604051908152602001610214565b6101fd610539565b600254610248565b610279610274366004611112565b61069c565b60405163ffffffff9091168152602001610214565b61023061029c366004611041565b6106cc565b6102a9601281565b60405160ff9091168152602001610214565b60126102a9565b610248620f424081565b6102486106f0565b6102306102e236600461107c565b610718565b610248633b9aca0081565b6101fd6103003660046110a5565b61073a565b610248610313366004610fee565b6001600160a01b031660009081526020819052604090205490565b6102796201518081565b6102486103e881565b61034961090d565b604051610214959493929190611188565b60055461036d906001600160a01b031681565b6040516001600160a01b039091168152602001610214565b6102076109c0565b61023061039b36600461107c565b6109cf565b6103cd6103ae366004610fee565b6010602052600090815260409020805460019091015460ff9091169082565b6040805160ff9093168352602083019190915201610214565b6102306103f436600461107c565b610a4f565b610248610a5d565b610248606481565b61024861041736600461100f565b610a77565b610248610aa2565b610248610abd565b61036d61dead81565b610248610443366004611112565b610ad7565b600d546001600160a01b0316336001600160a01b03161461047c57604051633da778a560e11b815260040160405180910390fd5b610488600f8383610f39565b505050565b60606003805461049c90611325565b80601f01602080910402602001604051908101604052809291908181526020018280546104c890611325565b80156105155780601f106104ea57610100808354040283529160200191610515565b820191906000526020600020905b8154815290600101906020018083116104f857829003601f168201915b5050505050905090565b60003361052d818585610aee565b60019150505b92915050565b6005546001600160a01b0316336001600160a01b0316141561056e57604051633da778a560e11b815260040160405180910390fd5b33600090815260106020526040902060018101546201518090610591904261130e565b10156105b05760405163d32ae12f60e01b815260040160405180910390fd5b8054600090829082906105c59060ff16611360565b825460ff9182166101009390930a838102920219161790915590506000816105ef6012600a611244565b6105fd620f424060036112ef565b61060791906112ef565b61061191906111e1565b905061061f6012600a611244565b61062e633b9aca0060d26112ef565b61063891906112ef565b8161064260025490565b61064c91906111c9565b1115610687576002546106616012600a611244565b610670633b9aca0060d26112ef565b61067a91906112ef565b610684919061130e565b90505b6106913382610c12565b505042600190910155565b600a81600481106106ac57600080fd5b60089182820401919006600402915054906101000a900463ffffffff1681565b6000336106da858285610cf1565b6106e5858585610d6b565b506001949350505050565b6106fc6012600a611244565b61070b633b9aca0060d26112ef565b61071591906112ef565b81565b60003361052d81858561072b8383610a77565b61073591906111c9565b610aee565b6005546001600160a01b0316336001600160a01b0316141561076f57604051633da778a560e11b815260040160405180910390fd5b600e544211156108b257600b54600d546040805160ff90931683526001600160a01b0390911660208301527f79d5e5d9b1e5c31b4e6e63171b6c1acd0eaa0cb20611828abcfe40d7a16db841910160405180910390a1600d54600b54610804916001600160a01b03169060069060ff16600481106107fd57634e487b7160e01b600052603260045260246000fd5b0154610c12565b600b805460ff1690600061081783611360565b82546101009290920a60ff818102199093169183160217909155600b54600a9250166004811061085757634e487b7160e01b600052603260045260246000fd5b600891828204019190066004029054906101000a900463ffffffff1663ffffffff16600b600301600082825461088d91906111c9565b9091555050600c546064906108a4906096906112ef565b6108ae91906111e1565b600c555b6108c233600c5461dead90610d6b565b600060646096600b600101546108d891906112ef565b6108e291906111e1565b600c81905590506108f5600f8484610f39565b5050600d80546001600160a01b031916331790555050565b600b8054600c54600d54600e54600f805460ff9095169593946001600160a01b0390931693919261093d90611325565b80601f016020809104026020016040519081016040528092919081815260200182805461096990611325565b80156109b65780601f1061098b576101008083540402835291602001916109b6565b820191906000526020600020905b81548152906001019060200180831161099957829003601f168201915b5050505050905085565b60606004805461049c90611325565b600033816109dd8286610a77565b905083811015610a425760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6106e58286868403610aee565b60003361052d818585610d6b565b610a696012600a611244565b61070b620f424060036112ef565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610aae6012600a611244565b61070b633b9aca00601e6112ef565b610ac96012600a611244565b61070b6103e861012c6112ef565b60068160048110610ae757600080fd5b0154905081565b6001600160a01b038316610b505760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a39565b6001600160a01b038216610bb15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a39565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216610c685760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610a39565b8060026000828254610c7a91906111c9565b90915550506001600160a01b03821660009081526020819052604081208054839290610ca79084906111c9565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000610cfd8484610a77565b90506000198114610d655781811015610d585760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a39565b610d658484848403610aee565b50505050565b6001600160a01b038316610dcf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a39565b6001600160a01b038216610e315760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a39565b6001600160a01b03831660009081526020819052604090205481811015610ea95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a39565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610ee09084906111c9565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f2c91815260200190565b60405180910390a3610d65565b828054610f4590611325565b90600052602060002090601f016020900481019282610f675760008555610fad565b82601f10610f805782800160ff19823516178555610fad565b82800160010185558215610fad579182015b82811115610fad578235825591602001919060010190610f92565b50610fb9929150610fbd565b5090565b5b80821115610fb95760008155600101610fbe565b80356001600160a01b0381168114610fe957600080fd5b919050565b600060208284031215610fff578081fd5b61100882610fd2565b9392505050565b60008060408385031215611021578081fd5b61102a83610fd2565b915061103860208401610fd2565b90509250929050565b600080600060608486031215611055578081fd5b61105e84610fd2565b925061106c60208501610fd2565b9150604084013590509250925092565b6000806040838503121561108e578182fd5b61109783610fd2565b946020939093013593505050565b600080602083850312156110b7578182fd5b823567ffffffffffffffff808211156110ce578384fd5b818501915085601f8301126110e1578384fd5b8135818111156110ef578485fd5b866020828501011115611100578485fd5b60209290920196919550909350505050565b600060208284031215611123578081fd5b5035919050565b60008151808452815b8181101561114f57602081850181015186830182015201611133565b818111156111605782602083870101525b50601f01601f19169290920160200192915050565b602081526000611008602083018461112a565b60ff8616815284602082015260018060a01b038416604082015282606082015260a0608082015260006111be60a083018461112a565b979650505050505050565b600082198211156111dc576111dc611380565b500190565b6000826111fc57634e487b7160e01b81526012600452602481fd5b500490565b600181815b8085111561123c57816000190482111561122257611222611380565b8085161561122f57918102915b93841c9390800290611206565b509250929050565b600061100860ff84168360008261125d57506001610533565b8161126a57506000610533565b8160018114611280576002811461128a576112a6565b6001915050610533565b60ff84111561129b5761129b611380565b50506001821b610533565b5060208310610133831016604e8410600b84101617156112c9575081810a610533565b6112d38383611201565b80600019048211156112e7576112e7611380565b029392505050565b600081600019048311821515161561130957611309611380565b500290565b60008282101561132057611320611380565b500390565b600181811c9082168061133957607f821691505b6020821081141561135a57634e487b7160e01b600052602260045260246000fd5b50919050565b600060ff821660ff81141561137757611377611380565b60010192915050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212200487778e7df86de0eed9a213748e84e06fd835082772ee909ec68427537860a964736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101e55760003560e01c806370a082311161010f578063a9059cbb116100a2578063efcb765511610071578063efcb76551461041c578063f86325ed14610424578063fccc28131461042c578063ff9eee1a1461043557600080fd5b8063a9059cbb146103e6578063cf4285a4146103f9578063d464579814610401578063dd62ed3e1461040957600080fd5b80638da5cb5b116100de5780638da5cb5b1461035a57806395d89b4114610385578063a457c2d71461038d578063a87430ba146103a057600080fd5b806370a082311461030557806384e7e3d31461032e578063851cad90146103385780638a19c8bc1461034157600080fd5b806323b872dd1161018757806332cb6b0c1161015657806332cb6b0c146102cc57806339509351146102d45780634beda18b146102e75780634e6700f3146102f257600080fd5b806323b872dd1461028e5780632e0f2625146102a1578063313ce567146102bb57806332bc934c146102c257600080fd5b8063113990b8116101c3578063113990b8146102405780631249c58b1461025657806318160ddd1461025e57806321ffabca1461026657600080fd5b806302fe5305146101ea57806306fdde03146101ff578063095ea7b31461021d575b600080fd5b6101fd6101f83660046110a5565b610448565b005b61020761048d565b6040516102149190611175565b60405180910390f35b61023061022b36600461107c565b61051f565b6040519015158152602001610214565b610248609681565b604051908152602001610214565b6101fd610539565b600254610248565b610279610274366004611112565b61069c565b60405163ffffffff9091168152602001610214565b61023061029c366004611041565b6106cc565b6102a9601281565b60405160ff9091168152602001610214565b60126102a9565b610248620f424081565b6102486106f0565b6102306102e236600461107c565b610718565b610248633b9aca0081565b6101fd6103003660046110a5565b61073a565b610248610313366004610fee565b6001600160a01b031660009081526020819052604090205490565b6102796201518081565b6102486103e881565b61034961090d565b604051610214959493929190611188565b60055461036d906001600160a01b031681565b6040516001600160a01b039091168152602001610214565b6102076109c0565b61023061039b36600461107c565b6109cf565b6103cd6103ae366004610fee565b6010602052600090815260409020805460019091015460ff9091169082565b6040805160ff9093168352602083019190915201610214565b6102306103f436600461107c565b610a4f565b610248610a5d565b610248606481565b61024861041736600461100f565b610a77565b610248610aa2565b610248610abd565b61036d61dead81565b610248610443366004611112565b610ad7565b600d546001600160a01b0316336001600160a01b03161461047c57604051633da778a560e11b815260040160405180910390fd5b610488600f8383610f39565b505050565b60606003805461049c90611325565b80601f01602080910402602001604051908101604052809291908181526020018280546104c890611325565b80156105155780601f106104ea57610100808354040283529160200191610515565b820191906000526020600020905b8154815290600101906020018083116104f857829003601f168201915b5050505050905090565b60003361052d818585610aee565b60019150505b92915050565b6005546001600160a01b0316336001600160a01b0316141561056e57604051633da778a560e11b815260040160405180910390fd5b33600090815260106020526040902060018101546201518090610591904261130e565b10156105b05760405163d32ae12f60e01b815260040160405180910390fd5b8054600090829082906105c59060ff16611360565b825460ff9182166101009390930a838102920219161790915590506000816105ef6012600a611244565b6105fd620f424060036112ef565b61060791906112ef565b61061191906111e1565b905061061f6012600a611244565b61062e633b9aca0060d26112ef565b61063891906112ef565b8161064260025490565b61064c91906111c9565b1115610687576002546106616012600a611244565b610670633b9aca0060d26112ef565b61067a91906112ef565b610684919061130e565b90505b6106913382610c12565b505042600190910155565b600a81600481106106ac57600080fd5b60089182820401919006600402915054906101000a900463ffffffff1681565b6000336106da858285610cf1565b6106e5858585610d6b565b506001949350505050565b6106fc6012600a611244565b61070b633b9aca0060d26112ef565b61071591906112ef565b81565b60003361052d81858561072b8383610a77565b61073591906111c9565b610aee565b6005546001600160a01b0316336001600160a01b0316141561076f57604051633da778a560e11b815260040160405180910390fd5b600e544211156108b257600b54600d546040805160ff90931683526001600160a01b0390911660208301527f79d5e5d9b1e5c31b4e6e63171b6c1acd0eaa0cb20611828abcfe40d7a16db841910160405180910390a1600d54600b54610804916001600160a01b03169060069060ff16600481106107fd57634e487b7160e01b600052603260045260246000fd5b0154610c12565b600b805460ff1690600061081783611360565b82546101009290920a60ff818102199093169183160217909155600b54600a9250166004811061085757634e487b7160e01b600052603260045260246000fd5b600891828204019190066004029054906101000a900463ffffffff1663ffffffff16600b600301600082825461088d91906111c9565b9091555050600c546064906108a4906096906112ef565b6108ae91906111e1565b600c555b6108c233600c5461dead90610d6b565b600060646096600b600101546108d891906112ef565b6108e291906111e1565b600c81905590506108f5600f8484610f39565b5050600d80546001600160a01b031916331790555050565b600b8054600c54600d54600e54600f805460ff9095169593946001600160a01b0390931693919261093d90611325565b80601f016020809104026020016040519081016040528092919081815260200182805461096990611325565b80156109b65780601f1061098b576101008083540402835291602001916109b6565b820191906000526020600020905b81548152906001019060200180831161099957829003601f168201915b5050505050905085565b60606004805461049c90611325565b600033816109dd8286610a77565b905083811015610a425760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6106e58286868403610aee565b60003361052d818585610d6b565b610a696012600a611244565b61070b620f424060036112ef565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610aae6012600a611244565b61070b633b9aca00601e6112ef565b610ac96012600a611244565b61070b6103e861012c6112ef565b60068160048110610ae757600080fd5b0154905081565b6001600160a01b038316610b505760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a39565b6001600160a01b038216610bb15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a39565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216610c685760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610a39565b8060026000828254610c7a91906111c9565b90915550506001600160a01b03821660009081526020819052604081208054839290610ca79084906111c9565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000610cfd8484610a77565b90506000198114610d655781811015610d585760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a39565b610d658484848403610aee565b50505050565b6001600160a01b038316610dcf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a39565b6001600160a01b038216610e315760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a39565b6001600160a01b03831660009081526020819052604090205481811015610ea95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a39565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610ee09084906111c9565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f2c91815260200190565b60405180910390a3610d65565b828054610f4590611325565b90600052602060002090601f016020900481019282610f675760008555610fad565b82601f10610f805782800160ff19823516178555610fad565b82800160010185558215610fad579182015b82811115610fad578235825591602001919060010190610f92565b50610fb9929150610fbd565b5090565b5b80821115610fb95760008155600101610fbe565b80356001600160a01b0381168114610fe957600080fd5b919050565b600060208284031215610fff578081fd5b61100882610fd2565b9392505050565b60008060408385031215611021578081fd5b61102a83610fd2565b915061103860208401610fd2565b90509250929050565b600080600060608486031215611055578081fd5b61105e84610fd2565b925061106c60208501610fd2565b9150604084013590509250925092565b6000806040838503121561108e578182fd5b61109783610fd2565b946020939093013593505050565b600080602083850312156110b7578182fd5b823567ffffffffffffffff808211156110ce578384fd5b818501915085601f8301126110e1578384fd5b8135818111156110ef578485fd5b866020828501011115611100578485fd5b60209290920196919550909350505050565b600060208284031215611123578081fd5b5035919050565b60008151808452815b8181101561114f57602081850181015186830182015201611133565b818111156111605782602083870101525b50601f01601f19169290920160200192915050565b602081526000611008602083018461112a565b60ff8616815284602082015260018060a01b038416604082015282606082015260a0608082015260006111be60a083018461112a565b979650505050505050565b600082198211156111dc576111dc611380565b500190565b6000826111fc57634e487b7160e01b81526012600452602481fd5b500490565b600181815b8085111561123c57816000190482111561122257611222611380565b8085161561122f57918102915b93841c9390800290611206565b509250929050565b600061100860ff84168360008261125d57506001610533565b8161126a57506000610533565b8160018114611280576002811461128a576112a6565b6001915050610533565b60ff84111561129b5761129b611380565b50506001821b610533565b5060208310610133831016604e8410600b84101617156112c9575081810a610533565b6112d38383611201565b80600019048211156112e7576112e7611380565b029392505050565b600081600019048311821515161561130957611309611380565b500290565b60008282101561132057611320611380565b500390565b600181811c9082168061133957607f821691505b6020821081141561135a57634e487b7160e01b600052602260045260246000fd5b50919050565b600060ff821660ff81141561137757611377611380565b60010192915050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212200487778e7df86de0eed9a213748e84e06fd835082772ee909ec68427537860a964736f6c63430008040033
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.