metadatamaker

package
v0.0.0-...-f1d3c0a Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOpReturnGenesis

func CreateOpReturnGenesis(
	versionType int,
	ticker []byte,
	name []byte,
	documentURL []byte,
	documentHash []byte,
	decimals int,
	mintBatonVout *MintBatonVout,
	quantity uint64,
) ([]byte, error)

CreateOpReturnGenesis creates serialized Genesis op_return message

func CreateOpReturnMint

func CreateOpReturnMint(
	versionType int,
	tokenIDHex []byte,
	mintBatonVout *MintBatonVout,
	quantity uint64) ([]byte, error)

CreateOpReturnMint creates serialized Mint op_return message

func CreateOpReturnSend

func CreateOpReturnSend(
	versionType int,
	tokenIDHex []byte,
	slpAmounts []uint64) ([]byte, error)

CreateOpReturnSend create serialized Send op_return message

func NFT1ChildGenesis

func NFT1ChildGenesis(
	ticker []byte,
	name []byte,
	documentURL []byte,
	documentHash []byte,
	decimals int,
	quantity uint64,
) ([]byte, error)

NFT1ChildGenesis creates serialized NFT Genesis op_return message

func NFT1ChildSend

func NFT1ChildSend(
	tokenIDHex []byte,
	slpAmounts []uint64) ([]byte, error)

NFT1ChildSend creates serialized Send op_return message

func NFT1GroupGenesis

func NFT1GroupGenesis(
	ticker []byte,
	name []byte,
	documentURL []byte,
	documentHash []byte,
	decimals int,
	mintBatonVout *MintBatonVout,
	quantity uint64,
) ([]byte, error)

NFT1GroupGenesis creates serialized NFT Group genesis op_return message

func NFT1GroupMint

func NFT1GroupMint(
	tokenIDHex []byte,
	mintBatonVout *MintBatonVout,
	quantity uint64) ([]byte, error)

NFT1GroupMint creates serialized Mint op_return message

func NFT1GroupSend

func NFT1GroupSend(
	tokenIDHex []byte,
	slpAmounts []uint64) ([]byte, error)

NFT1GroupSend creates serialized Send op_return message

func TokenType1Genesis

func TokenType1Genesis(
	ticker []byte,
	name []byte,
	documentURL []byte,
	documentHash []byte,
	decimals int,
	mintBatonVout *MintBatonVout,
	quantity uint64,
) ([]byte, error)

TokenType1Genesis creates serialized Genesis op_return

func TokenType1Mint

func TokenType1Mint(
	tokenIDHex []byte,
	mintBatonVout *MintBatonVout,
	quantity uint64) ([]byte, error)

TokenType1Mint creates serialized Mint op_return

func TokenType1Send

func TokenType1Send(
	tokenIDHex []byte,
	slpAmounts []uint64) ([]byte, error)

TokenType1Send creates serialized Send op_return

Types

type MintBatonVout

type MintBatonVout struct {
	// contains filtered or unexported fields
}

MintBatonVout used so that vout value can be set as nil

Jump to

Keyboard shortcuts

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