Documentation ¶
Overview ¶
Package mock_envelope is a generated GoMock package.
Index ¶
- type MockEnvelope
- func (m *MockEnvelope) Action() action.Action
- func (m *MockEnvelope) ChainID() uint32
- func (m *MockEnvelope) Cost() (*big.Int, error)
- func (m *MockEnvelope) Destination() (string, bool)
- func (m *MockEnvelope) EXPECT() *MockEnvelopeMockRecorder
- func (m *MockEnvelope) GasFeeCap() *big.Int
- func (m *MockEnvelope) GasLimit() uint64
- func (m *MockEnvelope) GasPrice() *big.Int
- func (m *MockEnvelope) GasTipCap() *big.Int
- func (m *MockEnvelope) IntrinsicGas() (uint64, error)
- func (m *MockEnvelope) LoadProto(pbAct *iotextypes.ActionCore) error
- func (m *MockEnvelope) Nonce() uint64
- func (m *MockEnvelope) Proto() *iotextypes.ActionCore
- func (m *MockEnvelope) SetChainID(chainID uint32)
- func (m *MockEnvelope) SetNonce(n uint64)
- func (m *MockEnvelope) Version() uint32
- type MockEnvelopeMockRecorder
- func (mr *MockEnvelopeMockRecorder) Action() *gomock.Call
- func (mr *MockEnvelopeMockRecorder) ChainID() *gomock.Call
- func (mr *MockEnvelopeMockRecorder) Cost() *gomock.Call
- func (mr *MockEnvelopeMockRecorder) Destination() *gomock.Call
- func (mr *MockEnvelopeMockRecorder) GasFeeCap() *gomock.Call
- func (mr *MockEnvelopeMockRecorder) GasLimit() *gomock.Call
- func (mr *MockEnvelopeMockRecorder) GasPrice() *gomock.Call
- func (mr *MockEnvelopeMockRecorder) GasTipCap() *gomock.Call
- func (mr *MockEnvelopeMockRecorder) IntrinsicGas() *gomock.Call
- func (mr *MockEnvelopeMockRecorder) LoadProto(pbAct interface{}) *gomock.Call
- func (mr *MockEnvelopeMockRecorder) Nonce() *gomock.Call
- func (mr *MockEnvelopeMockRecorder) Proto() *gomock.Call
- func (mr *MockEnvelopeMockRecorder) SetChainID(chainID interface{}) *gomock.Call
- func (mr *MockEnvelopeMockRecorder) SetNonce(n interface{}) *gomock.Call
- func (mr *MockEnvelopeMockRecorder) Version() *gomock.Call
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) Destination ¶
func (m *MockEnvelope) Destination() (string, bool)
Destination mocks base method.
func (*MockEnvelope) EXPECT ¶
func (m *MockEnvelope) EXPECT() *MockEnvelopeMockRecorder
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) 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.