Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 M2020TRM
Holders
16
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 M2020TRMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TRMGiveaway
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; import '@rari-capital/solmate/src/tokens/ERC721.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; // contract by: // // ______ ______ ______ __ __ ______ ______ __ __ ______ // /\___ \ /\ ___\ /\ == \/\ \_\ \ /\ ___\ /\ == \ /\ \/\ \ /\ ___\ // \/_/ /__\ \ __\ \ \ _-/\ \ __ \\ \ __\ \ \ __< \ \ \_\ \\ \___ \ // /\_____\\ \_____\\ \_\ \ \_\ \_\\ \_____\\ \_\ \_\\ \_____\\/\_____\ // \/_____/ \/_____/ \/_/ \/_/\/_/ \/_____/ \/_/ /_/ \/_____/ \/_____/ // // zepheruslabs.xyz // contract TRMGiveaway is ERC721, Ownable { using Strings for uint256; uint256 public constant maxSupply = 100; bool public isLocked; address airdropper; string baseURI; uint256 counter = 1; constructor(string memory _baseURI, address _airdropper) ERC721('Money2020 TRM Giveaway', 'M2020TRM') { baseURI = _baseURI; airdropper = _airdropper; } // Metadata function tokenURI(uint256 id) public view override returns (string memory) { return string(abi.encodePacked(baseURI, id.toString())); } function setBaseURI(string memory _baseURI) public onlyOwner isNotLocked { baseURI = _baseURI; } // end Metadata // Airdropper actions function airdropTo(address _to) external { require(counter <= maxSupply, 'exceeds max supply'); require(msg.sender == airdropper, 'must be authorized airdropper'); _mint(_to, counter); unchecked { counter++; } } function setAirdropper(address _airdropper) external onlyOwner isNotLocked { airdropper = _airdropper; } // end Airdropper actions // Locking function lock() external onlyOwner isNotLocked { isLocked = true; airdropper = address(0); } modifier isNotLocked() { require(!isLocked, 'contract has been locked'); _; } // end Locking // Implement non-transferable token spec. function transferFrom( address, address, uint256 ) public override { revert('token is non-transferable'); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern, minimalist, and gas efficient ERC-721 implementation. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 indexed id); event Approval(address indexed owner, address indexed spender, uint256 indexed id); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /*////////////////////////////////////////////////////////////// METADATA STORAGE/LOGIC //////////////////////////////////////////////////////////////*/ string public name; string public symbol; function tokenURI(uint256 id) public view virtual returns (string memory); /*////////////////////////////////////////////////////////////// ERC721 BALANCE/OWNER STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) internal _ownerOf; mapping(address => uint256) internal _balanceOf; function ownerOf(uint256 id) public view virtual returns (address owner) { require((owner = _ownerOf[id]) != address(0), "NOT_MINTED"); } function balanceOf(address owner) public view virtual returns (uint256) { require(owner != address(0), "ZERO_ADDRESS"); return _balanceOf[owner]; } /*////////////////////////////////////////////////////////////// ERC721 APPROVAL STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) public getApproved; mapping(address => mapping(address => bool)) public isApprovedForAll; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(string memory _name, string memory _symbol) { name = _name; symbol = _symbol; } /*////////////////////////////////////////////////////////////// ERC721 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 id) public virtual { address owner = _ownerOf[id]; require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED"); getApproved[id] = spender; emit Approval(owner, spender, id); } function setApprovalForAll(address operator, bool approved) public virtual { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } function transferFrom( address from, address to, uint256 id ) public virtual { require(from == _ownerOf[id], "WRONG_FROM"); require(to != address(0), "INVALID_RECIPIENT"); require( msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id], "NOT_AUTHORIZED" ); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _balanceOf[from]--; _balanceOf[to]++; } _ownerOf[id] = to; delete getApproved[id]; emit Transfer(from, to, id); } function safeTransferFrom( address from, address to, uint256 id ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function safeTransferFrom( address from, address to, uint256 id, bytes calldata data ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } /*////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 id) internal virtual { require(to != address(0), "INVALID_RECIPIENT"); require(_ownerOf[id] == address(0), "ALREADY_MINTED"); // Counter overflow is incredibly unrealistic. unchecked { _balanceOf[to]++; } _ownerOf[id] = to; emit Transfer(address(0), to, id); } function _burn(uint256 id) internal virtual { address owner = _ownerOf[id]; require(owner != address(0), "NOT_MINTED"); // Ownership check above ensures no underflow. unchecked { _balanceOf[owner]--; } delete _ownerOf[id]; delete getApproved[id]; emit Transfer(owner, address(0), id); } /*////////////////////////////////////////////////////////////// INTERNAL SAFE MINT LOGIC //////////////////////////////////////////////////////////////*/ function _safeMint(address to, uint256 id) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function _safeMint( address to, uint256 id, bytes memory data ) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } } /// @notice A generic interface for a contract which properly accepts ERC721 tokens. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721TokenReceiver { function onERC721Received( address, address, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC721TokenReceiver.onERC721Received.selector; } }
// 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; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"address","name":"_airdropper","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","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":"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":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"airdropTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","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":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","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":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","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":"id","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":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_airdropper","type":"address"}],"name":"setAirdropper","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":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","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":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","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
608060405260016009553480156200001657600080fd5b50604051620017e0380380620017e083398101604081905262000039916200023d565b604080518082018252601681527f4d6f6e6579323032302054524d204769766561776179000000000000000000006020808301918252835180850190945260088452674d3230323054524d60c01b9084015281519192916200009e9160009162000164565b508051620000b490600190602084019062000164565b505050620000d1620000cb6200010e60201b60201c565b62000112565b8151620000e690600890602085019062000164565b50600780546001600160a01b0319166001600160a01b0392909216919091179055506200036b565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000172906200032e565b90600052602060002090601f016020900481019282620001965760008555620001e1565b82601f10620001b157805160ff1916838001178555620001e1565b82800160010185558215620001e1579182015b82811115620001e1578251825591602001919060010190620001c4565b50620001ef929150620001f3565b5090565b5b80821115620001ef5760008155600101620001f4565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b03811681146200023857600080fd5b919050565b600080604083850312156200025157600080fd5b82516001600160401b03808211156200026957600080fd5b818501915085601f8301126200027e57600080fd5b8151818111156200029357620002936200020a565b604051601f8201601f19908116603f01168101908382118183101715620002be57620002be6200020a565b81604052828152602093508884848701011115620002db57600080fd5b600091505b82821015620002ff5784820184015181830185015290830190620002e0565b82821115620003115760008484830101525b95506200032391505085820162000220565b925050509250929050565b600181811c908216806200034357607f821691505b602082108114156200036557634e487b7160e01b600052602260045260246000fd5b50919050565b611465806200037b6000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80638da5cb5b116100b8578063c87b56dd1161007c578063c87b56dd146102b5578063d5abeb01146102c8578063dc489c9b146102d0578063e985e9c5146102e3578063f2fde38b14610311578063f83d08ba1461032457600080fd5b80638da5cb5b1461026257806395d89b4114610273578063a22cb4651461027b578063a4e2d6341461028e578063b88d4fde146102a257600080fd5b8063364f479f1161010a578063364f479f146101ed57806342842e0e1461020057806355f804b3146102135780636352211e1461022657806370a0823114610239578063715018a61461025a57600080fd5b806301ffc9a71461014757806306fdde031461016f578063081812fc14610184578063095ea7b3146101c557806323b872dd146101da575b600080fd5b61015a610155366004610e97565b61032c565b60405190151581526020015b60405180910390f35b61017761037e565b6040516101669190610eeb565b6101ad610192366004610f1e565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610166565b6101d86101d3366004610f4e565b61040c565b005b6101d86101e8366004610f78565b6104f3565b6101d86101fb366004610fb4565b61053b565b6101d861020e366004610f78565b6105f5565b6101d8610221366004610fe5565b6106fc565b6101ad610234366004610f1e565b610767565b61024c610247366004610fb4565b6107be565b604051908152602001610166565b6101d8610821565b6006546001600160a01b03166101ad565b610177610857565b6101d8610289366004611096565b610864565b60065461015a90600160a01b900460ff1681565b6101d86102b03660046110d2565b6108d0565b6101776102c3366004610f1e565b6109c7565b61024c606481565b6101d86102de366004610fb4565b6109fb565b61015a6102f136600461116d565b600560209081526000928352604080842090915290825290205460ff1681565b6101d861031f366004610fb4565b610a71565b6101d8610b0c565b60006301ffc9a760e01b6001600160e01b03198316148061035d57506380ac58cd60e01b6001600160e01b03198316145b806103785750635b5e139f60e01b6001600160e01b03198316145b92915050565b6000805461038b906111a0565b80601f01602080910402602001604051908101604052809291908181526020018280546103b7906111a0565b80156104045780601f106103d957610100808354040283529160200191610404565b820191906000526020600020905b8154815290600101906020018083116103e757829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b03163381148061045557506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6104975760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60405162461bcd60e51b815260206004820152601960248201527f746f6b656e206973206e6f6e2d7472616e7366657261626c6500000000000000604482015260640161048e565b606460095411156105835760405162461bcd60e51b815260206004820152601260248201527165786365656473206d617820737570706c7960701b604482015260640161048e565b6007546001600160a01b031633146105dd5760405162461bcd60e51b815260206004820152601d60248201527f6d75737420626520617574686f72697a65642061697264726f70706572000000604482015260640161048e565b6105e981600954610b85565b50600980546001019055565b6106008383836104f3565b6001600160a01b0382163b15806106b85750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a401602060405180830381600087803b15801561067457600080fd5b505af1158015610688573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac91906111db565b6001600160e01b031916145b6106f75760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b604482015260640161048e565b505050565b6006546001600160a01b031633146107265760405162461bcd60e51b815260040161048e906111f8565b600654600160a01b900460ff16156107505760405162461bcd60e51b815260040161048e9061122d565b8051610763906008906020840190610de8565b5050565b6000818152600260205260409020546001600160a01b0316806107b95760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b604482015260640161048e565b919050565b60006001600160a01b0382166108055760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015260640161048e565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461084b5760405162461bcd60e51b815260040161048e906111f8565b6108556000610c90565b565b6001805461038b906111a0565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6108db8585856104f3565b6001600160a01b0384163b15806109815750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a02906109239033908a90899089908990600401611264565b602060405180830381600087803b15801561093d57600080fd5b505af1158015610951573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097591906111db565b6001600160e01b031916145b6109c05760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b604482015260640161048e565b5050505050565b606060086109d483610ce2565b6040516020016109e59291906112d4565b6040516020818303038152906040529050919050565b6006546001600160a01b03163314610a255760405162461bcd60e51b815260040161048e906111f8565b600654600160a01b900460ff1615610a4f5760405162461bcd60e51b815260040161048e9061122d565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314610a9b5760405162461bcd60e51b815260040161048e906111f8565b6001600160a01b038116610b005760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161048e565b610b0981610c90565b50565b6006546001600160a01b03163314610b365760405162461bcd60e51b815260040161048e906111f8565b600654600160a01b900460ff1615610b605760405162461bcd60e51b815260040161048e9061122d565b6006805460ff60a01b1916600160a01b179055600780546001600160a01b0319169055565b6001600160a01b038216610bcf5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b604482015260640161048e565b6000818152600260205260409020546001600160a01b031615610c255760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b604482015260640161048e565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606081610d065750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610d305780610d1a81611391565b9150610d299050600a836113c2565b9150610d0a565b60008167ffffffffffffffff811115610d4b57610d4b610fcf565b6040519080825280601f01601f191660200182016040528015610d75576020820181803683370190505b5090505b8415610de057610d8a6001836113d6565b9150610d97600a866113ed565b610da2906030611401565b60f81b818381518110610db757610db7611419565b60200101906001600160f81b031916908160001a905350610dd9600a866113c2565b9450610d79565b949350505050565b828054610df4906111a0565b90600052602060002090601f016020900481019282610e165760008555610e5c565b82601f10610e2f57805160ff1916838001178555610e5c565b82800160010185558215610e5c579182015b82811115610e5c578251825591602001919060010190610e41565b50610e68929150610e6c565b5090565b5b80821115610e685760008155600101610e6d565b6001600160e01b031981168114610b0957600080fd5b600060208284031215610ea957600080fd5b8135610eb481610e81565b9392505050565b60005b83811015610ed6578181015183820152602001610ebe565b83811115610ee5576000848401525b50505050565b6020815260008251806020840152610f0a816040850160208701610ebb565b601f01601f19169190910160400192915050565b600060208284031215610f3057600080fd5b5035919050565b80356001600160a01b03811681146107b957600080fd5b60008060408385031215610f6157600080fd5b610f6a83610f37565b946020939093013593505050565b600080600060608486031215610f8d57600080fd5b610f9684610f37565b9250610fa460208501610f37565b9150604084013590509250925092565b600060208284031215610fc657600080fd5b610eb482610f37565b634e487b7160e01b600052604160045260246000fd5b600060208284031215610ff757600080fd5b813567ffffffffffffffff8082111561100f57600080fd5b818401915084601f83011261102357600080fd5b81358181111561103557611035610fcf565b604051601f8201601f19908116603f0116810190838211818310171561105d5761105d610fcf565b8160405282815287602084870101111561107657600080fd5b826020860160208301376000928101602001929092525095945050505050565b600080604083850312156110a957600080fd5b6110b283610f37565b9150602083013580151581146110c757600080fd5b809150509250929050565b6000806000806000608086880312156110ea57600080fd5b6110f386610f37565b945061110160208701610f37565b935060408601359250606086013567ffffffffffffffff8082111561112557600080fd5b818801915088601f83011261113957600080fd5b81358181111561114857600080fd5b89602082850101111561115a57600080fd5b9699959850939650602001949392505050565b6000806040838503121561118057600080fd5b61118983610f37565b915061119760208401610f37565b90509250929050565b600181811c908216806111b457607f821691505b602082108114156111d557634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156111ed57600080fd5b8151610eb481610e81565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526018908201527f636f6e747261637420686173206265656e206c6f636b65640000000000000000604082015260600190565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b600081516112ca818560208601610ebb565b9290920192915050565b600080845481600182811c9150808316806112f057607f831692505b602080841082141561131057634e487b7160e01b86526022600452602486fd5b818015611324576001811461133557611362565b60ff19861689528489019650611362565b60008b81526020902060005b8681101561135a5781548b820152908501908301611341565b505084890196505b50505050505061137281856112b8565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b60006000198214156113a5576113a561137b565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826113d1576113d16113ac565b500490565b6000828210156113e8576113e861137b565b500390565b6000826113fc576113fc6113ac565b500690565b600082198211156114145761141461137b565b500190565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220185744071d3df02721649b81234912ff2c1c1420638002a39f6b5b18079c787e64736f6c63430008090033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000084ef25976e0b9e70f7ad617c2050e294776e92930000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5255526645506646513977627031725251414b68754e716371614d6b72464d6f6b5a346a387332655637614c2f00000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c80638da5cb5b116100b8578063c87b56dd1161007c578063c87b56dd146102b5578063d5abeb01146102c8578063dc489c9b146102d0578063e985e9c5146102e3578063f2fde38b14610311578063f83d08ba1461032457600080fd5b80638da5cb5b1461026257806395d89b4114610273578063a22cb4651461027b578063a4e2d6341461028e578063b88d4fde146102a257600080fd5b8063364f479f1161010a578063364f479f146101ed57806342842e0e1461020057806355f804b3146102135780636352211e1461022657806370a0823114610239578063715018a61461025a57600080fd5b806301ffc9a71461014757806306fdde031461016f578063081812fc14610184578063095ea7b3146101c557806323b872dd146101da575b600080fd5b61015a610155366004610e97565b61032c565b60405190151581526020015b60405180910390f35b61017761037e565b6040516101669190610eeb565b6101ad610192366004610f1e565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610166565b6101d86101d3366004610f4e565b61040c565b005b6101d86101e8366004610f78565b6104f3565b6101d86101fb366004610fb4565b61053b565b6101d861020e366004610f78565b6105f5565b6101d8610221366004610fe5565b6106fc565b6101ad610234366004610f1e565b610767565b61024c610247366004610fb4565b6107be565b604051908152602001610166565b6101d8610821565b6006546001600160a01b03166101ad565b610177610857565b6101d8610289366004611096565b610864565b60065461015a90600160a01b900460ff1681565b6101d86102b03660046110d2565b6108d0565b6101776102c3366004610f1e565b6109c7565b61024c606481565b6101d86102de366004610fb4565b6109fb565b61015a6102f136600461116d565b600560209081526000928352604080842090915290825290205460ff1681565b6101d861031f366004610fb4565b610a71565b6101d8610b0c565b60006301ffc9a760e01b6001600160e01b03198316148061035d57506380ac58cd60e01b6001600160e01b03198316145b806103785750635b5e139f60e01b6001600160e01b03198316145b92915050565b6000805461038b906111a0565b80601f01602080910402602001604051908101604052809291908181526020018280546103b7906111a0565b80156104045780601f106103d957610100808354040283529160200191610404565b820191906000526020600020905b8154815290600101906020018083116103e757829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b03163381148061045557506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6104975760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60405162461bcd60e51b815260206004820152601960248201527f746f6b656e206973206e6f6e2d7472616e7366657261626c6500000000000000604482015260640161048e565b606460095411156105835760405162461bcd60e51b815260206004820152601260248201527165786365656473206d617820737570706c7960701b604482015260640161048e565b6007546001600160a01b031633146105dd5760405162461bcd60e51b815260206004820152601d60248201527f6d75737420626520617574686f72697a65642061697264726f70706572000000604482015260640161048e565b6105e981600954610b85565b50600980546001019055565b6106008383836104f3565b6001600160a01b0382163b15806106b85750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a401602060405180830381600087803b15801561067457600080fd5b505af1158015610688573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac91906111db565b6001600160e01b031916145b6106f75760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b604482015260640161048e565b505050565b6006546001600160a01b031633146107265760405162461bcd60e51b815260040161048e906111f8565b600654600160a01b900460ff16156107505760405162461bcd60e51b815260040161048e9061122d565b8051610763906008906020840190610de8565b5050565b6000818152600260205260409020546001600160a01b0316806107b95760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b604482015260640161048e565b919050565b60006001600160a01b0382166108055760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015260640161048e565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461084b5760405162461bcd60e51b815260040161048e906111f8565b6108556000610c90565b565b6001805461038b906111a0565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6108db8585856104f3565b6001600160a01b0384163b15806109815750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a02906109239033908a90899089908990600401611264565b602060405180830381600087803b15801561093d57600080fd5b505af1158015610951573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097591906111db565b6001600160e01b031916145b6109c05760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b604482015260640161048e565b5050505050565b606060086109d483610ce2565b6040516020016109e59291906112d4565b6040516020818303038152906040529050919050565b6006546001600160a01b03163314610a255760405162461bcd60e51b815260040161048e906111f8565b600654600160a01b900460ff1615610a4f5760405162461bcd60e51b815260040161048e9061122d565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314610a9b5760405162461bcd60e51b815260040161048e906111f8565b6001600160a01b038116610b005760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161048e565b610b0981610c90565b50565b6006546001600160a01b03163314610b365760405162461bcd60e51b815260040161048e906111f8565b600654600160a01b900460ff1615610b605760405162461bcd60e51b815260040161048e9061122d565b6006805460ff60a01b1916600160a01b179055600780546001600160a01b0319169055565b6001600160a01b038216610bcf5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b604482015260640161048e565b6000818152600260205260409020546001600160a01b031615610c255760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b604482015260640161048e565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606081610d065750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610d305780610d1a81611391565b9150610d299050600a836113c2565b9150610d0a565b60008167ffffffffffffffff811115610d4b57610d4b610fcf565b6040519080825280601f01601f191660200182016040528015610d75576020820181803683370190505b5090505b8415610de057610d8a6001836113d6565b9150610d97600a866113ed565b610da2906030611401565b60f81b818381518110610db757610db7611419565b60200101906001600160f81b031916908160001a905350610dd9600a866113c2565b9450610d79565b949350505050565b828054610df4906111a0565b90600052602060002090601f016020900481019282610e165760008555610e5c565b82601f10610e2f57805160ff1916838001178555610e5c565b82800160010185558215610e5c579182015b82811115610e5c578251825591602001919060010190610e41565b50610e68929150610e6c565b5090565b5b80821115610e685760008155600101610e6d565b6001600160e01b031981168114610b0957600080fd5b600060208284031215610ea957600080fd5b8135610eb481610e81565b9392505050565b60005b83811015610ed6578181015183820152602001610ebe565b83811115610ee5576000848401525b50505050565b6020815260008251806020840152610f0a816040850160208701610ebb565b601f01601f19169190910160400192915050565b600060208284031215610f3057600080fd5b5035919050565b80356001600160a01b03811681146107b957600080fd5b60008060408385031215610f6157600080fd5b610f6a83610f37565b946020939093013593505050565b600080600060608486031215610f8d57600080fd5b610f9684610f37565b9250610fa460208501610f37565b9150604084013590509250925092565b600060208284031215610fc657600080fd5b610eb482610f37565b634e487b7160e01b600052604160045260246000fd5b600060208284031215610ff757600080fd5b813567ffffffffffffffff8082111561100f57600080fd5b818401915084601f83011261102357600080fd5b81358181111561103557611035610fcf565b604051601f8201601f19908116603f0116810190838211818310171561105d5761105d610fcf565b8160405282815287602084870101111561107657600080fd5b826020860160208301376000928101602001929092525095945050505050565b600080604083850312156110a957600080fd5b6110b283610f37565b9150602083013580151581146110c757600080fd5b809150509250929050565b6000806000806000608086880312156110ea57600080fd5b6110f386610f37565b945061110160208701610f37565b935060408601359250606086013567ffffffffffffffff8082111561112557600080fd5b818801915088601f83011261113957600080fd5b81358181111561114857600080fd5b89602082850101111561115a57600080fd5b9699959850939650602001949392505050565b6000806040838503121561118057600080fd5b61118983610f37565b915061119760208401610f37565b90509250929050565b600181811c908216806111b457607f821691505b602082108114156111d557634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156111ed57600080fd5b8151610eb481610e81565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526018908201527f636f6e747261637420686173206265656e206c6f636b65640000000000000000604082015260600190565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b600081516112ca818560208601610ebb565b9290920192915050565b600080845481600182811c9150808316806112f057607f831692505b602080841082141561131057634e487b7160e01b86526022600452602486fd5b818015611324576001811461133557611362565b60ff19861689528489019650611362565b60008b81526020902060005b8681101561135a5781548b820152908501908301611341565b505084890196505b50505050505061137281856112b8565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b60006000198214156113a5576113a561137b565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826113d1576113d16113ac565b500490565b6000828210156113e8576113e861137b565b500390565b6000826113fc576113fc6113ac565b500690565b600082198211156114145761141461137b565b500190565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220185744071d3df02721649b81234912ff2c1c1420638002a39f6b5b18079c787e64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000084ef25976e0b9e70f7ad617c2050e294776e92930000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5255526645506646513977627031725251414b68754e716371614d6b72464d6f6b5a346a387332655637614c2f00000000000000000000
-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://QmRURfEPfFQ9wbp1rRQAKhuNqcqaMkrFMokZ4j8s2eV7aL/
Arg [1] : _airdropper (address): 0x84eF25976E0B9e70f7Ad617C2050e294776e9293
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000084ef25976e0b9e70f7ad617c2050e294776e9293
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d5255526645506646513977627031725251414b68754e71
Arg [4] : 6371614d6b72464d6f6b5a346a387332655637614c2f00000000000000000000
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.