|
cryptnox-pos 1.0.0
Standalone USDC payment terminal firmware (ESP32 + Cryptnox smart card)
|
One selectable asset. More...
#include <assets.h>
Public Attributes | |
| pos_chain_t | chain |
| const char * | ticker |
| const char * | standard |
| const char * | caption |
| pos_net_t | net |
| bool | native |
| unsigned | decimals |
| pos_coin_t | coin |
| const char* pos_asset_t::caption |
Caption over the contract address, on the confirm screen and the Tx tab. A network's own coin has no contract to show, so its row names the asset instead. Spelled out per asset rather than derived from the ticker: the Tron rows say "Token contract" where the EVM ones name the token, and that is a wording decision, not a rule.
Definition at line 77 of file assets.h.
Referenced by asset_caption().
| pos_chain_t pos_asset_t::chain |
Definition at line 67 of file assets.h.
Referenced by open_coin_picker().
| pos_coin_t pos_asset_t::coin |
Definition at line 81 of file assets.h.
Referenced by coin_icon().
| unsigned pos_asset_t::decimals |
| bool pos_asset_t::native |
the network's own coin, not a token
Definition at line 79 of file assets.h.
Referenced by active_token(), make_asset_badge(), and pos_chain_is_native_evm().
| pos_net_t pos_asset_t::net |
Definition at line 78 of file assets.h.
Referenced by coin_icon(), make_asset_badge(), open_coin_picker(), pos_chain_is_native_evm(), pos_net_of(), and token_load().
| const char* pos_asset_t::standard |
"ERC-20" — the coin picker's row subtitle.
Definition at line 69 of file assets.h.
Referenced by open_coin_picker().
| const char* pos_asset_t::ticker |
"USDC" — the selector pill and the amount row.
Definition at line 68 of file assets.h.
Referenced by asset_name(), open_coin_picker(), and token_load().