@gearbox-protocol/sdk 2.1.24 → 2.1.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,34 +0,0 @@
1
- // SPDX-License-Identifier: UNLICENSED
2
- // Gearbox. Generalized leverage protocol that allows to take leverage and then use it across other DeFi protocols and platforms in a composable way.
3
- // (c) Gearbox Foundation, 2023
4
- pragma solidity ^0.8.17;
5
-
6
- import {Tokens} from "./Tokens.sol";
7
-
8
- library TokensLib {
9
- function arrayOf(Tokens t1) external pure returns (Tokens[] memory tokensList) {
10
- tokensList = new Tokens[](1);
11
- tokensList[0] = t1;
12
- }
13
-
14
- function arrayOf(Tokens t1, Tokens t2) external pure returns (Tokens[] memory tokensList) {
15
- tokensList = new Tokens[](2);
16
- tokensList[0] = t1;
17
- tokensList[1] = t2;
18
- }
19
-
20
- function arrayOf(Tokens t1, Tokens t2, Tokens t3) external pure returns (Tokens[] memory tokensList) {
21
- tokensList = new Tokens[](3);
22
- tokensList[0] = t1;
23
- tokensList[1] = t2;
24
- tokensList[2] = t3;
25
- }
26
-
27
- function arrayOf(Tokens t1, Tokens t2, Tokens t3, Tokens t4) external pure returns (Tokens[] memory tokensList) {
28
- tokensList = new Tokens[](4);
29
- tokensList[0] = t1;
30
- tokensList[1] = t2;
31
- tokensList[2] = t3;
32
- tokensList[3] = t4;
33
- }
34
- }
@@ -1,4 +0,0 @@
1
- import { SupportedToken } from "../tokens/token";
2
- import { PriceFeedData } from "./pricefeedType";
3
- export declare const GAS_PRICE_FEED = "0x169e633a2d1e6c10dd91238ba11c4a708dfef37c";
4
- export declare const priceFeedsByToken: Record<SupportedToken, PriceFeedData>;