sweepnftownedoptions

package
v0.8.11 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 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 SweepNFTOwnedFundsOption

type SweepNFTOwnedFundsOption func(options *SweepNFTOwnedFundsOptions) error

SweepNFTOwnedFundsOption is a function that provides option.

func AccessManaPledgeID

func AccessManaPledgeID(nodeID string) SweepNFTOwnedFundsOption

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

func Alias

func Alias(aliasID string) SweepNFTOwnedFundsOption

Alias specifies which an aliasID that is checked for available funds.

func ConsensusManaPledgeID

func ConsensusManaPledgeID(nodeID string) SweepNFTOwnedFundsOption

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

func ToAddress

func ToAddress(address string) SweepNFTOwnedFundsOption

ToAddress specifies the optional receiving address.

func WaitForConfirmation

func WaitForConfirmation(wait bool) SweepNFTOwnedFundsOption

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

type SweepNFTOwnedFundsOptions

type SweepNFTOwnedFundsOptions struct {
	AccessManaPledgeID    string
	ConsensusManaPledgeID string
	Alias                 *ledgerstate.AliasAddress
	ToAddress             ledgerstate.Address
	WaitForConfirmation   bool
}

SweepNFTOwnedFundsOptions is a struct that is used to aggregate the optional parameters in the SweepNFTOwnedFunds call.

func Build

func Build(options ...SweepNFTOwnedFundsOption) (result *SweepNFTOwnedFundsOptions, err error)

Build build the options.

Jump to

Keyboard shortcuts

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