Versions in this module Expand all Collapse all v1 v1.11.11 Aug 6, 2024 Changes in this version + func MatchOwners(owners *secp256k1fx.OutputOwners, addrs set.Set[ids.ShortID], ...) ([]uint32, bool) + type ChainUTXOs interface + AddUTXO func(ctx context.Context, destinationChainID ids.ID, utxo *avax.UTXO) error + GetUTXO func(ctx context.Context, sourceChainID, utxoID ids.ID) (*avax.UTXO, error) + RemoveUTXO func(ctx context.Context, sourceChainID, utxoID ids.ID) error + UTXOs func(ctx context.Context, sourceChainID ids.ID) ([]*avax.UTXO, error) + func NewChainUTXOs(chainID ids.ID, utxos UTXOs) ChainUTXOs + type Option func(*Options) + func UnionOptions(first, second []Option) []Option + func WithAssumeDecided() Option + func WithBaseFee(baseFee *big.Int) Option + func WithChangeOwner(changeOwner *secp256k1fx.OutputOwners) Option + func WithContext(ctx context.Context) Option + func WithCustomAddresses(addrs set.Set[ids.ShortID]) Option + func WithCustomEthAddresses(addrs set.Set[ethcommon.Address]) Option + func WithMemo(memo []byte) Option + func WithMinIssuanceTime(minIssuanceTime uint64) Option + func WithPollFrequency(pollFrequency time.Duration) Option + func WithPostIssuanceFunc(f PostIssuanceFunc) Option + func WithStakeableLocked() Option + type Options struct + func NewOptions(ops []Option) *Options + func (o *Options) Addresses(defaultAddresses set.Set[ids.ShortID]) set.Set[ids.ShortID] + func (o *Options) AllowStakeableLocked() bool + func (o *Options) AssumeDecided() bool + func (o *Options) BaseFee(defaultBaseFee *big.Int) *big.Int + func (o *Options) ChangeOwner(defaultOwner *secp256k1fx.OutputOwners) *secp256k1fx.OutputOwners + func (o *Options) Context() context.Context + func (o *Options) EthAddresses(defaultAddresses set.Set[ethcommon.Address]) set.Set[ethcommon.Address] + func (o *Options) Memo() []byte + func (o *Options) MinIssuanceTime() uint64 + func (o *Options) PollFrequency() time.Duration + func (o *Options) PostIssuanceFunc() PostIssuanceFunc + type PostIssuanceFunc func(ids.ID) + type UTXOs interface + AddUTXO func(ctx context.Context, sourceChainID, destinationChainID ids.ID, utxo *avax.UTXO) error + GetUTXO func(ctx context.Context, sourceChainID, destinationChainID, utxoID ids.ID) (*avax.UTXO, error) + RemoveUTXO func(ctx context.Context, sourceChainID, destinationChainID, utxoID ids.ID) error + UTXOs func(ctx context.Context, sourceChainID, destinationChainID ids.ID) ([]*avax.UTXO, error) + func NewUTXOs() UTXOs