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: 0

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