Address
0x5604cc3c0b93b9eec1746924a79b41002caedc45Current Holdings
$0.00
TXs sent
not counted
First Active
2026-01-31
block 25,669,487
Last Active
230 days ago
block 25,669,487
Funded By
not identified
Net worth historyi
No net-worth snapshots recorded yet
exact matchBatchMintersolc 0.8.28+commit.7893614aruntime exact · creation exact
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// Interface based on the ABI you provided
interface ILauMinter {
function mintToSelf(uint64 _amount) external;
}
contract BatchMinter {
// Replace with the actual deployed address of the Lau contract
address public targetContract;
constructor(address _target) {
targetContract = _target;
}
/**
* @dev Mints 18 times in a single transaction
* Note: This assumes 1 unit per mint. If you want 18 units in 1 call,
* you could just call mintToSelf(18).
* If the contract limits you to 1 per call, this loop is necessary.
*/
function mintEighteen() external {
ILauMinter minter = ILauMinter(targetContract);
for (uint i = 0; i < 18; i++) {
minter.mintToSelf(1);
}
}
// Function to update the target contract address if needed
function setTarget(address _newTarget) external {
targetContract = _newTarget;
}
}