utils

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap() func(cliCtx *cli.Context) error

Bootstrap returns a closure that executes the core logic of op-rosetta. The closure constructs a new OpClient and runs the Rosetta server using rosettaGethUtils.Bootstrap. The use of a closure allows the parameters bound to the top-level main package, e.g. GitVersion, to be captured and used once the function is executed.

func LoadTypes

func LoadTypes() *sdkTypes.Types

LoadTypes loads the types for the Optimism Rosetta service.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL