cryptnox-pos 1.0.0
Standalone USDC payment terminal firmware (ESP32 + Cryptnox smart card)
Loading...
Searching...
No Matches
pos_net_info_t Struct Reference

Names for one network, in both deployments. More...

#include <assets.h>

Public Attributes

const char * name
const char * long_test
const char * long_main
const char * sub_test
const char * sub_main

Detailed Description

Names for one network, in both deployments.

The long forms name the deployment, because "Ethereum" and "Ethereum Sepolia" differ by the only thing that decides whether a sale settles in money. The mainnet forms carry no suffix on purpose — a production terminal should not be shouting a word nobody needs, and the testnet ones then stand out.

Definition at line 92 of file assets.h.

Member Data Documentation

◆ long_main

const char* pos_net_info_t::long_main

"Ethereum".

Definition at line 95 of file assets.h.

Referenced by asset_network().

◆ long_test

const char* pos_net_info_t::long_test

"Ethereum Sepolia" — the selector's subtitle.

Definition at line 94 of file assets.h.

Referenced by asset_network().

◆ name

const char* pos_net_info_t::name

"Ethereum" — the picker's row title.

Definition at line 93 of file assets.h.

Referenced by open_network_picker().

◆ sub_main

const char* pos_net_info_t::sub_main

"Mainnet".

Definition at line 97 of file assets.h.

Referenced by open_network_picker().

◆ sub_test

const char* pos_net_info_t::sub_test

"Sepolia testnet" — the picker's row subtitle.

Definition at line 96 of file assets.h.

Referenced by open_network_picker().


The documentation for this struct was generated from the following file: