UNPKG

stellar-plus

Version:

beta version of stellar-plus, an all-in-one sdk for the Stellar blockchain

15 lines (14 loc) 1.41 kB
import { SorobanDataBuilder, Transaction, xdr } from '@stellar/stellar-sdk'; import { RpcHandler } from '../../../../stellar-plus/rpc/types'; import { ConveyorBelt } from '../../../../stellar-plus/utils/pipeline/conveyor-belts'; import { SorobanAuthPipelineInput, SorobanAuthPipelineOutput, SorobanAuthPipelinePlugin, SorobanAuthPipelineType } from './types'; export declare class SorobanAuthPipeline extends ConveyorBelt<SorobanAuthPipelineInput, SorobanAuthPipelineOutput, SorobanAuthPipelineType> { constructor(plugins?: SorobanAuthPipelinePlugin[]); protected process(item: SorobanAuthPipelineInput, itemId: string): Promise<SorobanAuthPipelineOutput>; protected updateTransaction(transaction: Transaction, authEntries: xdr.SorobanAuthorizationEntry[], sorobanData?: SorobanDataBuilder): Transaction; protected simulate(transaction: Transaction, rpcHandler: RpcHandler): Promise<Transaction>; protected calculateExpirationLedgerFromTimeout(rpcHandler: RpcHandler, transaction: Transaction): Promise<number>; protected removeSourceCredentialAuth(authEntries?: xdr.SorobanAuthorizationEntry[]): xdr.SorobanAuthorizationEntry[]; protected getSourceCredentialAuth(authEntries?: xdr.SorobanAuthorizationEntry[]): xdr.SorobanAuthorizationEntry[]; protected getRequiredSigner(authEntry: xdr.SorobanAuthorizationEntry, item: SorobanAuthPipelineInput, itemId: string): string; }