operation

package
v0.0.0-...-320489d Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: MIT Imports: 17 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApplyRampUpdatesOp = operations.NewOperation(
	"ton/ops/ccip/apply-ramp-updates",
	semver.MustParse("0.1.0"),
	"Apply Ramp Updates operations including OnRampUpdates, OffRampAdds and/or OffRampRemoves",
	applyRampUpdates,
)
View Source
var SetOCR3ConfigOp = operations.NewOperation(
	"ton/ops/ccip/offramp/set-ocr3-config",
	semver.MustParse("0.1.0"),
	"Updates offramp's OCR3 config",
	setOCR3Config,
)
View Source
var UpdateFeeQuoterFeeTokensOp = operations.NewOperation(
	"ton/ops/ccip/fee-quoter/update-fee-tokens",
	semver.MustParse("0.1.0"),
	"Updates FeeQuoter fee tokens",
	updateFeeQuoterFeeTokens,
)

UpdateFeeQuoterPricesOp operation to update FeeQuoter prices

View Source
var UpdateFeeQuoterPricesOp = operations.NewOperation(
	"ton/ops/ccip/fee-quoter/update-prices",
	semver.MustParse("0.1.0"),
	"Updates FeeQuoter token and gas prices",
	updateFeeQuoterPrices,
)

UpdateFeeQuoterPricesOp operation to update FeeQuoter prices

View Source
var UpdateOffRampSourceChainConfigsOp = operations.NewOperation(
	"ton/ops/ccip/offramp/update-source-chain-configs",
	semver.MustParse("0.1.0"),
	"Updates offramp's source chain configs",
	updateOffRampSourceChainConfigs,
)

Functions

This section is empty.

Types

type AddPriceUpdaterInput

type AddPriceUpdaterInput struct {
	PriceUpdater *address.Address
}

type ApplyRampUpdatesInput

type ApplyRampUpdatesInput struct {
	OnRampUpdates  RampUpdates
	OffRampAdds    RampUpdates
	OffRampRemoves RampUpdates
}

type FeeTokenConfig

type FeeTokenConfig struct {
	PremiumMultiplierWeiPerEth uint64
}

type GasPrice

type GasPrice struct {
	ExecutionGasPrice        *big.Int // int112
	DataAvailabilityGasPrice *big.Int // int112
}

func FromPackedGasFee

func FromPackedGasFee(packedFee *big.Int) GasPrice

copied from chainlink-ccip chainfee package

type OCR3ConfigArgs

type OCR3ConfigArgs struct {
	ConfigDigest                   [32]byte
	PluginType                     PluginType
	F                              uint8
	IsSignatureVerificationEnabled bool
	Signers                        [][]byte
	Transmitters                   [][]byte
}

NOTE: this maps to MultiOCR3BaseOCRConfigArgsAptos but it's an internal type on chainlink/deployment...

type OffRampSourceUpdate

type OffRampSourceUpdate struct {
	IsEnabled  bool // If false, disables the source by setting router to 0x0.
	TestRouter bool // Flag for safety only allow specifying either router or testRouter.
	// IsRMNVerificationDisabled is a flag to disable RMN verification for this source chain.
	IsRMNVerificationDisabled bool // TODO: remove this, default true?
	OnRamp                    []byte
}

type PluginType

type PluginType uint8

PluginType represents the type of CCIP plugin.

const (
	PluginTypeCCIPCommit PluginType = 0
	PluginTypeCCIPExec   PluginType = 1
)

type RampUpdates

type RampUpdates map[string][]router.ChainSelector

type UpdateFeeQuoterFeeTokensInput

type UpdateFeeQuoterFeeTokensInput struct {
	FeeTokens map[string]FeeTokenConfig // token address (string) -> { premium multiplier }
}

UpdateFeeQuoterFeeTokensInput contains configuration for updating FeeQuoter fee tokens

type UpdateFeeQuoterPricesInput

type UpdateFeeQuoterPricesInput struct {
	TokenPrices map[string]*big.Int // token address (string) -> price
	GasPrices   map[uint64]GasPrice // dest chain -> gas price
}

UpdateFeeQuoterPricesInput contains configuration for updating FeeQuoter price configs

type UpdateOffRampSourcesInput

type UpdateOffRampSourcesInput struct {
	Updates map[uint64]OffRampSourceUpdate
}

Jump to

Keyboard shortcuts

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