mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IContractCaller

type IContractCaller struct {
	mock.Mock
}

IContractCaller is an autogenerated mock type for the IContractCaller type

func (*IContractCaller) CurrentAccountStateRoot

func (_m *IContractCaller) CurrentAccountStateRoot() ([32]byte, error)

CurrentAccountStateRoot provides a mock function with given fields:

func (*IContractCaller) CurrentHeaderBlock

func (_m *IContractCaller) CurrentHeaderBlock() (uint64, error)

CurrentHeaderBlock provides a mock function with given fields:

func (*IContractCaller) CurrentSpanNumber

func (_m *IContractCaller) CurrentSpanNumber() *big.Int

CurrentSpanNumber provides a mock function with given fields:

func (*IContractCaller) CurrentStateCounter

func (_m *IContractCaller) CurrentStateCounter() *big.Int

CurrentStateCounter provides a mock function with given fields:

func (*IContractCaller) DecodeNewHeaderBlockEvent

func (_m *IContractCaller) DecodeNewHeaderBlockEvent(_a0 *types.Receipt, _a1 uint64) (*rootchain.RootchainNewHeaderBlock, error)

DecodeNewHeaderBlockEvent provides a mock function with given fields: _a0, _a1

func (*IContractCaller) DecodeSignerUpdateEvent

func (_m *IContractCaller) DecodeSignerUpdateEvent(_a0 *types.Receipt, _a1 uint64) (*stakemanager.StakemanagerSignerChange, error)

DecodeSignerUpdateEvent provides a mock function with given fields: _a0, _a1

func (*IContractCaller) DecodeValidatorStakeUpdateEvent

func (_m *IContractCaller) DecodeValidatorStakeUpdateEvent(_a0 *types.Receipt, _a1 uint64) (*stakemanager.StakemanagerStakeUpdate, error)

DecodeValidatorStakeUpdateEvent provides a mock function with given fields: _a0, _a1

func (*IContractCaller) DecodeValidatorTopupFeesEvent

func (_m *IContractCaller) DecodeValidatorTopupFeesEvent(_a0 *types.Receipt, _a1 uint64) (*stakemanager.StakemanagerTopUpFee, error)

DecodeValidatorTopupFeesEvent provides a mock function with given fields: _a0, _a1

func (*IContractCaller) EncodeStateSyncedEvent

func (_m *IContractCaller) EncodeStateSyncedEvent(_a0 *types.Log) (*statesender.StatesenderStateSynced, error)

EncodeStateSyncedEvent provides a mock function with given fields: _a0

func (*IContractCaller) GetBalance

func (_m *IContractCaller) GetBalance(address common.Address) (*big.Int, error)

GetBalance provides a mock function with given fields: address

func (*IContractCaller) GetBlockNumberFromTxHash

func (_m *IContractCaller) GetBlockNumberFromTxHash(_a0 common.Hash) (*big.Int, error)

GetBlockNumberFromTxHash provides a mock function with given fields: _a0

func (*IContractCaller) GetCheckpointSign

func (_m *IContractCaller) GetCheckpointSign(txHash common.Hash) ([]byte, []byte, []byte, error)

GetCheckpointSign provides a mock function with given fields: txHash

func (*IContractCaller) GetConfirmedTxReceipt

func (_m *IContractCaller) GetConfirmedTxReceipt(_a0 common.Hash) (*types.Receipt, error)

GetConfirmedTxReceipt provides a mock function with given fields: _a0

func (*IContractCaller) GetHeaderInfo

GetHeaderInfo provides a mock function with given fields: headerID

func (*IContractCaller) GetLastChildBlock

func (_m *IContractCaller) GetLastChildBlock() (uint64, error)

GetLastChildBlock provides a mock function with given fields:

func (*IContractCaller) GetMainChainBlock

func (_m *IContractCaller) GetMainChainBlock(_a0 *big.Int) (*types.Header, error)

GetMainChainBlock provides a mock function with given fields: _a0

func (*IContractCaller) GetMainTxReceipt

func (_m *IContractCaller) GetMainTxReceipt(_a0 common.Hash) (*types.Receipt, error)

GetMainTxReceipt provides a mock function with given fields: _a0

func (*IContractCaller) GetMaticChainBlock

func (_m *IContractCaller) GetMaticChainBlock(_a0 *big.Int) (*types.Header, error)

GetMaticChainBlock provides a mock function with given fields: _a0

func (*IContractCaller) GetMaticTxReceipt

func (_m *IContractCaller) GetMaticTxReceipt(_a0 common.Hash) (*types.Receipt, error)

GetMaticTxReceipt provides a mock function with given fields: _a0

func (*IContractCaller) GetSpanDetails

func (_m *IContractCaller) GetSpanDetails(id *big.Int) (*big.Int, *big.Int, *big.Int, error)

GetSpanDetails provides a mock function with given fields: id

func (*IContractCaller) GetValidatorInfo

func (_m *IContractCaller) GetValidatorInfo(valID heimdalltypes.ValidatorID) (heimdalltypes.Validator, error)

GetValidatorInfo provides a mock function with given fields: valID

func (*IContractCaller) IsTxConfirmed

func (_m *IContractCaller) IsTxConfirmed(_a0 common.Hash) bool

IsTxConfirmed provides a mock function with given fields: _a0

func (*IContractCaller) SendCheckpoint

func (_m *IContractCaller) SendCheckpoint(voteSignBytes []byte, sigs []byte, txData []byte)

SendCheckpoint provides a mock function with given fields: voteSignBytes, sigs, txData

Jump to

Keyboard shortcuts

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