Documentation
      ¶
    
    
  
    
  
    Index ¶
- func MatchOwners(owners *secp256k1fx.OutputOwners, addrs ids.ShortSet, minIssuanceTime uint64) ([]uint32, bool)
 - type Option
 - func UnionOptions(first, second []Option) []Option
 - func WithAssumeDecided() Option
 - func WithChangeOwner(changeOwner *secp256k1fx.OutputOwners) Option
 - func WithContext(ctx context.Context) Option
 - func WithCustomAddresses(addrs ids.ShortSet) Option
 - func WithMemo(memo []byte) Option
 - func WithMinIssuanceTime(minIssuanceTime uint64) Option
 - func WithPollFrequency(pollFrequency time.Duration) Option
 - func WithStakeableLocked() Option
 
- type Options
 - func (o *Options) Addresses(defaultAddresses ids.ShortSet) ids.ShortSet
 - func (o *Options) AllowStakeableLocked() bool
 - func (o *Options) AssumeDecided() bool
 - func (o *Options) ChangeOwner(defaultOwner *secp256k1fx.OutputOwners) *secp256k1fx.OutputOwners
 - func (o *Options) Context() context.Context
 - func (o *Options) Memo() []byte
 - func (o *Options) MinIssuanceTime() uint64
 - func (o *Options) PollFrequency() time.Duration
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchOwners ¶
func MatchOwners( owners *secp256k1fx.OutputOwners, addrs ids.ShortSet, minIssuanceTime uint64, ) ([]uint32, bool)
MatchOwners attempts to match a list of addresses up to the provided threshold.
Types ¶
type Option ¶
type Option func(*Options)
func UnionOptions ¶
func WithAssumeDecided ¶
func WithAssumeDecided() Option
func WithChangeOwner ¶
func WithChangeOwner(changeOwner *secp256k1fx.OutputOwners) Option
func WithContext ¶
func WithCustomAddresses ¶
func WithMinIssuanceTime ¶
func WithPollFrequency ¶
func WithStakeableLocked ¶
func WithStakeableLocked() Option
type Options ¶
type Options struct {
	// contains filtered or unexported fields
}
    func NewOptions ¶
func (*Options) AllowStakeableLocked ¶
func (*Options) AssumeDecided ¶
func (*Options) ChangeOwner ¶
func (o *Options) ChangeOwner(defaultOwner *secp256k1fx.OutputOwners) *secp256k1fx.OutputOwners
func (*Options) MinIssuanceTime ¶
func (*Options) PollFrequency ¶
 Click to show internal directories. 
   Click to hide internal directories.