consolidateoptions

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0, BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsolidateFundsOption

type ConsolidateFundsOption func(options *ConsolidateFundsOptions) error

ConsolidateFundsOption is a function that provides options.

func AccessManaPledgeID

func AccessManaPledgeID(nodeID string) ConsolidateFundsOption

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

func ConsensusManaPledgeID

func ConsensusManaPledgeID(nodeID string) ConsolidateFundsOption

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

func WaitForConfirmation

func WaitForConfirmation(wait bool) ConsolidateFundsOption

WaitForConfirmation is an optional parameter to define if the consolidateFunds command should wait for confirmation before it returns.

type ConsolidateFundsOptions

type ConsolidateFundsOptions struct {
	AccessManaPledgeID    string
	ConsensusManaPledgeID string
	WaitForConfirmation   bool
}

ConsolidateFundsOptions is a struct that is used to aggregate the optional parameters in the consolidateFunds call.

func Build

func Build(options ...ConsolidateFundsOption) (result *ConsolidateFundsOptions, err error)

Build build the options.

Jump to

Keyboard shortcuts

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