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

import {Script, console} from "forge-std/Script.sol";
import {AddressActivityRegistryV2} from "../../contracts/mainnet-checkpoint/AddressActivityRegistryV2.sol";

contract DeployAddressActivityRegistryV2 is Script {
    function run() external {
        address admin = vm.envOr("CHECKPOINT_ADMIN", msg.sender);
        vm.startBroadcast();
        AddressActivityRegistryV2 registry = new AddressActivityRegistryV2(admin);
        console.log("AddressActivityRegistryV2:", address(registry));
        vm.stopBroadcast();
    }
}
