Commit Graph

303 Commits

Author SHA1 Message Date
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
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-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
49da32af8e Added missing return value checks following recent changes 2023-10-10 16:42:24 +02:00
tdejoigny-ledger
eeb52344df ETH plugin SDK : Move some parts from plugin boilerplate to Eth plugin SDK to ease the plugins development, remove throw and fix the CI issues 2023-10-10 16:42:19 +02: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
Alexandre Paillier
e0ea3697f6 Renamed CAL_TEST_KEY to CAL_STAGING_KEY & CAL_CI_KEY to CAL_TEST_KEY 2023-09-07 16:08:03 +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
7e2cef182b UX_INIT() works for bagl an nbgl 2023-07-27 10:45:04 +02:00