Documentation ¶
Index ¶
- func GetConfig(config interface{}, path string) error
- func GetLoggerFor(ctx string) *log.Entry
- func InitLogger(level string)
- func LoadHederaFees(tokens parser.Tokens) (res struct{ ... })
- type Bridge
- type BridgeEvm
- type BridgeHedera
- type Clients
- type CoinGecko
- type CoinMarketCap
- type Config
- type Database
- type Evm
- type Hedera
- type HederaToken
- type MirrorNode
- type Monitoring
- type Node
- type Operator
- type Recovery
- type RetryPolicy
- 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 Bridge ¶ added in v1.4.0
type Bridge struct { TopicId string Hedera *BridgeHedera EVMs map[uint64]BridgeEvm CoinMarketCapIds map[uint64]map[string]string CoinGeckoIds map[uint64]map[string]string MinAmounts map[uint64]map[string]*big.Int MonitoredAccounts map[string]string }
func (Bridge) LoadStaticMinAmountsForWrappedFungibleTokens ¶ added in v1.4.0
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 CoinGecko CoinGecko CoinMarketCap CoinMarketCap }
type CoinMarketCap ¶ added in v1.4.0
type Hedera ¶
type HederaToken ¶ added in v1.4.0
type HederaToken struct { Fee int64 FeePercentage int64 MinFeeAmountInUsd string MinAmount *big.Int Networks map[uint64]string ReleaseTimestamp uint64 }
func NewHederaTokenFromToken ¶ added in v1.4.0
func NewHederaTokenFromToken(token parser.Token) HederaToken
type MirrorNode ¶
type MirrorNode struct { ClientAddress string ApiAddress string PollingInterval time.Duration QueryMaxLimit int64 QueryDefaultLimit int64 RetryPolicy RetryPolicy RequestTimeout int }
func (*MirrorNode) DefaultOrConfig ¶ added in v1.4.0
func (m *MirrorNode) DefaultOrConfig(cfg *parser.MirrorNode) *MirrorNode
type Monitoring ¶ added in v1.4.0
type Node ¶ added in v1.4.0
type RetryPolicy ¶ added in v1.4.0
func (*RetryPolicy) DefaultOrConfig ¶ added in v1.4.0
func (r *RetryPolicy) DefaultOrConfig(cfg *parser.RetryPolicy) *RetryPolicy
Click to show internal directories.
Click to hide internal directories.