Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Eth ¶ added in v0.2.0
type Eth struct { URI string `mapstructure:"uri"` ChainID uint64 `mapstructure:"chain_id"` ChainName string `mapstructure:"chain_name"` Contracts EthContracts `mapstructure:"eth_contracts"` UpdateClientFrequency uint64 `mapstructure:"update_client_frequency"` GasLimit uint64 `mapstructure:"gas_limit"` MaxGasPrice uint64 `mapstructure:"max_gas_price"` CommentSlot int64 `mapstructure:"comment_slot"` TipCoefficient float64 `mapstructure:"tip_coefficient"` }
Eth config============================================================
type EthContractCfg ¶ added in v0.2.0
type EthContracts ¶ added in v0.2.0
type EthContracts struct { Packet EthContractCfg `mapstructure:"packet"` AckPacket EthContractCfg `mapstructure:"ack_packet"` CleanPacket EthContractCfg `mapstructure:"clean_packet"` Client EthContractCfg `mapstructure:"client"` }
type Ethermint ¶ added in v0.2.7
type Ethermint struct { // comment ChainName string `mapstructure:"chain_name"` UpdateClientFrequency uint64 `mapstructure:"update_client_frequency"` // eth URI string `mapstructure:"uri"` EthChainID uint64 `mapstructure:"eth_chain_id"` Contracts EthContracts `mapstructure:"eth_contracts"` GasLimit uint64 `mapstructure:"gas_limit"` MaxGasPrice uint64 `mapstructure:"max_gas_price"` CommentSlot int64 `mapstructure:"comment_slot"` TipCoefficient float64 `mapstructure:"tip_coefficient"` // tendermint TendermintChainID string `mapstructure:"tendermint_chain_id"` RPCAddr string `mapstructure:"rpc_addr"` GrpcAddr string `mapstructure:"grpc_addr"` Algo string `mapstructure:"algo"` Gas uint64 `mapstructure:"gas"` RequestTimeout uint `mapstructure:"request_timeout"` }
type Tendermint ¶
type Tendermint struct { ChainName string `mapstructure:"chain_name"` ChainID string `mapstructure:"chain_id"` RPCAddr string `mapstructure:"rpc_addr"` GrpcAddr string `mapstructure:"grpc_addr"` Gas uint64 `mapstructure:"gas"` Key ChainKey `mapstructure:"key"` Fee Fee `mapstructure:"fee"` Algo string `mapstructure:"algo"` RequestTimeout uint `mapstructure:"request_timeout"` UpdateClientFrequency uint64 `mapstructure:"update_client_frequency"` Allows []Allow `mapstructure:"allows"` CleanPacketEnabled bool `mapstructure:"clean_packet_enabled"` }
Tendermint =====================================================================
Click to show internal directories.
Click to hide internal directories.