More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 560 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Send Bogos | 17047680 | 697 days ago | IN | 0 ETH | 0.00315556 | ||||
Send Bogos | 17047679 | 697 days ago | IN | 0 ETH | 0.00335476 | ||||
Send Bogos | 17047678 | 697 days ago | IN | 0 ETH | 0.00362115 | ||||
Send Bogos | 17047677 | 697 days ago | IN | 0 ETH | 0.00380922 | ||||
Send Bogos | 17047676 | 697 days ago | IN | 0 ETH | 0.00407358 | ||||
Send Bogos | 17047675 | 697 days ago | IN | 0 ETH | 0.00414569 | ||||
Send Bogos | 17047674 | 697 days ago | IN | 0 ETH | 0.00383951 | ||||
Send Bogos | 17047673 | 697 days ago | IN | 0 ETH | 0.00405597 | ||||
Send Bogos | 17047672 | 697 days ago | IN | 0 ETH | 0.00536521 | ||||
Send Bogos | 17047670 | 697 days ago | IN | 0 ETH | 0.00585338 | ||||
Send Bogos | 17047669 | 697 days ago | IN | 0 ETH | 0.00608314 | ||||
Send Bogos | 17047669 | 697 days ago | IN | 0 ETH | 0.00639349 | ||||
Send Bogos | 17047668 | 697 days ago | IN | 0 ETH | 0.0073076 | ||||
Send Bogos | 17047667 | 697 days ago | IN | 0 ETH | 0.00855575 | ||||
Send Bogos | 17047666 | 697 days ago | IN | 0 ETH | 0.00878578 | ||||
Send Bogos | 17047665 | 697 days ago | IN | 0 ETH | 0.01058905 | ||||
Send Bogos | 17047664 | 697 days ago | IN | 0 ETH | 0.01416294 | ||||
Send Bogos | 16975781 | 708 days ago | IN | 0 ETH | 0.00621405 | ||||
Send Bogos | 16975766 | 708 days ago | IN | 0 ETH | 0.00733045 | ||||
Send Bogos | 16975765 | 708 days ago | IN | 0 ETH | 0.0067421 | ||||
Send Bogos | 16975763 | 708 days ago | IN | 0 ETH | 0.00706046 | ||||
Send Bogos | 16975762 | 708 days ago | IN | 0 ETH | 0.00745091 | ||||
Send Bogos | 16975761 | 708 days ago | IN | 0 ETH | 0.00767145 | ||||
Send Bogos | 16975760 | 708 days ago | IN | 0 ETH | 0.00725178 | ||||
Send Bogos | 16975759 | 708 days ago | IN | 0 ETH | 0.00814705 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
StoicFRENSClaimBOGO
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // This smart contract was created to accomodate Buy-One-Get-One (BOGO) airdrops // of FRENS with GABE WEIS for Stoics Holders. pragma solidity ^0.8.17; import "IERC721Receiver.sol"; interface IFrensToken { function transferFrom( address from, address to, uint256 tokenId ) external payable; function setApprovalForAll(address operator, bool _approved) external; function totalSupply() external view returns (uint256); function mintSeaDrop(address minter, uint256 quantity) external; } contract StoicFRENSClaimBOGO { IFrensToken public Frens; address constant DEPLOYER = 0x029E4C95c75Eb16Ef63ca4aACE870D0BF444d909; /** * @notice Deploy the token contract with its name, symbol, * administrator, and allowed SeaDrop addresses. */ constructor(address frens) { Frens = IFrensToken(frens); } function setApproval() public { // Just in case, set approval for deployer wallet to transfer Frens from this contract Frens.setApprovalForAll(DEPLOYER, true); } function mintBogos(uint qty) public { if(msg.sender != DEPLOYER){ revert NotStoicsDeployer(); } Frens.mintSeaDrop(address(this), qty); } function sendBogos(address recipient, uint[] calldata tokenIds) public { if(msg.sender != DEPLOYER){ revert NotStoicsDeployer(); } uint numTokens = tokenIds.length; for (uint i = 0; i < numTokens;) { // mint the Frens Frens.transferFrom(address(this), recipient, tokenIds[i]); unchecked { i++; } } } function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4) { return IERC721Receiver.onERC721Received.selector; } error NotStoicsDeployer(); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "libraries": { "StoicFrens.sol": {} }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"frens","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"NotStoicsDeployer","type":"error"},{"inputs":[],"name":"Frens","outputs":[{"internalType":"contract IFrensToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"mintBogos","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"sendBogos","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setApproval","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5060405161051e38038061051e83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61048b806100936000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063150b7a021461005c578063638a310e146100995780636f2dc55d146100c45780637a3d033f146100d9578063e18c6b19146100ec575b600080fd5b61007b61006a366004610305565b630a85bd0160e11b95945050505050565b6040516001600160e01b031990911681526020015b60405180910390f35b6000546100ac906001600160a01b031681565b6040516001600160a01b039091168152602001610090565b6100d76100d23660046103a0565b6100f4565b005b6100d76100e7366004610426565b6101db565b6100d761026f565b3373029e4c95c75eb16ef63ca4aace870d0bf444d909146101285760405163d451321560e01b815260040160405180910390fd5b8060005b818110156101d4576000546001600160a01b03166323b872dd30878787868181106101595761015961043f565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b1580156101b057600080fd5b505af11580156101c4573d6000803e3d6000fd5b50506001909201915061012c9050565b5050505050565b3373029e4c95c75eb16ef63ca4aace870d0bf444d9091461020f5760405163d451321560e01b815260040160405180910390fd5b6000546040516364869dad60e01b8152306004820152602481018390526001600160a01b03909116906364869dad90604401600060405180830381600087803b15801561025b57600080fd5b505af11580156101d4573d6000803e3d6000fd5b60005460405163a22cb46560e01b815273029e4c95c75eb16ef63ca4aace870d0bf444d9096004820152600160248201526001600160a01b039091169063a22cb46590604401600060405180830381600087803b1580156102cf57600080fd5b505af11580156102e3573d6000803e3d6000fd5b50505050565b80356001600160a01b038116811461030057600080fd5b919050565b60008060008060006080868803121561031d57600080fd5b610326866102e9565b9450610334602087016102e9565b935060408601359250606086013567ffffffffffffffff8082111561035857600080fd5b818801915088601f83011261036c57600080fd5b81358181111561037b57600080fd5b89602082850101111561038d57600080fd5b9699959850939650602001949392505050565b6000806000604084860312156103b557600080fd5b6103be846102e9565b9250602084013567ffffffffffffffff808211156103db57600080fd5b818601915086601f8301126103ef57600080fd5b8135818111156103fe57600080fd5b8760208260051b850101111561041357600080fd5b6020830194508093505050509250925092565b60006020828403121561043857600080fd5b5035919050565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220789b24bbd7e172a009450a991aa3936a02731564e124bdc2f41bacf3fbb4290c64736f6c634300081100330000000000000000000000002ba2132ed386044f554f628e65e74a0b3b5f10f2
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100575760003560e01c8063150b7a021461005c578063638a310e146100995780636f2dc55d146100c45780637a3d033f146100d9578063e18c6b19146100ec575b600080fd5b61007b61006a366004610305565b630a85bd0160e11b95945050505050565b6040516001600160e01b031990911681526020015b60405180910390f35b6000546100ac906001600160a01b031681565b6040516001600160a01b039091168152602001610090565b6100d76100d23660046103a0565b6100f4565b005b6100d76100e7366004610426565b6101db565b6100d761026f565b3373029e4c95c75eb16ef63ca4aace870d0bf444d909146101285760405163d451321560e01b815260040160405180910390fd5b8060005b818110156101d4576000546001600160a01b03166323b872dd30878787868181106101595761015961043f565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b1580156101b057600080fd5b505af11580156101c4573d6000803e3d6000fd5b50506001909201915061012c9050565b5050505050565b3373029e4c95c75eb16ef63ca4aace870d0bf444d9091461020f5760405163d451321560e01b815260040160405180910390fd5b6000546040516364869dad60e01b8152306004820152602481018390526001600160a01b03909116906364869dad90604401600060405180830381600087803b15801561025b57600080fd5b505af11580156101d4573d6000803e3d6000fd5b60005460405163a22cb46560e01b815273029e4c95c75eb16ef63ca4aace870d0bf444d9096004820152600160248201526001600160a01b039091169063a22cb46590604401600060405180830381600087803b1580156102cf57600080fd5b505af11580156102e3573d6000803e3d6000fd5b50505050565b80356001600160a01b038116811461030057600080fd5b919050565b60008060008060006080868803121561031d57600080fd5b610326866102e9565b9450610334602087016102e9565b935060408601359250606086013567ffffffffffffffff8082111561035857600080fd5b818801915088601f83011261036c57600080fd5b81358181111561037b57600080fd5b89602082850101111561038d57600080fd5b9699959850939650602001949392505050565b6000806000604084860312156103b557600080fd5b6103be846102e9565b9250602084013567ffffffffffffffff808211156103db57600080fd5b818601915086601f8301126103ef57600080fd5b8135818111156103fe57600080fd5b8760208260051b850101111561041357600080fd5b6020830194508093505050509250925092565b60006020828403121561043857600080fd5b5035919050565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220789b24bbd7e172a009450a991aa3936a02731564e124bdc2f41bacf3fbb4290c64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002ba2132ed386044f554f628e65e74a0b3b5f10f2
-----Decoded View---------------
Arg [0] : frens (address): 0x2bA2132eD386044F554f628e65E74a0B3B5f10f2
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002ba2132ed386044f554f628e65e74a0b3b5f10f2
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 35 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
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.