Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Hedera HederaParser `yaml:"hedera"`
EVM map[uint64]parser.Evm `yaml:"evm"`
Tokens Tokens `yaml:"tokens"`
ValidatorUrl string `yaml:"validator_url"`
Bridge parser.Bridge `yaml:"bridge"`
Scenario ScenarioParser `yaml:"scenario"`
}
Config used to load and parse from application.yml
type HederaParser ¶
type HederaParser struct {
NetworkType string `yaml:"network_type"`
BridgeAccount string `yaml:"bridge_account"`
PayerAccount string `yaml:"payer_account"`
Members []string `yaml:"members"`
TopicID string `yaml:"topic_id"`
Sender Sender `yaml:"sender"`
DbValidationProps []parser.Database `yaml:"dbs"`
MirrorNode parser.MirrorNode `yaml:"mirror_node"`
}
type ScenarioParser ¶
type ScenarioParser struct {
ExpectedValidatorsCount int `yaml:"expectedValidatorsCount"`
FirstEvmChainId uint64 `yaml:"firstEvmChainId"`
SecondEvmChainId uint64 `yaml:"secondEvmChainId"`
DatabaseRetryCount int `yaml:"databaseRetryCount"`
DatabaseRetryTimeout time.Duration `yaml:"databaseRetryTimeout"`
WebRetryCount int `yaml:"webRetryCount"`
WebRetryTimeout time.Duration `yaml:"webRetryTimeout"`
AmountHederaHbar int64 `yaml:"amount_hedera_hbar"`
AmountHederaNative int64 `yaml:"amount_hedera_native"`
AmountEvmWrappedHbar int64 `yaml:"amount_evm_wrapped_hbar"`
AmountEvmWrapped int64 `yaml:"amount_evm_wrapped"`
AmountEvmNative int64 `yaml:"amount_evm_native"`
AmountHederaWrapped int64 `yaml:"amount_hedera_wrapped"`
}
Click to show internal directories.
Click to hide internal directories.