New EIP-712 UX set title/value functions

This commit is contained in:
Alexandre Paillier
2022-06-14 10:06:52 +02:00
parent 9bc3f5255e
commit 07aca18ab1
2 changed files with 67 additions and 21 deletions

View File

@@ -27,6 +27,8 @@ void ui_712_new_field(const void *const field_ptr, const uint8_t *const data, ui
void ui_712_end_sign(void);
unsigned int ui_712_approve(const bagl_element_t *e);
unsigned int ui_712_reject(const bagl_element_t *e);
void ui_712_set_title(const char *const str, uint8_t length);
void ui_712_set_value(const char *const str, uint8_t length);
#ifdef HAVE_EIP712_HALF_BLIND
void ui_712_message_hash(void);
#endif // HAVE_EIP712_HALF_BLIND