Documentation ¶
Index ¶
- func GetConfig(config interface{}, path string) error
- func GetLoggerFor(ctx string) *log.Entry
- func InitLogger(level string)
- func LoadHederaFees(tokens parser.Tokens) (fungiblePercentages map[string]int64, nftFees map[string]int64)
- type Assets
- func (a Assets) FungibleNativeAsset(id uint64, asset string) *NativeAsset
- func (a Assets) FungibleNetworkAssets(id uint64) []string
- func (a Assets) GetFungibleNetworkAssets() map[uint64][]string
- func (a Assets) GetNativeToWrapped() map[uint64]map[string]map[uint64]string
- func (a Assets) GetOppositeAsset(sourceChainId uint64, targetChainId uint64, asset string) string
- func (a Assets) IsNative(networkId uint64, asset string) bool
- func (a Assets) NativeToWrapped(nativeAsset string, nativeChainId, targetChainId uint64) string
- func (a Assets) WrappedFromNative(nativeChainId uint64, nativeAsset string) map[uint64]string
- func (a Assets) WrappedToNative(wrappedAsset string, wrappedChainId uint64) *NativeAsset
- type Bridge
- type BridgeEvm
- type BridgeHedera
- type Clients
- type Config
- type Database
- type Evm
- type Hedera
- type HederaToken
- type MirrorNode
- type Monitoring
- type NativeAsset
- type Node
- type Operator
- type Recovery
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLoggerFor ¶
GetLoggerFor returns a logger defined with a context
func InitLogger ¶
func InitLogger(level string)
InitLogger sets the initial configuration of the used logger
Types ¶
type Assets ¶
type Assets struct {
// contains filtered or unexported fields
}
func (Assets) FungibleNativeAsset ¶
func (a Assets) FungibleNativeAsset(id uint64, asset string) *NativeAsset
func (Assets) FungibleNetworkAssets ¶
func (Assets) GetFungibleNetworkAssets ¶
func (Assets) GetNativeToWrapped ¶
func (Assets) GetOppositeAsset ¶
func (Assets) NativeToWrapped ¶
func (Assets) WrappedFromNative ¶
func (Assets) WrappedToNative ¶
func (a Assets) WrappedToNative(wrappedAsset string, wrappedChainId uint64) *NativeAsset
type Bridge ¶ added in v1.4.0
type Bridge struct { TopicId string Hedera *BridgeHedera EVMs map[uint64]BridgeEvm Assets Assets }
type BridgeHedera ¶ added in v1.4.0
type Clients ¶ added in v1.4.0
type Clients struct { Evm map[uint64]Evm Hedera Hedera MirrorNode MirrorNode }
type Config ¶
func LoadConfig ¶
type HederaToken ¶ added in v1.4.0
type MirrorNode ¶
type Monitoring ¶ added in v1.4.0
Click to show internal directories.
Click to hide internal directories.