@xcapit/shelter-sdk
Version:
SDK for Shelter smart contracts on Stellar
13 lines (12 loc) • 608 B
TypeScript
import { xdr, type Keypair } from "shelter-sdk";
import type { Pass } from "../pass.interface";
import type { AssembledTransaction } from "@stellar/stellar-sdk/contract";
import type { Rpc } from "../../rpc/rpc";
export declare class DefaultPass implements Pass {
private readonly _recipient;
private readonly _shelterId;
private readonly _rpc;
constructor(_recipient: Keypair, _shelterId: string, _rpc: Rpc);
applyTo(tx: AssembledTransaction<null>): Promise<AssembledTransaction<null>>;
_signAuthEntry(entry: xdr.SorobanAuthorizationEntry): Promise<xdr.SorobanAuthorizationEntry>;
}