Commit Graph

130 Commits

Author SHA1 Message Date
Alexandre Paillier
c2011f5d42 Renamed Item to Asset & changed the set marker type to boolean
Also renamed the reset assets function
2024-05-07 17:58:17 +02:00
Alexandre Paillier
c2e0f7ca6a Now uses the new asset util functions
Now the first asset is properly stored at index 0 instead of 1
2024-05-07 17:44:52 +02:00
Francois Beutin
27f9ad52a8 Remove token management from main 2024-05-07 11:36:50 +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
85a0ebb088 Fix lib_standard_app include path 2024-04-15 13:55:47 +02:00
Charles-Edouard de la Vergne
43306544ac Remove old WALLET_ID support 2024-03-28 15:26:49 +01: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
3bcf12ce1d Rename utils to common_utils 2024-02-02 11:23:30 +01:00
Francois Beutin
1723386985 Split clone main and ethereum main, add comments and remove unnecessary lines 2023-12-04 14:41:46 +01:00
Francois Beutin
f64addc0d2 Remove THROW from lib mode handlers and remove associated TRY CATCH context 2023-12-04 14:40:52 +01:00
Francois Beutin
60d1d97667 Return to Exchange when failing to sign in swap mode 2023-12-01 19:50:07 +01:00
Alexandre Paillier
015842d4e5 Simplified adding new clones
Removed dead code from the app (was safeguarded by #ifdefs of macros
that weren't defined)
2023-10-04 18:06:52 +02:00
Alexandre Paillier
b1b2d5ecbb Removed kUSD & Tobalaba 2023-10-04 18:06:50 +02:00
Jorge Martins
7e2cef182b UX_INIT() works for bagl an nbgl 2023-07-27 10:45:04 +02:00
Francois Beutin
02cdc23751 Rename called_from_swap to G_called_from_swap 2023-06-30 14:05:46 +02:00
Alexandre Paillier
52e6c29aae BLE handling for all BLE-enabled devices 2023-05-16 18:58:50 +02:00
Alexandre Paillier
5f7cc79f16 Limit caller_type struct handling for only Stax 2023-05-16 18:58:42 +02:00
Alexandre Paillier
4cce06ca2c Fix compilation warnings 2023-05-16 11:42:31 +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
Clement Bouvet
0414a043c8 rework plugin start so name and icon can be passed to eth 2023-05-16 11:42:30 +02:00
Clement Bouvet
be029c642d stax: add UI implementation 2023-05-16 11:42:29 +02:00
Francois Beutin
5c7614b2d9 Reset BSS section at the start of the app in swap mode for signature 2023-04-28 16:57:20 +02:00
Alexandre Paillier
ceacee00a7 Provide domain name APDU implementation 2023-03-29 18:09:42 +02:00
Alexandre Paillier
f17104312b Challenge implementation 2023-03-29 15:16:23 +02:00
tjulien-ledger
45c049fd04 Oasys (#413)
* correcting ticker

* modifying conf file

* updating main.c

* updating chainConfig.h

* Removed last bits of EWC

* correcting arbitrum

* adding oasys conf file

* adding oasys icons

* remaining changes for oasys

* removing trailing space

---------

Co-authored-by: Alexandre Paillier <alexandre.paillier@ledger.fr>
2023-03-10 18:41:35 +01:00
Alexandre Paillier
27392c20de Better context checks when processing EIP-191 APDUs 2023-02-09 11:44:21 +01:00
tjulien-ledger
160fed7348 renaming EWC to EWT (#397)
* correcting ticker

* modifying conf file

* updating main.c

* updating chainConfig.h

* Removed last bits of EWC

---------

Co-authored-by: Alexandre Paillier <alexandre.paillier@ledger.fr>
2023-02-03 15:54:07 +01:00
Alexandre Paillier
74f880dce9 Removes useless space at the end of tickers 2023-01-10 14:12:39 +01:00
Alexandre Paillier
529a67b9dd Fix uninitialized verbose EIP712 setting 2022-11-18 17:57:01 +01:00
tjulien-ledger
795140015d adding id4good 2022-11-16 18:59:52 +01:00
Alexandre Paillier
c803322f3c Review fixes 2022-10-17 11:57:16 +02:00
Alexandre Paillier
2474bdb81a Merge remote-tracking branch 'origin/develop' into HEAD 2022-10-17 11:44:28 +02:00
Lucas PASCAL
3f294f9582 Minor fixes after review 2022-09-16 14:43:51 +02:00
Alexandre Paillier
493ce85c3b New implementation 2022-09-15 13:25:08 +02:00
Alexandre Paillier
ab67ae1cb3 Merge remote-tracking branch 'origin/develop' into HEAD 2022-09-14 17:27:25 +02:00
tjulien-ledger
a0d16023d5 Light integration (#334)
* adding XDC

* adding meter

* adding multivac

* adding id4good

* adding tecracoin

* minor typo

* adding apothem

* adding apothem 2

* apothem and tecratestnet on network.c

* fix nettwork.c

* 1st additions

* last additions

* adding fix from develop

* update apothem coin name

* removing id4good

* adding Cronos
2022-09-14 10:50:57 +02:00
Clement Bouvet
89eeaa7b7d eth: split ux from rest of source 2022-08-24 10:35:16 +02:00
Alexandre Paillier
de9e895ad9 EIP-712 code linting 2022-08-05 18:15:59 +02:00
Alexandre Paillier
7dad477413 Moved EIP 712 commands handling into their own file & renamed some things 2022-08-05 18:15:50 +02:00
Alexandre Paillier
12b97d91db Added a global apdu response code variable 2022-08-05 18:15:48 +02:00
Alexandre Paillier
a24f621ce3 EIP712 filtering, added new APDUs 2022-08-05 18:15:41 +02:00
Alexandre Paillier
2fa6379470 Now only compiles full EIP-712 support for capable devices 2022-08-05 17:52:47 +02:00
Alexandre Paillier
c0eaf8d106 Proper cleanup after EIP712 message 2022-08-05 17:52:46 +02:00
Alexandre Paillier
9cd39e2c02 Now uses some of the old EIP712 code as common code between the two implementations + approve/reject button now works 2022-08-05 17:52:45 +02:00
Alexandre Paillier
9f29a7caa2 UI handling WIP 2022-08-05 17:52:44 +02:00
Alexandre Paillier
3095d54394 Now initializes the eip712 context 2022-08-05 17:52:42 +02:00
Alexandre Paillier
9f8b2da74c WIP integration in app 2022-08-05 17:52:41 +02:00
Alexandre Paillier
b25eaa1b48 Renamed the existing EIP712 implementation folder 2022-08-05 17:52:22 +02:00