Convert SatsPrice to a Skip multiplatform app
This commit is contained in:
15
Sources/SatsPrice/Network/PriceFetcher.swift
Normal file
15
Sources/SatsPrice/Network/PriceFetcher.swift
Normal file
@@ -0,0 +1,15 @@
|
||||
// This is free software: you can redistribute and/or modify it
|
||||
// under the terms of the GNU General Public License 3.0
|
||||
// as published by the Free Software Foundation https://fsf.org
|
||||
//
|
||||
// PriceFetcher.swift
|
||||
// SatsPrice
|
||||
//
|
||||
// Created by Terry Yiu on 2/19/24.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
protocol PriceFetcher {
|
||||
func btcToUsd() async throws -> Decimal?
|
||||
}
|
||||
Reference in New Issue
Block a user