util

package
v1.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package util contains utility functions for the RFQ service.

Index

Constants

This section is empty.

Variables

View Source
var EthAddress = common.HexToAddress("0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE")

EthAddress is the address of a chain's native gas token.

Functions

func IsGasToken

func IsGasToken(token common.Address) bool

IsGasToken returns true if the given token is the gas token.

func QuoteRequestToAttributes added in v1.24.0

func QuoteRequestToAttributes(request reldb.QuoteRequest) []attribute.KeyValue

QuoteRequestToAttributes converts a quote request to attributes.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL