class LivecoinResilience {

  public static final String MAIN_RATE_LIMITER = "main";

  private LivecoinResilience() {}

  public static ResilienceRegistries createRegistries() {<FILL_FUNCTION_BODY>}
}

    ResilienceRegistries registries = new ResilienceRegistries();
    registries
        .rateLimiters()
        .rateLimiter(
            MAIN_RATE_LIMITER,
            RateLimiterConfig.from(registries.rateLimiters().getDefaultConfig())
                .limitRefreshPeriod(Duration.ofSeconds(80))
                .limitForPeriod(40)
                .build());
    return registries;
  
<no_super_class>