2022-05-02 15:28:50 +02:00
|
|
|
#ifndef EIP712_CTX_H_
|
|
|
|
|
#define EIP712_CTX_H_
|
|
|
|
|
|
2022-05-16 10:59:20 +02:00
|
|
|
#ifdef HAVE_EIP712_FULL_SUPPORT
|
2022-05-02 15:28:50 +02:00
|
|
|
|
2022-05-16 10:59:20 +02:00
|
|
|
#include <stdbool.h>
|
2022-05-02 15:28:50 +02:00
|
|
|
|
|
|
|
|
extern uint8_t *typenames_array;
|
|
|
|
|
extern uint8_t *structs_array;
|
|
|
|
|
extern uint8_t *current_struct_fields_array;
|
|
|
|
|
|
2022-05-12 17:30:26 +02:00
|
|
|
bool eip712_context_init(void);
|
|
|
|
|
void eip712_context_deinit(void);
|
|
|
|
|
|
|
|
|
|
extern bool eip712_context_initialized;
|
2022-05-02 15:28:50 +02:00
|
|
|
|
2022-05-16 10:59:20 +02:00
|
|
|
#endif // HAVE_EIP712_FULL_SUPPORT
|
|
|
|
|
|
2022-05-02 15:28:50 +02:00
|
|
|
#endif // EIP712_CTX_H_
|