types

package
v0.0.0-...-d662bb3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallDescription

type CallDescription struct {
	TargetWithMandatory *big.Int
	GasLimit            *big.Int
	Value               *big.Int
	Data                []byte
}

type Config

type Config struct {
	EthWebSocketUrl string `envconfig:"ETH_WEB_SOCKET_URL"`
	GcpProject      string `envconfig:"GCP_PROJECT"`
	GcpRegion       string `envconfig:"GCP_REGION"`
	BqDataSet       string `envconfig:"BQ_DATA_SET"`
	PubSubTopic     string `envconfig:"PUB_SUB_TOPIC"`
	FilePath        string `envconfig:"FILE_PATH"`
}

func (*Config) Load

func (c *Config) Load()

type SwapDescription

type SwapDescription struct {
	SrcToken         common.Address
	DstToken         common.Address
	SrcReceiver      common.Address
	DstReceiver      common.Address
	Amount           *big.Int
	MinReturnAmount  *big.Int
	GuaranteedAmount *big.Int
	Flags            *big.Int
	Referrer         common.Address
	Permit           []byte
}

type SwapFunction

type SwapFunction struct {
	Caller common.Address
	Desc   SwapDescription
	Calls  []CallDescription
}

Jump to

Keyboard shortcuts

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