ERC-20
Overview
Max Total Supply
100,000,000 GOODY
Holders
52,099
Market
Price
$0.00 @ 0.000000 ETH
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
Goody
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.20; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; import "@solmate/tokens/ERC20.sol"; import "./GoodyBag.sol"; contract Goody is ERC20, Ownable, Pausable { address public minter; bool public minterLocked; event NewMinter(address _minter); event MinterLocked(); modifier onlyMinter() { require(msg.sender == minter, "only minter"); _; } constructor(address _owner) ERC20("Goody", "GOODY", 18) Ownable(_owner) { _pause(); IBlast(0x4300000000000000000000000000000000000002).configureClaimableGas(); IBlast(0x4300000000000000000000000000000000000002).configureGovernor(_owner); IBlast(0x2536FE9ab3F511540F2f9e2eC2A805005C3Dd800).configurePointsOperator(_owner); } function mint(address to, uint256 amount) external onlyMinter { _mint(to, amount); } function unpause() external onlyMinter { _unpause(); } function transfer(address to, uint256 amount) public override whenNotPaused returns (bool) { return super.transfer(to, amount); } function transferFrom(address from, address to, uint256 amount) public override whenNotPaused returns (bool) { return super.transferFrom(from, to, amount); } // management fns function setMinter(address _minter) external onlyOwner { require(!minterLocked, "minter locked"); minter = _minter; emit NewMinter(_minter); } function lockMinter() external onlyOwner { minterLocked = true; emit MinterLocked(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol) pragma solidity ^0.8.20; import {Context} from "../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 { bool private _paused; /** * @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); /** * @dev The operation failed because the contract is paused. */ error EnforcedPause(); /** * @dev The operation failed because the contract is not paused. */ error ExpectedPause(); /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { if (paused()) { revert EnforcedPause(); } } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { if (!paused()) { revert ExpectedPause(); } } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern and gas efficient ERC20 + EIP-2612 implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol) /// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol) /// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it. abstract contract ERC20 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 amount); event Approval(address indexed owner, address indexed spender, uint256 amount); /*////////////////////////////////////////////////////////////// METADATA STORAGE //////////////////////////////////////////////////////////////*/ string public name; string public symbol; uint8 public immutable decimals; /*////////////////////////////////////////////////////////////// ERC20 STORAGE //////////////////////////////////////////////////////////////*/ uint256 public totalSupply; mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) public allowance; /*////////////////////////////////////////////////////////////// EIP-2612 STORAGE //////////////////////////////////////////////////////////////*/ uint256 internal immutable INITIAL_CHAIN_ID; bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR; mapping(address => uint256) public nonces; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor( string memory _name, string memory _symbol, uint8 _decimals ) { name = _name; symbol = _symbol; decimals = _decimals; INITIAL_CHAIN_ID = block.chainid; INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator(); } /*////////////////////////////////////////////////////////////// ERC20 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 amount) public virtual returns (bool) { allowance[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function transfer(address to, uint256 amount) public virtual returns (bool) { balanceOf[msg.sender] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(msg.sender, to, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public virtual returns (bool) { uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals. if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount; balanceOf[from] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(from, to, amount); return true; } /*////////////////////////////////////////////////////////////// EIP-2612 LOGIC //////////////////////////////////////////////////////////////*/ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual { require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED"); // Unchecked because the only math done is incrementing // the owner's nonce which cannot realistically overflow. unchecked { address recoveredAddress = ecrecover( keccak256( abi.encodePacked( "\x19\x01", DOMAIN_SEPARATOR(), keccak256( abi.encode( keccak256( "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)" ), owner, spender, value, nonces[owner]++, deadline ) ) ) ), v, r, s ); require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER"); allowance[recoveredAddress][spender] = value; } emit Approval(owner, spender, value); } function DOMAIN_SEPARATOR() public view virtual returns (bytes32) { return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator(); } function computeDomainSeparator() internal view virtual returns (bytes32) { return keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes(name)), keccak256("1"), block.chainid, address(this) ) ); } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 amount) internal virtual { totalSupply += amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(address(0), to, amount); } function _burn(address from, uint256 amount) internal virtual { balanceOf[from] -= amount; // Cannot underflow because a user's balance // will never be larger than the total supply. unchecked { totalSupply -= amount; } emit Transfer(from, address(0), amount); } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.20; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; interface IBlast { function configureClaimableGas() external; function configureGovernor(address _governor) external; function configurePointsOperator(address operator) external; } interface IThrusterRouter01 { function WETH() external pure returns (address); function factory() external pure returns (address); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); } interface IThrusterFactory { function getPair(address tokenA, address tokenB) external view returns (address pair); } interface IPlutocats is IERC721, IERC721Enumerable { struct Contribution { uint256 amount; uint256 joinTime; } function contributionsOf(uint256 _tokenId) external view returns (Contribution memory); } interface IGoody { function mint(address _to, uint256 _amount) external; function unpause() external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.20; import {IERC165} from "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon * a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or * {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon * a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the address zero. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.20; import {IERC721} from "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "remappings": [ "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "base64-sol/=lib/base64/", "@solmate/tokens/=lib/solmate/src/tokens/", "@/=src/", "ds-test/=lib/solmate/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "solmate/=lib/solmate/src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "viaIR": false, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[],"name":"MinterLocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_minter","type":"address"}],"name":"NewMinter","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","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":"lockMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minterLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e06040523480156200001157600080fd5b5060405162001598380380620015988339810160408190526200003491620003d5565b8060405180604001604052806005815260200164476f6f647960d81b81525060405180604001604052806005815260200164474f4f445960d81b81525060128260009081620000849190620004ac565b506001620000938382620004ac565b5060ff81166080524660a052620000a96200024f565b60c0525050506001600160a01b038116620000de57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b620000e981620002eb565b506006805460ff60a01b19169055620001016200033d565b7343000000000000000000000000000000000000026001600160a01b0316634e606c476040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156200015157600080fd5b505af115801562000166573d6000803e3d6000fd5b5050604051631d70c8d360e31b81526001600160a01b0384166004820152734300000000000000000000000000000000000002925063eb8646989150602401600060405180830381600087803b158015620001c057600080fd5b505af1158015620001d5573d6000803e3d6000fd5b50506040516336b91f2b60e01b81526001600160a01b0384166004820152732536fe9ab3f511540f2f9e2ec2a805005c3dd80092506336b91f2b9150602401600060405180830381600087803b1580156200022f57600080fd5b505af115801562000244573d6000803e3d6000fd5b5050505050620005f6565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f600060405162000283919062000578565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000347620003a0565b6006805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620003833390565b6040516001600160a01b03909116815260200160405180910390a1565b620003b4600654600160a01b900460ff1690565b15620003d35760405163d93c066560e01b815260040160405180910390fd5b565b600060208284031215620003e857600080fd5b81516001600160a01b03811681146200040057600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200043257607f821691505b6020821081036200045357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004a757600081815260208120601f850160051c81016020861015620004825750805b601f850160051c820191505b81811015620004a3578281556001016200048e565b5050505b505050565b81516001600160401b03811115620004c857620004c862000407565b620004e081620004d984546200041d565b8462000459565b602080601f831160018114620005185760008415620004ff5750858301515b600019600386901b1c1916600185901b178555620004a3565b600085815260208120601f198616915b82811015620005495788860151825594840194600190910190840162000528565b5085821015620005685787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600080835462000588816200041d565b60018281168015620005a35760018114620005b957620005ea565b60ff1984168752821515830287019450620005ea565b8760005260208060002060005b85811015620005e15781548a820152908401908201620005c6565b50505082870194505b50929695505050505050565b60805160a05160c051610f726200062660003960006104920152600061045d015260006101e20152610f726000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063715018a6116100b8578063a9059cbb1161007c578063a9059cbb146102b6578063cc54cce3146102c9578063d505accf146102dd578063dd62ed3e146102f0578063f2fde38b1461031b578063fca3b5aa1461032e57600080fd5b8063715018a61461026d57806376daebe1146102755780637ecebe001461027d5780638da5cb5b1461029d57806395d89b41146102ae57600080fd5b8063313ce5671161010a578063313ce567146101dd5780633644e515146102165780633f4ba83a1461021e57806340c10f19146102285780635c975abb1461023b57806370a082311461024d57600080fd5b806306fdde03146101475780630754617214610165578063095ea7b31461019057806318160ddd146101b357806323b872dd146101ca575b600080fd5b61014f610341565b60405161015c9190610c96565b60405180910390f35b600754610178906001600160a01b031681565b6040516001600160a01b03909116815260200161015c565b6101a361019e366004610d00565b6103cf565b604051901515815260200161015c565b6101bc60025481565b60405190815260200161015c565b6101a36101d8366004610d2a565b61043c565b6102047f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161015c565b6101bc610459565b6102266104b4565b005b610226610236366004610d00565b61050b565b600654600160a01b900460ff166101a3565b6101bc61025b366004610d66565b60036020526000908152604090205481565b610226610561565b610226610573565b6101bc61028b366004610d66565b60056020526000908152604090205481565b6006546001600160a01b0316610178565b61014f6105b9565b6101a36102c4366004610d00565b6105c6565b6007546101a390600160a01b900460ff1681565b6102266102eb366004610d81565b6105e1565b6101bc6102fe366004610df4565b600460209081526000928352604080842090915290825290205481565b610226610329366004610d66565b610825565b61022661033c366004610d66565b610863565b6000805461034e90610e27565b80601f016020809104026020016040519081016040528092919081815260200182805461037a90610e27565b80156103c75780601f1061039c576101008083540402835291602001916103c7565b820191906000526020600020905b8154815290600101906020018083116103aa57829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061042a9086815260200190565b60405180910390a35060015b92915050565b6000610446610909565b610451848484610934565b949350505050565b60007f0000000000000000000000000000000000000000000000000000000000000000461461048f5761048a610a26565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b6007546001600160a01b031633146105015760405162461bcd60e51b815260206004820152600b60248201526a37b7363c9036b4b73a32b960a91b60448201526064015b60405180910390fd5b610509610ac0565b565b6007546001600160a01b031633146105535760405162461bcd60e51b815260206004820152600b60248201526a37b7363c9036b4b73a32b960a91b60448201526064016104f8565b61055d8282610b0a565b5050565b610569610b75565b6105096000610ba2565b61057b610b75565b6007805460ff60a01b1916600160a01b1790556040517f192417b3f16b1ce69e0c59b0376549666650245ffc05e4b2569089dda8589b6690600090a1565b6001805461034e90610e27565b60006105d0610909565b6105da8383610bf4565b9392505050565b428410156106315760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064016104f8565b6000600161063d610459565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015610749573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381161580159061077f5750876001600160a01b0316816001600160a01b0316145b6107bc5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b60448201526064016104f8565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b61082d610b75565b6001600160a01b03811661085757604051631e4fbdf760e01b8152600060048201526024016104f8565b61086081610ba2565b50565b61086b610b75565b600754600160a01b900460ff16156108b55760405162461bcd60e51b815260206004820152600d60248201526c1b5a5b9d195c881b1bd8dad959609a1b60448201526064016104f8565b600780546001600160a01b0319166001600160a01b0383169081179091556040519081527f6adffd5c93085d835dac6f3b40adf7c242ca4b3284048d20c3d8a501748dc9739060200160405180910390a150565b600654600160a01b900460ff16156105095760405163d93c066560e01b815260040160405180910390fd5b6001600160a01b038316600090815260046020908152604080832033845290915281205460001981146109905761096b8382610e77565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b038516600090815260036020526040812080548592906109b8908490610e77565b90915550506001600160a01b03808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610a139087815260200190565b60405180910390a3506001949350505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051610a589190610e8a565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b610ac8610c6c565b6006805460ff60a01b191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b8060026000828254610b1c9190610f29565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6006546001600160a01b031633146105095760405163118cdaa760e01b81523360048201526024016104f8565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b33600090815260036020526040812080548391908390610c15908490610e77565b90915550506001600160a01b038316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061042a9086815260200190565b600654600160a01b900460ff1661050957604051638dfc202b60e01b815260040160405180910390fd5b600060208083528351808285015260005b81811015610cc357858101830151858201604001528201610ca7565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610cfb57600080fd5b919050565b60008060408385031215610d1357600080fd5b610d1c83610ce4565b946020939093013593505050565b600080600060608486031215610d3f57600080fd5b610d4884610ce4565b9250610d5660208501610ce4565b9150604084013590509250925092565b600060208284031215610d7857600080fd5b6105da82610ce4565b600080600080600080600060e0888a031215610d9c57600080fd5b610da588610ce4565b9650610db360208901610ce4565b95506040880135945060608801359350608088013560ff81168114610dd757600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610e0757600080fd5b610e1083610ce4565b9150610e1e60208401610ce4565b90509250929050565b600181811c90821680610e3b57607f821691505b602082108103610e5b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561043657610436610e61565b600080835481600182811c915080831680610ea657607f831692505b60208084108203610ec557634e487b7160e01b86526022600452602486fd5b818015610ed95760018114610eee57610f1b565b60ff1986168952841515850289019650610f1b565b60008a81526020902060005b86811015610f135781548b820152908501908301610efa565b505084890196505b509498975050505050505050565b8082018082111561043657610436610e6156fea26469706673582212209667f5aeec505f0754b02d70f9d49fdd107460b632d88dbfc0d0b1c9333f467f64736f6c6343000814003300000000000000000000000098f9b2d212719b26e810824290c5c72550487cb4
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c8063715018a6116100b8578063a9059cbb1161007c578063a9059cbb146102b6578063cc54cce3146102c9578063d505accf146102dd578063dd62ed3e146102f0578063f2fde38b1461031b578063fca3b5aa1461032e57600080fd5b8063715018a61461026d57806376daebe1146102755780637ecebe001461027d5780638da5cb5b1461029d57806395d89b41146102ae57600080fd5b8063313ce5671161010a578063313ce567146101dd5780633644e515146102165780633f4ba83a1461021e57806340c10f19146102285780635c975abb1461023b57806370a082311461024d57600080fd5b806306fdde03146101475780630754617214610165578063095ea7b31461019057806318160ddd146101b357806323b872dd146101ca575b600080fd5b61014f610341565b60405161015c9190610c96565b60405180910390f35b600754610178906001600160a01b031681565b6040516001600160a01b03909116815260200161015c565b6101a361019e366004610d00565b6103cf565b604051901515815260200161015c565b6101bc60025481565b60405190815260200161015c565b6101a36101d8366004610d2a565b61043c565b6102047f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff909116815260200161015c565b6101bc610459565b6102266104b4565b005b610226610236366004610d00565b61050b565b600654600160a01b900460ff166101a3565b6101bc61025b366004610d66565b60036020526000908152604090205481565b610226610561565b610226610573565b6101bc61028b366004610d66565b60056020526000908152604090205481565b6006546001600160a01b0316610178565b61014f6105b9565b6101a36102c4366004610d00565b6105c6565b6007546101a390600160a01b900460ff1681565b6102266102eb366004610d81565b6105e1565b6101bc6102fe366004610df4565b600460209081526000928352604080842090915290825290205481565b610226610329366004610d66565b610825565b61022661033c366004610d66565b610863565b6000805461034e90610e27565b80601f016020809104026020016040519081016040528092919081815260200182805461037a90610e27565b80156103c75780601f1061039c576101008083540402835291602001916103c7565b820191906000526020600020905b8154815290600101906020018083116103aa57829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061042a9086815260200190565b60405180910390a35060015b92915050565b6000610446610909565b610451848484610934565b949350505050565b60007f0000000000000000000000000000000000000000000000000000000000013e31461461048f5761048a610a26565b905090565b507ff736e8dd3bada587551d3beb6d03a1dcea94534216ae723f34a727504a84155190565b6007546001600160a01b031633146105015760405162461bcd60e51b815260206004820152600b60248201526a37b7363c9036b4b73a32b960a91b60448201526064015b60405180910390fd5b610509610ac0565b565b6007546001600160a01b031633146105535760405162461bcd60e51b815260206004820152600b60248201526a37b7363c9036b4b73a32b960a91b60448201526064016104f8565b61055d8282610b0a565b5050565b610569610b75565b6105096000610ba2565b61057b610b75565b6007805460ff60a01b1916600160a01b1790556040517f192417b3f16b1ce69e0c59b0376549666650245ffc05e4b2569089dda8589b6690600090a1565b6001805461034e90610e27565b60006105d0610909565b6105da8383610bf4565b9392505050565b428410156106315760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064016104f8565b6000600161063d610459565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015610749573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381161580159061077f5750876001600160a01b0316816001600160a01b0316145b6107bc5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b60448201526064016104f8565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b61082d610b75565b6001600160a01b03811661085757604051631e4fbdf760e01b8152600060048201526024016104f8565b61086081610ba2565b50565b61086b610b75565b600754600160a01b900460ff16156108b55760405162461bcd60e51b815260206004820152600d60248201526c1b5a5b9d195c881b1bd8dad959609a1b60448201526064016104f8565b600780546001600160a01b0319166001600160a01b0383169081179091556040519081527f6adffd5c93085d835dac6f3b40adf7c242ca4b3284048d20c3d8a501748dc9739060200160405180910390a150565b600654600160a01b900460ff16156105095760405163d93c066560e01b815260040160405180910390fd5b6001600160a01b038316600090815260046020908152604080832033845290915281205460001981146109905761096b8382610e77565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b038516600090815260036020526040812080548592906109b8908490610e77565b90915550506001600160a01b03808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610a139087815260200190565b60405180910390a3506001949350505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051610a589190610e8a565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b610ac8610c6c565b6006805460ff60a01b191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b8060026000828254610b1c9190610f29565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6006546001600160a01b031633146105095760405163118cdaa760e01b81523360048201526024016104f8565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b33600090815260036020526040812080548391908390610c15908490610e77565b90915550506001600160a01b038316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061042a9086815260200190565b600654600160a01b900460ff1661050957604051638dfc202b60e01b815260040160405180910390fd5b600060208083528351808285015260005b81811015610cc357858101830151858201604001528201610ca7565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610cfb57600080fd5b919050565b60008060408385031215610d1357600080fd5b610d1c83610ce4565b946020939093013593505050565b600080600060608486031215610d3f57600080fd5b610d4884610ce4565b9250610d5660208501610ce4565b9150604084013590509250925092565b600060208284031215610d7857600080fd5b6105da82610ce4565b600080600080600080600060e0888a031215610d9c57600080fd5b610da588610ce4565b9650610db360208901610ce4565b95506040880135945060608801359350608088013560ff81168114610dd757600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610e0757600080fd5b610e1083610ce4565b9150610e1e60208401610ce4565b90509250929050565b600181811c90821680610e3b57607f821691505b602082108103610e5b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561043657610436610e61565b600080835481600182811c915080831680610ea657607f831692505b60208084108203610ec557634e487b7160e01b86526022600452602486fd5b818015610ed95760018114610eee57610f1b565b60ff1986168952841515850289019650610f1b565b60008a81526020902060005b86811015610f135781548b820152908501908301610efa565b505084890196505b509498975050505050505050565b8082018082111561043657610436610e6156fea26469706673582212209667f5aeec505f0754b02d70f9d49fdd107460b632d88dbfc0d0b1c9333f467f64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000098f9b2d212719b26e810824290c5c72550487cb4
-----Decoded View---------------
Arg [0] : _owner (address): 0x98f9B2d212719b26E810824290C5c72550487CB4
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000098f9b2d212719b26e810824290c5c72550487cb4
[ 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.