Added BKN token
This commit is contained in:
parent
5c8171fb1b
commit
c13065dc99
|
@ -528,6 +528,21 @@ TOKENS = {
|
|||
},
|
||||
"sourceDecimals": 18
|
||||
},
|
||||
"BKN": {
|
||||
"symbol": "BKN",
|
||||
"name": "Brickken (Portal)",
|
||||
"sourceAddress": "0x0A638F07ACc6969abF392bB009f216D22aDEa36d",
|
||||
"coingeckoId": "brickken",
|
||||
"markets": {},
|
||||
"logo": "https://etherscan.io/token/images/brickken_32.png",
|
||||
"destinations": {
|
||||
"bsc": {
|
||||
"address": "0x0e28bC9B03971E95acF9ae1326E51ecF9C55B498",
|
||||
"decimals": 18
|
||||
}
|
||||
},
|
||||
"sourceDecimals": 18
|
||||
},
|
||||
"BNT": {
|
||||
"symbol": "BNT",
|
||||
"name": "Bancor Network Token (Portal)",
|
||||
|
|
|
@ -79,7 +79,7 @@ def get_base_logo(name):
|
|||
img = Image.open(tmp.name)
|
||||
# case 2: not
|
||||
else:
|
||||
response = requests.get(logo_url)
|
||||
response = requests.get(logo_url, headers={'User-Agent': 'Mozilla/5.0'})
|
||||
img = Image.open(BytesIO(response.content))
|
||||
return img.resize(STANDARD_DIM).convert('RGBA')
|
||||
|
||||
|
|
Loading…
Reference in New Issue