evm

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 24 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContractAccountToEVMAddress

func ContractAccountToEVMAddress(contractAccount string) (crypto.Address, error)

transfer contract account to evm address

func ContractNameToEVMAddress

func ContractNameToEVMAddress(contractName string) (crypto.Address, error)

transfer contract name to evm address

func DetermineContractAccount

func DetermineContractAccount(account string) bool

determine whether it is a contract account

func DetermineContractName

func DetermineContractName(contractName string) error

determine whether it is a contract name

func DetermineContractNameFromEVM

func DetermineContractNameFromEVM(evmAddr crypto.Address) (string, error)

determine whether it is a contract name

func DetermineEVMAddress

func DetermineEVMAddress(evmAddr crypto.Address) (string, string, error)

determine an EVM address

func DetermineXchainAddress

func DetermineXchainAddress(xAddr string) (string, string, error)

determine an xchain address

func EVMAddressToContractAccount

func EVMAddressToContractAccount(evmAddr crypto.Address) (string, error)

transfer evm address to contract account

func EVMAddressToContractName

func EVMAddressToContractName(evmAddr crypto.Address) (string, error)

transfer evm address to contract name

func EVMAddressToXchain

func EVMAddressToXchain(evmAddress crypto.Address) (string, error)

transfer evm address to xchain address

func XchainToEVMAddress

func XchainToEVMAddress(addr string) (crypto.Address, error)

transfer xchain address to evm address

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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