Documentation ¶
Index ¶
- type IGasOracle
- func (_m *IGasOracle) Address() common.Address
- func (_m *IGasOracle) Destination(opts *bind.CallOpts) (common.Address, error)
- func (_m *IGasOracle) FilterGasDataUpdated(opts *bind.FilterOpts) (*gasoracle.GasOracleGasDataUpdatedIterator, error)
- func (_m *IGasOracle) FilterInitialized(opts *bind.FilterOpts) (*gasoracle.GasOracleInitializedIterator, error)
- func (_m *IGasOracle) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*gasoracle.GasOracleOwnershipTransferredIterator, error)
- func (_m *IGasOracle) GASDATADECREASEDOPTIMISTICPERIOD(opts *bind.CallOpts) (*big.Int, error)
- func (_m *IGasOracle) GASDATAINCREASEDOPTIMISTICPERIOD(opts *bind.CallOpts) (*big.Int, error)
- func (_m *IGasOracle) GetDecodedGasData(opts *bind.CallOpts, domain uint32) (struct{ ... }, error)
- func (_m *IGasOracle) GetGasData(opts *bind.CallOpts) (*big.Int, error)
- func (_m *IGasOracle) GetMinimumTips(opts *bind.CallOpts, destination_ uint32, paddedRequest *big.Int, ...) (*big.Int, error)
- func (_m *IGasOracle) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_m *IGasOracle) LocalDomain(opts *bind.CallOpts) (uint32, error)
- func (_m *IGasOracle) Multicall(opts *bind.TransactOpts, calls []gasoracle.MultiCallableCall) (*types.Transaction, error)
- func (_m *IGasOracle) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_m *IGasOracle) ParseGasDataUpdated(log types.Log) (*gasoracle.GasOracleGasDataUpdated, error)
- func (_m *IGasOracle) ParseInitialized(log types.Log) (*gasoracle.GasOracleInitialized, error)
- func (_m *IGasOracle) ParseOwnershipTransferred(log types.Log) (*gasoracle.GasOracleOwnershipTransferred, error)
- func (_m *IGasOracle) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_m *IGasOracle) SetGasData(opts *bind.TransactOpts, domain uint32, gasPrice *big.Int, dataPrice *big.Int, ...) (*types.Transaction, error)
- func (_m *IGasOracle) SetSummitTip(opts *bind.TransactOpts, summitTipWei *big.Int) (*types.Transaction, error)
- func (_m *IGasOracle) SynapseDomain(opts *bind.CallOpts) (uint32, error)
- func (_m *IGasOracle) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_m *IGasOracle) UpdateGasData(opts *bind.TransactOpts, domain uint32) (*types.Transaction, error)
- func (_m *IGasOracle) Version(opts *bind.CallOpts) (string, error)
- func (_m *IGasOracle) WatchGasDataUpdated(opts *bind.WatchOpts, sink chan<- *gasoracle.GasOracleGasDataUpdated) (event.Subscription, error)
- func (_m *IGasOracle) WatchInitialized(opts *bind.WatchOpts, sink chan<- *gasoracle.GasOracleInitialized) (event.Subscription, error)
- func (_m *IGasOracle) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *gasoracle.GasOracleOwnershipTransferred, ...) (event.Subscription, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IGasOracle ¶
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) Address ¶
func (_m *IGasOracle) Address() common.Address
Address provides a mock function with given fields:
func (*IGasOracle) Destination ¶
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) 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) GASDATADECREASEDOPTIMISTICPERIOD ¶
GASDATADECREASEDOPTIMISTICPERIOD provides a mock function with given fields: opts
func (*IGasOracle) GASDATAINCREASEDOPTIMISTICPERIOD ¶
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 ¶
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) 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) ParseOwnershipTransferred ¶
func (_m *IGasOracle) ParseOwnershipTransferred(log types.Log) (*gasoracle.GasOracleOwnershipTransferred, error)
ParseOwnershipTransferred provides a mock function with given fields: log
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) 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) 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