21 lines
620 B
C
21 lines
620 B
C
#ifndef UI_MESSAGE_SIGNING_H_
|
|
#define UI_MESSAGE_SIGNING_H_
|
|
|
|
#include <stdbool.h>
|
|
|
|
#define TEXT_MESSAGE "message"
|
|
#define TEXT_TYPED_MESSAGE "typed " TEXT_MESSAGE
|
|
#define TEXT_REVIEW_EIP712 REVIEW(TEXT_TYPED_MESSAGE)
|
|
#define TEXT_SIGN_EIP712 SIGN(TEXT_TYPED_MESSAGE)
|
|
|
|
void ui_message_review_choice(bool confirm);
|
|
void ui_message_start(const char *title,
|
|
void (*start_func)(void),
|
|
void (*approved_func)(void),
|
|
void (*rejected_func)(void));
|
|
|
|
void ui_message_712_approved(void);
|
|
void ui_message_712_rejected(void);
|
|
|
|
#endif // UI_MESSAGE_SIGNING_H_
|