context

package
v0.0.0-...-4334f35 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	MinterMultisigAddr string

	CosmosConn   *grpc.ClientConn
	MinterClient *http_client.Client

	MinterWallet *wallet.Wallet
	Logger       log.Logger
	TxCommitter  *tx_committer.Server
	OrcAddress   sdk.AccAddress
	// contains filtered or unexported fields
}

func (*Context) Commit

func (c *Context) Commit()

func (*Context) LastBatchNonce

func (c *Context) LastBatchNonce() uint64

func (*Context) LastCheckedMinterBlock

func (c *Context) LastCheckedMinterBlock() uint64

func (*Context) LastEventNonce

func (c *Context) LastEventNonce() uint64

func (*Context) LastValsetNonce

func (c *Context) LastValsetNonce() uint64

func (*Context) LoadStatus

func (c *Context) LoadStatus(file string, defaultStatus config.MinterConfig)

func (*Context) SetLastBatchNonce

func (c *Context) SetLastBatchNonce(lastBatchNonce uint64)

func (*Context) SetLastCheckedMinterBlock

func (c *Context) SetLastCheckedMinterBlock(lastCheckedMinterBlock uint64)

func (*Context) SetLastEventNonce

func (c *Context) SetLastEventNonce(lastEventNonce uint64)

func (*Context) SetLastValsetNonce

func (c *Context) SetLastValsetNonce(lastValsetNonce uint64)

Jump to

Keyboard shortcuts

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