ccipsendexecutor

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpcodeCCIPSendExecutorExecute = 0xAF3C62B3 // crc32('CCIPSendExecutor_Execute')
)

CCIPSend Executor opcodes

Variables

View Source
var TLBs = tvm.MustNewTLBMap([]any{
	Execute{},
}).MustWithStorageType(InitialData{})

Functions

This section is empty.

Types

type Addresses

type Addresses struct {
	OnRamp    *address.Address `tlb:"addr"`
	FeeQuoter *address.Address `tlb:"addr"`
}

Addresses structure

type Config

type Config struct {
	FeeQuoter *address.Address `tlb:"addr"`
}

CCIPSendExecutor_Config structure

type Execute

type Execute struct {
	OnRampSend onramp.Send `tlb:"."`
	Config     *cell.Cell  `tlb:"^"`
	// contains filtered or unexported fields
}

CCIPSendExecutor_Execute message structure

type ExitCode

type ExitCode tvm.ExitCode
const (
	ErrorStateNotExpected ExitCode = iota + 17800 // (crc32(<facility>) % 640) + 10
	ErrorUnauthorized
	ErrorInsufficientFunds
	ErrorInsufficientFee
	ErrorFeeQuoterBounce
)

CCIPSend Executor exit codes

func (ExitCode) NewFrom

func (ExitCode) NewFrom(ec tvm.ExitCode) (ExitCode, error)

func (ExitCode) String

func (i ExitCode) String() string

type InitialData

type InitialData struct {
	OnRamp    *address.Address `tlb:"addr"`
	MessageID *big.Int         `tlb:"## 224"`
}

Initial data structure for CCIPSend Executor

type Metadata

type Metadata struct {
	Sender *address.Address `tlb:"addr"`
	Value  *tlb.Coins       `tlb:"."`
}

Metadata structure

type StateInitialized

type StateInitialized struct {
}

State structures

type StateOnGoingFeeValidation

type StateOnGoingFeeValidation struct {
}

type TokenAmount

type TokenAmount struct {
	Amount *tlb.Coins       `tlb:"."`
	Token  *address.Address `tlb:"addr"`
}

TokenAmount structure (reused from router package concept)

Jump to

Keyboard shortcuts

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