ETH Price: $2,910.40 (-4.17%)
Gas: 5 Gwei

Contract

0xD5c785cd434D7cc579B428d20B567037Cc98b30f
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Claim170775862023-04-19 2:05:11388 days ago1681869911IN
0xD5c785cd...7Cc98b30f
0 ETH0.0009667540.07288817
Claim170773822023-04-19 1:23:47388 days ago1681867427IN
0xD5c785cd...7Cc98b30f
0 ETH0.0010364342.96123223
Claim168942392023-03-24 1:57:35414 days ago1679623055IN
0xD5c785cd...7Cc98b30f
0 ETH0.0003476914.41216173
Claim155424062022-09-15 23:39:47603 days ago1663285187IN
0xD5c785cd...7Cc98b30f
0 ETH0.000176557.27256751
Claim155424062022-09-15 23:39:47603 days ago1663285187IN
0xD5c785cd...7Cc98b30f
0 ETH0.000176557.27256751
Claim153174842022-08-11 0:14:05639 days ago1660176845IN
0xD5c785cd...7Cc98b30f
0 ETH0.000611225.17631262
Emergency Claim149646962022-06-15 0:39:26696 days ago1655253566IN
0xD5c785cd...7Cc98b30f
0 ETH0.1420718535.60451045
Claim149640692022-06-14 21:59:52696 days ago1655243992IN
0xD5c785cd...7Cc98b30f
0 ETH0.0009152737.46687068
Toggle Claim149640682022-06-14 21:59:19696 days ago1655243959IN
0xD5c785cd...7Cc98b30f
0 ETH0.000965933.97376467
Claim149640672022-06-14 21:59:16696 days ago1655243956IN
0xD5c785cd...7Cc98b30f
0 ETH0.0091415436.52601198
Claim149640632022-06-14 21:58:44696 days ago1655243924IN
0xD5c785cd...7Cc98b30f
0 ETH0.0115585435.50204213
Claim149640532022-06-14 21:56:09696 days ago1655243769IN
0xD5c785cd...7Cc98b30f
0 ETH0.0100280540.20357063
Claim149640462022-06-14 21:54:43696 days ago1655243683IN
0xD5c785cd...7Cc98b30f
0 ETH0.0109626444
Claim149640432022-06-14 21:54:25696 days ago1655243665IN
0xD5c785cd...7Cc98b30f
0 ETH0.0139739756.15239813
Claim149640422022-06-14 21:53:47696 days ago1655243627IN
0xD5c785cd...7Cc98b30f
0 ETH0.0092377749.9971711
Claim149640412022-06-14 21:53:13696 days ago1655243593IN
0xD5c785cd...7Cc98b30f
0 ETH0.0112667145.32265144
Claim149640392022-06-14 21:52:56696 days ago1655243576IN
0xD5c785cd...7Cc98b30f
0 ETH0.0130092652.39164387
Claim149640362022-06-14 21:52:11696 days ago1655243531IN
0xD5c785cd...7Cc98b30f
0 ETH0.0130234452.50818401
Claim149640322022-06-14 21:51:18696 days ago1655243478IN
0xD5c785cd...7Cc98b30f
0 ETH0.0144285658.23936475
Claim149640262022-06-14 21:49:40696 days ago1655243380IN
0xD5c785cd...7Cc98b30f
0 ETH0.0198073266.89832795
Claim149640222022-06-14 21:48:37696 days ago1655243317IN
0xD5c785cd...7Cc98b30f
0 ETH0.0136963356.93687829
Claim149640192022-06-14 21:46:49696 days ago1655243209IN
0xD5c785cd...7Cc98b30f
0 ETH0.0184106854.58170523
Claim149639972022-06-14 21:39:51696 days ago1655242791IN
0xD5c785cd...7Cc98b30f
0 ETH0.0065203425.68249019
Claim149639962022-06-14 21:39:47696 days ago1655242787IN
0xD5c785cd...7Cc98b30f
0 ETH0.006388725.96399816
Claim149639832022-06-14 21:37:55696 days ago1655242675IN
0xD5c785cd...7Cc98b30f
0 ETH0.008714935.45828622
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:
VansClaim

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

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

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";

interface ClaimContract {
    function claimed(uint256 token) view external returns(bool);
}

contract VansClaim is IERC721Receiver, Ownable {
    uint256[60] internal tokenInventory;
    mapping(uint256 => bool) public claimed;
    bool public claimLive;

    IERC721 tokenContract;
    IERC721 dippiesContract;
    ClaimContract vanClaimContract;

    constructor(address dippiesToken, address vanToken, address claimContract) {
        dippiesContract = IERC721(dippiesToken);
        tokenContract = IERC721(vanToken);
        vanClaimContract = ClaimContract(claimContract);
    }

    function hasClaimed(uint256 id) external view returns(bool) {
        return vanClaimContract.claimed(id) || claimed[id];
    }
  
    function _claimableToken() internal view returns (uint256) {
        uint256 inventoryWordIndex;
        uint256 j;
        for (j = 0; j < 60; j++) {
            if (tokenInventory[j] != 0) {
                inventoryWordIndex = j;
                break;
            }
        }
        
        uint256 inventoryBitIndex;
        for (j = 0; j < 256; j++) {
            if ((tokenInventory[inventoryWordIndex] & (1 << j)) != 0) {
                inventoryBitIndex = j;
                break;
            }   
        }
        
        uint256 tokenId = inventoryWordIndex * 256 + inventoryBitIndex;
        return tokenId;
    }

    function claim(uint256[] calldata tokens) external {
        require(msg.sender == tx.origin);
        require(claimLive);
        uint256 tokenLength = tokens.length;

        for (uint256 i = 0; i < tokenLength; i++) {
            if(dippiesContract.ownerOf(tokens[i]) != msg.sender || vanClaimContract.claimed(tokens[i]) || claimed[tokens[i]]) {
                continue;
            }

            uint256 tokenId = _claimableToken();
            tokenContract.transferFrom(address(this), msg.sender, tokenId);
            toggleAvailable(tokenId);
            claimed[tokens[i]] = true;
        }
    }

    function toggleClaim() external onlyOwner {
        claimLive = !claimLive;
    }

    function emergencyClaim(address to, uint256[] calldata tokens) external onlyOwner {
        uint256 tokenLength = tokens.length;
        for (uint256 i = 0; i < tokenLength; i++) {
            tokenContract.transferFrom(address(this), to, tokens[i]);
        }
    }
  
    function toggleAvailable(uint256 tokenId) private {
        uint256 inventoryWordIndex = tokenId / 256;
        uint256 inventoryBitIndex = tokenId % 256;
        tokenInventory[inventoryWordIndex] = tokenInventory[inventoryWordIndex] ^ (1 << inventoryBitIndex);
    }

    function onERC721Received(
        address,
        address,
        uint256 tokenId,
        bytes memory
    ) public virtual override returns (bytes4) {
        if(msg.sender == address(tokenContract)) {
            toggleAvailable(tokenId);
        }
      
        return this.onERC721Received.selector;
    }
}

File 3 of 6 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 4 of 6 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

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`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

File 5 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 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);
}

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"dippiesToken","type":"address"},{"internalType":"address","name":"vanToken","type":"address"},{"internalType":"address","name":"claimContract","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"},{"inputs":[{"internalType":"uint256[]","name":"tokens","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokens","type":"uint256[]"}],"name":"emergencyClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50604051610d17380380610d1783398101604081905261002f916100f4565b61003833610088565b603f80546001600160a01b039485166001600160a01b031991821617909155603e805493851661010002610100600160a81b03199094169390931790925560408054919093169116179055610137565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146100ef57600080fd5b919050565b60008060006060848603121561010957600080fd5b610112846100d8565b9250610120602085016100d8565b915061012e604085016100d8565b90509250925092565b610bd1806101466000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063a5d0eb7611610066578063a5d0eb7614610129578063ce5165071461013c578063d11297451461014f578063dbe7e3bd14610157578063f2fde38b1461017a57600080fd5b8063150b7a02146100a357806330922d78146100d45780636ba4c138146100f1578063715018a6146101065780638da5cb5b1461010e575b600080fd5b6100b66100b13660046108cd565b61018d565b6040516001600160e01b031990911681526020015b60405180910390f35b603e546100e19060ff1681565b60405190151581526020016100cb565b6101046100ff366004610a02565b6101c2565b005b610104610451565b6000546040516001600160a01b0390911681526020016100cb565b6101046101373660046109ad565b610490565b6100e161014a366004610a66565b610579565b610104610615565b6100e1610165366004610a66565b603d6020526000908152604090205460ff1681565b61010461018836600461088c565b610653565b603e5460009061010090046001600160a01b03163314156101b1576101b1836106ee565b50630a85bd0160e11b949350505050565b3332146101ce57600080fd5b603e5460ff166101dd57600080fd5b8060005b8181101561044b57603f5433906001600160a01b0316636352211e86868581811061020e5761020e610b5a565b905060200201356040518263ffffffff1660e01b815260040161023391815260200190565b60206040518083038186803b15801561024b57600080fd5b505afa15801561025f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028391906108b0565b6001600160a01b031614158061032c57506040546001600160a01b031663dbe7e3bd8585848181106102b7576102b7610b5a565b905060200201356040518263ffffffff1660e01b81526004016102dc91815260200190565b60206040518083038186803b1580156102f457600080fd5b505afa158015610308573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032c9190610a44565b806103665750603d600085858481811061034857610348610b5a565b602090810292909201358352508101919091526040016000205460ff165b1561037057610439565b600061037a610743565b603e546040516323b872dd60e01b81523060048201523360248201526044810183905291925061010090046001600160a01b0316906323b872dd90606401600060405180830381600087803b1580156103d257600080fd5b505af11580156103e6573d6000803e3d6000fd5b505050506103f3816106ee565b6001603d600087878681811061040b5761040b610b5a565b90506020020135815260200190815260200160002060006101000a81548160ff021916908315150217905550505b8061044381610aff565b9150506101e1565b50505050565b6000546001600160a01b031633146104845760405162461bcd60e51b815260040161047b90610a7f565b60405180910390fd5b61048e60006107f0565b565b6000546001600160a01b031633146104ba5760405162461bcd60e51b815260040161047b90610a7f565b8060005b8181101561057257603e5461010090046001600160a01b03166323b872dd30878787868181106104f0576104f0610b5a565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561054757600080fd5b505af115801561055b573d6000803e3d6000fd5b50505050808061056a90610aff565b9150506104be565b5050505050565b60408054905163dbe7e3bd60e01b8152600481018390526000916001600160a01b03169063dbe7e3bd9060240160206040518083038186803b1580156105be57600080fd5b505afa1580156105d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f69190610a44565b8061060f57506000828152603d602052604090205460ff165b92915050565b6000546001600160a01b0316331461063f5760405162461bcd60e51b815260040161047b90610a7f565b603e805460ff19811660ff90911615179055565b6000546001600160a01b0316331461067d5760405162461bcd60e51b815260040161047b90610a7f565b6001600160a01b0381166106e25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161047b565b6106eb816107f0565b50565b60006106fc61010083610acc565b9050600061070c61010084610b1a565b9050806001901b600183603c811061072657610726610b5a565b015418600183603c811061073c5761073c610b5a565b0155505050565b60008060005b603c81101561078657600181603c811061076557610765610b5a565b01541561077457809150610786565b8061077e81610aff565b915050610749565b506000805b6101008210156107ce57816001901b600184603c81106107ad576107ad610b5a565b015416156107bc5750806107ce565b816107c681610aff565b92505061078b565b6000816107dd85610100610ae0565b6107e79190610ab4565b95945050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008083601f84011261085257600080fd5b50813567ffffffffffffffff81111561086a57600080fd5b6020830191508360208260051b850101111561088557600080fd5b9250929050565b60006020828403121561089e57600080fd5b81356108a981610b86565b9392505050565b6000602082840312156108c257600080fd5b81516108a981610b86565b600080600080608085870312156108e357600080fd5b84356108ee81610b86565b935060208501356108fe81610b86565b925060408501359150606085013567ffffffffffffffff8082111561092257600080fd5b818701915087601f83011261093657600080fd5b81358181111561094857610948610b70565b604051601f8201601f19908116603f0116810190838211818310171561097057610970610b70565b816040528281528a602084870101111561098957600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000604084860312156109c257600080fd5b83356109cd81610b86565b9250602084013567ffffffffffffffff8111156109e957600080fd5b6109f586828701610840565b9497909650939450505050565b60008060208385031215610a1557600080fd5b823567ffffffffffffffff811115610a2c57600080fd5b610a3885828601610840565b90969095509350505050565b600060208284031215610a5657600080fd5b815180151581146108a957600080fd5b600060208284031215610a7857600080fd5b5035919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115610ac757610ac7610b2e565b500190565b600082610adb57610adb610b44565b500490565b6000816000190483118215151615610afa57610afa610b2e565b500290565b6000600019821415610b1357610b13610b2e565b5060010190565b600082610b2957610b29610b44565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146106eb57600080fdfea26469706673582212209634af6584de33ca2439b4dc9bcd2bcfbe277b263645c83be4c35c18dc5649cc64736f6c6343000807003300000000000000000000000082f5ef9ddc3d231962ba57a9c2ebb307dc8d26c2000000000000000000000000e64a3314d1dc2fee6f446b70aae08cca1cb8e5e8000000000000000000000000e90967a2012131c24de3a4a0f62919d061093998

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061009e5760003560e01c8063a5d0eb7611610066578063a5d0eb7614610129578063ce5165071461013c578063d11297451461014f578063dbe7e3bd14610157578063f2fde38b1461017a57600080fd5b8063150b7a02146100a357806330922d78146100d45780636ba4c138146100f1578063715018a6146101065780638da5cb5b1461010e575b600080fd5b6100b66100b13660046108cd565b61018d565b6040516001600160e01b031990911681526020015b60405180910390f35b603e546100e19060ff1681565b60405190151581526020016100cb565b6101046100ff366004610a02565b6101c2565b005b610104610451565b6000546040516001600160a01b0390911681526020016100cb565b6101046101373660046109ad565b610490565b6100e161014a366004610a66565b610579565b610104610615565b6100e1610165366004610a66565b603d6020526000908152604090205460ff1681565b61010461018836600461088c565b610653565b603e5460009061010090046001600160a01b03163314156101b1576101b1836106ee565b50630a85bd0160e11b949350505050565b3332146101ce57600080fd5b603e5460ff166101dd57600080fd5b8060005b8181101561044b57603f5433906001600160a01b0316636352211e86868581811061020e5761020e610b5a565b905060200201356040518263ffffffff1660e01b815260040161023391815260200190565b60206040518083038186803b15801561024b57600080fd5b505afa15801561025f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028391906108b0565b6001600160a01b031614158061032c57506040546001600160a01b031663dbe7e3bd8585848181106102b7576102b7610b5a565b905060200201356040518263ffffffff1660e01b81526004016102dc91815260200190565b60206040518083038186803b1580156102f457600080fd5b505afa158015610308573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032c9190610a44565b806103665750603d600085858481811061034857610348610b5a565b602090810292909201358352508101919091526040016000205460ff165b1561037057610439565b600061037a610743565b603e546040516323b872dd60e01b81523060048201523360248201526044810183905291925061010090046001600160a01b0316906323b872dd90606401600060405180830381600087803b1580156103d257600080fd5b505af11580156103e6573d6000803e3d6000fd5b505050506103f3816106ee565b6001603d600087878681811061040b5761040b610b5a565b90506020020135815260200190815260200160002060006101000a81548160ff021916908315150217905550505b8061044381610aff565b9150506101e1565b50505050565b6000546001600160a01b031633146104845760405162461bcd60e51b815260040161047b90610a7f565b60405180910390fd5b61048e60006107f0565b565b6000546001600160a01b031633146104ba5760405162461bcd60e51b815260040161047b90610a7f565b8060005b8181101561057257603e5461010090046001600160a01b03166323b872dd30878787868181106104f0576104f0610b5a565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561054757600080fd5b505af115801561055b573d6000803e3d6000fd5b50505050808061056a90610aff565b9150506104be565b5050505050565b60408054905163dbe7e3bd60e01b8152600481018390526000916001600160a01b03169063dbe7e3bd9060240160206040518083038186803b1580156105be57600080fd5b505afa1580156105d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f69190610a44565b8061060f57506000828152603d602052604090205460ff165b92915050565b6000546001600160a01b0316331461063f5760405162461bcd60e51b815260040161047b90610a7f565b603e805460ff19811660ff90911615179055565b6000546001600160a01b0316331461067d5760405162461bcd60e51b815260040161047b90610a7f565b6001600160a01b0381166106e25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161047b565b6106eb816107f0565b50565b60006106fc61010083610acc565b9050600061070c61010084610b1a565b9050806001901b600183603c811061072657610726610b5a565b015418600183603c811061073c5761073c610b5a565b0155505050565b60008060005b603c81101561078657600181603c811061076557610765610b5a565b01541561077457809150610786565b8061077e81610aff565b915050610749565b506000805b6101008210156107ce57816001901b600184603c81106107ad576107ad610b5a565b015416156107bc5750806107ce565b816107c681610aff565b92505061078b565b6000816107dd85610100610ae0565b6107e79190610ab4565b95945050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008083601f84011261085257600080fd5b50813567ffffffffffffffff81111561086a57600080fd5b6020830191508360208260051b850101111561088557600080fd5b9250929050565b60006020828403121561089e57600080fd5b81356108a981610b86565b9392505050565b6000602082840312156108c257600080fd5b81516108a981610b86565b600080600080608085870312156108e357600080fd5b84356108ee81610b86565b935060208501356108fe81610b86565b925060408501359150606085013567ffffffffffffffff8082111561092257600080fd5b818701915087601f83011261093657600080fd5b81358181111561094857610948610b70565b604051601f8201601f19908116603f0116810190838211818310171561097057610970610b70565b816040528281528a602084870101111561098957600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000604084860312156109c257600080fd5b83356109cd81610b86565b9250602084013567ffffffffffffffff8111156109e957600080fd5b6109f586828701610840565b9497909650939450505050565b60008060208385031215610a1557600080fd5b823567ffffffffffffffff811115610a2c57600080fd5b610a3885828601610840565b90969095509350505050565b600060208284031215610a5657600080fd5b815180151581146108a957600080fd5b600060208284031215610a7857600080fd5b5035919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115610ac757610ac7610b2e565b500190565b600082610adb57610adb610b44565b500490565b6000816000190483118215151615610afa57610afa610b2e565b500290565b6000600019821415610b1357610b13610b2e565b5060010190565b600082610b2957610b29610b44565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146106eb57600080fdfea26469706673582212209634af6584de33ca2439b4dc9bcd2bcfbe277b263645c83be4c35c18dc5649cc64736f6c63430008070033

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

00000000000000000000000082f5ef9ddc3d231962ba57a9c2ebb307dc8d26c2000000000000000000000000e64a3314d1dc2fee6f446b70aae08cca1cb8e5e8000000000000000000000000e90967a2012131c24de3a4a0f62919d061093998

-----Decoded View---------------
Arg [0] : dippiesToken (address): 0x82F5eF9dDC3D231962Ba57A9c2eBb307Dc8d26c2
Arg [1] : vanToken (address): 0xe64a3314d1DC2fEE6F446b70aAE08cca1Cb8E5e8
Arg [2] : claimContract (address): 0xe90967A2012131c24dE3A4A0f62919d061093998

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000082f5ef9ddc3d231962ba57a9c2ebb307dc8d26c2
Arg [1] : 000000000000000000000000e64a3314d1dc2fee6f446b70aae08cca1cb8e5e8
Arg [2] : 000000000000000000000000e90967a2012131c24de3a4a0f62919d061093998


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.