operation

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DeployAccessControllerOp = operations.NewOperation(
		"deploy-access-controller",
		&cldchangesetscommon.Version1_0_0,
		"Deploys access controller for solana",
		Deploy,
	)

	DeployMCMProgramOp = operations.NewOperation(
		"deploy-mcm-program",
		&cldchangesetscommon.Version1_0_0,
		"Deploys mcm for solana",
		Deploy,
	)

	DeployTimelockOp = operations.NewOperation(
		"deploy-timelock-program",
		&cldchangesetscommon.Version1_0_0,
		"Deploys timelock for solana",
		Deploy,
	)

	InitAccessControllerOp = operations.NewOperation(
		"init-access-controller",
		&cldchangesetscommon.Version1_0_0,
		"Initializes access controller for solana",
		initAccessController,
	)

	InitMCMOp = operations.NewOperation(
		"init-mcm-program",
		&cldchangesetscommon.Version1_0_0,
		"Initializes MCMProgram for solana",
		initMCM,
	)

	InitTimelockOp = operations.NewOperation(
		"init-timelock-program",
		&cldchangesetscommon.Version1_0_0,
		"Initializes timelock for solana",
		initTimelock,
	)
	AddAccessOp = operations.NewOperation(
		"add-access-op",
		&cldchangesetscommon.Version1_0_0,
		"Adds access to provided role for timelock",
		addAccess,
	)
)

Functions

This section is empty.

Types

type AddAccessInput

type AddAccessInput struct {
	Role     timelockBindings.Role
	Accounts []solana.PublicKey
	ChainSel uint64
}

type AddAccessOutput

type AddAccessOutput struct{}

type CommonDeps

type CommonDeps struct {
	Chain cldfsol.Chain
}

type DeployInput

type DeployInput struct {
	ChainSel     uint64
	ProgramName  string
	Size         int
	Overallocate bool
}

type DeployOutput

type DeployOutput struct {
	ProgramID solana.PublicKey
}

func Deploy

type Deps

type Deps struct {
	Env       cldf.Environment
	State     *solana2.MCMSWithTimelockState
	Datastore datastore.MutableDataStore
	Chain     cldfsol.Chain
}

type InitAccessControllerInput

type InitAccessControllerInput struct {
	ContractType cldf.ContractType
	ChainSel     uint64
}

type InitAccessControllerOutput

type InitAccessControllerOutput struct{}

type InitMCMInput

type InitMCMInput struct {
	ContractType cldf.ContractType
	MCMConfig    mcmsTypes.Config
	ChainSel     uint64
}

type InitMCMOutput

type InitMCMOutput struct{}

type InitTimelockInput

type InitTimelockInput struct {
	ContractType cldf.ContractType
	ChainSel     uint64
	MinDelay     *big.Int
}

type InitTimelockOutput

type InitTimelockOutput struct{}

Jump to

Keyboard shortcuts

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