@lidofinance/lido-ethereum-sdk
Version:
<div style="display: flex;" align="center"> <h1 align="center">Lido Ethereum SDK</h1> </div>
26 lines • 1.02 kB
TypeScript
import type { WriteContractParameters } from 'viem';
import { CreateVaultProps, CreateVaultResult } from './types.js';
import type { TransactionResult } from '../core/index.js';
import { BusModule } from './bus-module.js';
export declare class LidoSDKVaultFactory extends BusModule {
private _validateNodeOperatorFeeBP;
private _validateConfirmExpiry;
private _validateRoles;
private _validateCreateVaultProps;
createVault(props: CreateVaultProps): Promise<TransactionResult<CreateVaultResult>>;
createVaultSimulateTx(props: CreateVaultProps): Promise<WriteContractParameters>;
createVaultPopulateTx(props: CreateVaultProps): Promise<{
from: `0x${string}`;
to: `0x${string}`;
data: `0x${string}`;
value?: undefined;
} | {
from: `0x${string}`;
to: `0x${string}`;
value: Promise<bigint>;
data: `0x${string}`;
}>;
private createVaultParseEvents;
private parseProps;
}
//# sourceMappingURL=vault-factory.d.ts.map