erc721

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: LGPL-3.0 Imports: 16 Imported by: 5 modules, 4 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 (
	Erc721Address  string
	Dst            string
	Token          string
	Metadata       string
	Recipient      string
	Bridge         string
	DestionationID string
	ResourceID     string
	Minter         string
	Priority       string
)

flag vars

View Source
var (
	Erc721Addr    common.Address
	DstAddress    common.Address
	TokenId       *big.Int
	RecipientAddr common.Address
	BridgeAddr    common.Address
	DestinationID int
	ResourceId    types.ResourceID
	MinterAddr    common.Address
)

processed flag vars

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

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

Functions

func AddMinterCmd

func AddMinterCmd(cmd *cobra.Command, args []string, erc721Contract *erc721.ERC721Contract) error

func ApproveCmd

func ApproveCmd(cmd *cobra.Command, args []string, erc721Contract *erc721.ERC721Contract) error

func BindAddMinterFlags

func BindAddMinterFlags(cmd *cobra.Command)

func BindApproveFlags

func BindApproveFlags(cmd *cobra.Command)

func BindDepositFlags

func BindDepositFlags(cmd *cobra.Command)

func BindMintFlags

func BindMintFlags(cmd *cobra.Command)

func BindOwnerFlags

func BindOwnerFlags(cmd *cobra.Command)

func DepositCmd

func DepositCmd(cmd *cobra.Command, args []string, bridgeContract *bridge.BridgeContract) error

func MintCmd

func MintCmd(cmd *cobra.Command, args []string, erc721Contract *erc721.ERC721Contract) error

func OwnerCmd

func OwnerCmd(cmd *cobra.Command, args []string, erc721Contract *erc721.ERC721Contract) error

func ProcessAddMinterFlags

func ProcessAddMinterFlags(cmd *cobra.Command, args []string) error

func ProcessApproveFlags

func ProcessApproveFlags(cmd *cobra.Command, args []string) error

func ProcessDepositFlags

func ProcessDepositFlags(cmd *cobra.Command, args []string) error

func ProcessMintFlags

func ProcessMintFlags(cmd *cobra.Command, args []string) error

func ProcessOwnerFlags

func ProcessOwnerFlags(cmd *cobra.Command, args []string) error

func ValidateAddMinterFlags

func ValidateAddMinterFlags(cmd *cobra.Command, args []string) error

func ValidateApproveFlags

func ValidateApproveFlags(cmd *cobra.Command, args []string) error

func ValidateDepositFlags

func ValidateDepositFlags(cmd *cobra.Command, args []string) error

func ValidateMintFlags

func ValidateMintFlags(cmd *cobra.Command, args []string) error

func ValidateOwnerFlags

func ValidateOwnerFlags(cmd *cobra.Command, args []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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