Merge Starkware branch
This commit is contained in:
49
src_features/stark_getPublicKey/ui_flow_stark_getPublicKey.c
Normal file
49
src_features/stark_getPublicKey/ui_flow_stark_getPublicKey.c
Normal file
@@ -0,0 +1,49 @@
|
||||
#ifdef HAVE_STARKWARE
|
||||
|
||||
#include "shared_context.h"
|
||||
#include "ui_callbacks.h"
|
||||
|
||||
unsigned int io_seproxyhal_touch_stark_pubkey_ok(const bagl_element_t *e);
|
||||
|
||||
UX_FLOW_DEF_NOCB(
|
||||
ux_display_stark_public_flow_1_step,
|
||||
pnn,
|
||||
{
|
||||
&C_icon_eye,
|
||||
"Verify",
|
||||
"Stark key",
|
||||
});
|
||||
UX_FLOW_DEF_NOCB(
|
||||
ux_display_stark_public_flow_2_step,
|
||||
bnnn_paging,
|
||||
{
|
||||
.title = "Stark Key",
|
||||
.text = strings.tmp.tmp,
|
||||
});
|
||||
UX_FLOW_DEF_VALID(
|
||||
ux_display_stark_public_flow_3_step,
|
||||
pb,
|
||||
io_seproxyhal_touch_stark_pubkey_ok(NULL),
|
||||
{
|
||||
&C_icon_validate_14,
|
||||
"Approve",
|
||||
});
|
||||
UX_FLOW_DEF_VALID(
|
||||
ux_display_stark_public_flow_4_step,
|
||||
pb,
|
||||
io_seproxyhal_touch_address_cancel(NULL),
|
||||
{
|
||||
&C_icon_crossmark,
|
||||
"Reject",
|
||||
});
|
||||
|
||||
const ux_flow_step_t * const ux_display_stark_public_flow [] = {
|
||||
&ux_display_stark_public_flow_1_step,
|
||||
&ux_display_stark_public_flow_2_step,
|
||||
&ux_display_stark_public_flow_3_step,
|
||||
&ux_display_stark_public_flow_4_step,
|
||||
FLOW_END_STEP,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user