erc20

package
v0.0.0-...-8d384ed Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: LGPL-3.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Amount         string
	Decimals       uint64
	DstAddress     string
	Erc20Address   string
	Recipient      string
	Bridge         string
	DomainID       uint8
	ResourceID     string
	AccountAddress string
	OwnerAddress   string
	SpenderAddress string
	Minter         string
)

flag vars

View Source
var (
	RecipientAddress   common.Address
	RealAmount         *big.Int
	Erc20Addr          common.Address
	MinterAddr         common.Address
	BridgeAddr         common.Address
	ResourceIdBytesArr types.ResourceID
)

processed flag vars

View Source
var ERC20CeloCmd = &cobra.Command{
	Use:   "erc20",
	Short: "Set of commands for interacting with an ERC20 contract",
	Long:  "Set of commands for interacting with an ERC20 contract",
	PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
		var err error

		url, _, gasPrice, senderKeyPair, prepare, err = flags.GlobalFlagValues(cmd)
		if err != nil {
			return fmt.Errorf("could not get global flags: %v", err)
		}
		return nil
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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