Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,364 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Batch Redeem Bon... | 20422476 | 10 days ago | IN | 0 ETH | 0.00042625 | ||||
Batch Redeem Bon... | 20305185 | 26 days ago | IN | 0 ETH | 0.00035319 | ||||
Batch Redeem Bon... | 20255783 | 33 days ago | IN | 0 ETH | 0.00041512 | ||||
Batch Redeem Bon... | 20106033 | 54 days ago | IN | 0 ETH | 0.00079749 | ||||
Batch Redeem Bon... | 19817704 | 94 days ago | IN | 0 ETH | 0.00079877 | ||||
Batch Redeem Bon... | 19389998 | 154 days ago | IN | 0 ETH | 0.0055109 | ||||
Batch Redeem Bon... | 19310394 | 165 days ago | IN | 0 ETH | 0.00309752 | ||||
Batch Redeem Bon... | 18977675 | 212 days ago | IN | 0 ETH | 0.00541082 | ||||
Batch Redeem Bon... | 18841966 | 231 days ago | IN | 0 ETH | 0.00497237 | ||||
Batch Redeem Bon... | 18648048 | 258 days ago | IN | 0 ETH | 0.00237743 | ||||
Batch Redeem Bon... | 18514408 | 277 days ago | IN | 0 ETH | 0.00457868 | ||||
Batch Redeem Bon... | 17691775 | 392 days ago | IN | 0 ETH | 0.00216035 | ||||
Batch Redeem Bon... | 17591226 | 406 days ago | IN | 0 ETH | 0.00398264 | ||||
Batch Redeem Bon... | 17115703 | 473 days ago | IN | 0 ETH | 0.00438108 | ||||
Batch Redeem Bon... | 17097311 | 476 days ago | IN | 0 ETH | 0.00623549 | ||||
Batch Redeem Bon... | 16917648 | 501 days ago | IN | 0 ETH | 0.00234169 | ||||
Batch Redeem Bon... | 16716689 | 530 days ago | IN | 0 ETH | 0.00234178 | ||||
Batch Redeem Bon... | 16716687 | 530 days ago | IN | 0 ETH | 0.00182736 | ||||
Batch Redeem Bon... | 16706895 | 531 days ago | IN | 0 ETH | 0.0025761 | ||||
Batch Redeem Bon... | 16663827 | 537 days ago | IN | 0 ETH | 0.00707294 | ||||
Batch Redeem Bon... | 16628229 | 542 days ago | IN | 0 ETH | 0.00565249 | ||||
Batch Redeem Bon... | 16607544 | 545 days ago | IN | 0 ETH | 0.00223455 | ||||
Batch Redeem Bon... | 16607323 | 545 days ago | IN | 0 ETH | 0.00236322 | ||||
Batch Redeem Bon... | 16353362 | 581 days ago | IN | 0 ETH | 0.00167111 | ||||
Batch Redeem Bon... | 16352272 | 581 days ago | IN | 0 ETH | 0.00187765 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | ||||
---|---|---|---|---|---|---|---|
20422476 | 10 days ago | 0 ETH | |||||
20305185 | 26 days ago | 0 ETH | |||||
20255783 | 33 days ago | 0 ETH | |||||
20106033 | 54 days ago | 0 ETH | |||||
20106033 | 54 days ago | 0 ETH | |||||
19817704 | 94 days ago | 0 ETH | |||||
19389998 | 154 days ago | 0 ETH | |||||
19310394 | 165 days ago | 0 ETH | |||||
18977675 | 212 days ago | 0 ETH | |||||
18841966 | 231 days ago | 0 ETH | |||||
18648048 | 258 days ago | 0 ETH | |||||
18514408 | 277 days ago | 0 ETH | |||||
17691775 | 392 days ago | 0 ETH | |||||
17591226 | 406 days ago | 0 ETH | |||||
17591226 | 406 days ago | 0 ETH | |||||
17115703 | 473 days ago | 0 ETH | |||||
17097311 | 476 days ago | 0 ETH | |||||
16917648 | 501 days ago | 0 ETH | |||||
16716689 | 530 days ago | 0 ETH | |||||
16716687 | 530 days ago | 0 ETH | |||||
16706895 | 531 days ago | 0 ETH | |||||
16663827 | 537 days ago | 0 ETH | |||||
16663827 | 537 days ago | 0 ETH | |||||
16663827 | 537 days ago | 0 ETH | |||||
16628229 | 542 days ago | 0 ETH |
Loading...
Loading
Contract Name:
BonusPackMinter
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// 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); } }
// 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); } }
// 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; } }
// 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); }
// 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; } }
// 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; } }
// 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; }
// 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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"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"}]
Contract Creation Code
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
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.