diff --git a/bun.lockb b/bun.lockb index ae60204..7344089 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/src/core/constants.ts b/src/core/constants.ts index cbdaf16..34a30e7 100644 --- a/src/core/constants.ts +++ b/src/core/constants.ts @@ -45,6 +45,7 @@ export const DEFAULT_MIN_SFUEL_WEI = 21000000000000n export const DEFAULT_ERC20_DECIMALS = '18' export const DEFAULT_ERROR_MSG = 'Ooops... Something went wrong...' export const TRANSFER_ERROR_MSG = 'Error during the transfer' +export const TRANSACTION_ERROR_MSG = 'Transaction sending failed' export const DEFAULT_MP_MARGIN = '20pt' export const DEFAULT_MP_Z_INDEX = 99000 diff --git a/src/core/transactions.ts b/src/core/transactions.ts index 72b27e8..c815f0c 100644 --- a/src/core/transactions.ts +++ b/src/core/transactions.ts @@ -22,7 +22,7 @@ */ import { type TransactionResponse } from 'ethers'; -import { TRANSFER_ERROR_MSG } from './constants' +import { TRANSACTION_ERROR_MSG } from './constants' import { TxResponse } from './interfaces' @@ -38,8 +38,10 @@ export async function sendTransaction(func: any, args: any[]): Promise