Files
utxo/luxmock/mock_transferable_in.go
zeekay 7eec2c09f8 fix: update dependencies and fix type errors
- Fix ids.ToShortID multi-value error in mldsafx
- Add runtime v1.0.1 dependency
- Update transferables for consensus compatibility
2026-01-26 09:10:39 -08:00

116 lines
3.6 KiB
Go

// Copyright (C) 2019-2025, Lux Industries Inc All rights reserved.
// See the file LICENSE for licensing terms.
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/luxfi/vm/components/lux (interfaces: TransferableIn)
//
// Generated by this command:
//
// mockgen -package=lux -destination=components/lux/mock_transferable_in.go github.com/luxfi/vm/components/lux TransferableIn
//
// Package luxmock is a generated GoMock package.
package luxmock
import (
"context"
reflect "reflect"
"github.com/luxfi/runtime"
gomock "go.uber.org/mock/gomock"
)
// MockTransferableIn is a mock of TransferableIn interface.
type MockTransferableIn struct {
ctrl *gomock.Controller
recorder *MockTransferableInMockRecorder
}
// MockTransferableInMockRecorder is the mock recorder for MockTransferableIn.
type MockTransferableInMockRecorder struct {
mock *MockTransferableIn
}
// NewMockTransferableIn creates a new mock instance.
func NewMockTransferableIn(ctrl *gomock.Controller) *MockTransferableIn {
mock := &MockTransferableIn{ctrl: ctrl}
mock.recorder = &MockTransferableInMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockTransferableIn) EXPECT() *MockTransferableInMockRecorder {
return m.recorder
}
// Amount mocks base method.
func (m *MockTransferableIn) Amount() uint64 {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Amount")
ret0, _ := ret[0].(uint64)
return ret0
}
// Amount indicates an expected call of Amount.
func (mr *MockTransferableInMockRecorder) Amount() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Amount", reflect.TypeOf((*MockTransferableIn)(nil).Amount))
}
// Cost mocks base method.
func (m *MockTransferableIn) Cost() (uint64, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Cost")
ret0, _ := ret[0].(uint64)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Cost indicates an expected call of Cost.
func (mr *MockTransferableInMockRecorder) Cost() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Cost", reflect.TypeOf((*MockTransferableIn)(nil).Cost))
}
// InitRuntime mocks base method.
func (m *MockTransferableIn) InitRuntime(arg0 *runtime.Runtime) {
m.ctrl.T.Helper()
m.ctrl.Call(m, "InitRuntime", arg0)
}
// InitRuntime indicates an expected call of InitRuntime.
func (mr *MockTransferableInMockRecorder) InitRuntime(arg0 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InitRuntime", reflect.TypeOf((*MockTransferableIn)(nil).InitRuntime), arg0)
}
// Verify mocks base method.
func (m *MockTransferableIn) Verify() error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Verify")
ret0, _ := ret[0].(error)
return ret0
}
// Verify indicates an expected call of Verify.
func (mr *MockTransferableInMockRecorder) Verify() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Verify", reflect.TypeOf((*MockTransferableIn)(nil).Verify))
}
// InitializeWithContext mocks base method.
func (m *MockTransferableIn) InitializeWithContext(ctx context.Context) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "InitializeWithContext", ctx)
ret0, _ := ret[0].(error)
return ret0
}
// InitializeWithContext indicates an expected call of InitializeWithContext.
func (mr *MockTransferableInMockRecorder) InitializeWithContext(ctx interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InitializeWithContext", reflect.TypeOf((*MockTransferableIn)(nil).InitializeWithContext), ctx)
}