Rename utils to common_utils
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include "erc1155_plugin.h"
|
||||
#include "plugin_utils.h"
|
||||
#include "eth_plugin_internal.h"
|
||||
#include "utils.h"
|
||||
#include "common_utils.h"
|
||||
|
||||
static void handle_safe_transfer(ethPluginProvideParameter_t *msg, erc1155_context_t *context) {
|
||||
uint8_t new_value[INT256_LENGTH];
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "erc1155_plugin.h"
|
||||
#include "eth_plugin_internal.h"
|
||||
#include "eth_plugin_interface.h"
|
||||
#include "utils.h"
|
||||
#include "common_utils.h"
|
||||
|
||||
static void set_approval_for_all_ui(ethQueryContractUI_t *msg, erc1155_context_t *context) {
|
||||
switch (msg->screenIndex) {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "shared_context.h"
|
||||
#include "plugin_utils.h"
|
||||
#include "ethUstream.h"
|
||||
#include "utils.h"
|
||||
#include "common_utils.h"
|
||||
|
||||
typedef enum { ERC20_TRANSFER = 0, ERC20_APPROVE } erc20Selector_t;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "erc721_plugin.h"
|
||||
#include "eth_plugin_internal.h"
|
||||
#include "eth_plugin_interface.h"
|
||||
#include "utils.h"
|
||||
#include "common_utils.h"
|
||||
|
||||
static void set_approval_ui(ethQueryContractUI_t *msg, erc721_context_t *context) {
|
||||
switch (msg->screenIndex) {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "eth_plugin_internal.h"
|
||||
#include "eth_plugin_handler.h"
|
||||
#include "shared_context.h"
|
||||
#include "utils.h"
|
||||
#include "common_utils.h"
|
||||
|
||||
void getEth2PublicKey(uint32_t *bip32Path, uint8_t bip32PathLength, uint8_t *out);
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "eth_plugin_internal.h" // TODO : rewrite as independant code
|
||||
#include "stark_utils.h"
|
||||
#include "plugin_utils.h"
|
||||
#include "utils.h"
|
||||
#include "common_utils.h"
|
||||
#include "apdu_constants.h"
|
||||
|
||||
#ifdef HAVE_STARKWARE
|
||||
|
||||
Reference in New Issue
Block a user