Documentation ¶
Index ¶
- Variables
- type GetGasOverhead
- type IChainModule
- type IChainModuleCaller
- func (_IChainModule *IChainModuleCaller) BlockHash(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)
- func (_IChainModule *IChainModuleCaller) BlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_IChainModule *IChainModuleCaller) GetCurrentL1Fee(opts *bind.CallOpts) (*big.Int, error)
- func (_IChainModule *IChainModuleCaller) GetGasOverhead(opts *bind.CallOpts) (GetGasOverhead, error)
- func (_IChainModule *IChainModuleCaller) GetMaxL1Fee(opts *bind.CallOpts, dataSize *big.Int) (*big.Int, error)
- type IChainModuleCallerRaw
- type IChainModuleCallerSession
- func (_IChainModule *IChainModuleCallerSession) BlockHash(arg0 *big.Int) ([32]byte, error)
- func (_IChainModule *IChainModuleCallerSession) BlockNumber() (*big.Int, error)
- func (_IChainModule *IChainModuleCallerSession) GetCurrentL1Fee() (*big.Int, error)
- func (_IChainModule *IChainModuleCallerSession) GetGasOverhead() (GetGasOverhead, error)
- func (_IChainModule *IChainModuleCallerSession) GetMaxL1Fee(dataSize *big.Int) (*big.Int, error)
- type IChainModuleFilterer
- type IChainModuleInterface
- type IChainModuleRaw
- func (_IChainModule *IChainModuleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IChainModule *IChainModuleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IChainModule *IChainModuleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IChainModuleSession
- func (_IChainModule *IChainModuleSession) BlockHash(arg0 *big.Int) ([32]byte, error)
- func (_IChainModule *IChainModuleSession) BlockNumber() (*big.Int, error)
- func (_IChainModule *IChainModuleSession) GetCurrentL1Fee() (*big.Int, error)
- func (_IChainModule *IChainModuleSession) GetGasOverhead() (GetGasOverhead, error)
- func (_IChainModule *IChainModuleSession) GetMaxL1Fee(dataSize *big.Int) (*big.Int, error)
- type IChainModuleTransactor
- type IChainModuleTransactorRaw
- type IChainModuleTransactorSession
Constants ¶
This section is empty.
Variables ¶
View Source
var IChainModuleABI = IChainModuleMetaData.ABI
View Source
var IChainModuleMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"blockHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"blockNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentL1Fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getGasOverhead\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"chainModuleFixedOverhead\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"chainModulePerByteOverhead\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dataSize\",\"type\":\"uint256\"}],\"name\":\"getMaxL1Fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
Functions ¶
This section is empty.
Types ¶
type GetGasOverhead ¶
type IChainModule ¶
type IChainModule struct { IChainModuleCaller IChainModuleTransactor IChainModuleFilterer // contains filtered or unexported fields }
func NewIChainModule ¶
func NewIChainModule(address common.Address, backend bind.ContractBackend) (*IChainModule, error)
func (*IChainModule) Address ¶
func (_IChainModule *IChainModule) Address() common.Address
type IChainModuleCaller ¶
type IChainModuleCaller struct {
// contains filtered or unexported fields
}
func NewIChainModuleCaller ¶
func NewIChainModuleCaller(address common.Address, caller bind.ContractCaller) (*IChainModuleCaller, error)
func (*IChainModuleCaller) BlockNumber ¶
func (*IChainModuleCaller) GetCurrentL1Fee ¶
func (*IChainModuleCaller) GetGasOverhead ¶
func (_IChainModule *IChainModuleCaller) GetGasOverhead(opts *bind.CallOpts) (GetGasOverhead, error)
func (*IChainModuleCaller) GetMaxL1Fee ¶
type IChainModuleCallerRaw ¶
type IChainModuleCallerRaw struct {
Contract *IChainModuleCaller
}
type IChainModuleCallerSession ¶
type IChainModuleCallerSession struct { Contract *IChainModuleCaller CallOpts bind.CallOpts }
func (*IChainModuleCallerSession) BlockHash ¶
func (_IChainModule *IChainModuleCallerSession) BlockHash(arg0 *big.Int) ([32]byte, error)
func (*IChainModuleCallerSession) BlockNumber ¶
func (_IChainModule *IChainModuleCallerSession) BlockNumber() (*big.Int, error)
func (*IChainModuleCallerSession) GetCurrentL1Fee ¶
func (_IChainModule *IChainModuleCallerSession) GetCurrentL1Fee() (*big.Int, error)
func (*IChainModuleCallerSession) GetGasOverhead ¶
func (_IChainModule *IChainModuleCallerSession) GetGasOverhead() (GetGasOverhead, error)
func (*IChainModuleCallerSession) GetMaxL1Fee ¶
type IChainModuleFilterer ¶
type IChainModuleFilterer struct {
// contains filtered or unexported fields
}
func NewIChainModuleFilterer ¶
func NewIChainModuleFilterer(address common.Address, filterer bind.ContractFilterer) (*IChainModuleFilterer, error)
type IChainModuleInterface ¶
type IChainModuleInterface interface { BlockHash(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error) BlockNumber(opts *bind.CallOpts) (*big.Int, error) GetCurrentL1Fee(opts *bind.CallOpts) (*big.Int, error) GetGasOverhead(opts *bind.CallOpts) (GetGasOverhead, error) GetMaxL1Fee(opts *bind.CallOpts, dataSize *big.Int) (*big.Int, error) Address() common.Address }
type IChainModuleRaw ¶
type IChainModuleRaw struct {
Contract *IChainModule
}
func (*IChainModuleRaw) Call ¶
func (_IChainModule *IChainModuleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
func (*IChainModuleRaw) Transact ¶
func (_IChainModule *IChainModuleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*IChainModuleRaw) Transfer ¶
func (_IChainModule *IChainModuleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type IChainModuleSession ¶
type IChainModuleSession struct { Contract *IChainModule CallOpts bind.CallOpts TransactOpts bind.TransactOpts }
func (*IChainModuleSession) BlockHash ¶
func (_IChainModule *IChainModuleSession) BlockHash(arg0 *big.Int) ([32]byte, error)
func (*IChainModuleSession) BlockNumber ¶
func (_IChainModule *IChainModuleSession) BlockNumber() (*big.Int, error)
func (*IChainModuleSession) GetCurrentL1Fee ¶
func (_IChainModule *IChainModuleSession) GetCurrentL1Fee() (*big.Int, error)
func (*IChainModuleSession) GetGasOverhead ¶
func (_IChainModule *IChainModuleSession) GetGasOverhead() (GetGasOverhead, error)
func (*IChainModuleSession) GetMaxL1Fee ¶
type IChainModuleTransactor ¶
type IChainModuleTransactor struct {
// contains filtered or unexported fields
}
func NewIChainModuleTransactor ¶
func NewIChainModuleTransactor(address common.Address, transactor bind.ContractTransactor) (*IChainModuleTransactor, error)
type IChainModuleTransactorRaw ¶
type IChainModuleTransactorRaw struct {
Contract *IChainModuleTransactor
}
func (*IChainModuleTransactorRaw) Transact ¶
func (_IChainModule *IChainModuleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*IChainModuleTransactorRaw) Transfer ¶
func (_IChainModule *IChainModuleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type IChainModuleTransactorSession ¶
type IChainModuleTransactorSession struct { Contract *IChainModuleTransactor TransactOpts bind.TransactOpts }
Click to show internal directories.
Click to hide internal directories.