ClankerSniperUtilV2
Source:Verified
Read Functions / getTxGasPriceForBidAmount
Overview

The getTxGasPriceForBidAmount function in the ClankerSniperUtilV2 contract calculates the required transaction gas price for a specified bid amount in an auction. It ensures that the bid amount is valid and computes the gas price based on the auction's gas peg and the payment per gas unit.

Inputs
  • auctionGasPeg (uint256): The base gas price set for the auction.
  • desiredBidAmount (uint256): The target bid amount for which the gas price is being calculated.
Outputs
  • txGasPrice (uint256): The calculated transaction gas price needed for the specified bid amount.
Emits Zero Events
Functions will often emit events during execution, often signifying key changes in state. There are no events emited by this function
Recent Transactions Calling This Function
This returns the latest 20 times that this function was called directly by a wallet or internally by another contract.
Looking for transactions where this function was called...