Documentation
¶
Index ¶
- Constants
- Variables
- func EtherToWei(val *uint256.Int) *uint256.Int
- func GetBuildVersion() string
- func ReadFileLinesTrimmed(fname string) ([]string, error)
- func ReadableAmount(amount *uint256.Int) string
- func RecoverPanic(logger *logrus.Entry, routineName string, restartFn func()) bool
- func WeiToEther(val *uint256.Int) *uint256.Int
- type ABICallDataBuilder
- type FlexibleJsonUInt64
- type TxFees
- func (txFees *TxFees) BlobBaseFeeGwei() (res big.Int)
- func (txFees *TxFees) BlobBaseFeeGweiString() string
- func (txFees *TxFees) BlobFeeGwei() (res big.Int)
- func (txFees *TxFees) BlobFeeGweiString() string
- func (txFees *TxFees) TotalFeeGwei() (res big.Int)
- func (txFees *TxFees) TotalFeeGweiString() string
- func (txFees *TxFees) TxBaseFeeGwei() (res big.Int)
- func (txFees *TxFees) TxBaseFeeGweiString() string
- func (txFees *TxFees) TxFeeGwei() (res big.Int)
- func (txFees *TxFees) TxFeeGweiString() string
Constants ¶
View Source
const (
// EIP-7825: Maximum gas limit per transaction (2^24)
MaxGasLimitPerTx = 16777216
)
Variables ¶
View Source
var BuildRelease string
View Source
var BuildTime string
View Source
var BuildVersion string
Functions ¶
func GetBuildVersion ¶
func GetBuildVersion() string
func ReadFileLinesTrimmed ¶
func ReadableAmount ¶ added in v1.1.4
func RecoverPanic ¶ added in v1.1.3
Types ¶
type ABICallDataBuilder ¶ added in v1.1.4
type ABICallDataBuilder struct {
// contains filtered or unexported fields
}
func NewABICallDataBuilder ¶ added in v1.1.4
func NewABICallDataBuilder(callABI, callFnName, callFnSig, callArgs string) (*ABICallDataBuilder, error)
func (*ABICallDataBuilder) BuildCallData ¶ added in v1.1.4
func (b *ABICallDataBuilder) BuildCallData(txIdx uint64) ([]byte, error)
type FlexibleJsonUInt64 ¶ added in v1.1.2
type FlexibleJsonUInt64 uint64
func (*FlexibleJsonUInt64) UnmarshalJSON ¶ added in v1.1.2
func (f *FlexibleJsonUInt64) UnmarshalJSON(b []byte) error
func (*FlexibleJsonUInt64) UnmarshalYAML ¶ added in v1.1.2
func (f *FlexibleJsonUInt64) UnmarshalYAML(unmarshal func(interface{}) error) error
type TxFees ¶ added in v1.1.5
type TxFees struct {
FeeAmount big.Int
BlobFeeAmount big.Int
TxBaseFee big.Int
BlobBaseFee big.Int
}
TxFees represents the fees associated with a transaction including the fee amount and blob fee amount.
func GetTransactionFees ¶ added in v1.1.5
func GetTransactionFees(tx *types.Transaction, receipt *types.Receipt) *TxFees
func (*TxFees) BlobBaseFeeGwei ¶ added in v1.1.5
func (*TxFees) BlobBaseFeeGweiString ¶ added in v1.1.6
func (*TxFees) BlobFeeGwei ¶ added in v1.1.5
func (*TxFees) BlobFeeGweiString ¶ added in v1.1.6
func (*TxFees) TotalFeeGwei ¶ added in v1.1.5
func (*TxFees) TotalFeeGweiString ¶ added in v1.1.6
func (*TxFees) TxBaseFeeGwei ¶ added in v1.1.5
func (*TxFees) TxBaseFeeGweiString ¶ added in v1.1.6
func (*TxFees) TxFeeGweiString ¶ added in v1.1.6
Click to show internal directories.
Click to hide internal directories.