data

package
v0.0.0-...-0b69eb1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ItemData

type ItemData struct {
	Metadata *ItemMetadata `json:"metadata"`
	DataCell *cell.Cell    `json:"data_cell"`
	Index    string        `json:"index"`
}

func NewItemData

func NewItemData(index uint64, metadata *ItemMetadata) *ItemData

type ItemMetadata

type ItemMetadata struct {
	Owner             *address.Address `json:"owner"`
	IndividualContent *cell.Cell       `json:"individual_content"`
}

func (*ItemMetadata) ToCell

func (d *ItemMetadata) ToCell() *cell.Cell

func (*ItemMetadata) ToNode

func (d *ItemMetadata) ToNode() types.Node

Jump to

Keyboard shortcuts

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