Documentation
¶
Index ¶
- type IContractCaller
- func (_m *IContractCaller) CurrentAccountStateRoot() ([32]byte, error)
- func (_m *IContractCaller) CurrentHeaderBlock() (uint64, error)
- func (_m *IContractCaller) CurrentSpanNumber() *big.Int
- func (_m *IContractCaller) CurrentStateCounter() *big.Int
- func (_m *IContractCaller) DecodeNewHeaderBlockEvent(_a0 *types.Receipt, _a1 uint64) (*rootchain.RootchainNewHeaderBlock, error)
- func (_m *IContractCaller) DecodeSignerUpdateEvent(_a0 *types.Receipt, _a1 uint64) (*stakemanager.StakemanagerSignerChange, error)
- func (_m *IContractCaller) DecodeValidatorStakeUpdateEvent(_a0 *types.Receipt, _a1 uint64) (*stakemanager.StakemanagerStakeUpdate, error)
- func (_m *IContractCaller) DecodeValidatorTopupFeesEvent(_a0 *types.Receipt, _a1 uint64) (*stakemanager.StakemanagerTopUpFee, error)
- func (_m *IContractCaller) EncodeStateSyncedEvent(_a0 *types.Log) (*statesender.StatesenderStateSynced, error)
- func (_m *IContractCaller) GetBalance(address common.Address) (*big.Int, error)
- func (_m *IContractCaller) GetBlockNumberFromTxHash(_a0 common.Hash) (*big.Int, error)
- func (_m *IContractCaller) GetCheckpointSign(txHash common.Hash) ([]byte, []byte, []byte, error)
- func (_m *IContractCaller) GetConfirmedTxReceipt(_a0 common.Hash) (*types.Receipt, error)
- func (_m *IContractCaller) GetHeaderInfo(headerID uint64) (common.Hash, uint64, uint64, uint64, heimdalltypes.HeimdallAddress, error)
- func (_m *IContractCaller) GetLastChildBlock() (uint64, error)
- func (_m *IContractCaller) GetMainChainBlock(_a0 *big.Int) (*types.Header, error)
- func (_m *IContractCaller) GetMainTxReceipt(_a0 common.Hash) (*types.Receipt, error)
- func (_m *IContractCaller) GetMaticChainBlock(_a0 *big.Int) (*types.Header, error)
- func (_m *IContractCaller) GetMaticTxReceipt(_a0 common.Hash) (*types.Receipt, error)
- func (_m *IContractCaller) GetSpanDetails(id *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_m *IContractCaller) GetValidatorInfo(valID heimdalltypes.ValidatorID) (heimdalltypes.Validator, error)
- func (_m *IContractCaller) IsTxConfirmed(_a0 common.Hash) bool
- func (_m *IContractCaller) SendCheckpoint(voteSignBytes []byte, sigs []byte, txData []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IContractCaller ¶
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 ¶
GetBalance provides a mock function with given fields: address
func (*IContractCaller) GetBlockNumberFromTxHash ¶
GetBlockNumberFromTxHash provides a mock function with given fields: _a0
func (*IContractCaller) GetCheckpointSign ¶
GetCheckpointSign provides a mock function with given fields: txHash
func (*IContractCaller) GetConfirmedTxReceipt ¶
GetConfirmedTxReceipt provides a mock function with given fields: _a0
func (*IContractCaller) GetHeaderInfo ¶
func (_m *IContractCaller) GetHeaderInfo(headerID uint64) (common.Hash, uint64, uint64, uint64, heimdalltypes.HeimdallAddress, error)
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 ¶
GetMainChainBlock provides a mock function with given fields: _a0
func (*IContractCaller) GetMainTxReceipt ¶
GetMainTxReceipt provides a mock function with given fields: _a0
func (*IContractCaller) GetMaticChainBlock ¶
GetMaticChainBlock provides a mock function with given fields: _a0
func (*IContractCaller) GetMaticTxReceipt ¶
GetMaticTxReceipt provides a mock function with given fields: _a0
func (*IContractCaller) GetSpanDetails ¶
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