generate

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CrossOut

func CrossOut(assetID ids.ID, amount uint64, outputOwners secp256k1fx.OutputOwners, recipient ids.ShortID) *avax.TransferableOutput

func In

func In(assetID ids.ID, amount uint64, depositTxID, bondTxID ids.ID, sigIndices []uint32) *avax.TransferableInput

func InFromUTXO

func InFromUTXO(t *testing.T, utxo *avax.UTXO, sigIndices []uint32, initID bool) *avax.TransferableInput

func InWithTxID

func InWithTxID(txID, assetID ids.ID, amount uint64, depositTxID, bondTxID ids.ID, sigIndices []uint32) *avax.TransferableInput

func InsFromUTXOs

func InsFromUTXOs(t *testing.T, utxos []*avax.UTXO) []*avax.TransferableInput

func InsFromUTXOsWithSigIndices

func InsFromUTXOsWithSigIndices(t *testing.T, utxos []*avax.UTXO, sigIndices []uint32) []*avax.TransferableInput

func MsigAliasAndKeys

func MsigAliasAndKeys(
	keys []*secp256k1.PrivateKey,
	threshold uint32,
	sorted bool,
) (
	_ []*secp256k1.PrivateKey,
	alias *multisig.AliasWithNonce,
	aliasOwner *secp256k1fx.OutputOwners,
	aliasDefinition *secp256k1fx.OutputOwners,
)

func Out

func Out(assetID ids.ID, amount uint64, outputOwners secp256k1fx.OutputOwners, depositTxID, bondTxID ids.ID) *avax.TransferableOutput

func OutFromUTXO

func OutFromUTXO(t *testing.T, utxo *avax.UTXO, depositTxID, bondTxID ids.ID) *avax.TransferableOutput

func StakeableIn

func StakeableIn(assetID ids.ID, amount, locktime uint64, sigIndices []uint32) *avax.TransferableInput

func StakeableOut

func StakeableOut(assetID ids.ID, amount, locktime uint64, outputOwners secp256k1fx.OutputOwners) *avax.TransferableOutput

func StakeableUTXO

func StakeableUTXO(txID ids.ID, assetID ids.ID, amount, locktime uint64, outputOwners secp256k1fx.OutputOwners) *avax.UTXO

func UTXO

func UTXO(txID ids.ID, assetID ids.ID, amount uint64, outputOwners secp256k1fx.OutputOwners, depositTxID, bondTxID ids.ID, initID bool) *avax.UTXO

func UTXOWithIndex

func UTXOWithIndex(txID ids.ID, outIndex uint32, assetID ids.ID, amount uint64, outputOwners secp256k1fx.OutputOwners, depositTxID, bondTxID ids.ID, init bool) *avax.UTXO

Types

This section is empty.

Jump to

Keyboard shortcuts

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