delegateoptions

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DelegateFundsOptions

type DelegateFundsOptions struct {
	Destinations          map[address.Address]map[devnetvm.Color]uint64
	DelegateUntil         time.Time
	RemainderAddress      address.Address
	AccessManaPledgeID    string
	ConsensusManaPledgeID string
	WaitForConfirmation   bool
}

DelegateFundsOptions is a struct that is used to aggregate the optional parameters provided in the DelegateFunds call.

func (*DelegateFundsOptions) RequiredFunds

func (s *DelegateFundsOptions) RequiredFunds() map[devnetvm.Color]uint64

RequiredFunds derives how much funds are needed based on the Destinations to fund the transfer.

Jump to

Keyboard shortcuts

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