ETH Price: $2,043.19 (+2.96%)

Contract

0x4dC38Afe2ddBD44fAC2e560CD0DC606377d1FDFA
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Boss Logic Drop164742702023-01-24 4:25:591141 days ago1674534359IN
0x4dC38Afe...377d1FDFA
0 ETH0.3063661115.44856888
Boss Logic Drop164741332023-01-24 3:58:351141 days ago1674532715IN
0x4dC38Afe...377d1FDFA
0 ETH0.3685480415.77082419
Transfer Ownersh...164671212023-01-23 4:30:111142 days ago1674448211IN
0x4dC38Afe...377d1FDFA
0 ETH0.0003799713.29135687

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BossLogicDropper

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
//SPDX-License-Identifier: MIT


pragma solidity ^0.8.4;


import "@openzeppelin/contracts/access/Ownable.sol";

interface IERC721 {
    function safeTransferFrom(address from, address to, uint256 tokenId) external;
}

contract BossLogicDropper is Ownable {
    
    constructor() {}

    function BossLogicDrop(IERC721 tokenContract, address[] calldata _to, uint256[] calldata _id) public onlyOwner {
        require(_to.length == _id.length, 'different lenght');
        for (uint256 i = 0; i < _to.length; i++) {
            tokenContract.safeTransferFrom(msg.sender, _to[i], _id[i]);
        }
    }

}

// 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;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"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":"contract IERC721","name":"tokenContract","type":"address"},{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[]","name":"_id","type":"uint256[]"}],"name":"BossLogicDrop","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":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6104d58061007e6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063715018a6146100515780638da5cb5b1461005b578063a5820ab81461007a578063f2fde38b1461008d575b600080fd5b6100596100a0565b005b600054604080516001600160a01b039092168252519081900360200190f35b6100596100883660046103c8565b6100b4565b61005961009b3660046103a4565b610206565b6100a8610296565b6100b260006102f0565b565b6100bc610296565b8281146101105760405162461bcd60e51b815260206004820152601060248201527f646966666572656e74206c656e6768740000000000000000000000000000000060448201526064015b60405180910390fd5b60005b838110156101fe57856001600160a01b03166342842e0e3387878581811061013d5761013d610474565b905060200201602081019061015291906103a4565b86868681811061016457610164610474565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b1580156101d357600080fd5b505af11580156101e7573d6000803e3d6000fd5b5050505080806101f69061044b565b915050610113565b505050505050565b61020e610296565b6001600160a01b03811661028a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610107565b610293816102f0565b50565b6000546001600160a01b031633146100b25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610107565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008083601f84011261036a57600080fd5b50813567ffffffffffffffff81111561038257600080fd5b6020830191508360208260051b850101111561039d57600080fd5b9250929050565b6000602082840312156103b657600080fd5b81356103c18161048a565b9392505050565b6000806000806000606086880312156103e057600080fd5b85356103eb8161048a565b9450602086013567ffffffffffffffff8082111561040857600080fd5b61041489838a01610358565b9096509450604088013591508082111561042d57600080fd5b5061043a88828901610358565b969995985093965092949392505050565b600060001982141561046d57634e487b7160e01b600052601160045260246000fd5b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461029357600080fdfea26469706673582212201eceea7a0dc87d87fe54be7d78ae514fd8bb2e670273053ba094127097737cd464736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061004c5760003560e01c8063715018a6146100515780638da5cb5b1461005b578063a5820ab81461007a578063f2fde38b1461008d575b600080fd5b6100596100a0565b005b600054604080516001600160a01b039092168252519081900360200190f35b6100596100883660046103c8565b6100b4565b61005961009b3660046103a4565b610206565b6100a8610296565b6100b260006102f0565b565b6100bc610296565b8281146101105760405162461bcd60e51b815260206004820152601060248201527f646966666572656e74206c656e6768740000000000000000000000000000000060448201526064015b60405180910390fd5b60005b838110156101fe57856001600160a01b03166342842e0e3387878581811061013d5761013d610474565b905060200201602081019061015291906103a4565b86868681811061016457610164610474565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b1580156101d357600080fd5b505af11580156101e7573d6000803e3d6000fd5b5050505080806101f69061044b565b915050610113565b505050505050565b61020e610296565b6001600160a01b03811661028a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610107565b610293816102f0565b50565b6000546001600160a01b031633146100b25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610107565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008083601f84011261036a57600080fd5b50813567ffffffffffffffff81111561038257600080fd5b6020830191508360208260051b850101111561039d57600080fd5b9250929050565b6000602082840312156103b657600080fd5b81356103c18161048a565b9392505050565b6000806000806000606086880312156103e057600080fd5b85356103eb8161048a565b9450602086013567ffffffffffffffff8082111561040857600080fd5b61041489838a01610358565b9096509450604088013591508082111561042d57600080fd5b5061043a88828901610358565b969995985093965092949392505050565b600060001982141561046d57634e487b7160e01b600052601160045260246000fd5b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461029357600080fdfea26469706673582212201eceea7a0dc87d87fe54be7d78ae514fd8bb2e670273053ba094127097737cd464736f6c63430008070033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
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.