model

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ancon721Metadata

type Ancon721Metadata struct {
	Name        string     `json:"name"`
	Description string     `json:"description"`
	Image       string     `json:"image"`
	Parent      *string    `json:"parent"`
	Owner       *string    `json:"owner"`
	Sources     []*DagLink `json:"sources"`
}

type DagContractTrusted

type DagContractTrusted struct {
	Data    *DagLink          `json:"data"`
	Payload *Ancon721Metadata `json:"payload"`
}
type DagLink struct {
	Path string `json:"path"`
	Cid  string `json:"cid"`
}

type MetadataTransactionInput

type MetadataTransactionInput struct {
	Path     string `json:"path"`
	Cid      string `json:"cid"`
	Owner    string `json:"owner"`
	NewOwner string `json:"newOwner"`
}

Jump to

Keyboard shortcuts

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