operation

package
v0.0.0-...-7b5a4b3 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DeployTONContractOp = cldfops.NewOperation(
	"ton/ops/deploy",
	semver.MustParse("0.1.0"),
	"Deploys a TON contract in a generic way",
	deployTONContract,
)
View Source
var DownloadArtifactsOp = operations.NewOperation(
	"ton/ops/download-artifacts",
	semver.MustParse("0.1.0"),
	"Downloads a release tar.gz artifact from Github and extracts and retrieves the files that match with the given filter",
	downloadArtifactsOperationHandler,
)

Functions

func InvokeDeployContractOperation

func InvokeDeployContractOperation(b cldfops.Bundle, dp *dep.DependencyProvider, chainSelector uint64, compiledContract utils.CompiledContractData, storage any, messageBody any, coin string, semver *semver.Version) (*ds.AddressRef, error)

InvokeDeployContractOperation invokes the generic TON contract deployment operation. It always executes the deployment operation and returns an error if the deployment fails.

Types

type DeployContractInput

type DeployContractInput struct {
	Name         string
	Storage      any
	MessageBody  any
	ContractCode *cell.Cell
	Coins        string
}

func (*DeployContractInput) Validate

func (i *DeployContractInput) Validate() error

type DeployContractOutput

type DeployContractOutput struct {
	Address *address.Address
}

Jump to

Keyboard shortcuts

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