Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidChainType error
ErrInvalidChainType is an error to indicate an unsupported chain type
View Source
var SupportedChainTypes = ChainTypes{EVM}
SupportedChainTypes contain all chains that are supported
Functions ¶
func IsSupportedChainType ¶
IsSupportedChainType checks to see if the chain is supported
func NewErrInvalidChainType ¶
NewErrInvalidChainType returns an error wrapping ErrInvalidChainType for an unsupported chain
Types ¶
type ChainType ¶
type ChainType string
ChainType denotes the chain or network to work with
const ( // EVM for Ethereum or other chains supporting the EVM EVM ChainType = "evm" )
type ChainTypes ¶
type ChainTypes []ChainType
func (ChainTypes) String ¶
func (c ChainTypes) String() (out string)
Click to show internal directories.
Click to hide internal directories.