ccvchain

package
v0.0.0-...-2908c1c Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

This file holds the production-usable, CTF-free logic for selecting the EVM token/pool pair used in EVM-to-Stellar token transfers. The devenv-coupled *Chain methods that drive these transfers live in the separate tests module (tests/ccv/chain), so this package stays free of the e2e testing framework.

Index

Constants

This section is empty.

Variables

View Source
var RemoteTokenContractTypes = []string{
	"BurnMintERC20WithDripToken",
	"BurnMintERC20WithDrip",
	"BurnMintERC20Token",
}

RemoteTokenContractTypes lists token contract types used by EVM devenv deployments. Order mirrors deployment likelihood. It is shared with the devenv chain implementation in the tests module, which uses it for the non-EVM remote token fallback.

Functions

func ResolveEVMTokenPoolForStellar

func ResolveEVMTokenPoolForStellar(refs []datastore.AddressRef, chainSelector uint64) (pool, token datastore.AddressRef, found bool)

ResolveEVMTokenPoolForStellar selects the EVM token/pool pair used for EVM-to-Stellar token transfers. Prefer BurnMint -> LockRelease combinations because the Stellar test pool is lock-release, then fall back to any BurnMint pool with a matching test token.

Types

This section is empty.

Jump to

Keyboard shortcuts

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