contracts

package module
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: Unlicense Imports: 5 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicNFT added in v1.2.0

func BasicNFT(nftAddress, resolverAddress, metadataAddress, universalCollectionAddress flow.Address) []byte

func CrossVMMetadataViews added in v1.2.3

func CrossVMMetadataViews(resolverAddress, evmAddress string) []byte

func ExampleNFT

func ExampleNFT(nftAddress, metadataAddress, resolverAddress flow.Address) []byte

ExampleNFT returns the ExampleNFT contract.

The returned contract will import the NonFungibleToken contract from the specified address.

func ExampleNFTWithCrossVMPointers added in v1.2.3

func ExampleNFTWithCrossVMPointers(nftAddress, metadataAddress, resolverAddress, evmAddress, crossVMMetadataAddress flow.Address) []byte

ExampleNFTWithCrossVMPointers returns the ExampleNFT contract with cross VM pointers views.

func MetadataViews

func MetadataViews(ftAddress, nftAddress, resolverAddress string) []byte

func NonFungibleToken

func NonFungibleToken(resolverAddress string) []byte

NonFungibleToken returns the NonFungibleToken contract interface.

func UniversalCollection added in v1.2.0

func UniversalCollection(nftAddress, resolverAddress, metadataAddress flow.Address) []byte

func ViewResolver added in v1.2.0

func ViewResolver() []byte

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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