|
Monero
|
Functions | |
| coinmarketcap_call (endpoint, api_key, params=None) | |
| coinmarketcap_init (api_key, refresh=None) | |
| marketcap (coin) | |
| update_marketcaps (coins) | |
| summary (coins, api_key) | |
| _is_supported (support, trezor_version) | |
| _webwallet_support (coin, support) | |
| dict_merge (orig, new) | |
| update_simple (coins, support_info, type) | |
| update_bitcoin (coins, support_info) | |
| update_erc20 (coins, networks, support_info) | |
| update_ethereum_networks (coins, support_info) | |
| update_nem_mosaics (coins, support_info) | |
| check_missing_data (coins) | |
| apply_overrides (coins) | |
| finalize_wallets (coins) | |
| main (refresh, api_key, verbose) | |
Variables | |
| LOG = logging.getLogger(__name__) | |
| tuple | OPTIONAL_KEYS = ("links", "notes", "wallet") |
| tuple | ALLOWED_SUPPORT_STATUS = ("yes", "no", "planned", "soon") |
| WALLETS = coin_info.load_json("wallets.json") | |
| OVERRIDES = coin_info.load_json("coins_details.override.json") | |
| VERSIONS = coin_info.latest_releases() | |
| COINMAKETCAP_CACHE = os.path.join(os.path.dirname(__file__), "coinmarketcap.json") | |
| str | COINMARKETCAP_API_BASE = "https://pro-api.coinmarketcap.com/v1/" |
| dict | MARKET_CAPS = {} |
| dict | WALLET_TREZOR = {"Trezor": "https://wallet.trezor.io"} |
| dict | WALLET_ETH_TREZOR = {"Trezor Beta": "https://beta-wallet.trezor.io/next/"} |
| dict | WALLET_NEM |
| dict | WALLETS_ETH_3RDPARTY |
| tuple | TREZOR_KNOWN_URLS |
Fetch information about coins and tokens supported by Trezor and update it in coins_details.json.
|
protected |
|
protected |
Check the "webwallet" support property. If set, check that at least one of the backends run on trezor.io. If yes, assume we support the coin in our wallet. Otherwise it's probably working with a custom backend, which means don't link to our wallet.
| coins_details.apply_overrides | ( | coins | ) |
| coins_details.check_missing_data | ( | coins | ) |
| coins_details.coinmarketcap_call | ( | endpoint, | |
| api_key, | |||
| params = None ) |
| coins_details.coinmarketcap_init | ( | api_key, | |
| refresh = None ) |
| coins_details.dict_merge | ( | orig, | |
| new ) |
| coins_details.finalize_wallets | ( | coins | ) |
| coins_details.main | ( | refresh, | |
| api_key, | |||
| verbose ) |
| coins_details.marketcap | ( | coin | ) |
| coins_details.summary | ( | coins, | |
| api_key ) |
| coins_details.update_bitcoin | ( | coins, | |
| support_info ) |
| coins_details.update_erc20 | ( | coins, | |
| networks, | |||
| support_info ) |
| coins_details.update_ethereum_networks | ( | coins, | |
| support_info ) |
| coins_details.update_marketcaps | ( | coins | ) |
| coins_details.update_nem_mosaics | ( | coins, | |
| support_info ) |
| coins_details.update_simple | ( | coins, | |
| support_info, | |||
| type ) |
| tuple coins_details.ALLOWED_SUPPORT_STATUS = ("yes", "no", "planned", "soon") |
| coins_details.COINMAKETCAP_CACHE = os.path.join(os.path.dirname(__file__), "coinmarketcap.json") |
| coins_details.LOG = logging.getLogger(__name__) |
| dict coins_details.MARKET_CAPS = {} |
| tuple coins_details.OPTIONAL_KEYS = ("links", "notes", "wallet") |
| coins_details.OVERRIDES = coin_info.load_json("coins_details.override.json") |
| tuple coins_details.TREZOR_KNOWN_URLS |
| coins_details.VERSIONS = coin_info.latest_releases() |
| dict coins_details.WALLET_ETH_TREZOR = {"Trezor Beta": "https://beta-wallet.trezor.io/next/"} |
| dict coins_details.WALLET_NEM |
| dict coins_details.WALLET_TREZOR = {"Trezor": "https://wallet.trezor.io"} |
| coins_details.WALLETS = coin_info.load_json("wallets.json") |
| dict coins_details.WALLETS_ETH_3RDPARTY |