/****************************************************************************** * * (C) 2022 AhnLab Blockchain Company, Inc. All rights reserved. * Any part of this source code can not be copied with any method without * prior written permission from the author or authorized person. * ******************************************************************************/ import { BigNumber } from 'ethers'; import { GasDataModel } from '../main/transactions/interface'; export declare function gweiDecToWEIBN(n: number | string): any; export declare const weiHexToGweiDec: (hex: string) => any; declare const GasUtil: { addGasBuffer: (initialGasLimitHex: string, blockGasLimitHex: string, chainId: number) => any; addBufferToBlockGasLimit: (blockGasLimitHex: string) => any; makeGasData: (maxFeePerGas?: string, maxPriorityFeePerGas?: string, gasPrice?: string) => GasDataModel; calculateDappGasFee: ({ bSupportsEIP1559, isMpcSigner, baseFeePerGas, gas, gasPrice, }: { bSupportsEIP1559: boolean; isMpcSigner: boolean; baseFeePerGas: string; gas: string; gasPrice: string; }) => BigNumber; gweiDecToWEIBN: typeof gweiDecToWEIBN; weiHexToGweiDec: (hex: string) => any; }; export default GasUtil;