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 { ChainID ChainID RPC string ContractAddresses *ContractAddresses FirstContractBlocks *FirstContractBlocks ConnectionTimeout time.Duration ReadTimeout time.Duration }
PerpsvConfig is a type for lib configuration schema
func GetBaseAndromedaDefaultConfig ¶ added in v0.1.26
func GetBaseAndromedaDefaultConfig(rpcURL string) *PerpsvConfig
GetBaseAndromedaDefaultConfig is used to get default lib config for base andromeda test net
func GetBaseMainnetDefaultConfig ¶ added in v0.3.1
func GetBaseMainnetDefaultConfig(rpcURL string) *PerpsvConfig
GetBaseMainnetDefaultConfig is used to get default lib config for base main net
func GetOptimismGoerliDefaultConfig ¶ added in v0.1.26
func GetOptimismGoerliDefaultConfig(rpcURL string) *PerpsvConfig
GetOptimismGoerliDefaultConfig is used to get default lib config for goerli optimism test net
Click to show internal directories.
Click to hide internal directories.