arbitrum_module

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ArbitrumModuleABI = ArbitrumModuleMetaData.ABI
View Source
var ArbitrumModuleBin = ArbitrumModuleMetaData.Bin
View Source
var ArbitrumModuleMetaData = &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\":\"dataSize\",\"type\":\"uint256\"}],\"name\":\"getMaxL1Fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b5061041b806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c806357e871e71161005057806357e871e71461009a57806385df51fd146100a2578063de9ee35e146100b557600080fd5b8063125441401461006c57806318b8f61314610092575b600080fd5b61007f61007a366004610333565b6100cb565b6040519081526020015b60405180910390f35b61007f610158565b61007f6101cf565b61007f6100b0366004610333565b61021d565b6040805161138881526000602082015201610089565b600080606c73ffffffffffffffffffffffffffffffffffffffff166341b247a86040518163ffffffff1660e01b815260040160c060405180830381865afa15801561011a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061013e919061034c565b50505050915050828161015191906103c5565b9392505050565b6000606c73ffffffffffffffffffffffffffffffffffffffff1663c6f7de0e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ca91906103e2565b905090565b6000606473ffffffffffffffffffffffffffffffffffffffff1663a3b1b31d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101a6573d6000803e3d6000fd5b600080606473ffffffffffffffffffffffffffffffffffffffff1663a3b1b31d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561026c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061029091906103e2565b905080831015806102ab57506101006102a984836103fb565b115b156102b95750600092915050565b6040517f2b407a8200000000000000000000000000000000000000000000000000000000815260048101849052606490632b407a8290602401602060405180830381865afa15801561030f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061015191906103e2565b60006020828403121561034557600080fd5b5035919050565b60008060008060008060c0878903121561036557600080fd5b865195506020870151945060408701519350606087015192506080870151915060a087015190509295509295509295565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820281158282048414176103dc576103dc610396565b92915050565b6000602082840312156103f457600080fd5b5051919050565b818103818111156103dc576103dc61039656fea164736f6c6343000813000a",
}

Functions

This section is empty.

Types

type ArbitrumModule

type ArbitrumModule struct {
	ArbitrumModuleCaller
	ArbitrumModuleTransactor
	ArbitrumModuleFilterer
	// contains filtered or unexported fields
}

func NewArbitrumModule

func NewArbitrumModule(address common.Address, backend bind.ContractBackend) (*ArbitrumModule, error)

func (*ArbitrumModule) Address

func (_ArbitrumModule *ArbitrumModule) Address() common.Address

type ArbitrumModuleCaller

type ArbitrumModuleCaller struct {
	// contains filtered or unexported fields
}

func NewArbitrumModuleCaller

func NewArbitrumModuleCaller(address common.Address, caller bind.ContractCaller) (*ArbitrumModuleCaller, error)

func (*ArbitrumModuleCaller) BlockHash

func (_ArbitrumModule *ArbitrumModuleCaller) BlockHash(opts *bind.CallOpts, n *big.Int) ([32]byte, error)

func (*ArbitrumModuleCaller) BlockNumber

func (_ArbitrumModule *ArbitrumModuleCaller) BlockNumber(opts *bind.CallOpts) (*big.Int, error)

func (*ArbitrumModuleCaller) GetCurrentL1Fee

func (_ArbitrumModule *ArbitrumModuleCaller) GetCurrentL1Fee(opts *bind.CallOpts) (*big.Int, error)

func (*ArbitrumModuleCaller) GetGasOverhead

func (_ArbitrumModule *ArbitrumModuleCaller) GetGasOverhead(opts *bind.CallOpts) (GetGasOverhead,

	error)

func (*ArbitrumModuleCaller) GetMaxL1Fee

func (_ArbitrumModule *ArbitrumModuleCaller) GetMaxL1Fee(opts *bind.CallOpts, dataSize *big.Int) (*big.Int, error)

type ArbitrumModuleCallerRaw

type ArbitrumModuleCallerRaw struct {
	Contract *ArbitrumModuleCaller
}

func (*ArbitrumModuleCallerRaw) Call

func (_ArbitrumModule *ArbitrumModuleCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

type ArbitrumModuleCallerSession

type ArbitrumModuleCallerSession struct {
	Contract *ArbitrumModuleCaller
	CallOpts bind.CallOpts
}

func (*ArbitrumModuleCallerSession) BlockHash

func (_ArbitrumModule *ArbitrumModuleCallerSession) BlockHash(n *big.Int) ([32]byte, error)

func (*ArbitrumModuleCallerSession) BlockNumber

func (_ArbitrumModule *ArbitrumModuleCallerSession) BlockNumber() (*big.Int, error)

func (*ArbitrumModuleCallerSession) GetCurrentL1Fee

func (_ArbitrumModule *ArbitrumModuleCallerSession) GetCurrentL1Fee() (*big.Int, error)

func (*ArbitrumModuleCallerSession) GetGasOverhead

func (_ArbitrumModule *ArbitrumModuleCallerSession) GetGasOverhead() (GetGasOverhead,

	error)

func (*ArbitrumModuleCallerSession) GetMaxL1Fee

func (_ArbitrumModule *ArbitrumModuleCallerSession) GetMaxL1Fee(dataSize *big.Int) (*big.Int, error)

type ArbitrumModuleFilterer

type ArbitrumModuleFilterer struct {
	// contains filtered or unexported fields
}

func NewArbitrumModuleFilterer

func NewArbitrumModuleFilterer(address common.Address, filterer bind.ContractFilterer) (*ArbitrumModuleFilterer, error)

type ArbitrumModuleInterface

type ArbitrumModuleInterface 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, dataSize *big.Int) (*big.Int, error)

	Address() common.Address
}

type ArbitrumModuleRaw

type ArbitrumModuleRaw struct {
	Contract *ArbitrumModule
}

func (*ArbitrumModuleRaw) Call

func (_ArbitrumModule *ArbitrumModuleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

func (*ArbitrumModuleRaw) Transact

func (_ArbitrumModule *ArbitrumModuleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

func (*ArbitrumModuleRaw) Transfer

func (_ArbitrumModule *ArbitrumModuleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type ArbitrumModuleSession

type ArbitrumModuleSession struct {
	Contract     *ArbitrumModule
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*ArbitrumModuleSession) BlockHash

func (_ArbitrumModule *ArbitrumModuleSession) BlockHash(n *big.Int) ([32]byte, error)

func (*ArbitrumModuleSession) BlockNumber

func (_ArbitrumModule *ArbitrumModuleSession) BlockNumber() (*big.Int, error)

func (*ArbitrumModuleSession) GetCurrentL1Fee

func (_ArbitrumModule *ArbitrumModuleSession) GetCurrentL1Fee() (*big.Int, error)

func (*ArbitrumModuleSession) GetGasOverhead

func (_ArbitrumModule *ArbitrumModuleSession) GetGasOverhead() (GetGasOverhead,

	error)

func (*ArbitrumModuleSession) GetMaxL1Fee

func (_ArbitrumModule *ArbitrumModuleSession) GetMaxL1Fee(dataSize *big.Int) (*big.Int, error)

type ArbitrumModuleTransactor

type ArbitrumModuleTransactor struct {
	// contains filtered or unexported fields
}

func NewArbitrumModuleTransactor

func NewArbitrumModuleTransactor(address common.Address, transactor bind.ContractTransactor) (*ArbitrumModuleTransactor, error)

type ArbitrumModuleTransactorRaw

type ArbitrumModuleTransactorRaw struct {
	Contract *ArbitrumModuleTransactor
}

func (*ArbitrumModuleTransactorRaw) Transact

func (_ArbitrumModule *ArbitrumModuleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

func (*ArbitrumModuleTransactorRaw) Transfer

func (_ArbitrumModule *ArbitrumModuleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type ArbitrumModuleTransactorSession

type ArbitrumModuleTransactorSession struct {
	Contract     *ArbitrumModuleTransactor
	TransactOpts bind.TransactOpts
}

type GetGasOverhead

type GetGasOverhead struct {
	ChainModuleFixedOverhead   *big.Int
	ChainModulePerByteOverhead *big.Int
}

Jump to

Keyboard shortcuts

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