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 ¶
Click to show internal directories.
Click to hide internal directories.