Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadSerializableConfig ¶
func LoadSerializableConfig(chainID string, serializableConfig *OracleSerializableConfig) (*oracle.Config, error)
Types ¶
type DAppChainSerializableConfig ¶
type DAppChainSerializableConfig struct { WriteURI string ReadURI string // Used to sign txs sent to Loom DAppChain PrivateKeyPath string }
func (*DAppChainSerializableConfig) Clone ¶
func (c *DAppChainSerializableConfig) Clone() *DAppChainSerializableConfig
Clone returns a deep clone of the config.
type EthClientSerializableConfig ¶
type EthClientSerializableConfig struct { // URI of an Ethereum node EthereumURI string // Path of Private key that should be used to sign txs sent to Ethereum PrivateKeyPath string }
func (*EthClientSerializableConfig) Clone ¶
func (c *EthClientSerializableConfig) Clone() *EthClientSerializableConfig
Clone returns a deep clone of the config.
type OracleSerializableConfig ¶
type OracleSerializableConfig struct { Enabled bool StatusServiceAddress string DAppChainCfg *DAppChainSerializableConfig EthClientCfg *EthClientSerializableConfig TimeLockWorkerCfg *TimeLockWorkerSerializableConfig MainnetPollInterval int64 }
func DefaultConfig ¶
func DefaultConfig() *OracleSerializableConfig
func (*OracleSerializableConfig) Clone ¶
func (c *OracleSerializableConfig) Clone() *OracleSerializableConfig
Clone returns a deep clone of the config.
Click to show internal directories.
Click to hide internal directories.