2022-03-07 14:21:32 +01:00
|
|
|
#ifndef _SIGN_TX_H_
|
|
|
|
|
#define _SIGN_TX_H_
|
|
|
|
|
|
2020-06-27 13:24:04 +02:00
|
|
|
#include "shared_context.h"
|
|
|
|
|
|
2021-06-11 20:41:08 +02:00
|
|
|
typedef enum {
|
|
|
|
|
|
|
|
|
|
PLUGIN_UI_INSIDE = 0,
|
|
|
|
|
PLUGIN_UI_OUTSIDE
|
|
|
|
|
|
|
|
|
|
} plugin_ui_state_t;
|
|
|
|
|
|
2020-06-27 13:24:04 +02:00
|
|
|
customStatus_e customProcessor(txContext_t *context);
|
2024-06-21 11:49:42 +02:00
|
|
|
void finalizeParsing();
|
2021-06-11 20:41:08 +02:00
|
|
|
void prepareFeeDisplay();
|
2021-08-03 12:01:58 +02:00
|
|
|
void prepareNetworkDisplay();
|
2021-06-11 20:41:08 +02:00
|
|
|
void ux_approve_tx(bool fromPlugin);
|
2024-06-21 11:49:42 +02:00
|
|
|
void report_finalize_error(void);
|
|
|
|
|
void start_signature_flow(void);
|
2022-03-07 14:21:32 +01:00
|
|
|
|
|
|
|
|
#endif // _SIGN_TX_H_
|