mocks

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sequencer

type Sequencer struct {
	mock.Mock
	// contains filtered or unexported fields
}

func (*Sequencer) Calls

func (c *Sequencer) Calls() []mock.Call

func (*Sequencer) GetBlockByNumber

func (c *Sequencer) GetBlockByNumber(ctx context.Context, blockNumber uint64) (*starknet.Block, error)

func (*Sequencer) GetLatestBlock

func (c *Sequencer) GetLatestBlock(ctx context.Context) (*starknet.Block, error)

func (*Sequencer) GetPendingBlock

func (c *Sequencer) GetPendingBlock(ctx context.Context) (*starknet.Block, error)

Jump to

Keyboard shortcuts

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