-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #595 from LedgerHQ/feat/apa/permit_amount_filtering
Permit (ERC-2612) amount-join filtering
- Loading branch information
Showing
80 changed files
with
179 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
#ifndef MANAGE_ASSET_INFO_H_ | ||
#define MANAGE_ASSET_INFO_H_ | ||
|
||
#include "shared_context.h" | ||
#include "common_utils.h" | ||
#include "asset_info.h" | ||
|
||
void forget_known_assets(void); | ||
int get_asset_index_by_addr(const uint8_t *addr); | ||
extraInfo_t *get_asset_info_by_addr(const uint8_t *contractAddress); | ||
extraInfo_t *get_current_asset_info(void); | ||
void validate_current_asset_info(void); | ||
|
||
#endif // MANAGE_ASSET_INFO_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
Binary file added
BIN
+6.58 KB
tests/ragger/snapshots/flex/test_eip712_advanced_filtering_permit/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.84 KB
tests/ragger/snapshots/flex/test_eip712_advanced_filtering_permit/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.33 KB
tests/ragger/snapshots/flex/test_eip712_advanced_filtering_permit/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file removed
BIN
-7.14 KB
tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00001.png
Binary file not shown.
Binary file removed
BIN
-6.48 KB
tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00002.png
Binary file not shown.
Binary file removed
BIN
-4.79 KB
tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00003.png
Binary file not shown.
Binary file removed
BIN
-4.69 KB
tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00004.png
Binary file not shown.
Binary file removed
BIN
-8.71 KB
tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00005.png
Binary file not shown.
Binary file removed
BIN
-6.53 KB
tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00006.png
Binary file not shown.
Binary file removed
BIN
-12.2 KB
tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00007.png
Binary file not shown.
Binary file removed
BIN
-5.32 KB
tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00008.png
Binary file not shown.
Binary file removed
BIN
-12 KB
tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00009.png
Binary file not shown.
Binary file removed
BIN
-6.63 KB
tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00010.png
Binary file not shown.
Binary file removed
BIN
-12.4 KB
tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00011.png
Binary file not shown.
Binary file removed
BIN
-6.43 KB
tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00012.png
Binary file not shown.
File renamed without changes
Binary file added
BIN
+431 Bytes
tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_permit/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+370 Bytes
tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_permit/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+539 Bytes
tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_permit/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file removed
BIN
-463 Bytes
tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00001.png
Binary file not shown.
Binary file removed
BIN
-396 Bytes
tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00002.png
Diff not rendered.
Binary file removed
BIN
-298 Bytes
tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00003.png
Diff not rendered.
Binary file removed
BIN
-285 Bytes
tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00004.png
Diff not rendered.
Binary file removed
BIN
-655 Bytes
tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00005.png
Diff not rendered.
Binary file removed
BIN
-433 Bytes
tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00006.png
Diff not rendered.
Binary file removed
BIN
-736 Bytes
tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00007.png
Diff not rendered.
Binary file removed
BIN
-339 Bytes
tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00008.png
Diff not rendered.
Binary file removed
BIN
-819 Bytes
tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00009.png
Diff not rendered.
Binary file removed
BIN
-420 Bytes
tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00010.png
Diff not rendered.
Binary file removed
BIN
-806 Bytes
tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00011.png
Diff not rendered.
Binary file removed
BIN
-427 Bytes
tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00012.png
Diff not rendered.
File renamed without changes
Binary file added
BIN
+431 Bytes
tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_permit/00001.png
Oops, something went wrong.
Binary file added
BIN
+370 Bytes
tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_permit/00002.png
Oops, something went wrong.
Binary file added
BIN
+539 Bytes
tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_permit/00003.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
Binary file removed
BIN
-463 Bytes
tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00001.png
Diff not rendered.
Binary file removed
BIN
-396 Bytes
tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00002.png
Diff not rendered.
Binary file removed
BIN
-298 Bytes
tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00003.png
Diff not rendered.
Binary file removed
BIN
-285 Bytes
tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00004.png
Diff not rendered.
Binary file removed
BIN
-655 Bytes
tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00005.png
Diff not rendered.
Binary file removed
BIN
-433 Bytes
tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00006.png
Diff not rendered.
Binary file removed
BIN
-736 Bytes
tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00007.png
Diff not rendered.
Binary file removed
BIN
-339 Bytes
tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00008.png
Diff not rendered.
Binary file removed
BIN
-819 Bytes
tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00009.png
Diff not rendered.
Binary file removed
BIN
-420 Bytes
tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00010.png
Diff not rendered.
Binary file removed
BIN
-806 Bytes
tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00011.png
Diff not rendered.
Binary file removed
BIN
-427 Bytes
tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00012.png
Diff not rendered.
File renamed without changes
Binary file added
BIN
+7.89 KB
tests/ragger/snapshots/stax/test_eip712_advanced_filtering_permit/00001.png
Oops, something went wrong.
Binary file added
BIN
+7.2 KB
tests/ragger/snapshots/stax/test_eip712_advanced_filtering_permit/00002.png
Oops, something went wrong.
Binary file added
BIN
+9.28 KB
tests/ragger/snapshots/stax/test_eip712_advanced_filtering_permit/00003.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
Binary file removed
BIN
-8.27 KB
tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00001.png
Diff not rendered.
Binary file removed
BIN
-7.78 KB
tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00002.png
Diff not rendered.
Binary file removed
BIN
-6.23 KB
tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00003.png
Diff not rendered.
Binary file removed
BIN
-6.14 KB
tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00004.png
Diff not rendered.
Binary file removed
BIN
-9.8 KB
tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00005.png
Diff not rendered.
Binary file removed
BIN
-7.76 KB
tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00006.png
Diff not rendered.
Binary file removed
BIN
-12.6 KB
tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00007.png
Diff not rendered.
Binary file removed
BIN
-6.71 KB
tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00008.png
Diff not rendered.
Binary file removed
BIN
-13.1 KB
tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00009.png
Diff not rendered.
Binary file removed
BIN
-7.82 KB
tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00010.png
Diff not rendered.
Binary file removed
BIN
-13 KB
tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00011.png
Diff not rendered.
Binary file removed
BIN
-7.67 KB
tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00012.png
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters