Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtherscanPriceFeed ¶
type EtherscanPriceFeed struct {
// contains filtered or unexported fields
}
EtherscanPriceFeed implements PriceFeed for Ethereum mainnet
func NewEtherscanPriceFeed ¶
func NewEtherscanPriceFeed(apiKey string) *EtherscanPriceFeed
NewEtherscanPriceFeed creates a new Etherscan price feed
func (*EtherscanPriceFeed) GetGasPrice ¶
GetGasPrice gets the current gas price from Etherscan
func (*EtherscanPriceFeed) GetNetworkCongestion ¶
func (pf *EtherscanPriceFeed) GetNetworkCongestion(ctx context.Context) (float64, error)
GetNetworkCongestion gets the current network congestion level
type GasAbstraction ¶
type GasAbstraction struct {
// contains filtered or unexported fields
}
GasAbstraction handles cross-chain gas payments using FLUMX tokens
func NewGasAbstraction ¶
func NewGasAbstraction() *GasAbstraction
NewGasAbstraction creates a new gas abstraction handler
func (*GasAbstraction) PayGasWithFLUMX ¶
PayGasWithFLUMX handles gas payment using FLUMX tokens
Click to show internal directories.
Click to hide internal directories.