class PendingFederation {

    public Federation buildFederation(Instant creationTime, long blockNumber, NetworkParameters uldParams) {
        if (!this.isComplete()) {
            throw new IllegalStateException("PendingFederation is incomplete");
        }

        return new Federation(
                publicKeys,
                creationTime,
                blockNumber,
                uldParams
        );
    }

    public  PendingFederation(List<UldECKey> publicKeys);

}