Documentation ¶
Index ¶
Constants ¶
View Source
const ( MintAssetId = "c94ac88f-4671-3976-b60a-09064f1811e8" MintMinimumCost = "0.001" )
View Source
const ( NMPrefix = "NFO" NMVersion = 0x00 )
Variables ¶
Functions ¶
Types ¶
type Collection ¶
type MintWorker ¶
type MintWorker struct {
// contains filtered or unexported fields
}
func NewMintWorker ¶
func NewMintWorker(grp *mtg.Group, store Store) *MintWorker
func (*MintWorker) ProcessCollectibleOutput ¶ added in v0.0.4
func (mw *MintWorker) ProcessCollectibleOutput(ctx context.Context, out *mtg.CollectibleOutput)
func (*MintWorker) ProcessOutput ¶
func (mw *MintWorker) ProcessOutput(ctx context.Context, out *mtg.Output)
type NFOMemo ¶
type NFOMemo struct { Prefix string Version byte Mask uint64 Chain uuid.UUID // 16 bytes Class []byte // 64 bytes contract address Collection uuid.UUID // 16 bytes Token []byte // 64 bytes hash of content Extra []byte }
func DecodeNFOMemo ¶
Click to show internal directories.
Click to hide internal directories.