class BridgeStorageProvider {

    public Federation getNewFederation() {
        if (newFederation != null) {
            return newFederation;
        }

        newFederation = safeGetFromRepository(NEW_FEDERATION_KEY,
                data ->
                        data == null
                        ? null
                        : BridgeSerializationUtils.deserializeFederation(data, uldContext)
        );
        return newFederation;
    }

    public  BridgeStorageProvider(Repository repository, UscAddress contractAddress, BridgeConstants bridgeConstants, BridgeStorageConfiguration bridgeStorageConfiguration);

}