Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
type Bridge struct {
TopicId string `yaml:"topic_id" json:"topicId,omitempty"`
Networks map[uint64]*Network `yaml:"networks" json:"networks,omitempty"`
}
Structs used to parse the bridge YAML configuration
type Clients ¶
type Clients struct {
Evm map[uint64]Evm `yaml:"evm"`
Hedera Hedera `yaml:"hedera"`
MirrorNode MirrorNode `yaml:"mirror_node"`
}
type MirrorNode ¶
type Monitoring ¶
type Network ¶
type Network struct {
Name string `yaml:"name" json:"name,omitempty"`
BridgeAccount string `yaml:"bridge_account" json:"bridgeAccount,omitempty"`
PayerAccount string `yaml:"payer_account" json:"payerAccount,omitempty"`
RouterContractAddress string `yaml:"router_contract_address" json:"routerContractAddress,omitempty"`
Members []string `yaml:"members" json:"members,omitempty"`
Tokens Tokens `yaml:"tokens" json:"tokens,omitempty"`
}
type Node ¶
type Node struct {
Database Database `yaml:"database"`
Clients Clients `yaml:"clients"`
LogLevel string `yaml:"log_level"`
Port string `yaml:"port"`
Validator bool `yaml:"validator"`
Monitoring Monitoring `yaml:"monitoring"`
}
Structs used to parse the node YAML configuration
type Token ¶
type Token struct {
Fee int64 `yaml:"fee" json:"fee,omitempty"` // Represent a constant fee for Non-Fungible tokens. Applies only for Hedera Native Tokens
FeePercentage int64 `yaml:"fee_percentage" json:"feePercentage,omitempty"` // Represents a constant fee for Fungible Tokens. Applies only for Hedera Native Tokens
MinAmount string `yaml:"min_amount" json:"minAmount,omitempty"` // Represents a constant minimum amount for each Native token.
Networks map[uint64]string `yaml:"networks" json:"networks,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.