UNPKG

@xcapit/shelter-sdk

Version:

SDK for Shelter smart contracts on Stellar

15 lines (14 loc) 517 B
import { Client, Keypair } from "shelter-sdk"; import type { FakeClient } from "../fake-client/fake-client"; import { Transaction } from "../transaction/transaction"; import type { Rpc } from "../rpc/rpc"; export declare class Gate { private _aClient; private _aSteward; private _aRpc; constructor(_aClient: Client | FakeClient, _aSteward: Keypair, _aRpc: Rpc); guard(): Promise<void>; open(): Promise<void>; seal(): Promise<void>; _txOf(aRawTx: any, errorMsg: string): Transaction; }