ZcashLightClientKit/Sources/ZcashLightClientKit/Repository/UnspentTransactionOutputRep...

19 lines
474 B
Swift

//
// UnspentTransactionOutputRepository.swift
// ZcashLightClientKit
//
// Created by Francisco Gindre on 12/11/20.
//
import Foundation
protocol UnspentTransactionOutputRepository {
func getAll(address: String?) throws -> [UnspentTransactionOutputEntity]
func balance(address: String, latestHeight: BlockHeight) throws -> WalletBalance
func store(utxos: [UnspentTransactionOutputEntity]) throws
func clearAll(address: String?) throws
}