parser

package
v0.1.0-alpha-10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

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[int64]parser.Evm `yaml:"evm"`
	Tokens       Tokens               `yaml:"tokens"`
	ValidatorUrl string               `yaml:"validator_url"`
	Bridge       parser.Bridge        `yaml:"bridge"`
}

Config used to load and parse from application.yml

type E2E

type E2E struct {
	Hedera       HederaParser         `yaml:"hedera"`
	EVM          map[int64]parser.Evm `yaml:"evm"`
	Tokens       Tokens               `yaml:"tokens"`
	ValidatorUrl string               `yaml:"validator_url"`
	Bridge       parser.Bridge
}

type HederaParser

type HederaParser struct {
	NetworkType       string            `yaml:"network_type"`
	BridgeAccount     string            `yaml:"bridge_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 Sender

type Sender struct {
	Account    string `yaml:"account"`
	PrivateKey string `yaml:"private_key"`
}

type Tokens

type Tokens struct {
	WHbar          string `yaml:"whbar"`
	WToken         string `yaml:"wtoken"`
	EvmNativeToken string `yaml:"evm_native_token"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL