contracts

package module
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 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 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 FungibleToken

func FungibleToken() []byte

FungibleToken returns the FungibleToken contract interface.

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