Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 712 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Mint | 19850525 | 272 days ago | IN | 0 ETH | 0.00021946 | ||||
Mint | 19850525 | 272 days ago | IN | 0 ETH | 0.00021946 | ||||
Mint | 15908108 | 825 days ago | IN | 0 ETH | 0.00050571 | ||||
Mint | 15908101 | 825 days ago | IN | 0 ETH | 0.00048399 | ||||
Mint | 15908098 | 825 days ago | IN | 0 ETH | 0.00055404 | ||||
Mint | 15908097 | 825 days ago | IN | 0 ETH | 0.00047644 | ||||
Mint | 15908094 | 825 days ago | IN | 0 ETH | 0.00055765 | ||||
Mint | 15908088 | 825 days ago | IN | 0 ETH | 0.00052788 | ||||
Mint | 15908087 | 825 days ago | IN | 0 ETH | 0.00051013 | ||||
Set Owner | 15908086 | 825 days ago | IN | 0 ETH | 0.00034835 | ||||
Mint | 15908074 | 825 days ago | IN | 0 ETH | 0.00063589 | ||||
Mint | 15908074 | 825 days ago | IN | 0 ETH | 0.00063589 | ||||
Mint | 15908070 | 825 days ago | IN | 0 ETH | 0.00057756 | ||||
Mint | 15908068 | 825 days ago | IN | 0 ETH | 0.00048984 | ||||
Mint | 15908066 | 825 days ago | IN | 0 ETH | 0.00056832 | ||||
Mint | 15908065 | 825 days ago | IN | 0 ETH | 0.00059189 | ||||
Mint | 15908055 | 825 days ago | IN | 0 ETH | 0.00064619 | ||||
Mint | 15908055 | 825 days ago | IN | 0 ETH | 0.00064619 | ||||
Mint | 15908053 | 825 days ago | IN | 0 ETH | 0.00062108 | ||||
Mint | 15908053 | 825 days ago | IN | 0 ETH | 0.00062108 | ||||
Mint | 15908045 | 825 days ago | IN | 0 ETH | 0.00022797 | ||||
Mint | 15908033 | 825 days ago | IN | 0 ETH | 0.0005786 | ||||
Mint | 15908033 | 825 days ago | IN | 0 ETH | 0.0005786 | ||||
Mint | 15908031 | 825 days ago | IN | 0 ETH | 0.00027081 | ||||
Mint | 15908027 | 825 days ago | IN | 0 ETH | 0.00056451 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
HoneyBearOwner
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; interface IMinter { function mintTo(address _to, uint256 _amount) external; function setOwner(address _newOwner) external; } contract HoneyBearOwner is Ownable { IMinter immutable honeyMinter; mapping(address => uint) public minted; constructor(address _honeyMinter) { honeyMinter = IMinter(_honeyMinter); } function mint(uint _amount) public { require(minted[_msgSender()] + _amount < 6, "Max Mint Reached"); minted[_msgSender()] += _amount; honeyMinter.mintTo(_msgSender(), _amount); } function setOwner(address _newOwner) external onlyOwner { honeyMinter.setOwner(_newOwner); } }
// 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. */ constructor() { _transferOwnership(_msgSender()); } /** * @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 { 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: 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; } }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_honeyMinter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405234801561001057600080fd5b5060405161052138038061052183398101604081905261002f91610099565b61003833610049565b6001600160a01b03166080526100c9565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100ab57600080fd5b81516001600160a01b03811681146100c257600080fd5b9392505050565b6080516104366100eb6000396000818161011f015261023e01526104366000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c806313af4035146100675780631e7269c51461007c578063715018a6146100af5780638da5cb5b146100b7578063a0712d68146100d2578063f2fde38b146100e5575b600080fd5b61007a610075366004610390565b6100f8565b005b61009c61008a366004610390565b60016020526000908152604090205481565b6040519081526020015b60405180910390f35b61007a61017f565b6000546040516001600160a01b0390911681526020016100a6565b61007a6100e03660046103c0565b610193565b61007a6100f3366004610390565b61026d565b6101006102e6565b6040516313af403560e01b81526001600160a01b0382811660048301527f000000000000000000000000000000000000000000000000000000000000000016906313af4035906024015b600060405180830381600087803b15801561016457600080fd5b505af1158015610178573d6000803e3d6000fd5b5050505050565b6101876102e6565b6101916000610340565b565b336000908152600160205260409020546006906101b19083906103d9565b106101f65760405162461bcd60e51b815260206004820152601060248201526f13585e08135a5b9d0814995858da195960821b60448201526064015b60405180910390fd5b33600090815260016020526040812080548392906102159084906103d9565b90915550506040516308934a5f60e31b8152336004820152602481018290526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063449a52f89060440161014a565b6102756102e6565b6001600160a01b0381166102da5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101ed565b6102e381610340565b50565b6000546001600160a01b031633146101915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ed565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156103a257600080fd5b81356001600160a01b03811681146103b957600080fd5b9392505050565b6000602082840312156103d257600080fd5b5035919050565b808201808211156103fa57634e487b7160e01b600052601160045260246000fd5b9291505056fea2646970667358221220fc33e4e12d32268310fe8a73f01c2ea0e6c01c0317da6842d7f35208334d647564736f6c634300081100330000000000000000000000003ffdfe1602aa95cf17b12fce2f3179dfb7c8dc1e
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100625760003560e01c806313af4035146100675780631e7269c51461007c578063715018a6146100af5780638da5cb5b146100b7578063a0712d68146100d2578063f2fde38b146100e5575b600080fd5b61007a610075366004610390565b6100f8565b005b61009c61008a366004610390565b60016020526000908152604090205481565b6040519081526020015b60405180910390f35b61007a61017f565b6000546040516001600160a01b0390911681526020016100a6565b61007a6100e03660046103c0565b610193565b61007a6100f3366004610390565b61026d565b6101006102e6565b6040516313af403560e01b81526001600160a01b0382811660048301527f0000000000000000000000003ffdfe1602aa95cf17b12fce2f3179dfb7c8dc1e16906313af4035906024015b600060405180830381600087803b15801561016457600080fd5b505af1158015610178573d6000803e3d6000fd5b5050505050565b6101876102e6565b6101916000610340565b565b336000908152600160205260409020546006906101b19083906103d9565b106101f65760405162461bcd60e51b815260206004820152601060248201526f13585e08135a5b9d0814995858da195960821b60448201526064015b60405180910390fd5b33600090815260016020526040812080548392906102159084906103d9565b90915550506040516308934a5f60e31b8152336004820152602481018290526001600160a01b037f0000000000000000000000003ffdfe1602aa95cf17b12fce2f3179dfb7c8dc1e169063449a52f89060440161014a565b6102756102e6565b6001600160a01b0381166102da5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101ed565b6102e381610340565b50565b6000546001600160a01b031633146101915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ed565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156103a257600080fd5b81356001600160a01b03811681146103b957600080fd5b9392505050565b6000602082840312156103d257600080fd5b5035919050565b808201808211156103fa57634e487b7160e01b600052601160045260246000fd5b9291505056fea2646970667358221220fc33e4e12d32268310fe8a73f01c2ea0e6c01c0317da6842d7f35208334d647564736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003ffdfe1602aa95cf17b12fce2f3179dfb7c8dc1e
-----Decoded View---------------
Arg [0] : _honeyMinter (address): 0x3FfDfE1602Aa95cf17B12fcE2F3179dfB7C8DC1e
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003ffdfe1602aa95cf17b12fce2f3179dfb7c8dc1e
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.