ETH Price: $2,634.23 (-1.37%)
Gas: 1 Gwei

Contract

0x79869a94503C1Bd72dc07521eD6661659F7CD368
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Batch Redeem Bon...204224762024-07-30 22:52:5910 days ago1722379979IN
0x79869a94...59F7CD368
0 ETH0.000426253.52065685
Batch Redeem Bon...203051852024-07-14 13:57:1126 days ago1720965431IN
0x79869a94...59F7CD368
0 ETH0.000353192.91720813
Batch Redeem Bon...202557832024-07-07 16:19:2333 days ago1720369163IN
0x79869a94...59F7CD368
0 ETH0.000415123.42922247
Batch Redeem Bon...201060332024-06-16 18:06:2354 days ago1718561183IN
0x79869a94...59F7CD368
0 ETH0.000797494.30828568
Batch Redeem Bon...198177042024-05-07 10:50:4794 days ago1715079047IN
0x79869a94...59F7CD368
0 ETH0.000798776.76255279
Batch Redeem Bon...193899982024-03-08 10:57:47154 days ago1709895467IN
0x79869a94...59F7CD368
0 ETH0.005510946.27355689
Batch Redeem Bon...193103942024-02-26 7:57:23165 days ago1708934243IN
0x79869a94...59F7CD368
0 ETH0.0030975225.7961799
Batch Redeem Bon...189776752024-01-10 16:14:47212 days ago1704903287IN
0x79869a94...59F7CD368
0 ETH0.0054108245.05903197
Batch Redeem Bon...188419662023-12-22 14:25:35231 days ago1703255135IN
0x79869a94...59F7CD368
0 ETH0.0049723742.09634173
Batch Redeem Bon...186480482023-11-25 10:14:59258 days ago1700907299IN
0x79869a94...59F7CD368
0 ETH0.0023774319.63750022
Batch Redeem Bon...185144082023-11-06 17:24:59277 days ago1699291499IN
0x79869a94...59F7CD368
0 ETH0.0045786837.82039149
Batch Redeem Bon...176917752023-07-14 12:43:23392 days ago1689338603IN
0x79869a94...59F7CD368
0 ETH0.0021603517.84174924
Batch Redeem Bon...175912262023-06-30 9:33:11406 days ago1688117591IN
0x79869a94...59F7CD368
0 ETH0.0039826421.5041954
Batch Redeem Bon...171157032023-04-24 10:58:47473 days ago1682333927IN
0x79869a94...59F7CD368
0 ETH0.0043810836.18574589
Batch Redeem Bon...170973112023-04-21 21:06:11476 days ago1682111171IN
0x79869a94...59F7CD368
0 ETH0.0062354951.50150817
Batch Redeem Bon...169176482023-03-27 8:51:59501 days ago1679907119IN
0x79869a94...59F7CD368
0 ETH0.0023416919.34130198
Batch Redeem Bon...167166892023-02-27 2:54:11530 days ago1677466451IN
0x79869a94...59F7CD368
0 ETH0.0023417819.34464141
Batch Redeem Bon...167166872023-02-27 2:53:47530 days ago1677466427IN
0x79869a94...59F7CD368
0 ETH0.0018273618.17620444
Batch Redeem Bon...167068952023-02-25 17:52:47531 days ago1677347567IN
0x79869a94...59F7CD368
0 ETH0.002576121.4487865
Batch Redeem Bon...166638272023-02-19 16:28:59537 days ago1676824139IN
0x79869a94...59F7CD368
0 ETH0.0070729428.71316141
Batch Redeem Bon...166282292023-02-14 16:37:47542 days ago1676392667IN
0x79869a94...59F7CD368
0 ETH0.0056524930.52117047
Batch Redeem Bon...166075442023-02-11 19:15:35545 days ago1676142935IN
0x79869a94...59F7CD368
0 ETH0.0022345518.45764986
Batch Redeem Bon...166073232023-02-11 18:31:23545 days ago1676140283IN
0x79869a94...59F7CD368
0 ETH0.0023632219.67631119
Batch Redeem Bon...163533622023-01-07 7:17:35581 days ago1673075855IN
0x79869a94...59F7CD368
0 ETH0.0016711116.07275285
Batch Redeem Bon...163522722023-01-07 3:38:47581 days ago1673062727IN
0x79869a94...59F7CD368
0 ETH0.0018776515.50983677
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
204224762024-07-30 22:52:5910 days ago1722379979
0x79869a94...59F7CD368
0 ETH
203051852024-07-14 13:57:1126 days ago1720965431
0x79869a94...59F7CD368
0 ETH
202557832024-07-07 16:19:2333 days ago1720369163
0x79869a94...59F7CD368
0 ETH
201060332024-06-16 18:06:2354 days ago1718561183
0x79869a94...59F7CD368
0 ETH
201060332024-06-16 18:06:2354 days ago1718561183
0x79869a94...59F7CD368
0 ETH
198177042024-05-07 10:50:4794 days ago1715079047
0x79869a94...59F7CD368
0 ETH
193899982024-03-08 10:57:47154 days ago1709895467
0x79869a94...59F7CD368
0 ETH
193103942024-02-26 7:57:23165 days ago1708934243
0x79869a94...59F7CD368
0 ETH
189776752024-01-10 16:14:47212 days ago1704903287
0x79869a94...59F7CD368
0 ETH
188419662023-12-22 14:25:35231 days ago1703255135
0x79869a94...59F7CD368
0 ETH
186480482023-11-25 10:14:59258 days ago1700907299
0x79869a94...59F7CD368
0 ETH
185144082023-11-06 17:24:59277 days ago1699291499
0x79869a94...59F7CD368
0 ETH
176917752023-07-14 12:43:23392 days ago1689338603
0x79869a94...59F7CD368
0 ETH
175912262023-06-30 9:33:11406 days ago1688117591
0x79869a94...59F7CD368
0 ETH
175912262023-06-30 9:33:11406 days ago1688117591
0x79869a94...59F7CD368
0 ETH
171157032023-04-24 10:58:47473 days ago1682333927
0x79869a94...59F7CD368
0 ETH
170973112023-04-21 21:06:11476 days ago1682111171
0x79869a94...59F7CD368
0 ETH
169176482023-03-27 8:51:59501 days ago1679907119
0x79869a94...59F7CD368
0 ETH
167166892023-02-27 2:54:11530 days ago1677466451
0x79869a94...59F7CD368
0 ETH
167166872023-02-27 2:53:47530 days ago1677466427
0x79869a94...59F7CD368
0 ETH
167068952023-02-25 17:52:47531 days ago1677347567
0x79869a94...59F7CD368
0 ETH
166638272023-02-19 16:28:59537 days ago1676824139
0x79869a94...59F7CD368
0 ETH
166638272023-02-19 16:28:59537 days ago1676824139
0x79869a94...59F7CD368
0 ETH
166638272023-02-19 16:28:59537 days ago1676824139
0x79869a94...59F7CD368
0 ETH
166282292023-02-14 16:37:47542 days ago1676392667
0x79869a94...59F7CD368
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BonusPackMinter

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : BonusPackMinter.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ContextMixin} from "../common/ContextMixin.sol";
import {IMintableERC721} from "../common/IMintableERC721.sol";
import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract BonusPackMinter is Ownable, ContextMixin {
    using MerkleProof for bytes32[];

    mapping(uint256 => bool) public isMinted;

    IMintableERC721 public netvrkBonusPack;

    bytes32 merkleRoot;

    event BonusPackMinted(
        address indexed minter,
        uint256 tokenId
    );

    constructor(address bonusPackAddress) {
        netvrkBonusPack = IMintableERC721(bonusPackAddress);
    }

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

    function redeemBonusPack(uint256 tokenId, bytes32[] memory proof) public {
        require(merkleRoot != 0, "BonusPackMinter: no MerkleRoot yet");
        require(isMinted[tokenId] == false, "BonusPackMinter: Already Minted");
        require(proof.verify(merkleRoot, keccak256(abi.encodePacked(msg.sender,tokenId))), "BonusPackMinter: Not Allocated");

        address minter = msg.sender;

        isMinted[tokenId] = true;

        netvrkBonusPack.mint(minter, tokenId);
        emit BonusPackMinted(minter, tokenId);
    }

    function batchRedeemBonusPacks(uint256[] calldata tokenIds, bytes32[][] memory proofs) public 
    {
        require(merkleRoot != 0, "BonusPackMinter: no MerkleRoot yet");
        uint256 tokenId;        
        address minter = msg.sender;        

        for (uint256 i = 0; i < tokenIds.length; i++) {
            tokenId = tokenIds[i];            
            require(proofs[i].verify(merkleRoot, keccak256(abi.encodePacked(minter,tokenId))), "BonusPackMinter: Not Allocated");
            require(isMinted[tokenId] == false, "BonusPackMinter: Already Minted");
            isMinted[tokenId] = true;
            netvrkBonusPack.mint(minter, tokenId);
            emit BonusPackMinted(minter, tokenId);
        }
    }

    function _updateAddresses(address bonusPackAddress)
        external
        onlyOwner
    {
        netvrkBonusPack = IMintableERC721(bonusPackAddress);
    }
}

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 8 : ContextMixin.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

abstract contract ContextMixin {
    function msgSender() internal view returns (address payable sender) {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

File 4 of 8 : IMintableERC721.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";

interface IMintableERC721 is IERC721 {
    /**
     * @notice called by predicate contract to mint tokens while withdrawing
     * @dev Should be callable only by MintableERC721Predicate
     * Make sure minting is done only by this function
     * @param user user address for whom token is being minted
     * @param tokenId tokenId being minted
     */
    function mint(address user, uint256 tokenId) external;

    /**
     * @notice called by predicate contract to mint tokens while withdrawing with metadata from L2
     * @dev Should be callable only by MintableERC721Predicate
     * Make sure minting is only done either by this function/ �
     * @param user user address for whom token is being minted
     * @param tokenId tokenId being minted
     * @param metaData Associated token metadata, to be decoded & set using `setTokenMetadata`
     *
     * Note : If you're interested in taking token metadata from L2 to L1 during exit, you must
     * implement this method
     */
    function mint(
        address user,
        uint256 tokenId,
        bytes calldata metaData
    ) external;

    /**
     * @notice check if token already exists, return true if it does exist
     * @dev this check will be used by the predicate to determine if the token needs to be minted or transfered
     * @param tokenId tokenId being checked
     */
    function exists(uint256 tokenId) external view returns (bool);
}

File 5 of 8 : MerkleProof.sol
// SPDX-License-Identifier: MIT

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) {
        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 = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 6 of 8 : Context.sol
// SPDX-License-Identifier: MIT

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 7 of 8 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 8 of 8 : IERC165.sol
// SPDX-License-Identifier: MIT

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": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"bonusPackAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"BonusPackMinted","type":"event"},{"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":"address","name":"bonusPackAddress","type":"address"}],"name":"_updateAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bytes32[][]","name":"proofs","type":"bytes32[][]"}],"name":"batchRedeemBonusPacks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"netvrkBonusPack","outputs":[{"internalType":"contract IMintableERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"redeemBonusPack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50604051610c70380380610c7083398101604081905261002f916100b8565b61003f61003a610064565b610068565b600280546001600160a01b0319166001600160a01b03929092169190911790556100e6565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100c9578081fd5b81516001600160a01b03811681146100df578182fd5b9392505050565b610b7b806100f56000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80638da5cb5b116100665780638da5cb5b146100f1578063addb376b14610106578063d92c30c414610119578063e958cd821461012c578063f2fde38b1461013457610093565b806333c41a901461009857806364df7e02146100c1578063715018a6146100d65780637cb64759146100de575b600080fd5b6100ab6100a63660046108c1565b610147565b6040516100b8919061097b565b60405180910390f35b6100d46100cf3660046107dd565b61015c565b005b6100d4610346565b6100d46100ec3660046108c1565b610391565b6100f96103d5565b6040516100b8919061094e565b6100d46101143660046108d9565b6103e4565b6100d46101273660046107af565b610553565b6100f96105b4565b6100d46101423660046107af565b6105c3565b60016020526000908152604090205460ff1681565b6003546101845760405162461bcd60e51b815260040161017b90610a6f565b60405180910390fd5b600033815b8481101561033e578585828181106101b157634e487b7160e01b600052603260045260246000fd5b90506020020135925061022060035483856040516020016101d392919061091e565b6040516020818303038152906040528051906020012086848151811061020957634e487b7160e01b600052603260045260246000fd5b60200260200101516106349092919063ffffffff16565b61023c5760405162461bcd60e51b815260040161017b90610986565b60008381526001602052604090205460ff161561026b5760405162461bcd60e51b815260040161017b90610a03565b600083815260016020819052604091829020805460ff1916909117905560025490516340c10f1960e01b81526001600160a01b03909116906340c10f19906102b99085908790600401610962565b600060405180830381600087803b1580156102d357600080fd5b505af11580156102e7573d6000803e3d6000fd5b50505050816001600160a01b03167ff49e310232bf0b3e7a40239e6058f5779c3f9df367e48ac12e6f72d916021c0e846040516103249190610ab1565b60405180910390a28061033681610b08565b915050610189565b505050505050565b61034e6106ef565b6001600160a01b031661035f6103d5565b6001600160a01b0316146103855760405162461bcd60e51b815260040161017b90610a3a565b61038f60006106f3565b565b6103996106ef565b6001600160a01b03166103aa6103d5565b6001600160a01b0316146103d05760405162461bcd60e51b815260040161017b90610a3a565b600355565b6000546001600160a01b031690565b6003546104035760405162461bcd60e51b815260040161017b90610a6f565b60008281526001602052604090205460ff16156104325760405162461bcd60e51b815260040161017b90610a03565b610471600354338460405160200161044b92919061091e565b60405160208183030381529060405280519060200120836106349092919063ffffffff16565b61048d5760405162461bcd60e51b815260040161017b90610986565b600082815260016020819052604091829020805460ff1916909117905560025490516340c10f1960e01b815233916001600160a01b0316906340c10f19906104db9084908790600401610962565b600060405180830381600087803b1580156104f557600080fd5b505af1158015610509573d6000803e3d6000fd5b50505050806001600160a01b03167ff49e310232bf0b3e7a40239e6058f5779c3f9df367e48ac12e6f72d916021c0e846040516105469190610ab1565b60405180910390a2505050565b61055b6106ef565b6001600160a01b031661056c6103d5565b6001600160a01b0316146105925760405162461bcd60e51b815260040161017b90610a3a565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031681565b6105cb6106ef565b6001600160a01b03166105dc6103d5565b6001600160a01b0316146106025760405162461bcd60e51b815260040161017b90610a3a565b6001600160a01b0381166106285760405162461bcd60e51b815260040161017b906109bd565b610631816106f3565b50565b600081815b85518110156106e457600086828151811061066457634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116106a5578281604051602001610688929190610940565b6040516020818303038152906040528051906020012092506106d1565b80836040516020016106b8929190610940565b6040516020818303038152906040528051906020012092505b50806106dc81610b08565b915050610639565b509092149392505050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600082601f830112610753578081fd5b8135602061076861076383610ae4565b610aba565b8281528181019085830183850287018401881015610784578586fd5b855b858110156107a257813584529284019290840190600101610786565b5090979650505050505050565b6000602082840312156107c0578081fd5b81356001600160a01b03811681146107d6578182fd5b9392505050565b6000806000604084860312156107f1578182fd5b833567ffffffffffffffff80821115610808578384fd5b818601915086601f83011261081b578384fd5b813581811115610829578485fd5b60208881828402860101111561083d578586fd5b808401965081955080880135935082841115610857578485fd5b838801935088601f85011261086a578485fd5b8335925061087a61076384610ae4565b8381528181019250848201865b858110156108b05761089e8c8584358a0101610743565b85529383019390830190600101610887565b505080955050505050509250925092565b6000602082840312156108d2578081fd5b5035919050565b600080604083850312156108eb578182fd5b82359150602083013567ffffffffffffffff811115610908578182fd5b61091485828601610743565b9150509250929050565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b918252602082015260400190565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6020808252601e908201527f426f6e75735061636b4d696e7465723a204e6f7420416c6c6f63617465640000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601f908201527f426f6e75735061636b4d696e7465723a20416c7265616479204d696e74656400604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526022908201527f426f6e75735061636b4d696e7465723a206e6f204d65726b6c65526f6f742079604082015261195d60f21b606082015260800190565b90815260200190565b60405181810167ffffffffffffffff81118282101715610adc57610adc610b2f565b604052919050565b600067ffffffffffffffff821115610afe57610afe610b2f565b5060209081020190565b6000600019821415610b2857634e487b7160e01b81526011600452602481fd5b5060010190565b634e487b7160e01b600052604160045260246000fdfea26469706673582212207abb4366a3ac5f76b7b42a352dc96ccb01eb571803c4145215887899e16f9e0b64736f6c63430008000033000000000000000000000000bcbeae3620b3280df67143ad7ec45d67c5a4355e

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c80638da5cb5b116100665780638da5cb5b146100f1578063addb376b14610106578063d92c30c414610119578063e958cd821461012c578063f2fde38b1461013457610093565b806333c41a901461009857806364df7e02146100c1578063715018a6146100d65780637cb64759146100de575b600080fd5b6100ab6100a63660046108c1565b610147565b6040516100b8919061097b565b60405180910390f35b6100d46100cf3660046107dd565b61015c565b005b6100d4610346565b6100d46100ec3660046108c1565b610391565b6100f96103d5565b6040516100b8919061094e565b6100d46101143660046108d9565b6103e4565b6100d46101273660046107af565b610553565b6100f96105b4565b6100d46101423660046107af565b6105c3565b60016020526000908152604090205460ff1681565b6003546101845760405162461bcd60e51b815260040161017b90610a6f565b60405180910390fd5b600033815b8481101561033e578585828181106101b157634e487b7160e01b600052603260045260246000fd5b90506020020135925061022060035483856040516020016101d392919061091e565b6040516020818303038152906040528051906020012086848151811061020957634e487b7160e01b600052603260045260246000fd5b60200260200101516106349092919063ffffffff16565b61023c5760405162461bcd60e51b815260040161017b90610986565b60008381526001602052604090205460ff161561026b5760405162461bcd60e51b815260040161017b90610a03565b600083815260016020819052604091829020805460ff1916909117905560025490516340c10f1960e01b81526001600160a01b03909116906340c10f19906102b99085908790600401610962565b600060405180830381600087803b1580156102d357600080fd5b505af11580156102e7573d6000803e3d6000fd5b50505050816001600160a01b03167ff49e310232bf0b3e7a40239e6058f5779c3f9df367e48ac12e6f72d916021c0e846040516103249190610ab1565b60405180910390a28061033681610b08565b915050610189565b505050505050565b61034e6106ef565b6001600160a01b031661035f6103d5565b6001600160a01b0316146103855760405162461bcd60e51b815260040161017b90610a3a565b61038f60006106f3565b565b6103996106ef565b6001600160a01b03166103aa6103d5565b6001600160a01b0316146103d05760405162461bcd60e51b815260040161017b90610a3a565b600355565b6000546001600160a01b031690565b6003546104035760405162461bcd60e51b815260040161017b90610a6f565b60008281526001602052604090205460ff16156104325760405162461bcd60e51b815260040161017b90610a03565b610471600354338460405160200161044b92919061091e565b60405160208183030381529060405280519060200120836106349092919063ffffffff16565b61048d5760405162461bcd60e51b815260040161017b90610986565b600082815260016020819052604091829020805460ff1916909117905560025490516340c10f1960e01b815233916001600160a01b0316906340c10f19906104db9084908790600401610962565b600060405180830381600087803b1580156104f557600080fd5b505af1158015610509573d6000803e3d6000fd5b50505050806001600160a01b03167ff49e310232bf0b3e7a40239e6058f5779c3f9df367e48ac12e6f72d916021c0e846040516105469190610ab1565b60405180910390a2505050565b61055b6106ef565b6001600160a01b031661056c6103d5565b6001600160a01b0316146105925760405162461bcd60e51b815260040161017b90610a3a565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031681565b6105cb6106ef565b6001600160a01b03166105dc6103d5565b6001600160a01b0316146106025760405162461bcd60e51b815260040161017b90610a3a565b6001600160a01b0381166106285760405162461bcd60e51b815260040161017b906109bd565b610631816106f3565b50565b600081815b85518110156106e457600086828151811061066457634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116106a5578281604051602001610688929190610940565b6040516020818303038152906040528051906020012092506106d1565b80836040516020016106b8929190610940565b6040516020818303038152906040528051906020012092505b50806106dc81610b08565b915050610639565b509092149392505050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600082601f830112610753578081fd5b8135602061076861076383610ae4565b610aba565b8281528181019085830183850287018401881015610784578586fd5b855b858110156107a257813584529284019290840190600101610786565b5090979650505050505050565b6000602082840312156107c0578081fd5b81356001600160a01b03811681146107d6578182fd5b9392505050565b6000806000604084860312156107f1578182fd5b833567ffffffffffffffff80821115610808578384fd5b818601915086601f83011261081b578384fd5b813581811115610829578485fd5b60208881828402860101111561083d578586fd5b808401965081955080880135935082841115610857578485fd5b838801935088601f85011261086a578485fd5b8335925061087a61076384610ae4565b8381528181019250848201865b858110156108b05761089e8c8584358a0101610743565b85529383019390830190600101610887565b505080955050505050509250925092565b6000602082840312156108d2578081fd5b5035919050565b600080604083850312156108eb578182fd5b82359150602083013567ffffffffffffffff811115610908578182fd5b61091485828601610743565b9150509250929050565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b918252602082015260400190565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6020808252601e908201527f426f6e75735061636b4d696e7465723a204e6f7420416c6c6f63617465640000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601f908201527f426f6e75735061636b4d696e7465723a20416c7265616479204d696e74656400604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526022908201527f426f6e75735061636b4d696e7465723a206e6f204d65726b6c65526f6f742079604082015261195d60f21b606082015260800190565b90815260200190565b60405181810167ffffffffffffffff81118282101715610adc57610adc610b2f565b604052919050565b600067ffffffffffffffff821115610afe57610afe610b2f565b5060209081020190565b6000600019821415610b2857634e487b7160e01b81526011600452602481fd5b5060010190565b634e487b7160e01b600052604160045260246000fdfea26469706673582212207abb4366a3ac5f76b7b42a352dc96ccb01eb571803c4145215887899e16f9e0b64736f6c63430008000033

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

000000000000000000000000bcbeae3620b3280df67143ad7ec45d67c5a4355e

-----Decoded View---------------
Arg [0] : bonusPackAddress (address): 0xBCbEaE3620b3280dF67143Ad7eC45d67C5A4355e

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000bcbeae3620b3280df67143ad7ec45d67c5a4355e


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.