mocks

package
v0.19.3 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IGasOracle

type IGasOracle struct {
	mock.Mock
}

IGasOracle is an autogenerated mock type for the IGasOracle type

func NewIGasOracle

func NewIGasOracle(t mockConstructorTestingTNewIGasOracle) *IGasOracle

NewIGasOracle creates a new instance of IGasOracle. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*IGasOracle) AcceptOwnership added in v0.1.0

func (_m *IGasOracle) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership provides a mock function with given fields: opts

func (*IGasOracle) Address

func (_m *IGasOracle) Address() common.Address

Address provides a mock function with given fields:

func (*IGasOracle) Destination

func (_m *IGasOracle) Destination(opts *bind.CallOpts) (common.Address, error)

Destination provides a mock function with given fields: opts

func (*IGasOracle) FilterGasDataUpdated

func (_m *IGasOracle) FilterGasDataUpdated(opts *bind.FilterOpts) (*gasoracle.GasOracleGasDataUpdatedIterator, error)

FilterGasDataUpdated provides a mock function with given fields: opts

func (*IGasOracle) FilterInitialized

func (_m *IGasOracle) FilterInitialized(opts *bind.FilterOpts) (*gasoracle.GasOracleInitializedIterator, error)

FilterInitialized provides a mock function with given fields: opts

func (*IGasOracle) FilterOwnershipTransferStarted added in v0.1.0

func (_m *IGasOracle) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*gasoracle.GasOracleOwnershipTransferStartedIterator, error)

FilterOwnershipTransferStarted provides a mock function with given fields: opts, previousOwner, newOwner

func (*IGasOracle) FilterOwnershipTransferred

func (_m *IGasOracle) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*gasoracle.GasOracleOwnershipTransferredIterator, error)

FilterOwnershipTransferred provides a mock function with given fields: opts, previousOwner, newOwner

func (*IGasOracle) FilterSummitTipUpdated added in v0.1.0

func (_m *IGasOracle) FilterSummitTipUpdated(opts *bind.FilterOpts) (*gasoracle.GasOracleSummitTipUpdatedIterator, error)

FilterSummitTipUpdated provides a mock function with given fields: opts

func (*IGasOracle) GASDATADECREASEDOPTIMISTICPERIOD

func (_m *IGasOracle) GASDATADECREASEDOPTIMISTICPERIOD(opts *bind.CallOpts) (*big.Int, error)

GASDATADECREASEDOPTIMISTICPERIOD provides a mock function with given fields: opts

func (*IGasOracle) GASDATAINCREASEDOPTIMISTICPERIOD

func (_m *IGasOracle) GASDATAINCREASEDOPTIMISTICPERIOD(opts *bind.CallOpts) (*big.Int, error)

GASDATAINCREASEDOPTIMISTICPERIOD provides a mock function with given fields: opts

func (*IGasOracle) GetDecodedGasData

func (_m *IGasOracle) GetDecodedGasData(opts *bind.CallOpts, domain uint32) (struct {
	GasPrice     *big.Int
	DataPrice    *big.Int
	ExecBuffer   *big.Int
	AmortAttCost *big.Int
	EtherPrice   *big.Int
	Markup       *big.Int
}, error)

GetDecodedGasData provides a mock function with given fields: opts, domain

func (*IGasOracle) GetGasData

func (_m *IGasOracle) GetGasData(opts *bind.CallOpts) (*big.Int, error)

GetGasData provides a mock function with given fields: opts

func (*IGasOracle) GetMinimumTips

func (_m *IGasOracle) GetMinimumTips(opts *bind.CallOpts, destination_ uint32, paddedRequest *big.Int, contentLength *big.Int) (*big.Int, error)

GetMinimumTips provides a mock function with given fields: opts, destination_, paddedRequest, contentLength

func (*IGasOracle) Initialize

func (_m *IGasOracle) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)

Initialize provides a mock function with given fields: opts

func (*IGasOracle) LocalDomain

func (_m *IGasOracle) LocalDomain(opts *bind.CallOpts) (uint32, error)

LocalDomain provides a mock function with given fields: opts

func (*IGasOracle) Multicall

func (_m *IGasOracle) Multicall(opts *bind.TransactOpts, calls []gasoracle.MultiCallableCall) (*types.Transaction, error)

Multicall provides a mock function with given fields: opts, calls

func (*IGasOracle) Owner

func (_m *IGasOracle) Owner(opts *bind.CallOpts) (common.Address, error)

Owner provides a mock function with given fields: opts

func (*IGasOracle) ParseGasDataUpdated

func (_m *IGasOracle) ParseGasDataUpdated(log types.Log) (*gasoracle.GasOracleGasDataUpdated, error)

ParseGasDataUpdated provides a mock function with given fields: log

func (*IGasOracle) ParseInitialized

func (_m *IGasOracle) ParseInitialized(log types.Log) (*gasoracle.GasOracleInitialized, error)

ParseInitialized provides a mock function with given fields: log

func (*IGasOracle) ParseOwnershipTransferStarted added in v0.1.0

func (_m *IGasOracle) ParseOwnershipTransferStarted(log types.Log) (*gasoracle.GasOracleOwnershipTransferStarted, error)

ParseOwnershipTransferStarted provides a mock function with given fields: log

func (*IGasOracle) ParseOwnershipTransferred

func (_m *IGasOracle) ParseOwnershipTransferred(log types.Log) (*gasoracle.GasOracleOwnershipTransferred, error)

ParseOwnershipTransferred provides a mock function with given fields: log

func (*IGasOracle) ParseSummitTipUpdated added in v0.1.0

func (_m *IGasOracle) ParseSummitTipUpdated(log types.Log) (*gasoracle.GasOracleSummitTipUpdated, error)

ParseSummitTipUpdated provides a mock function with given fields: log

func (*IGasOracle) PendingOwner added in v0.1.0

func (_m *IGasOracle) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner provides a mock function with given fields: opts

func (*IGasOracle) RenounceOwnership

func (_m *IGasOracle) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership provides a mock function with given fields: opts

func (*IGasOracle) SetGasData

func (_m *IGasOracle) SetGasData(opts *bind.TransactOpts, domain uint32, gasPrice *big.Int, dataPrice *big.Int, execBuffer *big.Int, amortAttCost *big.Int, etherPrice *big.Int, markup *big.Int) (*types.Transaction, error)

SetGasData provides a mock function with given fields: opts, domain, gasPrice, dataPrice, execBuffer, amortAttCost, etherPrice, markup

func (*IGasOracle) SetSummitTip

func (_m *IGasOracle) SetSummitTip(opts *bind.TransactOpts, summitTipWei_ *big.Int) (*types.Transaction, error)

SetSummitTip provides a mock function with given fields: opts, summitTipWei_

func (*IGasOracle) SummitTipWei added in v0.1.0

func (_m *IGasOracle) SummitTipWei(opts *bind.CallOpts) (*big.Int, error)

SummitTipWei provides a mock function with given fields: opts

func (*IGasOracle) SynapseDomain added in v0.0.237

func (_m *IGasOracle) SynapseDomain(opts *bind.CallOpts) (uint32, error)

SynapseDomain provides a mock function with given fields: opts

func (*IGasOracle) TransferOwnership

func (_m *IGasOracle) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership provides a mock function with given fields: opts, newOwner

func (*IGasOracle) UpdateGasData

func (_m *IGasOracle) UpdateGasData(opts *bind.TransactOpts, domain uint32) (*types.Transaction, error)

UpdateGasData provides a mock function with given fields: opts, domain

func (*IGasOracle) Version

func (_m *IGasOracle) Version(opts *bind.CallOpts) (string, error)

Version provides a mock function with given fields: opts

func (*IGasOracle) WatchGasDataUpdated

func (_m *IGasOracle) WatchGasDataUpdated(opts *bind.WatchOpts, sink chan<- *gasoracle.GasOracleGasDataUpdated) (event.Subscription, error)

WatchGasDataUpdated provides a mock function with given fields: opts, sink

func (*IGasOracle) WatchInitialized

func (_m *IGasOracle) WatchInitialized(opts *bind.WatchOpts, sink chan<- *gasoracle.GasOracleInitialized) (event.Subscription, error)

WatchInitialized provides a mock function with given fields: opts, sink

func (*IGasOracle) WatchOwnershipTransferStarted added in v0.1.0

func (_m *IGasOracle) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *gasoracle.GasOracleOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferStarted provides a mock function with given fields: opts, sink, previousOwner, newOwner

func (*IGasOracle) WatchOwnershipTransferred

func (_m *IGasOracle) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *gasoracle.GasOracleOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred provides a mock function with given fields: opts, sink, previousOwner, newOwner

func (*IGasOracle) WatchSummitTipUpdated added in v0.1.0

func (_m *IGasOracle) WatchSummitTipUpdated(opts *bind.WatchOpts, sink chan<- *gasoracle.GasOracleSummitTipUpdated) (event.Subscription, error)

WatchSummitTipUpdated provides a mock function with given fields: opts, sink

Jump to

Keyboard shortcuts

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