Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentLayout ¶
type ContentLayout int
const ( Undefined ContentLayout = iota OffChain OnChain SemiChain )
type FullContent ¶
type FullContent struct { Layout ContentLayout Data []byte }
func DecodeFullContent ¶
func DecodeFullContent(cell *boc.Cell) (FullContent, error)
type Metadata ¶
type Metadata struct { Uri string `json:"uri,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Image string `json:"image,omitempty"` ImageData []byte `json:"image_data,omitempty"` Symbol string `json:"symbol,omitempty"` Decimals string `json:"decimals,omitempty"` }
func ConvertOnсhainData ¶
func ConvertOnсhainData(content tlb.FullContent) (Metadata, error)
TEP-64 Token Data Standard https://github.com/ton-blockchain/TEPs/blob/master/text/0064-token-data-standard.md
Click to show internal directories.
Click to hide internal directories.