Commit Graph

51 Commits

Author SHA1 Message Date
Charles-Edouard de la Vergne
e06d315c10 Port transaction review steps to 'nbgl_useCaseReview' in ui_approve_tx.c 2024-05-07 16:24:00 +02:00
Charles-Edouard de la Vergne
1c9f138fdd Port Address Review steps to 'nbgl_useCaseAddressReview' 2024-05-07 16:23:57 +02:00
Charles-Edouard de la Vergne
200bf7f1a0 Port 'nbgl_useCaseSettings' to 'nbgl_useCaseHomeAndSettings' 2024-05-07 16:23:56 +02:00
Charles-Edouard de la Vergne
bfff5f1083 Adapt tree to take into account Flex 2024-05-07 10:15:09 +02:00
Charles-Edouard de la Vergne
aa38ee9959 Code improvements / Fix warnings
- Fix CodeQL warnings
- Port lots of improvements/fixes from PR #225
- replace 'array_hexstr' and '%*H' format by sdk function 'format_hex'
- Add 'noreturn' attribute in 'main.c'
2024-04-26 11:09:18 +02:00
Charles-Edouard de la Vergne
f5ea9c51c2 Fix various Linter issues and mispelling 2024-03-27 14:43:15 +01:00
Charles-Edouard de la Vergne
36ae183a1c Fix deprecated warnings 2024-03-27 14:43:15 +01:00
Alexandre Paillier
ea1709b0ea Completely remove old Starkware internal "plugin" 2024-02-14 09:37:11 +01:00
Francois Beutin
ca9d5c9c77 Remove data needed by plugins from shared_context file 2024-02-02 11:23:29 +01:00
Francois Beutin
3d9da0dd16 Move basic utility functions from ethUtils to main utils file 2024-02-02 11:23:28 +01:00
Francois Beutin
04d0fde47a Move network features out of ethUtils 2024-02-02 11:23:27 +01:00
Francois Beutin
cc0f963b51 Hotfix fix for API_LEVEL_14 fix 2023-12-01 18:44:16 +01:00
Francois Beutin
ec7e385d78 Fix stax build for API_LEVEL < 14 2023-12-01 16:49:58 +01:00
abonnaudet-ledger
d8da84da65 Stax: Adapt for API LEVEL 14 (#499) 2023-11-21 16:59:31 +01:00
apaillier-ledger
5d913f3a15 Merge pull request #449 from LedgerHQ/tdj/eth_plugin_sdk_update
Update plugins SDK framework
2023-10-19 11:26:32 +02:00
Alexandre Paillier
31f0d7f034 App now has all the network icons and can use them when needed 2023-10-18 16:45:58 +02:00
Alexandre Paillier
49da32af8e Added missing return value checks following recent changes 2023-10-10 16:42:24 +02:00
Alexandre Paillier
b05b16143d Now shows the network name in the Stax public address UI flow 2023-09-07 14:35:55 +02:00
Jorge Martins
530cfdab73 use NB_MAX_LINES_IN_REVIEW 2023-07-27 10:45:05 +02:00
Jorge Martins
beea483d66 lint + fix or condition 2023-07-27 10:45:05 +02:00
Jorge Martins
e28dbbf817 ui_settings HAVE_EIP712_FULL_SUPPORT inconsistency 2023-07-27 10:45:05 +02:00
Jorge Martins
651dcc9503 fixed statement/lint 2023-07-27 10:45:04 +02:00
Jorge Martins
2c2d933043 No need to set nbMaxLinesForValue to 0, use NB_MAX_LINES_IN_REVIEW 2023-07-27 10:45:04 +02:00
Jorge Martins
493046e555 Showing Token Account not Token Amount 2023-07-27 10:45:03 +02:00
Jorge Martins
569f6c27ca remove code duplication 2023-07-27 10:45:03 +02:00
Jorge Martins
aae40ecada add missing return 2023-07-27 10:45:03 +02:00
Jorge Martins
77569f76ce fix stax transfer ui 2023-07-27 10:45:03 +02:00
Alexandre Paillier
cace9d6421 Fix Stax EIP712 context cleaning 2023-07-18 17:00:36 +02:00
Alexandre Paillier
f3075b7124 Moved message signing rejection cancellation from nbgl_useCaseChoice to nbgl_useCaseConfirm 2023-07-18 11:39:57 +02:00
Alexandre Paillier
04c9e890e5 Renamed the stax shared buffer 2023-07-18 11:35:36 +02:00
Alexandre Paillier
7c83c15f9f Now properly uses the settings use case 2023-07-18 11:35:36 +02:00
Alexandre Paillier
b458aa49cb Fix NBGL EIP-191 occasional double-refresh on the sign page 2023-07-18 11:35:28 +02:00
Alexandre Paillier
82b40a6347 Now conditionally show the plugin's icon depending if the TX is related to it 2023-07-18 11:35:28 +02:00
Alexandre Paillier
9186911abb Changed the info/settings page ordering 2023-07-18 11:35:27 +02:00
Alexandre Paillier
779fc4b61d Now uses macros for NBGL contstant texts 2023-07-18 11:35:27 +02:00
Alexandre Paillier
9396ae81d7 EIP-712 now has proper resume position 2023-07-18 11:35:27 +02:00
Alexandre Paillier
61015e3840 NBGL message signing refactoring 2023-07-18 11:35:26 +02:00
Alexandre Paillier
09d4b2114a Improve transaction wording 2023-07-18 11:35:26 +02:00
Alexandre Paillier
34ea137c1a network.c functions cleanup 2023-07-06 14:45:29 +02:00
Alexandre Paillier
1413547d3e Removed large global buffer from NBGL transaction signing UI code 2023-05-16 11:42:39 +02:00
Alexandre Paillier
7c07008335 Dynamic year shown in settings 2023-05-16 11:42:39 +02:00
Alexandre Paillier
29a4375dfb Stax ENS support 2023-05-16 11:42:39 +02:00
abonnaudet-ledger
a5e1d2960d Fat: INTER_REGULAR_32 is now INTER_MEDIUM_32
Replace BAGL_FONT_INTER_REGULAR_32px by BAGL_FONT_INTER_MEDIUM_32px.
This change is valid starting from API_LEVEL_9
2023-05-16 11:42:32 +02:00
Alexandre Paillier
12fb8c6a3a Merged confirm_parameter & confirm_selector UI code 2023-05-16 11:42:32 +02:00
Alexandre Paillier
e0bb1225fe Unified nbgl layoutTagValue variable naming 2023-05-16 11:42:32 +02:00
Alexandre Paillier
cb7334ceed Fix settings word split 2023-05-16 11:42:31 +02:00
Alexandre Paillier
4cce06ca2c Fix compilation warnings 2023-05-16 11:42:31 +02:00
Alexandre Paillier
8881471a8e EIP-712 fixes
- Now displays a Review page before showing the fields
- Now asks for confirmation before rejecting
- Now does not refresh the screen twice after a signature approval/rejection
- Both EIP-712 implementations on par UX-wise
- Fixed v0 approve/reject status word mismatch
- Unified NBGL UI of both implementations
2023-05-16 11:42:30 +02:00
Alexandre Paillier
6326a4a9f2 EIP-191 fixes
Skip button did not work
2023-05-16 11:42:30 +02:00
Alexandre Paillier
8361e349b7 Now has a separate struct for caller app name & icon
- New home screen wording
- Removed duplicate RUN_APPLICATION macro
2023-05-16 11:42:30 +02:00