ERC-20
Overview
Max Total Supply
303,340,680 JUKE
Holders
17
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
JukeBox
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 150 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract JukeBox is ERC20 { address public player; address public nftContract; uint256 public tokenId; uint256 public startBlock; event NFTPlayed( address indexed player, address indexed nftContract, uint256 indexed tokenId, uint256 startBlock ); constructor() ERC20("JUKEBOX", "JUKE") {} function playJukeBox(address _nftContract, uint256 _tokenId) public { // Reward distribution for the last played NFT if (nftContract != address(0)) { uint256 blocksPlayed = block.number - startBlock; uint256 reward = blocksPlayed * 120 * (10 ** uint256(decimals())); _mint(player, reward); } // Update the current playing NFT details player = msg.sender; nftContract = _nftContract; tokenId = _tokenId; startBlock = block.number; emit NFTPlayed(msg.sender, nftContract, tokenId, startBlock); } // Function to return the URI of the currently played NFT function nowPlaying() public view returns (string memory) { try IERC721(nftContract).tokenURI(tokenId) returns (string memory uri) { return uri; } catch { try IERC1155(nftContract).uri(tokenId) returns (string memory uri) { return uri; } catch { return ""; // If both calls fail, return an empty string } } } } interface IERC721 { function tokenURI(uint256 tokenId) external view returns (string memory); } interface IERC1155 { function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * 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. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * 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 returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual 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 default value returned by this function, unless * it's 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 returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual 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 `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` 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 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); 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 `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` 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. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` 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. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ 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 v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @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 value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } }
{ "viaIR": true, "optimizer": { "enabled": true, "runs": 150, "details": { "yul": true } }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","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":true,"internalType":"address","name":"player","type":"address"},{"indexed":true,"internalType":"address","name":"nftContract","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startBlock","type":"uint256"}],"name":"NFTPlayed","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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nowPlaying","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_nftContract","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"playJukeBox","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"player","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60803462000337576040906001600160401b039080830182811182821017620003215783526007815260209166094aa968a849eb60cb1b838301528351928484018481108382111762000321578552600493848152634a554b4560e01b828201528351908382116200030c576003928354926001968785811c9516801562000301575b83861014620002ec578190601f9586811162000296575b5083908683116001146200022f5760009262000223575b505060001982871b1c191690871b1784555b81519485116200020e5786548681811c9116801562000203575b82821014620001ee57838111620001a3575b508092851160011462000135575093839491849260009562000129575b50501b92600019911b1c19161790555b51610a6d90816200033d8239f35b0151935038806200010b565b92919084601f1981168860005285600020956000905b898383106200018857505050106200016d575b50505050811b0190556200011b565b01519060f884600019921b161c19169055388080806200015e565b8587015189559097019694850194889350908101906200014b565b87600052816000208480880160051c820192848910620001e4575b0160051c019087905b828110620001d7575050620000ee565b60008155018790620001c7565b92508192620001be565b602288634e487b7160e01b6000525260246000fd5b90607f1690620000dc565b604187634e487b7160e01b6000525260246000fd5b015190503880620000b0565b90899350601f1983169188600052856000209260005b878282106200027f575050841162000266575b505050811b018455620000c2565b015160001983891b60f8161c1916905538808062000258565b8385015186558d9790950194938401930162000245565b90915086600052836000208680850160051c820192868610620002e2575b918b91869594930160051c01915b828110620002d257505062000099565b600081558594508b9101620002c2565b92508192620002b4565b602289634e487b7160e01b6000525260246000fd5b94607f169462000082565b604186634e487b7160e01b6000525260246000fd5b634e487b7160e01b600052604160045260246000fd5b600080fdfe608060408181526004918236101561001657600080fd5b600092833560e01c91826306fdde031461067357508163095ea7b3146105c95781630ac73c19146105a057816317d70f7c1461058157816318160ddd1461056257816323b872dd1461046b578163313ce5671461044f57816348cd4cb11461043057816348db5f891461040757816370a08231146103d057816395d89b41146102ea5781639b82ab1e1461016d57508063a9059cbb1461013d578063d56d229d146101155763dd62ed3e146100ca57600080fd5b34610111578060031936011261011157806020926100e6610799565b6100ee6107b4565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5080fd5b503461011157816003193601126101115760065490516001600160a01b039091168152602090f35b503461011157806003193601126101115760209061016661015c610799565b6024359033610802565b5160018152f35b919050346102e657806003193601126102e657610188610799565b60065460248035949293926001600160a01b039283166101f8575b505060018060a01b0319923384600554161760055516809260065416176006558260075543600855514381527f6461f440524d3686db1904f5c8ccc2ab95689aec14a71360256e5e4948307db660203392a480f35b600854908143034381116102d457607881029281840460781490431417156102d45768068155a43676e000000291808304670de0b6b3a764000014901517156102c25783600554169283156102ad576002549183830180931161029c575050602088927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef926002558484528382528684208181540190558651908152a338806101a3565b634e487b7160e01b8a526011905288fd5b855163ec442f0560e01b815291820189905290fd5b634e487b7160e01b8852601190528187fd5b634e487b7160e01b8952601182528389fd5b8280fd5b838334610111578160031936011261011157805191809380549160019083821c928285169485156103c6575b60209586861081146103b35785895290811561038f5750600114610354575b6103508787610346828c03836107ca565b519182918261076d565b0390f35b9080949750528583205b82841061037c57505050826103509461034692820101948680610335565b805486850188015292860192810161035e565b60ff19168887015250505050151560051b8301019250610346826103508680610335565b634e487b7160e01b845260228352602484fd5b93607f1693610316565b5050346101115760203660031901126101115760209181906001600160a01b036103f8610799565b16815280845220549051908152f35b50503461011157816003193601126101115760055490516001600160a01b039091168152602090f35b5050346101115781600319360112610111576020906008549051908152f35b5050346101115781600319360112610111576020905160128152f35b9050823461055f57606036600319011261055f57610487610799565b61048f6107b4565b916044359360018060a01b0383168083526001602052868320338452602052868320549160001983036104cb575b602088610166898989610802565b86831061053357811561051c57331561050557508252600160209081528683203384528152918690209085900390558290610166876104bd565b8751634a1406b160e11b8152908101849052602490fd5b875163e602df0560e01b8152908101849052602490fd5b8751637dc7a0d960e11b8152339181019182526020820193909352604081018790528291506060010390fd5b80fd5b5050346101115781600319360112610111576020906002549051908152f35b5050346101115781600319360112610111576020906007549051908152f35b505034610111578160031936011261011157610350906105be61094c565b90519182918261076d565b9050346102e657816003193601126102e6576105e3610799565b60243590331561065c576001600160a01b031691821561064557508083602095338152600187528181208582528752205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b8351634a1406b160e11b8152908101859052602490fd5b835163e602df0560e01b8152808401869052602490fd5b92915034610746578360031936011261074657600354600181811c918690828116801561073c575b6020958686108214610729575084885290811561070757506001146106cc575b6103508686610346828b03836107ca565b929550600383528583205b8284106106f45750505082610350946103469282010194386106bb565b80548685018801529286019281016106d7565b60ff191687860152505050151560051b830101925061034682610350386106bb565b634e487b7160e01b845260229052602483fd5b93607f169361069b565b8380fd5b60005b83811061075d5750506000910152565b818101518382015260200161074d565b6040916020825261078d815180928160208601526020868601910161074a565b601f01601f1916010190565b600435906001600160a01b03821682036107af57565b600080fd5b602435906001600160a01b03821682036107af57565b90601f8019910116810190811067ffffffffffffffff8211176107ec57604052565b634e487b7160e01b600052604160045260246000fd5b916001600160a01b038084169283156108c757169283156108ae576000908382528160205260408220549083821061087c575091604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b60405163391434e360e21b81526001600160a01b03919091166004820152602481019190915260448101839052606490fd5b60405163ec442f0560e01b815260006004820152602490fd5b604051634b637e8f60e11b815260006004820152602490fd5b6020818303126107af57805167ffffffffffffffff918282116107af57019082601f830112156107af5781519081116107ec576040519261092b601f8301601f1916602001856107ca565b818452602082840101116107af57610949916020808501910161074a565b90565b60065460075460405163c87b56dd60e01b8152600481018290526000926001600160a01b031691908381602481865afa849181610a1b575b50610a14575082906024604051809481936303a24d0760e21b835260048301525afa8291816109f0575b506109eb5750604051906020820182811067ffffffffffffffff8211176109d757604052815290565b634e487b7160e01b82526041600452602482fd5b905090565b610a0d9192503d8085833e610a0581836107ca565b8101906108e0565b90386109ae565b9250505090565b610a309192503d8087833e610a0581836107ca565b903861098456fea2646970667358221220e1baacd10fd3694bcb7a10628c5643e941a2633bd7c17b645996cae8fca2659c64736f6c63430008140033
Deployed Bytecode
0x608060408181526004918236101561001657600080fd5b600092833560e01c91826306fdde031461067357508163095ea7b3146105c95781630ac73c19146105a057816317d70f7c1461058157816318160ddd1461056257816323b872dd1461046b578163313ce5671461044f57816348cd4cb11461043057816348db5f891461040757816370a08231146103d057816395d89b41146102ea5781639b82ab1e1461016d57508063a9059cbb1461013d578063d56d229d146101155763dd62ed3e146100ca57600080fd5b34610111578060031936011261011157806020926100e6610799565b6100ee6107b4565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5080fd5b503461011157816003193601126101115760065490516001600160a01b039091168152602090f35b503461011157806003193601126101115760209061016661015c610799565b6024359033610802565b5160018152f35b919050346102e657806003193601126102e657610188610799565b60065460248035949293926001600160a01b039283166101f8575b505060018060a01b0319923384600554161760055516809260065416176006558260075543600855514381527f6461f440524d3686db1904f5c8ccc2ab95689aec14a71360256e5e4948307db660203392a480f35b600854908143034381116102d457607881029281840460781490431417156102d45768068155a43676e000000291808304670de0b6b3a764000014901517156102c25783600554169283156102ad576002549183830180931161029c575050602088927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef926002558484528382528684208181540190558651908152a338806101a3565b634e487b7160e01b8a526011905288fd5b855163ec442f0560e01b815291820189905290fd5b634e487b7160e01b8852601190528187fd5b634e487b7160e01b8952601182528389fd5b8280fd5b838334610111578160031936011261011157805191809380549160019083821c928285169485156103c6575b60209586861081146103b35785895290811561038f5750600114610354575b6103508787610346828c03836107ca565b519182918261076d565b0390f35b9080949750528583205b82841061037c57505050826103509461034692820101948680610335565b805486850188015292860192810161035e565b60ff19168887015250505050151560051b8301019250610346826103508680610335565b634e487b7160e01b845260228352602484fd5b93607f1693610316565b5050346101115760203660031901126101115760209181906001600160a01b036103f8610799565b16815280845220549051908152f35b50503461011157816003193601126101115760055490516001600160a01b039091168152602090f35b5050346101115781600319360112610111576020906008549051908152f35b5050346101115781600319360112610111576020905160128152f35b9050823461055f57606036600319011261055f57610487610799565b61048f6107b4565b916044359360018060a01b0383168083526001602052868320338452602052868320549160001983036104cb575b602088610166898989610802565b86831061053357811561051c57331561050557508252600160209081528683203384528152918690209085900390558290610166876104bd565b8751634a1406b160e11b8152908101849052602490fd5b875163e602df0560e01b8152908101849052602490fd5b8751637dc7a0d960e11b8152339181019182526020820193909352604081018790528291506060010390fd5b80fd5b5050346101115781600319360112610111576020906002549051908152f35b5050346101115781600319360112610111576020906007549051908152f35b505034610111578160031936011261011157610350906105be61094c565b90519182918261076d565b9050346102e657816003193601126102e6576105e3610799565b60243590331561065c576001600160a01b031691821561064557508083602095338152600187528181208582528752205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b8351634a1406b160e11b8152908101859052602490fd5b835163e602df0560e01b8152808401869052602490fd5b92915034610746578360031936011261074657600354600181811c918690828116801561073c575b6020958686108214610729575084885290811561070757506001146106cc575b6103508686610346828b03836107ca565b929550600383528583205b8284106106f45750505082610350946103469282010194386106bb565b80548685018801529286019281016106d7565b60ff191687860152505050151560051b830101925061034682610350386106bb565b634e487b7160e01b845260229052602483fd5b93607f169361069b565b8380fd5b60005b83811061075d5750506000910152565b818101518382015260200161074d565b6040916020825261078d815180928160208601526020868601910161074a565b601f01601f1916010190565b600435906001600160a01b03821682036107af57565b600080fd5b602435906001600160a01b03821682036107af57565b90601f8019910116810190811067ffffffffffffffff8211176107ec57604052565b634e487b7160e01b600052604160045260246000fd5b916001600160a01b038084169283156108c757169283156108ae576000908382528160205260408220549083821061087c575091604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b60405163391434e360e21b81526001600160a01b03919091166004820152602481019190915260448101839052606490fd5b60405163ec442f0560e01b815260006004820152602490fd5b604051634b637e8f60e11b815260006004820152602490fd5b6020818303126107af57805167ffffffffffffffff918282116107af57019082601f830112156107af5781519081116107ec576040519261092b601f8301601f1916602001856107ca565b818452602082840101116107af57610949916020808501910161074a565b90565b60065460075460405163c87b56dd60e01b8152600481018290526000926001600160a01b031691908381602481865afa849181610a1b575b50610a14575082906024604051809481936303a24d0760e21b835260048301525afa8291816109f0575b506109eb5750604051906020820182811067ffffffffffffffff8211176109d757604052815290565b634e487b7160e01b82526041600452602482fd5b905090565b610a0d9192503d8085833e610a0581836107ca565b8101906108e0565b90386109ae565b9250505090565b610a309192503d8087833e610a0581836107ca565b903861098456fea2646970667358221220e1baacd10fd3694bcb7a10628c5643e941a2633bd7c17b645996cae8fca2659c64736f6c63430008140033
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.