We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 246a7e9 + e5c47f8 commit bb11634Copy full SHA for bb11634
2 files changed
src_features/signAuthorizationEIP7702/whitelist_7702.c
@@ -28,7 +28,12 @@ static const eip7702_whitelist_t EIP7702_WHITELIST[] = {
28
{.chain_id = 0,
29
.name = "Simple7702Account",
30
.address = {0x4C, 0xd2, 0x41, 0xE8, 0xd1, 0x51, 0x0e, 0x30, 0xb2, 0x07,
31
- 0x63, 0x97, 0xaf, 0xc7, 0x50, 0x8A, 0xe5, 0x9C, 0x66, 0xc9}}};
+ 0x63, 0x97, 0xaf, 0xc7, 0x50, 0x8A, 0xe5, 0x9C, 0x66, 0xc9}},
32
+ {.chain_id = 0,
33
+ .name = "MetaMask Delegation Manager",
34
+ .address = {0xdb, 0x9B, 0x1e, 0x94, 0xB5, 0xb6, 0x9D, 0xf7, 0xe4, 0x01,
35
+ 0xDD, 0xbe, 0xdE, 0x43, 0x49, 0x11, 0x41, 0x04, 0x7d, 0xB3}},
36
+};
37
38
const char *get_delegate_name(const uint64_t *chain_id, const uint8_t *address) {
39
for (size_t i = 0; i < ARRAYLEN(EIP7702_WHITELIST); i++) {
src_features/signAuthorizationEIP7702/whitelist_7702.h
@@ -6,7 +6,7 @@
6
#include <stdbool.h>
7
#include "common_utils.h"
8
9
-#define MAX_NAME_LEN 21 // 20 characters + '\0'
+#define MAX_NAME_LEN 31 // 30 characters + '\0'
10
11
typedef struct eip7702_whitelist_s {
12
const uint8_t address[ADDRESS_LENGTH];
0 commit comments