Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppChain ¶
type AppChain struct { L1 L1AppChain `yaml:"l1"` L2 []*L2AppChain `yaml:"l2"` }
type AppChainAddr ¶
type AppChainAddr struct { L1 AppChainL1 `yaml:"l1"` L2 AppChainL2 `yaml:"l2"` }
type AppChainL1 ¶
type AppChainL1 struct { }
type AppChainL2 ¶
type Config ¶
type Config struct { Server Server `yaml:"server"` RPCs []*RPC `yaml:"rpcs"` Metrics Server `yaml:"metrics"` BridgeGrpcUrl string `yaml:"bridge_grpc_url"` AirDropGRpcUrl string `yaml:"airdrop_grpc_url"` MasterDb Database `yaml:"master_db"` SlaveDb Database `yaml:"slave_db"` SlaveDbEnable bool `yaml:"slave_db_enable"` EnableApiCache bool `yaml:"enable_api_cache"` Relayers []*Relayer `yaml:"relayers"` AppChain AppChain `yaml:"appchain"` }
type L1AppChain ¶
type L2AppChain ¶
type RPC ¶
type RPC struct { RpcUrl string `yaml:"rpc_url"` IsMainnet bool `yaml:"is_mainnet"` ChainId uint64 `yaml:"chain_id"` L1ChainId uint64 `yaml:"l1_chain_id"` StartBlock uint64 `yaml:"start_block"` HeaderBufferSize uint64 `yaml:"header_buffer_size"` L1EventUnpackBlock uint64 `yaml:"l1_event_unpack_block"` L1PoolContract string `yaml:"l1_pool_contract"` L2PoolContract string `yaml:"l2_pool_contract"` AppChainAddr AppChainAddr `yaml:"app_chain_addr"` Contracts []string `yaml:"contracts"` EventContracts []string `yaml:"event_contracts"` }
Click to show internal directories.
Click to hide internal directories.