Documentation ¶
Index ¶
- type WithdrawFundsFromNFTOption
- func AccessManaPledgeID(nodeID string) WithdrawFundsFromNFTOption
- func Alias(aliasID string) WithdrawFundsFromNFTOption
- func Amount(amount map[devnetvm.Color]uint64) WithdrawFundsFromNFTOption
- func ConsensusManaPledgeID(nodeID string) WithdrawFundsFromNFTOption
- func ToAddress(address string) WithdrawFundsFromNFTOption
- func WaitForConfirmation(wait bool) WithdrawFundsFromNFTOption
- type WithdrawFundsFromNFTOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WithdrawFundsFromNFTOption ¶
type WithdrawFundsFromNFTOption func(options *WithdrawFundsFromNFTOptions) error
WithdrawFundsFromNFTOption is a function that provides an option.
func AccessManaPledgeID ¶
func AccessManaPledgeID(nodeID string) WithdrawFundsFromNFTOption
AccessManaPledgeID is an option for SendFunds call that defines the nodeID to pledge access mana to.
func Alias ¶
func Alias(aliasID string) WithdrawFundsFromNFTOption
Alias specifies which alias to transfer.
func Amount ¶
func Amount(amount map[devnetvm.Color]uint64) WithdrawFundsFromNFTOption
Amount sets how much funds should be withdrew.
func ConsensusManaPledgeID ¶
func ConsensusManaPledgeID(nodeID string) WithdrawFundsFromNFTOption
ConsensusManaPledgeID is an option for SendFunds call that defines the nodeID to pledge consensus mana to.
func ToAddress ¶
func ToAddress(address string) WithdrawFundsFromNFTOption
ToAddress specifies the new governor of the alias.
func WaitForConfirmation ¶
func WaitForConfirmation(wait bool) WithdrawFundsFromNFTOption
WaitForConfirmation defines if the call should wait for confirmation before it returns.
type WithdrawFundsFromNFTOptions ¶
type WithdrawFundsFromNFTOptions struct { Amount map[devnetvm.Color]uint64 Alias *devnetvm.AliasAddress ToAddress devnetvm.Address AccessManaPledgeID string ConsensusManaPledgeID string WaitForConfirmation bool }
WithdrawFundsFromNFTOptions is a struct that is used to aggregate the optional parameters in the CreateNFT call.
func Build ¶
func Build(options ...WithdrawFundsFromNFTOption) (result *WithdrawFundsFromNFTOptions, err error)
Build builds the options.