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