github.com/ava-labs/avalanchego@v1.11.11/vms/platformvm/state/mock_diff.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: vms/platformvm/state/diff.go
     3  //
     4  // Generated by this command:
     5  //
     6  //	mockgen -source=vms/platformvm/state/diff.go -destination=vms/platformvm/state/mock_diff.go -package=state -exclude_interfaces= -mock_names=MockDiff=MockDiff
     7  //
     8  
     9  // Package state is a generated GoMock package.
    10  package state
    11  
    12  import (
    13  	reflect "reflect"
    14  	time "time"
    15  
    16  	ids "github.com/ava-labs/avalanchego/ids"
    17  	iterator "github.com/ava-labs/avalanchego/utils/iterator"
    18  	avax "github.com/ava-labs/avalanchego/vms/components/avax"
    19  	gas "github.com/ava-labs/avalanchego/vms/components/gas"
    20  	fx "github.com/ava-labs/avalanchego/vms/platformvm/fx"
    21  	status "github.com/ava-labs/avalanchego/vms/platformvm/status"
    22  	txs "github.com/ava-labs/avalanchego/vms/platformvm/txs"
    23  	gomock "go.uber.org/mock/gomock"
    24  )
    25  
    26  // MockDiff is a mock of Diff interface.
    27  type MockDiff struct {
    28  	ctrl     *gomock.Controller
    29  	recorder *MockDiffMockRecorder
    30  }
    31  
    32  // MockDiffMockRecorder is the mock recorder for MockDiff.
    33  type MockDiffMockRecorder struct {
    34  	mock *MockDiff
    35  }
    36  
    37  // NewMockDiff creates a new mock instance.
    38  func NewMockDiff(ctrl *gomock.Controller) *MockDiff {
    39  	mock := &MockDiff{ctrl: ctrl}
    40  	mock.recorder = &MockDiffMockRecorder{mock}
    41  	return mock
    42  }
    43  
    44  // EXPECT returns an object that allows the caller to indicate expected use.
    45  func (m *MockDiff) EXPECT() *MockDiffMockRecorder {
    46  	return m.recorder
    47  }
    48  
    49  // AddChain mocks base method.
    50  func (m *MockDiff) AddChain(createChainTx *txs.Tx) {
    51  	m.ctrl.T.Helper()
    52  	m.ctrl.Call(m, "AddChain", createChainTx)
    53  }
    54  
    55  // AddChain indicates an expected call of AddChain.
    56  func (mr *MockDiffMockRecorder) AddChain(createChainTx any) *gomock.Call {
    57  	mr.mock.ctrl.T.Helper()
    58  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddChain", reflect.TypeOf((*MockDiff)(nil).AddChain), createChainTx)
    59  }
    60  
    61  // AddRewardUTXO mocks base method.
    62  func (m *MockDiff) AddRewardUTXO(txID ids.ID, utxo *avax.UTXO) {
    63  	m.ctrl.T.Helper()
    64  	m.ctrl.Call(m, "AddRewardUTXO", txID, utxo)
    65  }
    66  
    67  // AddRewardUTXO indicates an expected call of AddRewardUTXO.
    68  func (mr *MockDiffMockRecorder) AddRewardUTXO(txID, utxo any) *gomock.Call {
    69  	mr.mock.ctrl.T.Helper()
    70  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddRewardUTXO", reflect.TypeOf((*MockDiff)(nil).AddRewardUTXO), txID, utxo)
    71  }
    72  
    73  // AddSubnet mocks base method.
    74  func (m *MockDiff) AddSubnet(subnetID ids.ID) {
    75  	m.ctrl.T.Helper()
    76  	m.ctrl.Call(m, "AddSubnet", subnetID)
    77  }
    78  
    79  // AddSubnet indicates an expected call of AddSubnet.
    80  func (mr *MockDiffMockRecorder) AddSubnet(subnetID any) *gomock.Call {
    81  	mr.mock.ctrl.T.Helper()
    82  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddSubnet", reflect.TypeOf((*MockDiff)(nil).AddSubnet), subnetID)
    83  }
    84  
    85  // AddSubnetTransformation mocks base method.
    86  func (m *MockDiff) AddSubnetTransformation(transformSubnetTx *txs.Tx) {
    87  	m.ctrl.T.Helper()
    88  	m.ctrl.Call(m, "AddSubnetTransformation", transformSubnetTx)
    89  }
    90  
    91  // AddSubnetTransformation indicates an expected call of AddSubnetTransformation.
    92  func (mr *MockDiffMockRecorder) AddSubnetTransformation(transformSubnetTx any) *gomock.Call {
    93  	mr.mock.ctrl.T.Helper()
    94  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddSubnetTransformation", reflect.TypeOf((*MockDiff)(nil).AddSubnetTransformation), transformSubnetTx)
    95  }
    96  
    97  // AddTx mocks base method.
    98  func (m *MockDiff) AddTx(tx *txs.Tx, status status.Status) {
    99  	m.ctrl.T.Helper()
   100  	m.ctrl.Call(m, "AddTx", tx, status)
   101  }
   102  
   103  // AddTx indicates an expected call of AddTx.
   104  func (mr *MockDiffMockRecorder) AddTx(tx, status any) *gomock.Call {
   105  	mr.mock.ctrl.T.Helper()
   106  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddTx", reflect.TypeOf((*MockDiff)(nil).AddTx), tx, status)
   107  }
   108  
   109  // AddUTXO mocks base method.
   110  func (m *MockDiff) AddUTXO(utxo *avax.UTXO) {
   111  	m.ctrl.T.Helper()
   112  	m.ctrl.Call(m, "AddUTXO", utxo)
   113  }
   114  
   115  // AddUTXO indicates an expected call of AddUTXO.
   116  func (mr *MockDiffMockRecorder) AddUTXO(utxo any) *gomock.Call {
   117  	mr.mock.ctrl.T.Helper()
   118  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddUTXO", reflect.TypeOf((*MockDiff)(nil).AddUTXO), utxo)
   119  }
   120  
   121  // Apply mocks base method.
   122  func (m *MockDiff) Apply(arg0 Chain) error {
   123  	m.ctrl.T.Helper()
   124  	ret := m.ctrl.Call(m, "Apply", arg0)
   125  	ret0, _ := ret[0].(error)
   126  	return ret0
   127  }
   128  
   129  // Apply indicates an expected call of Apply.
   130  func (mr *MockDiffMockRecorder) Apply(arg0 any) *gomock.Call {
   131  	mr.mock.ctrl.T.Helper()
   132  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Apply", reflect.TypeOf((*MockDiff)(nil).Apply), arg0)
   133  }
   134  
   135  // DeleteCurrentDelegator mocks base method.
   136  func (m *MockDiff) DeleteCurrentDelegator(staker *Staker) {
   137  	m.ctrl.T.Helper()
   138  	m.ctrl.Call(m, "DeleteCurrentDelegator", staker)
   139  }
   140  
   141  // DeleteCurrentDelegator indicates an expected call of DeleteCurrentDelegator.
   142  func (mr *MockDiffMockRecorder) DeleteCurrentDelegator(staker any) *gomock.Call {
   143  	mr.mock.ctrl.T.Helper()
   144  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCurrentDelegator", reflect.TypeOf((*MockDiff)(nil).DeleteCurrentDelegator), staker)
   145  }
   146  
   147  // DeleteCurrentValidator mocks base method.
   148  func (m *MockDiff) DeleteCurrentValidator(staker *Staker) {
   149  	m.ctrl.T.Helper()
   150  	m.ctrl.Call(m, "DeleteCurrentValidator", staker)
   151  }
   152  
   153  // DeleteCurrentValidator indicates an expected call of DeleteCurrentValidator.
   154  func (mr *MockDiffMockRecorder) DeleteCurrentValidator(staker any) *gomock.Call {
   155  	mr.mock.ctrl.T.Helper()
   156  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCurrentValidator", reflect.TypeOf((*MockDiff)(nil).DeleteCurrentValidator), staker)
   157  }
   158  
   159  // DeletePendingDelegator mocks base method.
   160  func (m *MockDiff) DeletePendingDelegator(staker *Staker) {
   161  	m.ctrl.T.Helper()
   162  	m.ctrl.Call(m, "DeletePendingDelegator", staker)
   163  }
   164  
   165  // DeletePendingDelegator indicates an expected call of DeletePendingDelegator.
   166  func (mr *MockDiffMockRecorder) DeletePendingDelegator(staker any) *gomock.Call {
   167  	mr.mock.ctrl.T.Helper()
   168  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePendingDelegator", reflect.TypeOf((*MockDiff)(nil).DeletePendingDelegator), staker)
   169  }
   170  
   171  // DeletePendingValidator mocks base method.
   172  func (m *MockDiff) DeletePendingValidator(staker *Staker) {
   173  	m.ctrl.T.Helper()
   174  	m.ctrl.Call(m, "DeletePendingValidator", staker)
   175  }
   176  
   177  // DeletePendingValidator indicates an expected call of DeletePendingValidator.
   178  func (mr *MockDiffMockRecorder) DeletePendingValidator(staker any) *gomock.Call {
   179  	mr.mock.ctrl.T.Helper()
   180  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePendingValidator", reflect.TypeOf((*MockDiff)(nil).DeletePendingValidator), staker)
   181  }
   182  
   183  // DeleteUTXO mocks base method.
   184  func (m *MockDiff) DeleteUTXO(utxoID ids.ID) {
   185  	m.ctrl.T.Helper()
   186  	m.ctrl.Call(m, "DeleteUTXO", utxoID)
   187  }
   188  
   189  // DeleteUTXO indicates an expected call of DeleteUTXO.
   190  func (mr *MockDiffMockRecorder) DeleteUTXO(utxoID any) *gomock.Call {
   191  	mr.mock.ctrl.T.Helper()
   192  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteUTXO", reflect.TypeOf((*MockDiff)(nil).DeleteUTXO), utxoID)
   193  }
   194  
   195  // GetCurrentDelegatorIterator mocks base method.
   196  func (m *MockDiff) GetCurrentDelegatorIterator(subnetID ids.ID, nodeID ids.NodeID) (iterator.Iterator[*Staker], error) {
   197  	m.ctrl.T.Helper()
   198  	ret := m.ctrl.Call(m, "GetCurrentDelegatorIterator", subnetID, nodeID)
   199  	ret0, _ := ret[0].(iterator.Iterator[*Staker])
   200  	ret1, _ := ret[1].(error)
   201  	return ret0, ret1
   202  }
   203  
   204  // GetCurrentDelegatorIterator indicates an expected call of GetCurrentDelegatorIterator.
   205  func (mr *MockDiffMockRecorder) GetCurrentDelegatorIterator(subnetID, nodeID any) *gomock.Call {
   206  	mr.mock.ctrl.T.Helper()
   207  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentDelegatorIterator", reflect.TypeOf((*MockDiff)(nil).GetCurrentDelegatorIterator), subnetID, nodeID)
   208  }
   209  
   210  // GetCurrentStakerIterator mocks base method.
   211  func (m *MockDiff) GetCurrentStakerIterator() (iterator.Iterator[*Staker], error) {
   212  	m.ctrl.T.Helper()
   213  	ret := m.ctrl.Call(m, "GetCurrentStakerIterator")
   214  	ret0, _ := ret[0].(iterator.Iterator[*Staker])
   215  	ret1, _ := ret[1].(error)
   216  	return ret0, ret1
   217  }
   218  
   219  // GetCurrentStakerIterator indicates an expected call of GetCurrentStakerIterator.
   220  func (mr *MockDiffMockRecorder) GetCurrentStakerIterator() *gomock.Call {
   221  	mr.mock.ctrl.T.Helper()
   222  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentStakerIterator", reflect.TypeOf((*MockDiff)(nil).GetCurrentStakerIterator))
   223  }
   224  
   225  // GetCurrentSupply mocks base method.
   226  func (m *MockDiff) GetCurrentSupply(subnetID ids.ID) (uint64, error) {
   227  	m.ctrl.T.Helper()
   228  	ret := m.ctrl.Call(m, "GetCurrentSupply", subnetID)
   229  	ret0, _ := ret[0].(uint64)
   230  	ret1, _ := ret[1].(error)
   231  	return ret0, ret1
   232  }
   233  
   234  // GetCurrentSupply indicates an expected call of GetCurrentSupply.
   235  func (mr *MockDiffMockRecorder) GetCurrentSupply(subnetID any) *gomock.Call {
   236  	mr.mock.ctrl.T.Helper()
   237  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentSupply", reflect.TypeOf((*MockDiff)(nil).GetCurrentSupply), subnetID)
   238  }
   239  
   240  // GetCurrentValidator mocks base method.
   241  func (m *MockDiff) GetCurrentValidator(subnetID ids.ID, nodeID ids.NodeID) (*Staker, error) {
   242  	m.ctrl.T.Helper()
   243  	ret := m.ctrl.Call(m, "GetCurrentValidator", subnetID, nodeID)
   244  	ret0, _ := ret[0].(*Staker)
   245  	ret1, _ := ret[1].(error)
   246  	return ret0, ret1
   247  }
   248  
   249  // GetCurrentValidator indicates an expected call of GetCurrentValidator.
   250  func (mr *MockDiffMockRecorder) GetCurrentValidator(subnetID, nodeID any) *gomock.Call {
   251  	mr.mock.ctrl.T.Helper()
   252  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentValidator", reflect.TypeOf((*MockDiff)(nil).GetCurrentValidator), subnetID, nodeID)
   253  }
   254  
   255  // GetDelegateeReward mocks base method.
   256  func (m *MockDiff) GetDelegateeReward(subnetID ids.ID, nodeID ids.NodeID) (uint64, error) {
   257  	m.ctrl.T.Helper()
   258  	ret := m.ctrl.Call(m, "GetDelegateeReward", subnetID, nodeID)
   259  	ret0, _ := ret[0].(uint64)
   260  	ret1, _ := ret[1].(error)
   261  	return ret0, ret1
   262  }
   263  
   264  // GetDelegateeReward indicates an expected call of GetDelegateeReward.
   265  func (mr *MockDiffMockRecorder) GetDelegateeReward(subnetID, nodeID any) *gomock.Call {
   266  	mr.mock.ctrl.T.Helper()
   267  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDelegateeReward", reflect.TypeOf((*MockDiff)(nil).GetDelegateeReward), subnetID, nodeID)
   268  }
   269  
   270  // GetFeeState mocks base method.
   271  func (m *MockDiff) GetFeeState() gas.State {
   272  	m.ctrl.T.Helper()
   273  	ret := m.ctrl.Call(m, "GetFeeState")
   274  	ret0, _ := ret[0].(gas.State)
   275  	return ret0
   276  }
   277  
   278  // GetFeeState indicates an expected call of GetFeeState.
   279  func (mr *MockDiffMockRecorder) GetFeeState() *gomock.Call {
   280  	mr.mock.ctrl.T.Helper()
   281  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFeeState", reflect.TypeOf((*MockDiff)(nil).GetFeeState))
   282  }
   283  
   284  // GetPendingDelegatorIterator mocks base method.
   285  func (m *MockDiff) GetPendingDelegatorIterator(subnetID ids.ID, nodeID ids.NodeID) (iterator.Iterator[*Staker], error) {
   286  	m.ctrl.T.Helper()
   287  	ret := m.ctrl.Call(m, "GetPendingDelegatorIterator", subnetID, nodeID)
   288  	ret0, _ := ret[0].(iterator.Iterator[*Staker])
   289  	ret1, _ := ret[1].(error)
   290  	return ret0, ret1
   291  }
   292  
   293  // GetPendingDelegatorIterator indicates an expected call of GetPendingDelegatorIterator.
   294  func (mr *MockDiffMockRecorder) GetPendingDelegatorIterator(subnetID, nodeID any) *gomock.Call {
   295  	mr.mock.ctrl.T.Helper()
   296  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPendingDelegatorIterator", reflect.TypeOf((*MockDiff)(nil).GetPendingDelegatorIterator), subnetID, nodeID)
   297  }
   298  
   299  // GetPendingStakerIterator mocks base method.
   300  func (m *MockDiff) GetPendingStakerIterator() (iterator.Iterator[*Staker], error) {
   301  	m.ctrl.T.Helper()
   302  	ret := m.ctrl.Call(m, "GetPendingStakerIterator")
   303  	ret0, _ := ret[0].(iterator.Iterator[*Staker])
   304  	ret1, _ := ret[1].(error)
   305  	return ret0, ret1
   306  }
   307  
   308  // GetPendingStakerIterator indicates an expected call of GetPendingStakerIterator.
   309  func (mr *MockDiffMockRecorder) GetPendingStakerIterator() *gomock.Call {
   310  	mr.mock.ctrl.T.Helper()
   311  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPendingStakerIterator", reflect.TypeOf((*MockDiff)(nil).GetPendingStakerIterator))
   312  }
   313  
   314  // GetPendingValidator mocks base method.
   315  func (m *MockDiff) GetPendingValidator(subnetID ids.ID, nodeID ids.NodeID) (*Staker, error) {
   316  	m.ctrl.T.Helper()
   317  	ret := m.ctrl.Call(m, "GetPendingValidator", subnetID, nodeID)
   318  	ret0, _ := ret[0].(*Staker)
   319  	ret1, _ := ret[1].(error)
   320  	return ret0, ret1
   321  }
   322  
   323  // GetPendingValidator indicates an expected call of GetPendingValidator.
   324  func (mr *MockDiffMockRecorder) GetPendingValidator(subnetID, nodeID any) *gomock.Call {
   325  	mr.mock.ctrl.T.Helper()
   326  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPendingValidator", reflect.TypeOf((*MockDiff)(nil).GetPendingValidator), subnetID, nodeID)
   327  }
   328  
   329  // GetSubnetManager mocks base method.
   330  func (m *MockDiff) GetSubnetManager(subnetID ids.ID) (ids.ID, []byte, error) {
   331  	m.ctrl.T.Helper()
   332  	ret := m.ctrl.Call(m, "GetSubnetManager", subnetID)
   333  	ret0, _ := ret[0].(ids.ID)
   334  	ret1, _ := ret[1].([]byte)
   335  	ret2, _ := ret[2].(error)
   336  	return ret0, ret1, ret2
   337  }
   338  
   339  // GetSubnetManager indicates an expected call of GetSubnetManager.
   340  func (mr *MockDiffMockRecorder) GetSubnetManager(subnetID any) *gomock.Call {
   341  	mr.mock.ctrl.T.Helper()
   342  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubnetManager", reflect.TypeOf((*MockDiff)(nil).GetSubnetManager), subnetID)
   343  }
   344  
   345  // GetSubnetOwner mocks base method.
   346  func (m *MockDiff) GetSubnetOwner(subnetID ids.ID) (fx.Owner, error) {
   347  	m.ctrl.T.Helper()
   348  	ret := m.ctrl.Call(m, "GetSubnetOwner", subnetID)
   349  	ret0, _ := ret[0].(fx.Owner)
   350  	ret1, _ := ret[1].(error)
   351  	return ret0, ret1
   352  }
   353  
   354  // GetSubnetOwner indicates an expected call of GetSubnetOwner.
   355  func (mr *MockDiffMockRecorder) GetSubnetOwner(subnetID any) *gomock.Call {
   356  	mr.mock.ctrl.T.Helper()
   357  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubnetOwner", reflect.TypeOf((*MockDiff)(nil).GetSubnetOwner), subnetID)
   358  }
   359  
   360  // GetSubnetTransformation mocks base method.
   361  func (m *MockDiff) GetSubnetTransformation(subnetID ids.ID) (*txs.Tx, error) {
   362  	m.ctrl.T.Helper()
   363  	ret := m.ctrl.Call(m, "GetSubnetTransformation", subnetID)
   364  	ret0, _ := ret[0].(*txs.Tx)
   365  	ret1, _ := ret[1].(error)
   366  	return ret0, ret1
   367  }
   368  
   369  // GetSubnetTransformation indicates an expected call of GetSubnetTransformation.
   370  func (mr *MockDiffMockRecorder) GetSubnetTransformation(subnetID any) *gomock.Call {
   371  	mr.mock.ctrl.T.Helper()
   372  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubnetTransformation", reflect.TypeOf((*MockDiff)(nil).GetSubnetTransformation), subnetID)
   373  }
   374  
   375  // GetTimestamp mocks base method.
   376  func (m *MockDiff) GetTimestamp() time.Time {
   377  	m.ctrl.T.Helper()
   378  	ret := m.ctrl.Call(m, "GetTimestamp")
   379  	ret0, _ := ret[0].(time.Time)
   380  	return ret0
   381  }
   382  
   383  // GetTimestamp indicates an expected call of GetTimestamp.
   384  func (mr *MockDiffMockRecorder) GetTimestamp() *gomock.Call {
   385  	mr.mock.ctrl.T.Helper()
   386  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTimestamp", reflect.TypeOf((*MockDiff)(nil).GetTimestamp))
   387  }
   388  
   389  // GetTx mocks base method.
   390  func (m *MockDiff) GetTx(txID ids.ID) (*txs.Tx, status.Status, error) {
   391  	m.ctrl.T.Helper()
   392  	ret := m.ctrl.Call(m, "GetTx", txID)
   393  	ret0, _ := ret[0].(*txs.Tx)
   394  	ret1, _ := ret[1].(status.Status)
   395  	ret2, _ := ret[2].(error)
   396  	return ret0, ret1, ret2
   397  }
   398  
   399  // GetTx indicates an expected call of GetTx.
   400  func (mr *MockDiffMockRecorder) GetTx(txID any) *gomock.Call {
   401  	mr.mock.ctrl.T.Helper()
   402  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTx", reflect.TypeOf((*MockDiff)(nil).GetTx), txID)
   403  }
   404  
   405  // GetUTXO mocks base method.
   406  func (m *MockDiff) GetUTXO(utxoID ids.ID) (*avax.UTXO, error) {
   407  	m.ctrl.T.Helper()
   408  	ret := m.ctrl.Call(m, "GetUTXO", utxoID)
   409  	ret0, _ := ret[0].(*avax.UTXO)
   410  	ret1, _ := ret[1].(error)
   411  	return ret0, ret1
   412  }
   413  
   414  // GetUTXO indicates an expected call of GetUTXO.
   415  func (mr *MockDiffMockRecorder) GetUTXO(utxoID any) *gomock.Call {
   416  	mr.mock.ctrl.T.Helper()
   417  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUTXO", reflect.TypeOf((*MockDiff)(nil).GetUTXO), utxoID)
   418  }
   419  
   420  // PutCurrentDelegator mocks base method.
   421  func (m *MockDiff) PutCurrentDelegator(staker *Staker) {
   422  	m.ctrl.T.Helper()
   423  	m.ctrl.Call(m, "PutCurrentDelegator", staker)
   424  }
   425  
   426  // PutCurrentDelegator indicates an expected call of PutCurrentDelegator.
   427  func (mr *MockDiffMockRecorder) PutCurrentDelegator(staker any) *gomock.Call {
   428  	mr.mock.ctrl.T.Helper()
   429  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutCurrentDelegator", reflect.TypeOf((*MockDiff)(nil).PutCurrentDelegator), staker)
   430  }
   431  
   432  // PutCurrentValidator mocks base method.
   433  func (m *MockDiff) PutCurrentValidator(staker *Staker) error {
   434  	m.ctrl.T.Helper()
   435  	ret := m.ctrl.Call(m, "PutCurrentValidator", staker)
   436  	ret0, _ := ret[0].(error)
   437  	return ret0
   438  }
   439  
   440  // PutCurrentValidator indicates an expected call of PutCurrentValidator.
   441  func (mr *MockDiffMockRecorder) PutCurrentValidator(staker any) *gomock.Call {
   442  	mr.mock.ctrl.T.Helper()
   443  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutCurrentValidator", reflect.TypeOf((*MockDiff)(nil).PutCurrentValidator), staker)
   444  }
   445  
   446  // PutPendingDelegator mocks base method.
   447  func (m *MockDiff) PutPendingDelegator(staker *Staker) {
   448  	m.ctrl.T.Helper()
   449  	m.ctrl.Call(m, "PutPendingDelegator", staker)
   450  }
   451  
   452  // PutPendingDelegator indicates an expected call of PutPendingDelegator.
   453  func (mr *MockDiffMockRecorder) PutPendingDelegator(staker any) *gomock.Call {
   454  	mr.mock.ctrl.T.Helper()
   455  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutPendingDelegator", reflect.TypeOf((*MockDiff)(nil).PutPendingDelegator), staker)
   456  }
   457  
   458  // PutPendingValidator mocks base method.
   459  func (m *MockDiff) PutPendingValidator(staker *Staker) error {
   460  	m.ctrl.T.Helper()
   461  	ret := m.ctrl.Call(m, "PutPendingValidator", staker)
   462  	ret0, _ := ret[0].(error)
   463  	return ret0
   464  }
   465  
   466  // PutPendingValidator indicates an expected call of PutPendingValidator.
   467  func (mr *MockDiffMockRecorder) PutPendingValidator(staker any) *gomock.Call {
   468  	mr.mock.ctrl.T.Helper()
   469  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutPendingValidator", reflect.TypeOf((*MockDiff)(nil).PutPendingValidator), staker)
   470  }
   471  
   472  // SetCurrentSupply mocks base method.
   473  func (m *MockDiff) SetCurrentSupply(subnetID ids.ID, cs uint64) {
   474  	m.ctrl.T.Helper()
   475  	m.ctrl.Call(m, "SetCurrentSupply", subnetID, cs)
   476  }
   477  
   478  // SetCurrentSupply indicates an expected call of SetCurrentSupply.
   479  func (mr *MockDiffMockRecorder) SetCurrentSupply(subnetID, cs any) *gomock.Call {
   480  	mr.mock.ctrl.T.Helper()
   481  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetCurrentSupply", reflect.TypeOf((*MockDiff)(nil).SetCurrentSupply), subnetID, cs)
   482  }
   483  
   484  // SetDelegateeReward mocks base method.
   485  func (m *MockDiff) SetDelegateeReward(subnetID ids.ID, nodeID ids.NodeID, amount uint64) error {
   486  	m.ctrl.T.Helper()
   487  	ret := m.ctrl.Call(m, "SetDelegateeReward", subnetID, nodeID, amount)
   488  	ret0, _ := ret[0].(error)
   489  	return ret0
   490  }
   491  
   492  // SetDelegateeReward indicates an expected call of SetDelegateeReward.
   493  func (mr *MockDiffMockRecorder) SetDelegateeReward(subnetID, nodeID, amount any) *gomock.Call {
   494  	mr.mock.ctrl.T.Helper()
   495  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetDelegateeReward", reflect.TypeOf((*MockDiff)(nil).SetDelegateeReward), subnetID, nodeID, amount)
   496  }
   497  
   498  // SetFeeState mocks base method.
   499  func (m *MockDiff) SetFeeState(f gas.State) {
   500  	m.ctrl.T.Helper()
   501  	m.ctrl.Call(m, "SetFeeState", f)
   502  }
   503  
   504  // SetFeeState indicates an expected call of SetFeeState.
   505  func (mr *MockDiffMockRecorder) SetFeeState(f any) *gomock.Call {
   506  	mr.mock.ctrl.T.Helper()
   507  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFeeState", reflect.TypeOf((*MockDiff)(nil).SetFeeState), f)
   508  }
   509  
   510  // SetSubnetManager mocks base method.
   511  func (m *MockDiff) SetSubnetManager(subnetID, chainID ids.ID, addr []byte) {
   512  	m.ctrl.T.Helper()
   513  	m.ctrl.Call(m, "SetSubnetManager", subnetID, chainID, addr)
   514  }
   515  
   516  // SetSubnetManager indicates an expected call of SetSubnetManager.
   517  func (mr *MockDiffMockRecorder) SetSubnetManager(subnetID, chainID, addr any) *gomock.Call {
   518  	mr.mock.ctrl.T.Helper()
   519  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSubnetManager", reflect.TypeOf((*MockDiff)(nil).SetSubnetManager), subnetID, chainID, addr)
   520  }
   521  
   522  // SetSubnetOwner mocks base method.
   523  func (m *MockDiff) SetSubnetOwner(subnetID ids.ID, owner fx.Owner) {
   524  	m.ctrl.T.Helper()
   525  	m.ctrl.Call(m, "SetSubnetOwner", subnetID, owner)
   526  }
   527  
   528  // SetSubnetOwner indicates an expected call of SetSubnetOwner.
   529  func (mr *MockDiffMockRecorder) SetSubnetOwner(subnetID, owner any) *gomock.Call {
   530  	mr.mock.ctrl.T.Helper()
   531  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSubnetOwner", reflect.TypeOf((*MockDiff)(nil).SetSubnetOwner), subnetID, owner)
   532  }
   533  
   534  // SetTimestamp mocks base method.
   535  func (m *MockDiff) SetTimestamp(tm time.Time) {
   536  	m.ctrl.T.Helper()
   537  	m.ctrl.Call(m, "SetTimestamp", tm)
   538  }
   539  
   540  // SetTimestamp indicates an expected call of SetTimestamp.
   541  func (mr *MockDiffMockRecorder) SetTimestamp(tm any) *gomock.Call {
   542  	mr.mock.ctrl.T.Helper()
   543  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTimestamp", reflect.TypeOf((*MockDiff)(nil).SetTimestamp), tm)
   544  }