Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContractAddresses ¶
ContractAddresses is a part of a PerpsvConfig struct with contract addresses
type FirstContractBlocks ¶
FirstContractBlocks is a part of a config struct with default first block numbers used to filters contract logs
type PerpsvConfig ¶
type PerpsvConfig struct { RPC string ContractAddresses *ContractAddresses FirstContractBlocks *FirstContractBlocks ConnectionTimeout time.Duration ReadTimeout time.Duration }
PerpsvConfig is a type for lib configuration schema
func GetGoerliDefaultPerpsvConfig ¶
func GetGoerliDefaultPerpsvConfig() *PerpsvConfig
GetGoerliDefaultPerpsvConfig is used to get default lib config for goerli optimism test net
func GetOptimismDefaultPerpsvConfig ¶
func GetOptimismDefaultPerpsvConfig() *PerpsvConfig
GetOptimismDefaultPerpsvConfig is used to get default lib config for ompimism main net
Click to show internal directories.
Click to hide internal directories.