arbitrum_module

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: LGPL-3.0, MIT Imports: 9 Imported by: 1

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: "[{\"type\":\"function\",\"name\":\"blockHash\",\"inputs\":[{\"name\":\"n\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"blockNumber\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getCurrentL1Fee\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getGasOverhead\",\"inputs\":[],\"outputs\":[{\"name\":\"chainModuleFixedOverhead\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"chainModulePerByteOverhead\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getMaxL1Fee\",\"inputs\":[{\"name\":\"dataSize\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"}]",
	Bin: "0x608060405234801561001057600080fd5b5061044a806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80637810d12a116100505780637810d12a1461009a57806385df51fd146100ad578063de9ee35e146100c057600080fd5b8063125441401461006c57806357e871e714610092575b600080fd5b61007f61007a366004610368565b6100d6565b6040519081526020015b60405180910390f35b61007f610163565b61007f6100a8366004610368565b6101da565b61007f6100bb366004610368565b610252565b6040805161138881526000602082015201610089565b600080606c73ffffffffffffffffffffffffffffffffffffffff166341b247a86040518163ffffffff1660e01b815260040160c060405180830381865afa158015610125573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101499190610381565b50505050915050828161015c91906103fa565b9392505050565b6000606473ffffffffffffffffffffffffffffffffffffffff1663a3b1b31d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d59190610411565b905090565b6000606c73ffffffffffffffffffffffffffffffffffffffff1663c6f7de0e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610228573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061024c9190610411565b92915050565b600080606473ffffffffffffffffffffffffffffffffffffffff1663a3b1b31d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102c59190610411565b905080831015806102e057506101006102de848361042a565b115b156102ee5750600092915050565b6040517f2b407a8200000000000000000000000000000000000000000000000000000000815260048101849052606490632b407a8290602401602060405180830381865afa158015610344573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061015c9190610411565b60006020828403121561037a57600080fd5b5035919050565b60008060008060008060c0878903121561039a57600080fd5b865195506020870151945060408701519350606087015192506080870151915060a087015190509295509295509295565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808202811582820484141761024c5761024c6103cb565b60006020828403121561042357600080fd5b5051919050565b8181038181111561024c5761024c6103cb56fea164736f6c6343000813000a",
}

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, arg0 *big.Int) (*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(arg0 *big.Int) (*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, arg0 *big.Int) (*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(arg0 *big.Int) (*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