claimconditionaloptions

package
v0.1.3 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 ClaimConditionalFundsOption

type ClaimConditionalFundsOption func(options *ClaimConditionalFundsOptions) error

ClaimConditionalFundsOption is a function that provides options.

func AccessManaPledgeID

func AccessManaPledgeID(nodeID string) ClaimConditionalFundsOption

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

func ConsensusManaPledgeID

func ConsensusManaPledgeID(nodeID string) ClaimConditionalFundsOption

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

func WaitForConfirmation

func WaitForConfirmation(wait bool) ClaimConditionalFundsOption

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

type ClaimConditionalFundsOptions

type ClaimConditionalFundsOptions struct {
	AccessManaPledgeID    string
	ConsensusManaPledgeID string
	WaitForConfirmation   bool
}

ClaimConditionalFundsOptions is a struct that is used to aggregate the optional parameters in the claimConditionalFunds call.

func Build

func Build(options ...ClaimConditionalFundsOption) (result *ClaimConditionalFundsOptions, err error)

Build builds the options.

Jump to

Keyboard shortcuts

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