import { BaseTransactionResult } from 'ultron-foundation-safe-core-sdk-types'
import { PromiEvent, TransactionReceipt } from 'web3-core/types'

export interface Web3TransactionOptions {
  from?: string
  gas?: number | string
  gasPrice?: number | string
  maxFeePerGas?: number | string
  maxPriorityFeePerGas?: number | string
  nonce?: number
}

export interface Web3TransactionResult extends BaseTransactionResult {
  promiEvent: PromiEvent<TransactionReceipt>
  options?: Web3TransactionOptions
}
