Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 204 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Mint | 13862664 | 1134 days ago | IN | 0 ETH | 0.00789792 | ||||
Mint | 13858086 | 1135 days ago | IN | 0 ETH | 0.00648964 | ||||
Mint | 13846737 | 1137 days ago | IN | 0 ETH | 0.00451796 | ||||
Mint | 13841930 | 1137 days ago | IN | 0 ETH | 0.00394304 | ||||
Mint | 13841263 | 1137 days ago | IN | 0 ETH | 0.00356974 | ||||
Mint | 13839210 | 1138 days ago | IN | 0 ETH | 0.00485206 | ||||
Mint | 13839018 | 1138 days ago | IN | 0 ETH | 0.00429921 | ||||
Mint | 13838367 | 1138 days ago | IN | 0 ETH | 0.00428531 | ||||
Mint | 13838323 | 1138 days ago | IN | 0 ETH | 0.00381483 | ||||
Mint | 13838282 | 1138 days ago | IN | 0 ETH | 0.00648691 | ||||
Mint | 13837944 | 1138 days ago | IN | 0 ETH | 0.00375688 | ||||
Mint | 13837932 | 1138 days ago | IN | 0 ETH | 0.00520935 | ||||
Mint | 13837594 | 1138 days ago | IN | 0 ETH | 0.00687363 | ||||
Mint | 13837204 | 1138 days ago | IN | 0 ETH | 0.00503064 | ||||
Mint | 13837134 | 1138 days ago | IN | 0 ETH | 0.00431203 | ||||
Mint | 13836990 | 1138 days ago | IN | 0 ETH | 0.00612265 | ||||
Mint | 13836865 | 1138 days ago | IN | 0 ETH | 0.00949044 | ||||
Mint | 13836494 | 1138 days ago | IN | 0 ETH | 0.00347433 | ||||
Mint | 13836491 | 1138 days ago | IN | 0 ETH | 0.00273244 | ||||
Mint | 13836472 | 1138 days ago | IN | 0 ETH | 0.00311892 | ||||
Mint | 13836231 | 1138 days ago | IN | 0 ETH | 0.00320251 | ||||
Mint | 13835979 | 1138 days ago | IN | 0 ETH | 0.00281526 | ||||
Mint | 13835963 | 1138 days ago | IN | 0 ETH | 0.00389905 | ||||
Mint | 13835922 | 1138 days ago | IN | 0 ETH | 0.00298999 | ||||
Mint | 13835852 | 1138 days ago | IN | 0 ETH | 0.00351365 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
HoneySender
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: MIT LICENSE pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IHoney.sol"; contract HoneySender is Ownable { mapping(address => uint256) wallets; IHoney private honeyContract = IHoney(0xe4c1B13dd712f650E34c1bc1D26Ccfa05F71Ee29); // how many honey amounts per wallet uint256 public txPerWallet = 2; constructor() {} /** * mints $HONEY to a recipient */ function mint(uint256 amount) external { require(wallets[msg.sender] + amount <= txPerWallet, "No more $HONEY"); wallets[msg.sender] += amount; honeyContract.mint(msg.sender, amount * 3000 ether); } function setTxPerWallet(uint256 _tx) external onlyOwner { txPerWallet = _tx; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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 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: MIT LICENSE pragma solidity ^0.8.9; interface IHoney { function mint(address to, uint256 amount) external; function mintGiveaway(address[] calldata addresses, uint256 amount) external; function burn(address from, uint256 amount) external; function disableGiveaway() external; function addController(address controller) external; function removeController(address controller) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tx","type":"uint256"}],"name":"setTxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"txPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052600280546001600160a01b03191673e4c1b13dd712f650e34c1bc1d26ccfa05f71ee2917815560035534801561003957600080fd5b5061004333610048565b610098565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610442806100a76000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063715018a6146100675780638641121c146100715780638da5cb5b14610084578063a0712d68146100a4578063e433a668146100b7578063f2fde38b146100ce575b600080fd5b61006f6100e1565b005b61006f61007f366004610341565b610120565b6000546040516001600160a01b0390911681526020015b60405180910390f35b61006f6100b2366004610341565b61014f565b6100c060035481565b60405190815260200161009b565b61006f6100dc36600461035a565b610256565b6000546001600160a01b031633146101145760405162461bcd60e51b815260040161010b9061038a565b60405180910390fd5b61011e60006102f1565b565b6000546001600160a01b0316331461014a5760405162461bcd60e51b815260040161010b9061038a565b600355565b6003543360009081526001602052604090205461016d9083906103d5565b11156101ac5760405162461bcd60e51b815260206004820152600e60248201526d4e6f206d6f72652024484f4e455960901b604482015260640161010b565b33600090815260016020526040812080548392906101cb9084906103d5565b90915550506002546001600160a01b03166340c10f19336101f58468a2a15d09519be000006103ed565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561023b57600080fd5b505af115801561024f573d6000803e3d6000fd5b5050505050565b6000546001600160a01b031633146102805760405162461bcd60e51b815260040161010b9061038a565b6001600160a01b0381166102e55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161010b565b6102ee816102f1565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561035357600080fd5b5035919050565b60006020828403121561036c57600080fd5b81356001600160a01b038116811461038357600080fd5b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156103e8576103e86103bf565b500190565b6000816000190483118215151615610407576104076103bf565b50029056fea2646970667358221220d008b4fc535b9a202de7899687a52e51983c6c120550b836c50ebc1c092429b464736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100625760003560e01c8063715018a6146100675780638641121c146100715780638da5cb5b14610084578063a0712d68146100a4578063e433a668146100b7578063f2fde38b146100ce575b600080fd5b61006f6100e1565b005b61006f61007f366004610341565b610120565b6000546040516001600160a01b0390911681526020015b60405180910390f35b61006f6100b2366004610341565b61014f565b6100c060035481565b60405190815260200161009b565b61006f6100dc36600461035a565b610256565b6000546001600160a01b031633146101145760405162461bcd60e51b815260040161010b9061038a565b60405180910390fd5b61011e60006102f1565b565b6000546001600160a01b0316331461014a5760405162461bcd60e51b815260040161010b9061038a565b600355565b6003543360009081526001602052604090205461016d9083906103d5565b11156101ac5760405162461bcd60e51b815260206004820152600e60248201526d4e6f206d6f72652024484f4e455960901b604482015260640161010b565b33600090815260016020526040812080548392906101cb9084906103d5565b90915550506002546001600160a01b03166340c10f19336101f58468a2a15d09519be000006103ed565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561023b57600080fd5b505af115801561024f573d6000803e3d6000fd5b5050505050565b6000546001600160a01b031633146102805760405162461bcd60e51b815260040161010b9061038a565b6001600160a01b0381166102e55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161010b565b6102ee816102f1565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561035357600080fd5b5035919050565b60006020828403121561036c57600080fd5b81356001600160a01b038116811461038357600080fd5b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156103e8576103e86103bf565b500190565b6000816000190483118215151615610407576104076103bf565b50029056fea2646970667358221220d008b4fc535b9a202de7899687a52e51983c6c120550b836c50ebc1c092429b464736f6c63430008090033
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.