feeoraclev1

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deploy

func Deploy(ctx context.Context, network netconf.ID, chainID uint64, destChainIDs []uint64, backends ethbackend.Backends) (common.Address, *ethtypes.Receipt, error)

Types

type DeploymentConfig added in v0.1.4

type DeploymentConfig struct {
	Owner        common.Address
	Manager      common.Address // manager is the address that can set fee parameters (gas price, conversion rates)
	Deployer     common.Address
	ProxyAdmin   common.Address
	BaseGasLimit uint64
	ProtocolFee  *big.Int
}

func (DeploymentConfig) Validate added in v0.1.4

func (cfg DeploymentConfig) Validate() error

Jump to

Keyboard shortcuts

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