contracts

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Unlicense Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Burner added in v1.0.0

func Burner() []byte

Burner returns the Burner contract.

func CustomToken

func CustomToken(fungibleTokenAddr,
	metadataViewsAddr,
	ftMetadataViewsAddr,
	tokenName,
	storageName,
	initialBalance string) []byte

CustomToken returns the ExampleToken contract with a custom name.

The returned contract will import the FungibleToken interface from the specified address.

func CustomTokenForwarding

func CustomTokenForwarding(fungibleTokenAddr, tokenName, storageName string) []byte

CustomTokenForwarding returns the TokenForwarding contract for a custom token

The returned contract will import the FungibleToken interface from the specified address.

func ExampleToken

func ExampleToken(fungibleTokenAddr, metadataViewsAddr, ftMetadataViewsAddr string) []byte

ExampleToken returns the second version of the ExampleToken contract.

The returned contract will import the FungibleToken interface from the specified address.

func FungibleToken

func FungibleToken(resolverAddr, burnerAddr string) []byte

FungibleToken returns the FungibleToken contract.

func FungibleTokenMetadataViews added in v0.6.0

func FungibleTokenMetadataViews(fungibleTokenAddr, metadataViewsAddr, viewResolverAddr string) []byte

FungibleToken returns the FungibleToken contract interface.

func FungibleTokenSwitchboard added in v0.7.0

func FungibleTokenSwitchboard(fungibleTokenAddr string) []byte

FungibleTokenSwitchboard returns the FungibleTokenSwitchboard contract.

func PrivateReceiverForwarder added in v0.5.0

func PrivateReceiverForwarder(fungibleTokenAddr string) []byte

func TokenForwarding

func TokenForwarding(fungibleTokenAddr string) []byte

TokenForwarding returns the TokenForwarding contract.

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

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