void handle_tx_check_opt_in_response(bool enabled)
Reply to an opt-in request received on the app APDU.
void finalize_ui_tx_check_opt_in(bool response_expected)
Leave the opt-in flow.
bool handle_check_tx_report_chain_id(bool chain_id_received, uint64_t chain_id, const tx_check_context_t *ctx)
Check the report chain ID against the operation being signed.
bool handle_check_tx_report(const tlv_transaction_check_out_t *descriptor)
Validate the chain-specific fields of a received descriptor.
bool handle_tx_check_get_setting(tx_check_setting_t setting)
Read a persistent Transaction Check setting.
bool handle_check_tx_report_signer(const uint8_t *address, size_t address_len, const tx_check_context_t *ctx)
Check that the report address is the signer of the operation.
bool handle_tx_check_is_idle(void)
Tell whether the app is idle, so that the opt-in screen can be displayed.
void handle_tx_check_set_setting(tx_check_setting_t setting, bool value)
Write a persistent Transaction Check setting.