Documentation ¶
Index ¶
- Variables
- type ChainModuleBase
- type ChainModuleBaseCaller
- func (_ChainModuleBase *ChainModuleBaseCaller) BlockHash(opts *bind.CallOpts, n *big.Int) ([32]byte, error)
- func (_ChainModuleBase *ChainModuleBaseCaller) BlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_ChainModuleBase *ChainModuleBaseCaller) GetCurrentL1Fee(opts *bind.CallOpts) (*big.Int, error)
- func (_ChainModuleBase *ChainModuleBaseCaller) GetGasOverhead(opts *bind.CallOpts) (GetGasOverhead, error)
- func (_ChainModuleBase *ChainModuleBaseCaller) GetMaxL1Fee(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- type ChainModuleBaseCallerRaw
- type ChainModuleBaseCallerSession
- func (_ChainModuleBase *ChainModuleBaseCallerSession) BlockHash(n *big.Int) ([32]byte, error)
- func (_ChainModuleBase *ChainModuleBaseCallerSession) BlockNumber() (*big.Int, error)
- func (_ChainModuleBase *ChainModuleBaseCallerSession) GetCurrentL1Fee() (*big.Int, error)
- func (_ChainModuleBase *ChainModuleBaseCallerSession) GetGasOverhead() (GetGasOverhead, error)
- func (_ChainModuleBase *ChainModuleBaseCallerSession) GetMaxL1Fee(arg0 *big.Int) (*big.Int, error)
- type ChainModuleBaseFilterer
- type ChainModuleBaseInterface
- type ChainModuleBaseRaw
- func (_ChainModuleBase *ChainModuleBaseRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ChainModuleBase *ChainModuleBaseRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ChainModuleBase *ChainModuleBaseRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ChainModuleBaseSession
- func (_ChainModuleBase *ChainModuleBaseSession) BlockHash(n *big.Int) ([32]byte, error)
- func (_ChainModuleBase *ChainModuleBaseSession) BlockNumber() (*big.Int, error)
- func (_ChainModuleBase *ChainModuleBaseSession) GetCurrentL1Fee() (*big.Int, error)
- func (_ChainModuleBase *ChainModuleBaseSession) GetGasOverhead() (GetGasOverhead, error)
- func (_ChainModuleBase *ChainModuleBaseSession) GetMaxL1Fee(arg0 *big.Int) (*big.Int, error)
- type ChainModuleBaseTransactor
- type ChainModuleBaseTransactorRaw
- type ChainModuleBaseTransactorSession
- type GetGasOverhead
Constants ¶
This section is empty.
Variables ¶
View Source
var ChainModuleBaseABI = ChainModuleBaseMetaData.ABI
View Source
var ChainModuleBaseBin = ChainModuleBaseMetaData.Bin
View Source
var ChainModuleBaseMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"n\",\"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\":\"\",\"type\":\"uint256\"}],\"name\":\"getMaxL1Fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b5061015c806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c806357e871e71161005057806357e871e71461009a57806385df51fd146100a0578063de9ee35e146100b357600080fd5b8063125441401461006c57806318b8f61314610093575b600080fd5b61008061007a3660046100f6565b50600090565b6040519081526020015b60405180910390f35b6000610080565b43610080565b6100806100ae3660046100f6565b6100c9565b6040805161012c8152600060208201520161008a565b600043821015806100e457506101006100e2834361010f565b115b156100f157506000919050565b504090565b60006020828403121561010857600080fd5b5035919050565b81810381811115610149577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b9291505056fea164736f6c6343000813000a",
}
Functions ¶
This section is empty.
Types ¶
type ChainModuleBase ¶
type ChainModuleBase struct { ChainModuleBaseCaller ChainModuleBaseTransactor ChainModuleBaseFilterer // contains filtered or unexported fields }
func DeployChainModuleBase ¶
func DeployChainModuleBase(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ChainModuleBase, error)
func NewChainModuleBase ¶
func NewChainModuleBase(address common.Address, backend bind.ContractBackend) (*ChainModuleBase, error)
func (*ChainModuleBase) Address ¶
func (_ChainModuleBase *ChainModuleBase) Address() common.Address
type ChainModuleBaseCaller ¶
type ChainModuleBaseCaller struct {
// contains filtered or unexported fields
}
func NewChainModuleBaseCaller ¶
func NewChainModuleBaseCaller(address common.Address, caller bind.ContractCaller) (*ChainModuleBaseCaller, error)
func (*ChainModuleBaseCaller) BlockNumber ¶
func (*ChainModuleBaseCaller) GetCurrentL1Fee ¶
func (*ChainModuleBaseCaller) GetGasOverhead ¶
func (_ChainModuleBase *ChainModuleBaseCaller) GetGasOverhead(opts *bind.CallOpts) (GetGasOverhead, error)
func (*ChainModuleBaseCaller) GetMaxL1Fee ¶
type ChainModuleBaseCallerRaw ¶
type ChainModuleBaseCallerRaw struct {
Contract *ChainModuleBaseCaller
}
type ChainModuleBaseCallerSession ¶
type ChainModuleBaseCallerSession struct { Contract *ChainModuleBaseCaller CallOpts bind.CallOpts }
func (*ChainModuleBaseCallerSession) BlockHash ¶
func (_ChainModuleBase *ChainModuleBaseCallerSession) BlockHash(n *big.Int) ([32]byte, error)
func (*ChainModuleBaseCallerSession) BlockNumber ¶
func (_ChainModuleBase *ChainModuleBaseCallerSession) BlockNumber() (*big.Int, error)
func (*ChainModuleBaseCallerSession) GetCurrentL1Fee ¶
func (_ChainModuleBase *ChainModuleBaseCallerSession) GetCurrentL1Fee() (*big.Int, error)
func (*ChainModuleBaseCallerSession) GetGasOverhead ¶
func (_ChainModuleBase *ChainModuleBaseCallerSession) GetGasOverhead() (GetGasOverhead, error)
func (*ChainModuleBaseCallerSession) GetMaxL1Fee ¶
type ChainModuleBaseFilterer ¶
type ChainModuleBaseFilterer struct {
// contains filtered or unexported fields
}
func NewChainModuleBaseFilterer ¶
func NewChainModuleBaseFilterer(address common.Address, filterer bind.ContractFilterer) (*ChainModuleBaseFilterer, error)
type ChainModuleBaseInterface ¶
type ChainModuleBaseInterface interface { BlockHash(opts *bind.CallOpts, n *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, arg0 *big.Int) (*big.Int, error) Address() common.Address }
type ChainModuleBaseRaw ¶
type ChainModuleBaseRaw struct {
Contract *ChainModuleBase
}
func (*ChainModuleBaseRaw) Call ¶
func (_ChainModuleBase *ChainModuleBaseRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
func (*ChainModuleBaseRaw) Transact ¶
func (_ChainModuleBase *ChainModuleBaseRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*ChainModuleBaseRaw) Transfer ¶
func (_ChainModuleBase *ChainModuleBaseRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type ChainModuleBaseSession ¶
type ChainModuleBaseSession struct { Contract *ChainModuleBase CallOpts bind.CallOpts TransactOpts bind.TransactOpts }
func (*ChainModuleBaseSession) BlockHash ¶
func (_ChainModuleBase *ChainModuleBaseSession) BlockHash(n *big.Int) ([32]byte, error)
func (*ChainModuleBaseSession) BlockNumber ¶
func (_ChainModuleBase *ChainModuleBaseSession) BlockNumber() (*big.Int, error)
func (*ChainModuleBaseSession) GetCurrentL1Fee ¶
func (_ChainModuleBase *ChainModuleBaseSession) GetCurrentL1Fee() (*big.Int, error)
func (*ChainModuleBaseSession) GetGasOverhead ¶
func (_ChainModuleBase *ChainModuleBaseSession) GetGasOverhead() (GetGasOverhead, error)
func (*ChainModuleBaseSession) GetMaxL1Fee ¶
type ChainModuleBaseTransactor ¶
type ChainModuleBaseTransactor struct {
// contains filtered or unexported fields
}
func NewChainModuleBaseTransactor ¶
func NewChainModuleBaseTransactor(address common.Address, transactor bind.ContractTransactor) (*ChainModuleBaseTransactor, error)
type ChainModuleBaseTransactorRaw ¶
type ChainModuleBaseTransactorRaw struct {
Contract *ChainModuleBaseTransactor
}
func (*ChainModuleBaseTransactorRaw) Transact ¶
func (_ChainModuleBase *ChainModuleBaseTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*ChainModuleBaseTransactorRaw) Transfer ¶
func (_ChainModuleBase *ChainModuleBaseTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type ChainModuleBaseTransactorSession ¶
type ChainModuleBaseTransactorSession struct { Contract *ChainModuleBaseTransactor TransactOpts bind.TransactOpts }
Click to show internal directories.
Click to hide internal directories.