Discover more of Etherscan's tools and services in one place.
Sponsored
Contract Source Code:
File 1 of 1 : batch-unlock.sol
// 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.
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.