destroynftoptions

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0, BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DestroyNFTOption

type DestroyNFTOption func(options *DestroyNFTOptions) error

DestroyNFTOption is a function that provides options.

func AccessManaPledgeID

func AccessManaPledgeID(nodeID string) DestroyNFTOption

AccessManaPledgeID is an option for DestroyNFT call that defines the nodeID to pledge access mana to.

func Alias

func Alias(aliasID string) DestroyNFTOption

Alias specifies which alias to destroy.

func ConsensusManaPledgeID

func ConsensusManaPledgeID(nodeID string) DestroyNFTOption

ConsensusManaPledgeID is an option for DestroyNFT call that defines the nodeID to pledge consensus mana to.

func RemainderAddress

func RemainderAddress(address string) DestroyNFTOption

RemainderAddress specifies the address where the funds of the destroyed NFT will be sent (optional).

func WaitForConfirmation

func WaitForConfirmation(wait bool) DestroyNFTOption

WaitForConfirmation defines if the call should wait for confirmation before it returns.

type DestroyNFTOptions

type DestroyNFTOptions struct {
	AccessManaPledgeID    string
	ConsensusManaPledgeID string
	Alias                 *devnetvm.AliasAddress
	RemainderAddress      devnetvm.Address
	WaitForConfirmation   bool
}

DestroyNFTOptions is a struct that is used to aggregate the optional parameters in the DestroyNFT call.

func Build

func Build(options ...DestroyNFTOption) (result *DestroyNFTOptions, err error)

Build builds the options.

Jump to

Keyboard shortcuts

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