Add new metadata method.

pull/872/head
Andrey 2023-07-26 16:31:10 +03:00
rodzic 25767fb555
commit 88d0f91706
1 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -81,7 +81,7 @@ def get_uris_of_tokens(
{}
WHERE
label = :label
AND label_data ->> 'name' = :name
AND label_data ->> 'name' in :names
ORDER BY
label_data -> 'inputs'-> 0 ASC,
address ASC,
@ -90,7 +90,11 @@ def get_uris_of_tokens(
table
)
),
{"table": table, "label": VIEW_STATE_CRAWLER_LABEL, "name": "tokenURI"},
{
"table": table,
"label": VIEW_STATE_CRAWLER_LABEL,
"names": ("tokenURI", "uri"),
},
)
results = [