mock_envelope

package
v2.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_envelope is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEnvelope

type MockEnvelope struct {
	// contains filtered or unexported fields
}

MockEnvelope is a mock of Envelope interface.

func NewMockEnvelope

func NewMockEnvelope(ctrl *gomock.Controller) *MockEnvelope

NewMockEnvelope creates a new mock instance.

func (*MockEnvelope) Action

func (m *MockEnvelope) Action() action.Action

Action mocks base method.

func (*MockEnvelope) ChainID

func (m *MockEnvelope) ChainID() uint32

ChainID mocks base method.

func (*MockEnvelope) Cost

func (m *MockEnvelope) Cost() (*big.Int, error)

Cost mocks base method.

func (*MockEnvelope) Destination

func (m *MockEnvelope) Destination() (string, bool)

Destination mocks base method.

func (*MockEnvelope) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEnvelope) GasFeeCap

func (m *MockEnvelope) GasFeeCap() *big.Int

GasFeeCap mocks base method.

func (*MockEnvelope) GasLimit added in v2.0.6

func (m *MockEnvelope) GasLimit() uint64

GasLimit mocks base method.

func (*MockEnvelope) GasPrice

func (m *MockEnvelope) GasPrice() *big.Int

GasPrice mocks base method.

func (*MockEnvelope) GasTipCap

func (m *MockEnvelope) GasTipCap() *big.Int

GasTipCap mocks base method.

func (*MockEnvelope) IntrinsicGas

func (m *MockEnvelope) IntrinsicGas() (uint64, error)

IntrinsicGas mocks base method.

func (*MockEnvelope) LoadProto

func (m *MockEnvelope) LoadProto(pbAct *iotextypes.ActionCore) error

LoadProto mocks base method.

func (*MockEnvelope) Nonce

func (m *MockEnvelope) Nonce() uint64

Nonce mocks base method.

func (*MockEnvelope) Proto

func (m *MockEnvelope) Proto() *iotextypes.ActionCore

Proto mocks base method.

func (*MockEnvelope) SetChainID

func (m *MockEnvelope) SetChainID(chainID uint32)

SetChainID mocks base method.

func (*MockEnvelope) SetNonce

func (m *MockEnvelope) SetNonce(n uint64)

SetNonce mocks base method.

func (*MockEnvelope) Version added in v2.0.6

func (m *MockEnvelope) Version() uint32

Version mocks base method.

type MockEnvelopeMockRecorder

type MockEnvelopeMockRecorder struct {
	// contains filtered or unexported fields
}

MockEnvelopeMockRecorder is the mock recorder for MockEnvelope.

func (*MockEnvelopeMockRecorder) Action

func (mr *MockEnvelopeMockRecorder) Action() *gomock.Call

Action indicates an expected call of Action.

func (*MockEnvelopeMockRecorder) ChainID

func (mr *MockEnvelopeMockRecorder) ChainID() *gomock.Call

ChainID indicates an expected call of ChainID.

func (*MockEnvelopeMockRecorder) Cost

func (mr *MockEnvelopeMockRecorder) Cost() *gomock.Call

Cost indicates an expected call of Cost.

func (*MockEnvelopeMockRecorder) Destination

func (mr *MockEnvelopeMockRecorder) Destination() *gomock.Call

Destination indicates an expected call of Destination.

func (*MockEnvelopeMockRecorder) GasFeeCap

func (mr *MockEnvelopeMockRecorder) GasFeeCap() *gomock.Call

GasFeeCap indicates an expected call of GasFeeCap.

func (*MockEnvelopeMockRecorder) GasLimit added in v2.0.6

func (mr *MockEnvelopeMockRecorder) GasLimit() *gomock.Call

GasLimit indicates an expected call of GasLimit.

func (*MockEnvelopeMockRecorder) GasPrice

func (mr *MockEnvelopeMockRecorder) GasPrice() *gomock.Call

GasPrice indicates an expected call of GasPrice.

func (*MockEnvelopeMockRecorder) GasTipCap

func (mr *MockEnvelopeMockRecorder) GasTipCap() *gomock.Call

GasTipCap indicates an expected call of GasTipCap.

func (*MockEnvelopeMockRecorder) IntrinsicGas

func (mr *MockEnvelopeMockRecorder) IntrinsicGas() *gomock.Call

IntrinsicGas indicates an expected call of IntrinsicGas.

func (*MockEnvelopeMockRecorder) LoadProto

func (mr *MockEnvelopeMockRecorder) LoadProto(pbAct interface{}) *gomock.Call

LoadProto indicates an expected call of LoadProto.

func (*MockEnvelopeMockRecorder) Nonce

func (mr *MockEnvelopeMockRecorder) Nonce() *gomock.Call

Nonce indicates an expected call of Nonce.

func (*MockEnvelopeMockRecorder) Proto

func (mr *MockEnvelopeMockRecorder) Proto() *gomock.Call

Proto indicates an expected call of Proto.

func (*MockEnvelopeMockRecorder) SetChainID

func (mr *MockEnvelopeMockRecorder) SetChainID(chainID interface{}) *gomock.Call

SetChainID indicates an expected call of SetChainID.

func (*MockEnvelopeMockRecorder) SetNonce

func (mr *MockEnvelopeMockRecorder) SetNonce(n interface{}) *gomock.Call

SetNonce indicates an expected call of SetNonce.

func (*MockEnvelopeMockRecorder) Version added in v2.0.6

func (mr *MockEnvelopeMockRecorder) Version() *gomock.Call

Version indicates an expected call of Version.

Jump to

Keyboard shortcuts

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