Commit Graph
310 Commits
Author SHA1 Message Date
Alexandre Paillier 51ddfe537d New function to get asset index by address 2024-06-20 10:39:58 +02:00
Charles-Edouard de la Vergne 273dd95937 Add 'sender' field to review screens 2024-06-18 11:58:09 +02:00
Francois Beutin 5a756975c3 Remove deprecated ETH_PLUGIN_RESULT_OK_ALIAS from plugin API 2024-05-28 17:40:14 +02:00
Alexandre Paillier 693a88ef12 Increased MAX_ASSETS to 5 2024-05-22 13:41:54 +02:00
Charles-Edouard de la VergneandGitHub e434173bc3 Merge pull request #565 from LedgerHQ/cev/B2CA-1558_Port-Flex
B2CA-1558: Port Ethereum on Flex
2024-05-16 17:44:25 +02:00
Charles-Edouard de la Vergne c0d19fdf6d Update ethereum plugin-sdk 2024-05-13 14:33:10 +02:00
Francois Beutin 68c4f5e692 Bump plugin context size to 10x32 2024-05-07 18:21:19 +02:00
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
Alexandre Paillier 18a02dcacb Added some asset info util functions 2024-05-07 17:37:06 +02:00
Alexandre Paillier c8c4b6cccc Renamed get_asset_info to get_asset_info_by_addr 2024-05-07 17:37:04 +02:00
Charles-Edouard de la Vergne 200bf7f1a0 Port 'nbgl_useCaseSettings' to 'nbgl_useCaseHomeAndSettings' 2024-05-07 16:23:56 +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 bc0c29793a Added Holesky testnet 2024-02-14 16:14:48 +01:00
Alexandre Paillier 5390c29944 Fixed Sepolia testnet chain ID 2024-02-14 16:14:44 +01:00
Alexandre Paillier ea1709b0ea Completely remove old Starkware internal "plugin" 2024-02-14 09:37:11 +01:00
Alexandre Paillier 83d3b5b644 Fix swap fees ticker fallback 2024-02-13 14:41:36 +01:00
Alexandre Paillier 729214f239 get_displayable_ticker now returns a ??? ticker when it is unknown 2024-02-13 10:28:43 +01:00
Alexandre Paillier 62d8b327d6 Can now read a chain ID from the swap sub coin config 2024-02-12 17:57:11 +01:00
Alexandre Paillier c84794b257 get_displayable_ticker function now takes a given chain_config_t struct 2024-02-08 15:11:28 +01:00
Alexandre Paillier bb23e7b7a5 Fix broken build for chains with extra tokens (testnets) 2024-02-06 10:52:46 +01:00
Alexandre Paillier 91352af57c Improve error-handling of chain ID when parsing APDUs 2024-02-05 18:04:46 +01:00
Francois Beutin e0c2ad7057 Move all public keys to dedicated header 2024-02-02 11:23:32 +01:00
Francois Beutin 5bf5023e35 Merge nft and tokens into a single asset header 2024-02-02 11:23:31 +01:00
Francois Beutin e64a04da51 Remove unused big uint utilities from plugin sdk 2024-02-02 11:23:31 +01:00
Francois Beutin 3bcf12ce1d Rename utils to common_utils 2024-02-02 11:23:30 +01:00
Francois Beutin 39b02b82e5 Move functions and API needed by the plugins to the src_common directory 2024-02-02 11:23:30 +01:00
Francois Beutin 294f88195b Extract data for external plugins from internal plugin file 2024-02-02 11:23:29 +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 1155bd2df0 Move rlp utils to dedicated 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 82d776f771 Remove macro unneeded by plugins from nft file 2024-02-02 11:23:27 +01:00
Francois Beutin ca8700f47c Split tokens file 2024-02-02 11:23:26 +01:00
Francois Beutin 4d04d5113d Extract data needed by plugin from ethUstream.h 2024-02-02 11:23:26 +01:00
Francois Beutin 6430c8f463 Read RUN_APPLICATION from sdk 2024-02-02 11:23:25 +01:00
Francois Beutin 5e48f0cf5d Decommision src_common prior to reintroducing it for files common between eth and plugins 2024-02-02 11:23:24 +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 ad0b953fe8 Fix incorrect assumption on max possible chain ID size 2023-11-15 16:13:49 +01:00
Francois Beutin e45a0f7eb5 Fix lint issue 2023-11-09 14:50:25 +01:00
Francois Beutin 41ef631d63 Improve plugin interface file 2023-11-07 15:51:47 +01:00
Francois Beutin 66c5d5407a QOL changes to eth plugin interface 2023-11-07 15:51:39 +01:00
apaillier-ledgerandGitHub 5d913f3a15 Merge pull request #449 from LedgerHQ/tdj/eth_plugin_sdk_update
Update plugins SDK framework
2023-10-19 11:26:32 +02:00