executor

package
v0.0.0-...-346157b Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: MIT Imports: 6 Imported by: 0

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("0.1.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