feeoraclev1

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: GPL-3.0 Imports: 16 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

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

func (cfg DeploymentConfig) Validate() error

Jump to

Keyboard shortcuts

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