UNPKG

@xcapit/shelter-sdk

Version:

SDK for Shelter smart contracts on Stellar

13 lines (12 loc) 505 B
import { Client, Keypair } from "shelter-sdk"; import type { FakeClient } from "../fake-client/fake-client"; import type { Rpc } from "../rpc/rpc"; export declare class DeployedShelter { private readonly _steward; private readonly _rpc; private readonly _client; constructor(_steward: Keypair, _rpc: Rpc, _client: Client | FakeClient); stewardId(): Promise<string>; boundAid(recipient: Buffer, token: string, amount: bigint, expiration: bigint): Promise<void>; id(): string; }