Add Compound support as an internal plugin

This commit is contained in:
TamtamHero
2020-10-05 18:22:42 +02:00
parent 6a754b5189
commit 4f2cef2e20
7 changed files with 254 additions and 10 deletions

View File

@@ -12,20 +12,22 @@ typedef struct internalEthPlugin_t {
} internalEthPlugin_t;
#define NUM_ERC20_SELECTORS 2
extern const uint8_t* const ERC20_SELECTORS[NUM_ERC20_SELECTORS];
#define NUM_COMPOUND_SELECTORS 4
extern const uint8_t* const COMPOUND_SELECTORS[NUM_COMPOUND_SELECTORS];
#ifdef HAVE_STARKWARE
#define NUM_INTERNAL_PLUGINS 2
#define NUM_INTERNAL_PLUGINS 3
#define NUM_STARKWARE_SELECTORS 10
extern const uint8_t* const STARKWARE_SELECTORS[NUM_STARKWARE_SELECTORS];
#else
#define NUM_INTERNAL_PLUGINS 1
#define NUM_INTERNAL_PLUGINS 2
#endif