forked from nathanwoodburn/firewalletbrowser
feat: Add initial domain plugins
This commit is contained in:
@@ -665,9 +665,8 @@ def getxPub(account):
|
||||
|
||||
#endregion
|
||||
|
||||
def generateReport(account):
|
||||
def generateReport(account,format="{name},{expiry},{value},{maxBid}"):
|
||||
domains = getDomains(account)
|
||||
format = str('{name},{expiry},{value},{maxBid}')
|
||||
|
||||
lines = [format.replace("{","").replace("}","")]
|
||||
for domain in domains:
|
||||
@@ -689,4 +688,7 @@ def generateReport(account):
|
||||
line = line.replace("{openHeight}",str(domain['height']))
|
||||
lines.append(line)
|
||||
|
||||
return lines
|
||||
return lines
|
||||
|
||||
def convertHNS(value: int):
|
||||
return value/1000000
|
||||
Reference in New Issue
Block a user