@lidofinance/lido-ethereum-sdk
Version:
<div style="display: flex;" align="center"> <h1 align="center">Lido Ethereum SDK</h1> </div>
21 lines • 1.17 kB
TypeScript
import type { Address, WriteContractParameters } from 'viem';
import { type TransactionResult, type PopulatedTransaction, TransactionOptions } from '../core/index.js';
import type { NoTxOptions } from '../core/types.js';
import type { StakeProps, StakeLimitResult, StakeResult, StethContractType } from './types.js';
import { LidoSDKModule } from '../common/class-primitives/sdk-module.js';
export declare class LidoSDKStake extends LidoSDKModule {
private static TRANSFER_SIGNATURE;
private static TRANSFER_SHARES_SIGNATURE;
contractAddressStETH(): Promise<Address>;
getContractStETH(): Promise<StethContractType>;
stakeEth(props: StakeProps): Promise<TransactionResult<StakeResult>>;
stakeEthSimulateTx(props: StakeProps): Promise<WriteContractParameters>;
getStakeLimitInfo(): Promise<StakeLimitResult>;
stakeEthEstimateGas(props: NoTxOptions<StakeProps>, options?: TransactionOptions): Promise<bigint>;
private submitParseEvents;
private validateStakeLimit;
private stakeEthEncodeData;
stakeEthPopulateTx(props: StakeProps): Promise<PopulatedTransaction>;
private parseProps;
}
//# sourceMappingURL=stake.d.ts.map