diff options
Diffstat (limited to 'src/webex/wxApi.ts')
-rw-r--r-- | src/webex/wxApi.ts | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/src/webex/wxApi.ts b/src/webex/wxApi.ts index a8b35ed34..ea26cd2eb 100644 --- a/src/webex/wxApi.ts +++ b/src/webex/wxApi.ts @@ -22,7 +22,7 @@ /** * Imports. */ -import { AmountJson } from "../amounts"; +import { AmountJson } from "../util/amounts"; import { CoinRecord, CurrencyRecord, @@ -174,14 +174,6 @@ export function getCoins(exchangeBaseUrl: string): Promise<CoinRecord[]> { /** - * Get all planchets withdrawn from the given exchange. - */ -export function getPlanchets(exchangeBaseUrl: string): Promise<PlanchetRecord[]> { - return callBackend("get-planchets", { exchangeBaseUrl }); -} - - -/** * Get all denoms offered by the given exchange. */ export function getDenoms(exchangeBaseUrl: string): Promise<DenominationRecord[]> { @@ -211,13 +203,6 @@ export function confirmPay(proposalId: string, sessionId: string | undefined): P return callBackend("confirm-pay", { proposalId, sessionId }); } -/** - * Replay paying for a purchase. - */ -export function submitPay(contractTermsHash: string, sessionId: string | undefined): Promise<ConfirmPayResult> { - return callBackend("submit-pay", { contractTermsHash, sessionId }); -} - /** * Mark a reserve as confirmed. @@ -302,14 +287,6 @@ export function clearNotification(): Promise<void> { return callBackend("clear-notification", { }); } - -/** - * Download a contract. - */ -export function downloadProposal(url: string): Promise<number> { - return callBackend("download-proposal", { url }); -} - /** * Download a refund and accept it. */ |