erc1155

package
v1.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const TOKEN_URI_PATTERN = "firefly://token/{id}"

Variables

This section is empty.

Functions

func DeployContracts

func DeployContracts(s *types.Stack, log log.Logger, verbose bool, tokenIndex int) (*types.ContractDeploymentResult, error)

Types

type ERC1155Provider

type ERC1155Provider struct {
	Log     log.Logger
	Verbose bool
	Stack   *types.Stack
}

func (*ERC1155Provider) DeploySmartContracts

func (p *ERC1155Provider) DeploySmartContracts(tokenIndex int) (*types.ContractDeploymentResult, error)

func (*ERC1155Provider) FirstTimeSetup

func (p *ERC1155Provider) FirstTimeSetup(tokenIdx int) error

func (*ERC1155Provider) GetDockerServiceDefinitions

func (p *ERC1155Provider) GetDockerServiceDefinitions(tokenIdx int) []*docker.ServiceDefinition

func (*ERC1155Provider) GetFireflyConfig

func (p *ERC1155Provider) GetFireflyConfig(m *types.Organization, tokenIdx int) *types.TokensConfig

func (*ERC1155Provider) GetName added in v1.1.0

func (p *ERC1155Provider) GetName() string

Jump to

Keyboard shortcuts

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