Documentation ¶
Index ¶
- func CreateOpReturnGenesis(versionType int, ticker []byte, name []byte, documentURL []byte, ...) ([]byte, error)
- func CreateOpReturnMint(versionType int, tokenIDHex []byte, mintBatonVout *MintBatonVout, ...) ([]byte, error)
- func CreateOpReturnSend(versionType int, tokenIDHex []byte, slpAmounts []uint64) ([]byte, error)
- func NFT1ChildGenesis(ticker []byte, name []byte, documentURL []byte, documentHash []byte, ...) ([]byte, error)
- func NFT1ChildSend(tokenIDHex []byte, slpAmounts []uint64) ([]byte, error)
- func NFT1GroupGenesis(ticker []byte, name []byte, documentURL []byte, documentHash []byte, ...) ([]byte, error)
- func NFT1GroupMint(tokenIDHex []byte, mintBatonVout *MintBatonVout, quantity uint64) ([]byte, error)
- func NFT1GroupSend(tokenIDHex []byte, slpAmounts []uint64) ([]byte, error)
- func TokenType1Genesis(ticker []byte, name []byte, documentURL []byte, documentHash []byte, ...) ([]byte, error)
- func TokenType1Mint(tokenIDHex []byte, mintBatonVout *MintBatonVout, quantity uint64) ([]byte, error)
- func TokenType1Send(tokenIDHex []byte, slpAmounts []uint64) ([]byte, error)
- type MintBatonVout
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 ¶
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 ¶
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 ¶
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
Types ¶
type MintBatonVout ¶
type MintBatonVout struct {
// contains filtered or unexported fields
}
MintBatonVout used so that vout value can be set as nil