ERC-721
Overview
Max Total Supply
7,518 Loyalty Program
Holders
5,685
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 Loyalty ProgramLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x863B38C8...b9dB0c348 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
LoyaltyProgram
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity ^0.8.7;import "@openzeppelin/contracts/access/Ownable.sol";import "@openzeppelin/contracts/security/ReentrancyGuard.sol";import "erc721a/contracts/extensions/ERC721AQueryable.sol";import "@openzeppelin/contracts/utils/Strings.sol";import "@openzeppelin/contracts/security/Pausable.sol";contract LoyaltyProgram is Ownable, ERC721AQueryable, ReentrancyGuard {string private metadataUri;uint256 public mintLimit;uint256 public mintStartTime;uint256 public mintEndTime;modifier isNotContract() {require(msg.sender == tx.origin, "Sender is not EOA");_;}modifier checkMintTimes() {require(block.timestamp >= mintStartTime, "The event has not started yet.");require(block.timestamp <= mintEndTime, "The event has ended.");_;}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)pragma solidity ^0.8.0;import "../utils/Context.sol";/*** @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.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)pragma solidity ^0.8.0;/*** @dev Contract module that helps prevent reentrant calls to a function.** Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier* available, which can be applied to functions to make sure there are no nested* (reentrant) calls to them.** Note that because there is a single `nonReentrant` guard, functions marked as* `nonReentrant` may not call one another. This can be worked around by making* those functions `private`, and then adding `external` `nonReentrant` entry* points to them.** TIP: If you would like to learn more about reentrancy and alternative ways* to protect against it, check out our blog post* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].*/abstract contract ReentrancyGuard {// Booleans are more expensive than uint256 or any type that takes up a full// word because each write operation emits an extra SLOAD to first read the// slot's contents, replace the bits taken up by the boolean, and then write// back. This is the compiler's defense against contract upgrades and
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// ERC721A Contracts v4.2.2// Creator: Chiru Labspragma solidity ^0.8.4;import './IERC721AQueryable.sol';import '../ERC721A.sol';/*** @title ERC721AQueryable.** @dev ERC721A subclass with convenience query functions.*/abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {/*** @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.** If the `tokenId` is out of bounds:** - `addr = address(0)`* - `startTimestamp = 0`* - `burned = false`* - `extraData = 0`** If the `tokenId` is burned:
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)pragma solidity ^0.8.0;import "./math/Math.sol";/*** @dev String operations.*/library Strings {bytes16 private constant _SYMBOLS = "0123456789abcdef";uint8 private constant _ADDRESS_LENGTH = 20;/*** @dev Converts a `uint256` to its ASCII `string` decimal representation.*/function toString(uint256 value) internal pure returns (string memory) {unchecked {uint256 length = Math.log10(value) + 1;string memory buffer = new string(length);uint256 ptr;/// @solidity memory-safe-assemblyassembly {ptr := add(buffer, add(32, length))}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)pragma solidity ^0.8.0;import "../utils/Context.sol";/*** @dev Contract module which allows children to implement an emergency stop* mechanism that can be triggered by an authorized account.** This module is used through inheritance. It will make available the* modifiers `whenNotPaused` and `whenPaused`, which can be applied to* the functions of your contract. Note that they will not be pausable by* simply including this module, only once the modifiers are put in place.*/abstract contract Pausable is Context {/*** @dev Emitted when the pause is triggered by `account`.*/event Paused(address account);/*** @dev Emitted when the pause is lifted by `account`.*/event Unpaused(address account);
123456789101112131415161718192021222324// 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;}}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// ERC721A Contracts v4.2.2// Creator: Chiru Labspragma solidity ^0.8.4;import '../IERC721A.sol';/*** @dev Interface of ERC721AQueryable.*/interface IERC721AQueryable is IERC721A {/*** Invalid query range (`start` >= `stop`).*/error InvalidQueryRange();/*** @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.** If the `tokenId` is out of bounds:** - `addr = address(0)`* - `startTimestamp = 0`* - `burned = false`* - `extraData = 0`
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// ERC721A Contracts v4.2.2// Creator: Chiru Labspragma solidity ^0.8.4;import './IERC721A.sol';/*** @dev Interface of ERC721 token receiver.*/interface ERC721A__IERC721Receiver {function onERC721Received(address operator,address from,uint256 tokenId,bytes calldata data) external returns (bytes4);}/*** @title ERC721A** @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)* Non-Fungible Token Standard, including the Metadata extension.* Optimized for lower gas during batch mints.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// ERC721A Contracts v4.2.2// Creator: Chiru Labspragma solidity ^0.8.4;/*** @dev Interface of ERC721A.*/interface IERC721A {/*** The caller must own the token or be an approved operator.*/error ApprovalCallerNotOwnerNorApproved();/*** The token does not exist.*/error ApprovalQueryForNonexistentToken();/*** The caller cannot approve to their own address.*/error ApproveToCaller();/**
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)pragma solidity ^0.8.0;/*** @dev Standard math utilities missing in the Solidity language.*/library Math {enum Rounding {Down, // Toward negative infinityUp, // Toward infinityZero // Toward zero}/*** @dev Returns the largest of two numbers.*/function max(uint256 a, uint256 b) internal pure returns (uint256) {return a > b ? a : b;}/*** @dev Returns the smallest of two numbers.*/function min(uint256 a, uint256 b) internal pure returns (uint256) {
12345678910111213141516171819{"optimizer": {"enabled": true,"runs": 200},"outputSelection": {"*": {"*": ["evm.bytecode","evm.deployedBytecode","devdoc","userdoc","metadata","abi"]}},"libraries": {}}
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_mintStartTime","type":"uint256"},{"internalType":"uint256","name":"_mintEndTime","type":"uint256"},{"internalType":"uint256","name":"_mintLimit","type":"uint256"},{"internalType":"string","name":"_metadataUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"}],"name":"getMintSurplus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintStartTime","type":"uint256"},{"internalType":"uint256","name":"_mintEndTime","type":"uint256"}],"name":"setMintTimes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162001e2038038062001e208339810160408190526200003491620002a5565b6040518060400160405280600f81526020016e4c6f79616c74792050726f6772616d60881b8152506040518060400160405280600f81526020016e4c6f79616c74792050726f6772616d60881b8152506200009e620000986200019560201b60201c565b62000199565b8151620000b3906003906020850190620001e9565b508051620000c9906004906020840190620001e9565b50600060019081556009555050828410620001205760405162461bcd60e51b8152602060048201526012602482015271496e76616c696420537461727454696d657360701b60448201526064015b60405180910390fd5b60008211620001665760405162461bcd60e51b8152602060048201526011602482015270125b9d985b1a5908135a5b9d131a5b5a5d607a1b604482015260640162000117565b600c849055600d839055600b82905580516200018a90600a906020840190620001e9565b5050505050620003de565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620001f790620003a1565b90600052602060002090601f0160209004810192826200021b576000855562000266565b82601f106200023657805160ff191683800117855562000266565b8280016001018555821562000266579182015b828111156200026657825182559160200191906001019062000249565b506200027492915062000278565b5090565b5b8082111562000274576000815560010162000279565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215620002bc57600080fd5b8451602080870151604088015160608901519397509095509350906001600160401b0380821115620002ed57600080fd5b818801915088601f8301126200030257600080fd5b8151818111156200031757620003176200028f565b604051601f8201601f19908116603f011681019083821181831017156200034257620003426200028f565b816040528281528b868487010111156200035b57600080fd5b600093505b828410156200037f578484018601518185018701529285019262000360565b82841115620003915760008684830101525b989b979a50959850505050505050565b600181811c90821680620003b657607f821691505b60208210811415620003d857634e487b7160e01b600052602260045260246000fd5b50919050565b611a3280620003ee6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806377615abc116100f957806399a2557a11610097578063c23dc68f11610071578063c23dc68f14610370578063c87b56dd14610390578063e985e9c5146103a3578063f2fde38b146103df57600080fd5b806399a2557a14610337578063a22cb4651461034a578063b88d4fde1461035d57600080fd5b8063931e2e49116100d3578063931e2e491461030a57806395d89b4114610313578063980846ce1461031b578063996517cf1461032e57600080fd5b806377615abc146102c65780638462151c146102d95780638da5cb5b146102f957600080fd5b806323b872dd116101665780636352211e116101405780636352211e1461028f57806370a08231146102a2578063715018a6146102b5578063717a002b146102bd57600080fd5b806323b872dd1461024957806342842e0e1461025c5780635bbb21771461026f57600080fd5b806301ffc9a7146101ae57806306fdde03146101d6578063081812fc146101eb578063095ea7b3146102165780631249c58b1461022b57806318160ddd14610233575b600080fd5b6101c16101bc3660046114e9565b6103f2565b60405190151581526020015b60405180910390f35b6101de610444565b6040516101cd9190611553565b6101fe6101f9366004611566565b6104d6565b6040516001600160a01b0390911681526020016101cd565b61022961022436600461159b565b61051a565b005b6102296105ba565b600254600154035b6040519081526020016101cd565b6102296102573660046115c5565b610741565b61022961026a3660046115c5565b6108d2565b61028261027d366004611601565b6108f2565b6040516101cd91906116b3565b6101fe61029d366004611566565b6109be565b61023b6102b03660046116f5565b6109c9565b610229610a18565b61023b600d5481565b61023b6102d43660046116f5565b610a2a565b6102ec6102e73660046116f5565b610a5d565b6040516101cd9190611710565b6000546001600160a01b03166101fe565b61023b600c5481565b6101de610b6d565b610229610329366004611748565b610b7c565b61023b600b5481565b6102ec61034536600461176a565b610bd3565b61022961035836600461179d565b610d51565b61022961036b3660046117ef565b610de7565b61038361037e366004611566565b610e31565b6040516101cd91906118cb565b6101de61039e366004611566565b610ea9565b6101c16103b13660046118d9565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6102296103ed3660046116f5565b610faa565b60006301ffc9a760e01b6001600160e01b03198316148061042357506380ac58cd60e01b6001600160e01b03198316145b8061043e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546104539061190c565b80601f016020809104026020016040519081016040528092919081815260200182805461047f9061190c565b80156104cc5780601f106104a1576101008083540402835291602001916104cc565b820191906000526020600020905b8154815290600101906020018083116104af57829003601f168201915b5050505050905090565b60006104e182611023565b6104fe576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610525826109be565b9050336001600160a01b0382161461055e5761054181336103b1565b61055e576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6105c261104b565b33321461060a5760405162461bcd60e51b815260206004820152601160248201527053656e646572206973206e6f7420454f4160781b60448201526064015b60405180910390fd5b600c5442101561065c5760405162461bcd60e51b815260206004820152601e60248201527f546865206576656e7420686173206e6f742073746172746564207965742e00006044820152606401610601565b600d544211156106a55760405162461bcd60e51b81526020600482015260146024820152732a34329032bb32b73a103430b99032b73232b21760611b6044820152606401610601565b600b543360009081526006602052604090819020546106d0911c67ffffffffffffffff16600161195d565b111561072a5760405162461bcd60e51b815260206004820152602360248201527f596f75206861766520726561636865642074686520636c61696d206c696d697460448201526228352960e81b6064820152608401610601565b6107353360016110a5565b61073f6001600955565b565b600061074c826110c3565b9050836001600160a01b0316816001600160a01b03161461077f5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176107cc576107af86336103b1565b6107cc57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166107f357604051633a954ecd60e21b815260040160405180910390fd5b80156107fe57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b831661088957600184016000818152600560205260409020546108875760015481146108875760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6108ed83838360405180602001604052806000815250610de7565b505050565b60608160008167ffffffffffffffff811115610910576109106117d9565b60405190808252806020026020018201604052801561096257816020015b60408051608081018252600080825260208083018290529282018190526060820152825260001990920191018161092e5790505b50905060005b8281146109b55761099086868381811061098457610984611975565b90506020020135610e31565b8282815181106109a2576109a2611975565b6020908102919091010152600101610968565b50949350505050565b600061043e826110c3565b60006001600160a01b0382166109f2576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610a20611124565b61073f600061117e565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c16600b5461043e919061198b565b60606000806000610a6d856109c9565b905060008167ffffffffffffffff811115610a8a57610a8a6117d9565b604051908082528060200260200182016040528015610ab3578160200160208202803683370190505b509050610ae060408051608081018252600080825260208201819052918101829052606081019190915290565b60005b838614610b6157610af3816111ce565b9150816040015115610b0457610b59565b81516001600160a01b031615610b1957815194505b876001600160a01b0316856001600160a01b03161415610b595780838780600101985081518110610b4c57610b4c611975565b6020026020010181815250505b600101610ae3565b50909695505050505050565b6060600480546104539061190c565b610b84611124565b808210610bc85760405162461bcd60e51b8152602060048201526012602482015271496e76616c696420537461727454696d657360701b6044820152606401610601565b600c91909155600d55565b6060818310610bf557604051631960ccad60e11b815260040160405180910390fd5b600080610c0160015490565b905080841115610c0f578093505b6000610c1a876109c9565b905084861015610c395785850381811015610c33578091505b50610c3d565b5060005b60008167ffffffffffffffff811115610c5857610c586117d9565b604051908082528060200260200182016040528015610c81578160200160208202803683370190505b50905081610c94579350610d4a92505050565b6000610c9f88610e31565b905060008160400151610cb0575080515b885b888114158015610cc25750848714155b15610d3e57610cd0816111ce565b9250826040015115610ce157610d36565b82516001600160a01b031615610cf657825191505b8a6001600160a01b0316826001600160a01b03161415610d365780848880600101995081518110610d2957610d29611975565b6020026020010181815250505b600101610cb2565b50505092835250909150505b9392505050565b6001600160a01b038216331415610d7b5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610df2848484610741565b6001600160a01b0383163b15610e2b57610e0e8484848461120a565b610e2b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6040805160808082018352600080835260208084018290528385018290526060808501839052855193840186528284529083018290529382018190529281018390529091506001548310610e855792915050565b610e8e836111ce565b9050806040015115610ea05792915050565b610d4a836112f2565b6060610eb482611023565b610f185760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610601565b600a8054610f259061190c565b80601f0160208091040260200160405190810160405280929190818152602001828054610f519061190c565b8015610f9e5780601f10610f7357610100808354040283529160200191610f9e565b820191906000526020600020905b815481529060010190602001808311610f8157829003601f168201915b50505050509050919050565b610fb2611124565b6001600160a01b0381166110175760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610601565b6110208161117e565b50565b60006001548210801561043e575050600090815260056020526040902054600160e01b161590565b6002600954141561109e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610601565b6002600955565b6110bf828260405180602001604052806000815250611327565b5050565b60008160015481101561110b57600081815260056020526040902054600160e01b8116611109575b80610d4a5750600019016000818152600560205260409020546110eb565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b0316331461073f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610601565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526005602052604090205461043e90611394565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061123f9033908990889088906004016119a2565b6020604051808303816000875af192505050801561127a575060408051601f3d908101601f19168201909252611277918101906119df565b60015b6112d5573d8080156112a8576040519150601f19603f3d011682016040523d82523d6000602084013e6112ad565b606091505b5080516112cd576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261043e611322836110c3565b611394565b61133183836113dc565b6001600160a01b0383163b156108ed576001548281035b61135b600086838060010194508661120a565b611378576040516368d2bf6b60e11b815260040160405180910390fd5b81811061134857816001541461138d57600080fd5b5050505050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b600154816113fd5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146114ac57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611474565b50816114ca57604051622e076360e81b815260040160405180910390fd5b60015550505050565b6001600160e01b03198116811461102057600080fd5b6000602082840312156114fb57600080fd5b8135610d4a816114d3565b6000815180845260005b8181101561152c57602081850181015186830182015201611510565b8181111561153e576000602083870101525b50601f01601f19169290920160200192915050565b602081526000610d4a6020830184611506565b60006020828403121561157857600080fd5b5035919050565b80356001600160a01b038116811461159657600080fd5b919050565b600080604083850312156115ae57600080fd5b6115b78361157f565b946020939093013593505050565b6000806000606084860312156115da57600080fd5b6115e38461157f565b92506115f16020850161157f565b9150604084013590509250925092565b6000806020838503121561161457600080fd5b823567ffffffffffffffff8082111561162c57600080fd5b818501915085601f83011261164057600080fd5b81358181111561164f57600080fd5b8660208260051b850101111561166457600080fd5b60209290920196919550909350505050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610b61576116e2838551611676565b92840192608092909201916001016116cf565b60006020828403121561170757600080fd5b610d4a8261157f565b6020808252825182820181905260009190848201906040850190845b81811015610b615783518352928401929184019160010161172c565b6000806040838503121561175b57600080fd5b50508035926020909101359150565b60008060006060848603121561177f57600080fd5b6117888461157f565b95602085013595506040909401359392505050565b600080604083850312156117b057600080fd5b6117b98361157f565b9150602083013580151581146117ce57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561180557600080fd5b61180e8561157f565b935061181c6020860161157f565b925060408501359150606085013567ffffffffffffffff8082111561184057600080fd5b818701915087601f83011261185457600080fd5b813581811115611866576118666117d9565b604051601f8201601f19908116603f0116810190838211818310171561188e5761188e6117d9565b816040528281528a60208487010111156118a757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6080810161043e8284611676565b600080604083850312156118ec57600080fd5b6118f58361157f565b91506119036020840161157f565b90509250929050565b600181811c9082168061192057607f821691505b6020821081141561194157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561197057611970611947565b500190565b634e487b7160e01b600052603260045260246000fd5b60008282101561199d5761199d611947565b500390565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906119d590830184611506565b9695505050505050565b6000602082840312156119f157600080fd5b8151610d4a816114d356fea2646970667358221220efb27be44f28179386d16f65daa8c169f34fe55f8aecc2289223b5dcb4594bf264736f6c634300080a003300000000000000000000000000000000000000000000000000000000644080800000000000000000000000000000000000000000000000000000000064768dff00000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d6575386b73685866474448354b42566634644842564e4c4d7459743169776871475a4e37357251764c64655100000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806377615abc116100f957806399a2557a11610097578063c23dc68f11610071578063c23dc68f14610370578063c87b56dd14610390578063e985e9c5146103a3578063f2fde38b146103df57600080fd5b806399a2557a14610337578063a22cb4651461034a578063b88d4fde1461035d57600080fd5b8063931e2e49116100d3578063931e2e491461030a57806395d89b4114610313578063980846ce1461031b578063996517cf1461032e57600080fd5b806377615abc146102c65780638462151c146102d95780638da5cb5b146102f957600080fd5b806323b872dd116101665780636352211e116101405780636352211e1461028f57806370a08231146102a2578063715018a6146102b5578063717a002b146102bd57600080fd5b806323b872dd1461024957806342842e0e1461025c5780635bbb21771461026f57600080fd5b806301ffc9a7146101ae57806306fdde03146101d6578063081812fc146101eb578063095ea7b3146102165780631249c58b1461022b57806318160ddd14610233575b600080fd5b6101c16101bc3660046114e9565b6103f2565b60405190151581526020015b60405180910390f35b6101de610444565b6040516101cd9190611553565b6101fe6101f9366004611566565b6104d6565b6040516001600160a01b0390911681526020016101cd565b61022961022436600461159b565b61051a565b005b6102296105ba565b600254600154035b6040519081526020016101cd565b6102296102573660046115c5565b610741565b61022961026a3660046115c5565b6108d2565b61028261027d366004611601565b6108f2565b6040516101cd91906116b3565b6101fe61029d366004611566565b6109be565b61023b6102b03660046116f5565b6109c9565b610229610a18565b61023b600d5481565b61023b6102d43660046116f5565b610a2a565b6102ec6102e73660046116f5565b610a5d565b6040516101cd9190611710565b6000546001600160a01b03166101fe565b61023b600c5481565b6101de610b6d565b610229610329366004611748565b610b7c565b61023b600b5481565b6102ec61034536600461176a565b610bd3565b61022961035836600461179d565b610d51565b61022961036b3660046117ef565b610de7565b61038361037e366004611566565b610e31565b6040516101cd91906118cb565b6101de61039e366004611566565b610ea9565b6101c16103b13660046118d9565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6102296103ed3660046116f5565b610faa565b60006301ffc9a760e01b6001600160e01b03198316148061042357506380ac58cd60e01b6001600160e01b03198316145b8061043e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546104539061190c565b80601f016020809104026020016040519081016040528092919081815260200182805461047f9061190c565b80156104cc5780601f106104a1576101008083540402835291602001916104cc565b820191906000526020600020905b8154815290600101906020018083116104af57829003601f168201915b5050505050905090565b60006104e182611023565b6104fe576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610525826109be565b9050336001600160a01b0382161461055e5761054181336103b1565b61055e576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6105c261104b565b33321461060a5760405162461bcd60e51b815260206004820152601160248201527053656e646572206973206e6f7420454f4160781b60448201526064015b60405180910390fd5b600c5442101561065c5760405162461bcd60e51b815260206004820152601e60248201527f546865206576656e7420686173206e6f742073746172746564207965742e00006044820152606401610601565b600d544211156106a55760405162461bcd60e51b81526020600482015260146024820152732a34329032bb32b73a103430b99032b73232b21760611b6044820152606401610601565b600b543360009081526006602052604090819020546106d0911c67ffffffffffffffff16600161195d565b111561072a5760405162461bcd60e51b815260206004820152602360248201527f596f75206861766520726561636865642074686520636c61696d206c696d697460448201526228352960e81b6064820152608401610601565b6107353360016110a5565b61073f6001600955565b565b600061074c826110c3565b9050836001600160a01b0316816001600160a01b03161461077f5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176107cc576107af86336103b1565b6107cc57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166107f357604051633a954ecd60e21b815260040160405180910390fd5b80156107fe57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b831661088957600184016000818152600560205260409020546108875760015481146108875760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6108ed83838360405180602001604052806000815250610de7565b505050565b60608160008167ffffffffffffffff811115610910576109106117d9565b60405190808252806020026020018201604052801561096257816020015b60408051608081018252600080825260208083018290529282018190526060820152825260001990920191018161092e5790505b50905060005b8281146109b55761099086868381811061098457610984611975565b90506020020135610e31565b8282815181106109a2576109a2611975565b6020908102919091010152600101610968565b50949350505050565b600061043e826110c3565b60006001600160a01b0382166109f2576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610a20611124565b61073f600061117e565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c16600b5461043e919061198b565b60606000806000610a6d856109c9565b905060008167ffffffffffffffff811115610a8a57610a8a6117d9565b604051908082528060200260200182016040528015610ab3578160200160208202803683370190505b509050610ae060408051608081018252600080825260208201819052918101829052606081019190915290565b60005b838614610b6157610af3816111ce565b9150816040015115610b0457610b59565b81516001600160a01b031615610b1957815194505b876001600160a01b0316856001600160a01b03161415610b595780838780600101985081518110610b4c57610b4c611975565b6020026020010181815250505b600101610ae3565b50909695505050505050565b6060600480546104539061190c565b610b84611124565b808210610bc85760405162461bcd60e51b8152602060048201526012602482015271496e76616c696420537461727454696d657360701b6044820152606401610601565b600c91909155600d55565b6060818310610bf557604051631960ccad60e11b815260040160405180910390fd5b600080610c0160015490565b905080841115610c0f578093505b6000610c1a876109c9565b905084861015610c395785850381811015610c33578091505b50610c3d565b5060005b60008167ffffffffffffffff811115610c5857610c586117d9565b604051908082528060200260200182016040528015610c81578160200160208202803683370190505b50905081610c94579350610d4a92505050565b6000610c9f88610e31565b905060008160400151610cb0575080515b885b888114158015610cc25750848714155b15610d3e57610cd0816111ce565b9250826040015115610ce157610d36565b82516001600160a01b031615610cf657825191505b8a6001600160a01b0316826001600160a01b03161415610d365780848880600101995081518110610d2957610d29611975565b6020026020010181815250505b600101610cb2565b50505092835250909150505b9392505050565b6001600160a01b038216331415610d7b5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610df2848484610741565b6001600160a01b0383163b15610e2b57610e0e8484848461120a565b610e2b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6040805160808082018352600080835260208084018290528385018290526060808501839052855193840186528284529083018290529382018190529281018390529091506001548310610e855792915050565b610e8e836111ce565b9050806040015115610ea05792915050565b610d4a836112f2565b6060610eb482611023565b610f185760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610601565b600a8054610f259061190c565b80601f0160208091040260200160405190810160405280929190818152602001828054610f519061190c565b8015610f9e5780601f10610f7357610100808354040283529160200191610f9e565b820191906000526020600020905b815481529060010190602001808311610f8157829003601f168201915b50505050509050919050565b610fb2611124565b6001600160a01b0381166110175760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610601565b6110208161117e565b50565b60006001548210801561043e575050600090815260056020526040902054600160e01b161590565b6002600954141561109e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610601565b6002600955565b6110bf828260405180602001604052806000815250611327565b5050565b60008160015481101561110b57600081815260056020526040902054600160e01b8116611109575b80610d4a5750600019016000818152600560205260409020546110eb565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b0316331461073f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610601565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526005602052604090205461043e90611394565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061123f9033908990889088906004016119a2565b6020604051808303816000875af192505050801561127a575060408051601f3d908101601f19168201909252611277918101906119df565b60015b6112d5573d8080156112a8576040519150601f19603f3d011682016040523d82523d6000602084013e6112ad565b606091505b5080516112cd576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261043e611322836110c3565b611394565b61133183836113dc565b6001600160a01b0383163b156108ed576001548281035b61135b600086838060010194508661120a565b611378576040516368d2bf6b60e11b815260040160405180910390fd5b81811061134857816001541461138d57600080fd5b5050505050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b600154816113fd5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146114ac57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611474565b50816114ca57604051622e076360e81b815260040160405180910390fd5b60015550505050565b6001600160e01b03198116811461102057600080fd5b6000602082840312156114fb57600080fd5b8135610d4a816114d3565b6000815180845260005b8181101561152c57602081850181015186830182015201611510565b8181111561153e576000602083870101525b50601f01601f19169290920160200192915050565b602081526000610d4a6020830184611506565b60006020828403121561157857600080fd5b5035919050565b80356001600160a01b038116811461159657600080fd5b919050565b600080604083850312156115ae57600080fd5b6115b78361157f565b946020939093013593505050565b6000806000606084860312156115da57600080fd5b6115e38461157f565b92506115f16020850161157f565b9150604084013590509250925092565b6000806020838503121561161457600080fd5b823567ffffffffffffffff8082111561162c57600080fd5b818501915085601f83011261164057600080fd5b81358181111561164f57600080fd5b8660208260051b850101111561166457600080fd5b60209290920196919550909350505050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610b61576116e2838551611676565b92840192608092909201916001016116cf565b60006020828403121561170757600080fd5b610d4a8261157f565b6020808252825182820181905260009190848201906040850190845b81811015610b615783518352928401929184019160010161172c565b6000806040838503121561175b57600080fd5b50508035926020909101359150565b60008060006060848603121561177f57600080fd5b6117888461157f565b95602085013595506040909401359392505050565b600080604083850312156117b057600080fd5b6117b98361157f565b9150602083013580151581146117ce57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561180557600080fd5b61180e8561157f565b935061181c6020860161157f565b925060408501359150606085013567ffffffffffffffff8082111561184057600080fd5b818701915087601f83011261185457600080fd5b813581811115611866576118666117d9565b604051601f8201601f19908116603f0116810190838211818310171561188e5761188e6117d9565b816040528281528a60208487010111156118a757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6080810161043e8284611676565b600080604083850312156118ec57600080fd5b6118f58361157f565b91506119036020840161157f565b90509250929050565b600181811c9082168061192057607f821691505b6020821081141561194157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561197057611970611947565b500190565b634e487b7160e01b600052603260045260246000fd5b60008282101561199d5761199d611947565b500390565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906119d590830184611506565b9695505050505050565b6000602082840312156119f157600080fd5b8151610d4a816114d356fea2646970667358221220efb27be44f28179386d16f65daa8c169f34fe55f8aecc2289223b5dcb4594bf264736f6c634300080a0033
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.