executor

package
v1.0.0-preupgrade Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApplyAllowedCCVUpdates = contract.NewExercise(contract.ExerciseParams[executor.ApplyAllowedCCVUpdates]{
	Name:         "canton/ccip/executor/apply_allowed_ccv_updates",
	Version:      Version,
	Description:  "Applies allowed CCV updates to a Canton Executor",
	ContractType: ContractType,
	Validate: func(input executor.ApplyAllowedCCVUpdates) error {

		return nil
	},
	Template:     executor.Executor{},
	Method:       executor.Executor{}.ApplyAllowedCCVUpdates,
	EncodeMethod: executorEncoder.ApplyAllowedCCVUpdates,
})
View Source
var ApplyDestChainUpdates = contract.NewExercise(contract.ExerciseParams[executor.ApplyDestChainUpdates]{
	Name:         "canton/ccip/executor/apply_dest_chain_updates",
	Version:      Version,
	Description:  "Applies dest chain config updates to a Canton Executor",
	ContractType: ContractType,
	Validate: func(input executor.ApplyDestChainUpdates) error {

		return nil
	},
	Template:     executor.Executor{},
	Method:       executor.Executor{}.ApplyDestChainUpdates,
	EncodeMethod: executorEncoder.ApplyDestChainUpdates,
})
View Source
var ContractType = deployment.ContractType("Executor")
View Source
var Deploy = contract.NewDeploy(contract.DeployParams[executor.Executor]{
	Name:           "canton/ccip/executor/deploy",
	TypeAndVersion: deployment.NewTypeAndVersion(ContractType, *Version),
	Description:    "Deploys the CCIP Executor contract on Canton",
	Validate: func(template executor.Executor) error {
		if template.Owner == "" {
			return fmt.Errorf("owner cannot be empty")
		}
		if len(template.RemoteChainConfigs) != 0 {
			return fmt.Errorf("remote chain configs should not be set during deployment")
		}

		return nil
	},
	PackageName: string(contracts.CCIPExecutor),
	Prefix:      "executor",
})
View Source
var SetDynamicConfig = contract.NewExercise(contract.ExerciseParams[executor.SetDynamicConfig]{
	Name:         "canton/ccip/executor/set_dynamic_config",
	Version:      Version,
	Description:  "Updates the dynamic config of a Canton Executor",
	ContractType: ContractType,
	Validate: func(input executor.SetDynamicConfig) error {

		return nil
	},
	Template:     executor.Executor{},
	Method:       executor.Executor{}.SetDynamicConfig,
	EncodeMethod: executorEncoder.SetDynamicConfig,
})
View Source
var Version = semver.MustParse("2.0.0")

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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