@lidofinance/lido-ethereum-sdk
Version:
<div style="display: flex;" align="center"> <h1 align="center">Lido Ethereum SDK</h1> </div>
76 lines • 2.84 kB
TypeScript
import { FetchVaultsByOwnerProps, FetchVaultsEntitiesResult, FetchVaultsProps, FetchVaultsResult, GetRoleMembersBatchProps, GetRoleMembersProps, GetVaultDataProps } from './types.js';
import { BusModule } from './bus-module.js';
export declare class LidoSDKVaultViewer extends BusModule {
fetchConnectedVaults(props: FetchVaultsProps): Promise<FetchVaultsResult>;
fetchVaultsByOwner(props: FetchVaultsByOwnerProps): Promise<{
data: `0x${string}`[];
totals: number;
}>;
fetchVaultsByOwnerEntities(props: FetchVaultsByOwnerProps): Promise<{
data: import("./vault-entity.js").LidoSDKVaultEntity[];
totals: number;
}>;
fetchConnectedVaultEntities(props: FetchVaultsProps): Promise<FetchVaultsEntitiesResult>;
private _validateRoles;
getRoleMembers(props: GetRoleMembersProps): Promise<{
vault: `0x${string}`;
owner: `0x${string}`;
nodeOperator: `0x${string}`;
members: readonly (readonly `0x${string}`[])[];
}>;
getRoleMembersBatch(props: GetRoleMembersBatchProps): Promise<readonly {
vault: `0x${string}`;
owner: `0x${string}`;
nodeOperator: `0x${string}`;
members: readonly (readonly `0x${string}`[])[];
}[]>;
getVaultData(props: GetVaultDataProps): Promise<{
vaultAddress: `0x${string}`;
connection: {
owner: `0x${string}`;
shareLimit: bigint;
vaultIndex: bigint;
disconnectInitiatedTs: number;
reserveRatioBP: number;
forcedRebalanceThresholdBP: number;
infraFeeBP: number;
liquidityFeeBP: number;
reservationFeeBP: number;
beaconChainDepositsPauseIntent: boolean;
};
record: {
report: {
totalValue: bigint;
inOutDelta: bigint;
timestamp: number;
};
maxLiabilityShares: bigint;
liabilityShares: bigint;
inOutDelta: readonly [{
value: bigint;
valueOnRefSlot: bigint;
refSlot: number;
}, {
value: bigint;
valueOnRefSlot: bigint;
refSlot: number;
}];
minimalReserve: bigint;
redemptionShares: bigint;
cumulativeLidoFees: bigint;
settledLidoFees: bigint;
};
totalValue: bigint;
liabilityStETH: bigint;
nodeOperatorFeeRate: bigint;
isReportFresh: boolean;
quarantineInfo: {
isActive: boolean;
pendingTotalValueIncrease: bigint;
startTimestamp: bigint;
endTimestamp: bigint;
totalValueRemainder: bigint;
};
}>;
}
//# sourceMappingURL=vault-viewer.d.ts.map