@exromany/lido-csm-sdk
Version:
[](https://github.com/lidofinance/lido-csm-sdk/blob/main/LICENSE.txt) [](h
24 lines • 1.27 kB
TypeScript
import { CsmSDKModule } from '../common/class-primitives/csm-sdk-module.js';
import { AmountByKeys, BondAmountByKeysCountProps, BondForNextKeysProps, KeysCountByBondAmountProps } from './types.js';
export declare class AccountingSDK extends CsmSDKModule {
private get accountingContract();
getBondAmountByKeysCountETH({ curveId, keysCount, }: BondAmountByKeysCountProps): Promise<bigint>;
getBondAmountByKeysCountWstETH({ curveId, keysCount, }: BondAmountByKeysCountProps): Promise<bigint>;
getBondAmountByKeysCountPerToken(props: BondAmountByKeysCountProps): Promise<AmountByKeys>;
getCurve(curveId: bigint): Promise<{
intervals: readonly {
minKeysCount: bigint;
minBond: bigint;
trend: bigint;
}[];
}>;
getKeysCountByBondAmount({ amount, curveId, }: KeysCountByBondAmountProps): Promise<bigint>;
getBondForNextKeysETH({ nodeOperatorId, keysCount, }: BondForNextKeysProps): Promise<bigint>;
getBondForNextKeysWstETH({ nodeOperatorId, keysCount, }: BondForNextKeysProps): Promise<bigint>;
getBondForNextKeysPerToken(props: BondForNextKeysProps): Promise<{
ETH: bigint;
stETH: bigint;
wstETH: bigint;
}>;
}
//# sourceMappingURL=accounting-sdk.d.ts.map