UNPKG

@xcapit/shelter-sdk

Version:

SDK for Shelter smart contracts on Stellar

14 lines (13 loc) 584 B
import { Keypair } from "shelter-sdk"; import type { Client as SAC } from "sac-sdk"; import { DeployedShelter } from "../deployed-shelter/deployed-shelter"; import { Rpc } from "../rpc/rpc"; import type { Pass } from "../pass/pass.interface"; import { FakeSAC } from "../fake-sac/fake-sac"; export declare class Aid { private readonly _recipient; private readonly _token; private readonly _rpc; constructor(_recipient: Keypair, _token: SAC | FakeSAC, _rpc: Rpc); transfer(deployedShelter: DeployedShelter, to: string, amount: bigint, pass: Pass): Promise<void>; }