@gearbox-protocol/sdk 8.4.2 → 8.4.3
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.
|
@@ -36,6 +36,9 @@ class V300StalenessPeriodPlugin extends import_BasePlugin.BasePlugin {
|
|
|
36
36
|
super.sdk = sdk;
|
|
37
37
|
this.#syncedTo = import_constants.ADDRESS_PROVIDER_BLOCK[sdk.provider.networkType] - 1n;
|
|
38
38
|
}
|
|
39
|
+
get sdk() {
|
|
40
|
+
return super.sdk;
|
|
41
|
+
}
|
|
39
42
|
get loaded() {
|
|
40
43
|
return !!this.#syncedTo;
|
|
41
44
|
}
|
|
@@ -21,6 +21,7 @@ export interface V300StalenessPeriodPluginState {
|
|
|
21
21
|
export declare class V300StalenessPeriodPlugin extends BasePlugin<V300StalenessPeriodPluginState> implements IGearboxSDKPlugin<V300StalenessPeriodPluginState> {
|
|
22
22
|
#private;
|
|
23
23
|
set sdk(sdk: GearboxSDK<any>);
|
|
24
|
+
get sdk(): GearboxSDK<any>;
|
|
24
25
|
get loaded(): boolean;
|
|
25
26
|
load(force?: boolean): Promise<V300StalenessPeriodPluginState>;
|
|
26
27
|
get state(): V300StalenessPeriodPluginState;
|