Still have broken watchonly, but addresses added

This commit is contained in:
benarc
2021-02-23 15:19:51 +00:00
parent da20588c84
commit 81326b2368
4 changed files with 16 additions and 29 deletions
+9 -15
View File
@@ -13,25 +13,19 @@ class Wallets(NamedTuple):
def from_row(cls, row: Row) -> "Wallets":
return cls(**dict(row))
class Charges(NamedTuple):
id: str
user: str
wallet: str
title: str
address: str
time_to_pay: str
amount: int
balance: int
time: int
@classmethod
def from_row(cls, row: Row) -> "Payments":
return cls(**dict(row))
class Mempool(NamedTuple):
user: str
endpoint: str
@classmethod
def from_row(cls, row: Row) -> "Mempool":
return cls(**dict(row))
class Addresses(NamedTuple):
address: str
wallet: str
amount: int
@classmethod
def from_row(cls, row: Row) -> "Addresses":
return cls(**dict(row))