operation

package
v0.0.0-...-48bc90a Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 18 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,
)

Functions

func InvokeDeployContractOperation

func InvokeDeployContractOperation(b cldfops.Bundle, dp *dep.DependencyProvider, chainSelector uint64, compiledContract ton.CompiledContract, storage any, messageBody any, coin string) (*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