interceptedTxMocks

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InterceptedTxHandlerStub

type InterceptedTxHandlerStub struct {
	SenderShardIdCalled                        func() uint32
	ReceiverShardIdCalled                      func() uint32
	NonceCalled                                func() uint64
	SenderAddressCalled                        func() []byte
	FeeCalled                                  func() *big.Int
	TransactionCalled                          func() data.TransactionHandler
	GetTxMessageForSignatureVerificationCalled func() ([]byte, error)
}

InterceptedTxHandlerStub -

func (*InterceptedTxHandlerStub) Fee

func (iths *InterceptedTxHandlerStub) Fee() *big.Int

Fee -

func (*InterceptedTxHandlerStub) GetTxMessageForSignatureVerification

func (iths *InterceptedTxHandlerStub) GetTxMessageForSignatureVerification() ([]byte, error)

GetTxMessageForSignatureVerification -

func (*InterceptedTxHandlerStub) Nonce

func (iths *InterceptedTxHandlerStub) Nonce() uint64

Nonce -

func (*InterceptedTxHandlerStub) ReceiverShardId

func (iths *InterceptedTxHandlerStub) ReceiverShardId() uint32

ReceiverShardId -

func (*InterceptedTxHandlerStub) SenderAddress

func (iths *InterceptedTxHandlerStub) SenderAddress() []byte

SenderAddress -

func (*InterceptedTxHandlerStub) SenderShardId

func (iths *InterceptedTxHandlerStub) SenderShardId() uint32

SenderShardId -

func (*InterceptedTxHandlerStub) Transaction

func (iths *InterceptedTxHandlerStub) Transaction() data.TransactionHandler

Transaction -

type InterceptedUnsignedTxHandlerStub

type InterceptedUnsignedTxHandlerStub struct {
	SenderShardIdCalled   func() uint32
	ReceiverShardIdCalled func() uint32
	NonceCalled           func() uint64
	SenderAddressCalled   func() []byte
	FeeCalled             func() *big.Int
	TransactionCalled     func() data.TransactionHandler
}

InterceptedUnsignedTxHandlerStub -

func (*InterceptedUnsignedTxHandlerStub) Fee

Fee -

func (*InterceptedUnsignedTxHandlerStub) Nonce

Nonce -

func (*InterceptedUnsignedTxHandlerStub) ReceiverShardId

func (iths *InterceptedUnsignedTxHandlerStub) ReceiverShardId() uint32

ReceiverShardId -

func (*InterceptedUnsignedTxHandlerStub) SenderAddress

func (iths *InterceptedUnsignedTxHandlerStub) SenderAddress() []byte

SenderAddress -

func (*InterceptedUnsignedTxHandlerStub) SenderShardId

func (iths *InterceptedUnsignedTxHandlerStub) SenderShardId() uint32

SenderShardId -

func (*InterceptedUnsignedTxHandlerStub) Transaction

Transaction -

Jump to

Keyboard shortcuts

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