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 ¶
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.