ETH Price: $3,094.70 (+1.11%)
Gas: 5 Gwei

Contract Diff Checker

Contract Name:
GoodblocksBatchUnlock

Contract Source Code:

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

// multiple token unlocks
contract GoodblocksBatchUnlock
{
    IGoodblocks GBContract = IGoodblocks(0x29B4Ea6B1164C7cd8A3a0a1dc4ad88d1E0589124);

    function batchUnlock(uint256[] memory _tokenIds) public payable
    {
        for(uint256 i=0; i<_tokenIds.length; ++i)
        {
            GBContract.unlockNextGeneration(_tokenIds[i]);
        }
    }
}

// interface with the token contract
interface IGoodblocks
{
    function unlockNextGeneration(uint256 _tokenId) external payable;
}

Please enter a contract address above to load the contract details and source code.

Context size (optional):