contracts

package module
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Unlicense Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 ExampleToken contract.

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

func FungibleToken

func FungibleToken() []byte

FungibleToken returns the FungibleToken contract interface.

func FungibleTokenMetadataViews added in v0.6.0

func FungibleTokenMetadataViews(fungibleTokenAddr, metadataViewsAddr string) []byte

FungibleToken returns the FungibleToken contract interface.

func MetadataViews added in v0.6.0

func MetadataViews(fungibleTokenAddr string) []byte

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