UNPKG

@exromany/lido-csm-sdk

Version:

[![GitHub license](https://img.shields.io/github/license/lidofinance/lido-csm-sdk?color=limegreen)](https://github.com/lidofinance/lido-csm-sdk/blob/main/LICENSE.txt) [![Version npm](https://img.shields.io/npm/v/@lidofinance/lido-csm-sdk?label=version)](h

8 lines 333 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.findKeyInterval = void 0; const findKeyInterval = (keyIndex, intervals) => { return intervals.findLast((interval) => keyIndex >= interval.minKeyNumber); }; exports.findKeyInterval = findKeyInterval; //# sourceMappingURL=find-key-interval.js.map