UNPKG

@nolus/nolusjs

Version:

JS library for NodeJS and Web browsers to interact with the Nolus Protocol

39 lines (38 loc) 920 B
export declare const leaseQuoteMsg: (downpaymentAmount: string, downpaymentCurrency: string, leaseAsset: string, max_ltd?: number) => { quote: { lease_asset: string; downpayment: { ticker: string; amount: string; }; max_ltd?: undefined; }; } | { quote: { lease_asset: string; downpayment: { ticker: string; amount: string; }; max_ltd: number; }; }; export declare const getCurrentOpenLeasesByOwnerMsg: (ownerAddress: string) => { leases: { owner: string; }; }; export declare const getLeaserConfigMsg: () => { config: {}; }; export declare const openLeaseMsg: (leaseCurrency: string, max_ltd?: number) => { open_lease: { currency: string; max_ltd?: undefined; }; } | { open_lease: { currency: string; max_ltd: number; }; };