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

#include <hardening.h>

Public Attributes

uint64_t amount_minor
uint64_t amount_minor_inv

Detailed Description

Definition at line 58 of file hardening.h.

Member Data Documentation

◆ amount_minor

uint64_t pos_amount_t::amount_minor

primary (USDC base units, 6 dp)

Definition at line 59 of file hardening.h.

Referenced by amount_consistent(), app_main(), evm_balance_ok(), pos_amount_set(), sign_and_broadcast(), and sign_and_broadcast_tron().

◆ amount_minor_inv

uint64_t pos_amount_t::amount_minor_inv

bitwise complement of the primary, written independently — anti-symmetric like bool32

Definition at line 60 of file hardening.h.

Referenced by amount_consistent(), and pos_amount_set().


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