ETH Price: $3,415.95 (+4.84%)

Contract

0x5B70F8b71c6f945A86561e97f714942b6A742b1D
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Sale States149090082022-06-05 12:06:02932 days ago1654430762IN
0x5B70F8b7...b6A742b1D
0 ETH0.0008646830.14213363
Airdrop BBS149090052022-06-05 12:05:41932 days ago1654430741IN
0x5B70F8b7...b6A742b1D
0 ETH0.0025115136.36079224
Set Sale States149089932022-06-05 12:03:00932 days ago1654430580IN
0x5B70F8b7...b6A742b1D
0 ETH0.0014113149.17640146
Set Sale States148989742022-06-03 19:39:42934 days ago1654285182IN
0x5B70F8b7...b6A742b1D
0 ETH0.0016522957.59739453
Airdrop BBS148989732022-06-03 19:39:30934 days ago1654285170IN
0x5B70F8b7...b6A742b1D
0 ETH0.0029818360.27309782
Set Sale States148989602022-06-03 19:37:13934 days ago1654285033IN
0x5B70F8b7...b6A742b1D
0 ETH0.002672793.12890091
Set Sale States147562162022-05-11 17:37:50957 days ago1652290670IN
0x5B70F8b7...b6A742b1D
0 ETH0.0032091111.86603986
Airdrop BBS147562132022-05-11 17:37:27957 days ago1652290647IN
0x5B70F8b7...b6A742b1D
0 ETH0.01171207120.90756969
Set Sale States147561992022-05-11 17:35:25957 days ago1652290525IN
0x5B70F8b7...b6A742b1D
0 ETH0.00542296188.96020556
Set Sale States147316932022-05-07 19:40:24961 days ago1651952424IN
0x5B70F8b7...b6A742b1D
0 ETH0.001055936.80777891
Airdrop BBS147316922022-05-07 19:39:59961 days ago1651952399IN
0x5B70F8b7...b6A742b1D
0 ETH0.0131052333.35191836
Set Sale States147316802022-05-07 19:37:45961 days ago1651952265IN
0x5B70F8b7...b6A742b1D
0 ETH0.0010254135.72997159
Set Sale States147019552022-05-03 2:11:18965 days ago1651543878IN
0x5B70F8b7...b6A742b1D
0 ETH0.0012061942.04686199
Airdrop BBS147019542022-05-03 2:11:17965 days ago1651543877IN
0x5B70F8b7...b6A742b1D
0 ETH0.0273015145.79285273
Set Sale States147019402022-05-03 2:09:28965 days ago1651543768IN
0x5B70F8b7...b6A742b1D
0 ETH0.0015446853.82379086
Claim BBS146842272022-04-30 7:20:55968 days ago1651303255IN
0x5B70F8b7...b6A742b1D
0 ETH0.0010478830.603339
Claim BBS146747102022-04-28 19:34:40970 days ago1651174480IN
0x5B70F8b7...b6A742b1D
0 ETH0.0022444963.05660144
Set Sale States146731342022-04-28 13:31:26970 days ago1651152686IN
0x5B70F8b7...b6A742b1D
0 ETH0.0009183532.0128709
Claim BBS146712112022-04-28 6:14:31970 days ago1651126471IN
0x5B70F8b7...b6A742b1D
0 ETH0.0030780931.5588887
Claim BBS146708062022-04-28 4:41:33970 days ago1651120893IN
0x5B70F8b7...b6A742b1D
0 ETH0.0044438645.57759251
Claim BBS146707172022-04-28 4:19:57970 days ago1651119597IN
0x5B70F8b7...b6A742b1D
0 ETH0.0050914452.63832236
Claim BBS146703702022-04-28 2:58:32970 days ago1651114712IN
0x5B70F8b7...b6A742b1D
0 ETH0.0036662137.60410062
Claim BBS146701742022-04-28 2:17:13970 days ago1651112233IN
0x5B70F8b7...b6A742b1D
0 ETH0.0033124733.97791658
Claim BBS146699562022-04-28 1:29:15970 days ago1651109355IN
0x5B70F8b7...b6A742b1D
0 ETH0.0060952162.51952103
Claim BBS146698972022-04-28 1:14:38970 days ago1651108478IN
0x5B70F8b7...b6A742b1D
0 ETH0.0053873355.24730602
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BlueBananaSerumClaim

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 6 : BlueBananaSerumClaim.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";

abstract contract IBlueBananaSerum is IERC1155 {
    function mint(uint256 serumType, address to) external {}
    function mintMultiple(uint256 serumType, uint256 amount, address to) external {}
}

contract BlueBananaSerumClaim is Ownable {
    IBlueBananaSerum public blueBananaSerum;

    bool public claimOpen;
    bytes32 public merkleRoot;
    mapping(address => uint256) public userToBBSClaims;    

    event ReceivedEther(address indexed sender, uint256 indexed amount);

    constructor(
        address bbs
    ) Ownable() {
        blueBananaSerum = IBlueBananaSerum(bbs);
    }

    /** === BBS Issuance === */

    function claimBBS(bytes32[] calldata proof, uint256 amount) external {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender, amount));
        require(MerkleProof.verify(proof, merkleRoot, leaf), "Merkle Proof not valid");

        require(claimOpen, "Claim not opened");        
        require(userToBBSClaims[msg.sender] == 0, "BBS Already Claimed");       

        userToBBSClaims[msg.sender] = 1;
        blueBananaSerum.mintMultiple(0, amount, msg.sender);
    }

    function airdropBBS(address[] calldata recipients, uint256[] calldata amounts) external onlyOwner {
        require(claimOpen, "Claim not opened");        
        require(recipients.length > 0, "Zero recipients specified");
        require(recipients.length == amounts.length, "Lengths mismatch");

        for (uint256 i = 0; i < recipients.length; i++) {
            blueBananaSerum.mintMultiple(0, amounts[i], recipients[i]);
        }
    }

    /** === Admin only === */

    function setContracts(address bbs) external onlyOwner {
        blueBananaSerum = IBlueBananaSerum(bbs);
    }

    function setSaleStates(bool _claimOpen) external onlyOwner {
        claimOpen = _claimOpen;
    }

    function setMerkleRoot(bytes32 newRoot) external onlyOwner {
        merkleRoot = newRoot;
    }

    receive() external payable {
        emit ReceivedEther(msg.sender, msg.value);
    }

    function withdrawEth(address _to) external onlyOwner {
        require(_to != address(0), "CANNOT WITHDRAW TO ZERO ADDRESS");
        uint256 contractBalance = address(this).balance;
        require(contractBalance > 0, "NO ETHER TO WITHDRAW");
        payable(_to).transfer(contractBalance);
    }
}

File 2 of 6 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 3 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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);
    }
}

File 4 of 6 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 5 of 6 : Context.sol
// 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;
    }
}

File 6 of 6 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"bbs","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ReceivedEther","type":"event"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdropBBS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"blueBananaSerum","outputs":[{"internalType":"contract IBlueBananaSerum","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claimBBS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"bbs","type":"address"}],"name":"setContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_claimOpen","type":"bool"}],"name":"setSaleStates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userToBBSClaims","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b50604051610efe380380610efe83398101604081905261002f916100ad565b6100383361005d565b600180546001600160a01b0319166001600160a01b03929092169190911790556100dd565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100bf57600080fd5b81516001600160a01b03811681146100d657600080fd5b9392505050565b610e12806100ec6000396000f3fe6080604052600436106100d65760003560e01c806379ad335d1161007f578063a541c54211610059578063a541c5421461025f578063df74a9981461027f578063f2fde38b1461029f578063f69e31b0146102bf57600080fd5b806379ad335d146101e05780637cb647591461020d5780638da5cb5b1461022d57600080fd5b80635a2e2f47116100b05780635a2e2f471461018b5780636e2998db146101ab578063715018a6146101cb57600080fd5b806325e160631461010f5780632eb4a7ab146101315780634b8bcb581461015a57600080fd5b3661010a57604051349033907fa419615bc8fda4c87663805ee2a3597a6d71c1d476911d9892f340d965bc7bf190600090a3005b600080fd5b34801561011b57600080fd5b5061012f61012a366004610c30565b6102df565b005b34801561013d57600080fd5b5061014760025481565b6040519081526020015b60405180910390f35b34801561016657600080fd5b5060015461017b90600160a01b900460ff1681565b6040519015158152602001610151565b34801561019757600080fd5b5061012f6101a6366004610c30565b61041d565b3480156101b757600080fd5b5061012f6101c6366004610cac565b6104a6565b3480156101d757600080fd5b5061012f6106c9565b3480156101ec57600080fd5b506101476101fb366004610c30565b60036020526000908152604090205481565b34801561021957600080fd5b5061012f610228366004610cf8565b61072f565b34801561023957600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610151565b34801561026b57600080fd5b50600154610247906001600160a01b031681565b34801561028b57600080fd5b5061012f61029a366004610d11565b61078e565b3480156102ab57600080fd5b5061012f6102ba366004610c30565b610821565b3480156102cb57600080fd5b5061012f6102da366004610d33565b610903565b6000546001600160a01b0316331461033e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b0381166103945760405162461bcd60e51b815260206004820152601f60248201527f43414e4e4f5420574954484452415720544f205a45524f2041444452455353006044820152606401610335565b47806103e25760405162461bcd60e51b815260206004820152601460248201527f4e4f20455448455220544f2057495448445241570000000000000000000000006044820152606401610335565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610418573d6000803e3d6000fd5b505050565b6000546001600160a01b031633146104775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610335565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6040516bffffffffffffffffffffffff193360601b16602082015260348101829052600090605401604051602081830303815290604052805190602001209050610527848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506002549150849050610b49565b6105735760405162461bcd60e51b815260206004820152601660248201527f4d65726b6c652050726f6f66206e6f742076616c6964000000000000000000006044820152606401610335565b600154600160a01b900460ff166105cc5760405162461bcd60e51b815260206004820152601060248201527f436c61696d206e6f74206f70656e6564000000000000000000000000000000006044820152606401610335565b33600090815260036020526040902054156106295760405162461bcd60e51b815260206004820152601360248201527f42425320416c726561647920436c61696d6564000000000000000000000000006044820152606401610335565b336000818152600360205260408082206001908190555490517f20d6bbd400000000000000000000000000000000000000000000000000000000815260048101929092526024820185905260448201929092526001600160a01b03909116906320d6bbd490606401600060405180830381600087803b1580156106ab57600080fd5b505af11580156106bf573d6000803e3d6000fd5b5050505050505050565b6000546001600160a01b031633146107235760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610335565b61072d6000610b5f565b565b6000546001600160a01b031633146107895760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610335565b600255565b6000546001600160a01b031633146107e85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610335565b60018054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6000546001600160a01b0316331461087b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610335565b6001600160a01b0381166108f75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610335565b61090081610b5f565b50565b6000546001600160a01b0316331461095d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610335565b600154600160a01b900460ff166109b65760405162461bcd60e51b815260206004820152601060248201527f436c61696d206e6f74206f70656e6564000000000000000000000000000000006044820152606401610335565b82610a035760405162461bcd60e51b815260206004820152601960248201527f5a65726f20726563697069656e747320737065636966696564000000000000006044820152606401610335565b828114610a525760405162461bcd60e51b815260206004820152601060248201527f4c656e67746873206d69736d61746368000000000000000000000000000000006044820152606401610335565b60005b83811015610b42576001546001600160a01b03166320d6bbd46000858585818110610a8257610a82610d9f565b90506020020135888886818110610a9b57610a9b610d9f565b9050602002016020810190610ab09190610c30565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b168152600481019390935260248301919091526001600160a01b03166044820152606401600060405180830381600087803b158015610b1757600080fd5b505af1158015610b2b573d6000803e3d6000fd5b505050508080610b3a90610db5565b915050610a55565b5050505050565b600082610b568584610bbc565b14949350505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600081815b8451811015610c28576000858281518110610bde57610bde610d9f565b60200260200101519050808311610c045760008381526020829052604090209250610c15565b600081815260208490526040902092505b5080610c2081610db5565b915050610bc1565b509392505050565b600060208284031215610c4257600080fd5b81356001600160a01b0381168114610c5957600080fd5b9392505050565b60008083601f840112610c7257600080fd5b50813567ffffffffffffffff811115610c8a57600080fd5b6020830191508360208260051b8501011115610ca557600080fd5b9250929050565b600080600060408486031215610cc157600080fd5b833567ffffffffffffffff811115610cd857600080fd5b610ce486828701610c60565b909790965060209590950135949350505050565b600060208284031215610d0a57600080fd5b5035919050565b600060208284031215610d2357600080fd5b81358015158114610c5957600080fd5b60008060008060408587031215610d4957600080fd5b843567ffffffffffffffff80821115610d6157600080fd5b610d6d88838901610c60565b90965094506020870135915080821115610d8657600080fd5b50610d9387828801610c60565b95989497509550505050565b634e487b7160e01b600052603260045260246000fd5b600060018201610dd557634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220c4d690727ebc72f8ffda1f74ba4fd8ccedb0475d5614beee6a4ccad72ea7351964736f6c634300080d00330000000000000000000000004da4c01b3db8f298a2f49ca07842f00b460cf237

Deployed Bytecode

0x6080604052600436106100d65760003560e01c806379ad335d1161007f578063a541c54211610059578063a541c5421461025f578063df74a9981461027f578063f2fde38b1461029f578063f69e31b0146102bf57600080fd5b806379ad335d146101e05780637cb647591461020d5780638da5cb5b1461022d57600080fd5b80635a2e2f47116100b05780635a2e2f471461018b5780636e2998db146101ab578063715018a6146101cb57600080fd5b806325e160631461010f5780632eb4a7ab146101315780634b8bcb581461015a57600080fd5b3661010a57604051349033907fa419615bc8fda4c87663805ee2a3597a6d71c1d476911d9892f340d965bc7bf190600090a3005b600080fd5b34801561011b57600080fd5b5061012f61012a366004610c30565b6102df565b005b34801561013d57600080fd5b5061014760025481565b6040519081526020015b60405180910390f35b34801561016657600080fd5b5060015461017b90600160a01b900460ff1681565b6040519015158152602001610151565b34801561019757600080fd5b5061012f6101a6366004610c30565b61041d565b3480156101b757600080fd5b5061012f6101c6366004610cac565b6104a6565b3480156101d757600080fd5b5061012f6106c9565b3480156101ec57600080fd5b506101476101fb366004610c30565b60036020526000908152604090205481565b34801561021957600080fd5b5061012f610228366004610cf8565b61072f565b34801561023957600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610151565b34801561026b57600080fd5b50600154610247906001600160a01b031681565b34801561028b57600080fd5b5061012f61029a366004610d11565b61078e565b3480156102ab57600080fd5b5061012f6102ba366004610c30565b610821565b3480156102cb57600080fd5b5061012f6102da366004610d33565b610903565b6000546001600160a01b0316331461033e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b0381166103945760405162461bcd60e51b815260206004820152601f60248201527f43414e4e4f5420574954484452415720544f205a45524f2041444452455353006044820152606401610335565b47806103e25760405162461bcd60e51b815260206004820152601460248201527f4e4f20455448455220544f2057495448445241570000000000000000000000006044820152606401610335565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610418573d6000803e3d6000fd5b505050565b6000546001600160a01b031633146104775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610335565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6040516bffffffffffffffffffffffff193360601b16602082015260348101829052600090605401604051602081830303815290604052805190602001209050610527848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506002549150849050610b49565b6105735760405162461bcd60e51b815260206004820152601660248201527f4d65726b6c652050726f6f66206e6f742076616c6964000000000000000000006044820152606401610335565b600154600160a01b900460ff166105cc5760405162461bcd60e51b815260206004820152601060248201527f436c61696d206e6f74206f70656e6564000000000000000000000000000000006044820152606401610335565b33600090815260036020526040902054156106295760405162461bcd60e51b815260206004820152601360248201527f42425320416c726561647920436c61696d6564000000000000000000000000006044820152606401610335565b336000818152600360205260408082206001908190555490517f20d6bbd400000000000000000000000000000000000000000000000000000000815260048101929092526024820185905260448201929092526001600160a01b03909116906320d6bbd490606401600060405180830381600087803b1580156106ab57600080fd5b505af11580156106bf573d6000803e3d6000fd5b5050505050505050565b6000546001600160a01b031633146107235760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610335565b61072d6000610b5f565b565b6000546001600160a01b031633146107895760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610335565b600255565b6000546001600160a01b031633146107e85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610335565b60018054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6000546001600160a01b0316331461087b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610335565b6001600160a01b0381166108f75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610335565b61090081610b5f565b50565b6000546001600160a01b0316331461095d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610335565b600154600160a01b900460ff166109b65760405162461bcd60e51b815260206004820152601060248201527f436c61696d206e6f74206f70656e6564000000000000000000000000000000006044820152606401610335565b82610a035760405162461bcd60e51b815260206004820152601960248201527f5a65726f20726563697069656e747320737065636966696564000000000000006044820152606401610335565b828114610a525760405162461bcd60e51b815260206004820152601060248201527f4c656e67746873206d69736d61746368000000000000000000000000000000006044820152606401610335565b60005b83811015610b42576001546001600160a01b03166320d6bbd46000858585818110610a8257610a82610d9f565b90506020020135888886818110610a9b57610a9b610d9f565b9050602002016020810190610ab09190610c30565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b168152600481019390935260248301919091526001600160a01b03166044820152606401600060405180830381600087803b158015610b1757600080fd5b505af1158015610b2b573d6000803e3d6000fd5b505050508080610b3a90610db5565b915050610a55565b5050505050565b600082610b568584610bbc565b14949350505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600081815b8451811015610c28576000858281518110610bde57610bde610d9f565b60200260200101519050808311610c045760008381526020829052604090209250610c15565b600081815260208490526040902092505b5080610c2081610db5565b915050610bc1565b509392505050565b600060208284031215610c4257600080fd5b81356001600160a01b0381168114610c5957600080fd5b9392505050565b60008083601f840112610c7257600080fd5b50813567ffffffffffffffff811115610c8a57600080fd5b6020830191508360208260051b8501011115610ca557600080fd5b9250929050565b600080600060408486031215610cc157600080fd5b833567ffffffffffffffff811115610cd857600080fd5b610ce486828701610c60565b909790965060209590950135949350505050565b600060208284031215610d0a57600080fd5b5035919050565b600060208284031215610d2357600080fd5b81358015158114610c5957600080fd5b60008060008060408587031215610d4957600080fd5b843567ffffffffffffffff80821115610d6157600080fd5b610d6d88838901610c60565b90965094506020870135915080821115610d8657600080fd5b50610d9387828801610c60565b95989497509550505050565b634e487b7160e01b600052603260045260246000fd5b600060018201610dd557634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220c4d690727ebc72f8ffda1f74ba4fd8ccedb0475d5614beee6a4ccad72ea7351964736f6c634300080d0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000004da4c01b3db8f298a2f49ca07842f00b460cf237

-----Decoded View---------------
Arg [0] : bbs (address): 0x4Da4C01B3dB8f298a2f49Ca07842f00b460cF237

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000004da4c01b3db8f298a2f49ca07842f00b460cf237


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.