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

import {Script, console} from "forge-std/Script.sol";
import {ReceiverExecutorMainnet} from "../../contracts/treasury/ReceiverExecutorMainnet.sol";

contract DeployReceiverMainnet is Script {
    function run() external {
        uint256 pk = vm.envUint("PRIVATE_KEY");
        address admin = vm.addr(pk);

        vm.startBroadcast(pk);

        ReceiverExecutorMainnet receiver = new ReceiverExecutorMainnet(admin);

        vm.stopBroadcast();

        console.log("RECEIVER_EXECUTOR_MAINNET=", address(receiver));
    }
}
