Add ERC20 allowance (approve) support in internal ERC20 plugin

This commit is contained in:
TamtamHero
2020-09-24 17:02:57 +02:00
parent 193ff80cfc
commit 6a754b5189
3 changed files with 166 additions and 16 deletions

View File

@@ -11,6 +11,10 @@ typedef struct internalEthPlugin_t {
PluginCall impl;
} internalEthPlugin_t;
#define NUM_ERC20_SELECTORS 2
extern const uint8_t* const ERC20_SELECTORS[NUM_ERC20_SELECTORS];
#ifdef HAVE_STARKWARE
#define NUM_INTERNAL_PLUGINS 2