@gearbox-protocol/sdk 3.0.0-next.150 → 3.0.0-next.152
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.
package/lib/core/endpoint.d.ts
CHANGED
|
@@ -9,6 +9,6 @@ interface Options {
|
|
|
9
9
|
}
|
|
10
10
|
export declare class ChartsApi {
|
|
11
11
|
static getUrl: (url: string, chainId: number, options?: Options, priceSource?: ChartsPriceSource) => string;
|
|
12
|
-
|
|
12
|
+
static getRelativeUrl: (url: string, options?: Options) => string;
|
|
13
13
|
}
|
|
14
14
|
export {};
|
|
@@ -9,7 +9,7 @@ class CreditFacadeParser extends abstractParser_1.AbstractParser {
|
|
|
9
9
|
super(token);
|
|
10
10
|
this.version = version;
|
|
11
11
|
this.ifc =
|
|
12
|
-
version
|
|
12
|
+
version >= 300
|
|
13
13
|
? types_1.ICreditFacadeV3Multicall__factory.createInterface()
|
|
14
14
|
: types_1.ICreditFacadeV2Extended__factory.createInterface();
|
|
15
15
|
this.adapterName = "CreditFacade";
|