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

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

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