codec

package
v0.1.0-test Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: MIT Imports: 17 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommitPluginCodecV1

func NewCommitPluginCodecV1() cciptypes.CommitPluginCodec

func NewExecutePluginCodecV1

func NewExecutePluginCodecV1(extraDataCodec ccipocr3.ExtraDataCodec) ccipocr3.ExecutePluginCodec

func NewExtraDataDecoder

func NewExtraDataDecoder() ccipocr3.SourceChainExtraDataCodec

NewExtraDataDecoder creates a new ExtraDataDecoder

Types

type RawAddr

type RawAddr [36]byte

RawAddr is a fixed-size byte array representing a TON standard address

func ToRawAddr

func ToRawAddr(addr *address.Address) (rawAddress RawAddr)

ToRawAddr converts an address.Address to a RawAddr.

type TokenDataEncoder

type TokenDataEncoder struct{}

func NewTokenDataEncoder

func NewTokenDataEncoder() TokenDataEncoder

func (TokenDataEncoder) EncodeUSDC

func (t TokenDataEncoder) EncodeUSDC(_ context.Context, message ccipocr3.Bytes, attestation ccipocr3.Bytes) (ccipocr3.Bytes, error)

Jump to

Keyboard shortcuts

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