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

library BatchEmitterConfig {
    struct EmitterConfig {
        address ccipRouter;
        address linkToken;
        uint64 mainnetChainSelector;
        address mainnetCheckpoint;
    }

    function validate(EmitterConfig memory c) internal pure {
        require(c.ccipRouter != address(0), "router");
        require(c.linkToken != address(0), "link");
        require(c.mainnetChainSelector != 0, "selector");
        require(c.mainnetCheckpoint != address(0), "checkpoint");
    }
}
