abi_arbitrum

package
v0.0.0-...-7be3494 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const AbiArbitrumABI = "" /* 3958-byte string literal not displayed */

AbiArbitrumABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbiArbitrum

type AbiArbitrum struct {
	AbiArbitrumCaller     // Read-only binding to the contract
	AbiArbitrumTransactor // Write-only binding to the contract
	AbiArbitrumFilterer   // Log filterer for contract events
}

AbiArbitrum is an auto generated Go binding around an Ethereum contract.

func NewAbiArbitrum

func NewAbiArbitrum(address common.Address, backend bind.ContractBackend) (*AbiArbitrum, error)

NewAbiArbitrum creates a new instance of AbiArbitrum, bound to a specific deployed contract.

type AbiArbitrumCaller

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

AbiArbitrumCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewAbiArbitrumCaller

func NewAbiArbitrumCaller(address common.Address, caller bind.ContractCaller) (*AbiArbitrumCaller, error)

NewAbiArbitrumCaller creates a new read-only instance of AbiArbitrum, bound to a specific deployed contract.

func (*AbiArbitrumCaller) ConstructOutboxProof

func (_AbiArbitrum *AbiArbitrumCaller) ConstructOutboxProof(opts *bind.CallOpts, size uint64, leaf uint64) (struct {
	Send  [32]byte
	Root  [32]byte
	Proof [][32]byte
}, error)

ConstructOutboxProof is a free data retrieval call binding the contract method 0x42696350.

Solidity: function constructOutboxProof(uint64 size, uint64 leaf) view returns(bytes32 send, bytes32 root, bytes32[] proof)

func (*AbiArbitrumCaller) FindBatchContainingBlock

func (_AbiArbitrum *AbiArbitrumCaller) FindBatchContainingBlock(opts *bind.CallOpts, blockNum uint64) (uint64, error)

FindBatchContainingBlock is a free data retrieval call binding the contract method 0x81f1adaf.

Solidity: function findBatchContainingBlock(uint64 blockNum) view returns(uint64 batch)

func (*AbiArbitrumCaller) GetL1Confirmations

func (_AbiArbitrum *AbiArbitrumCaller) GetL1Confirmations(opts *bind.CallOpts, blockHash [32]byte) (uint64, error)

GetL1Confirmations is a free data retrieval call binding the contract method 0xe5ca238c.

Solidity: function getL1Confirmations(bytes32 blockHash) view returns(uint64 confirmations)

func (*AbiArbitrumCaller) LegacyLookupMessageBatchProof

func (_AbiArbitrum *AbiArbitrumCaller) LegacyLookupMessageBatchProof(opts *bind.CallOpts, batchNum *big.Int, index uint64) (struct {
	Proof         [][32]byte
	Path          *big.Int
	L2Sender      common.Address
	L1Dest        common.Address
	L2Block       *big.Int
	L1Block       *big.Int
	Timestamp     *big.Int
	Amount        *big.Int
	CalldataForL1 []byte
}, error)

LegacyLookupMessageBatchProof is a free data retrieval call binding the contract method 0x89496270.

Solidity: function legacyLookupMessageBatchProof(uint256 batchNum, uint64 index) view returns(bytes32[] proof, uint256 path, address l2Sender, address l1Dest, uint256 l2Block, uint256 l1Block, uint256 timestamp, uint256 amount, bytes calldataForL1)

func (*AbiArbitrumCaller) NitroGenesisBlock

func (_AbiArbitrum *AbiArbitrumCaller) NitroGenesisBlock(opts *bind.CallOpts) (*big.Int, error)

NitroGenesisBlock is a free data retrieval call binding the contract method 0x93a2fe21.

Solidity: function nitroGenesisBlock() pure returns(uint256 number)

type AbiArbitrumCallerRaw

type AbiArbitrumCallerRaw struct {
	Contract *AbiArbitrumCaller // Generic read-only contract binding to access the raw methods on
}

AbiArbitrumCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*AbiArbitrumCallerRaw) Call

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

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type AbiArbitrumCallerSession

type AbiArbitrumCallerSession struct {
	Contract *AbiArbitrumCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts      // Call options to use throughout this session
}

AbiArbitrumCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*AbiArbitrumCallerSession) ConstructOutboxProof

func (_AbiArbitrum *AbiArbitrumCallerSession) ConstructOutboxProof(size uint64, leaf uint64) (struct {
	Send  [32]byte
	Root  [32]byte
	Proof [][32]byte
}, error)

ConstructOutboxProof is a free data retrieval call binding the contract method 0x42696350.

Solidity: function constructOutboxProof(uint64 size, uint64 leaf) view returns(bytes32 send, bytes32 root, bytes32[] proof)

func (*AbiArbitrumCallerSession) FindBatchContainingBlock

func (_AbiArbitrum *AbiArbitrumCallerSession) FindBatchContainingBlock(blockNum uint64) (uint64, error)

FindBatchContainingBlock is a free data retrieval call binding the contract method 0x81f1adaf.

Solidity: function findBatchContainingBlock(uint64 blockNum) view returns(uint64 batch)

func (*AbiArbitrumCallerSession) GetL1Confirmations

func (_AbiArbitrum *AbiArbitrumCallerSession) GetL1Confirmations(blockHash [32]byte) (uint64, error)

GetL1Confirmations is a free data retrieval call binding the contract method 0xe5ca238c.

Solidity: function getL1Confirmations(bytes32 blockHash) view returns(uint64 confirmations)

func (*AbiArbitrumCallerSession) LegacyLookupMessageBatchProof

func (_AbiArbitrum *AbiArbitrumCallerSession) LegacyLookupMessageBatchProof(batchNum *big.Int, index uint64) (struct {
	Proof         [][32]byte
	Path          *big.Int
	L2Sender      common.Address
	L1Dest        common.Address
	L2Block       *big.Int
	L1Block       *big.Int
	Timestamp     *big.Int
	Amount        *big.Int
	CalldataForL1 []byte
}, error)

LegacyLookupMessageBatchProof is a free data retrieval call binding the contract method 0x89496270.

Solidity: function legacyLookupMessageBatchProof(uint256 batchNum, uint64 index) view returns(bytes32[] proof, uint256 path, address l2Sender, address l1Dest, uint256 l2Block, uint256 l1Block, uint256 timestamp, uint256 amount, bytes calldataForL1)

func (*AbiArbitrumCallerSession) NitroGenesisBlock

func (_AbiArbitrum *AbiArbitrumCallerSession) NitroGenesisBlock() (*big.Int, error)

NitroGenesisBlock is a free data retrieval call binding the contract method 0x93a2fe21.

Solidity: function nitroGenesisBlock() pure returns(uint256 number)

type AbiArbitrumFilterer

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

AbiArbitrumFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewAbiArbitrumFilterer

func NewAbiArbitrumFilterer(address common.Address, filterer bind.ContractFilterer) (*AbiArbitrumFilterer, error)

NewAbiArbitrumFilterer creates a new log filterer instance of AbiArbitrum, bound to a specific deployed contract.

type AbiArbitrumRaw

type AbiArbitrumRaw struct {
	Contract *AbiArbitrum // Generic contract binding to access the raw methods on
}

AbiArbitrumRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*AbiArbitrumRaw) Call

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

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*AbiArbitrumRaw) Transact

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

Transact invokes the (paid) contract method with params as input values.

func (*AbiArbitrumRaw) Transfer

func (_AbiArbitrum *AbiArbitrumRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type AbiArbitrumSession

type AbiArbitrumSession struct {
	Contract     *AbiArbitrum      // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

AbiArbitrumSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*AbiArbitrumSession) ConstructOutboxProof

func (_AbiArbitrum *AbiArbitrumSession) ConstructOutboxProof(size uint64, leaf uint64) (struct {
	Send  [32]byte
	Root  [32]byte
	Proof [][32]byte
}, error)

ConstructOutboxProof is a free data retrieval call binding the contract method 0x42696350.

Solidity: function constructOutboxProof(uint64 size, uint64 leaf) view returns(bytes32 send, bytes32 root, bytes32[] proof)

func (*AbiArbitrumSession) EstimateRetryableTicket

func (_AbiArbitrum *AbiArbitrumSession) EstimateRetryableTicket(sender common.Address, deposit *big.Int, to common.Address, l2CallValue *big.Int, excessFeeRefundAddress common.Address, callValueRefundAddress common.Address, data []byte) (*types.Transaction, error)

EstimateRetryableTicket is a paid mutator transaction binding the contract method 0xc3dc5879.

Solidity: function estimateRetryableTicket(address sender, uint256 deposit, address to, uint256 l2CallValue, address excessFeeRefundAddress, address callValueRefundAddress, bytes data) returns()

func (*AbiArbitrumSession) FindBatchContainingBlock

func (_AbiArbitrum *AbiArbitrumSession) FindBatchContainingBlock(blockNum uint64) (uint64, error)

FindBatchContainingBlock is a free data retrieval call binding the contract method 0x81f1adaf.

Solidity: function findBatchContainingBlock(uint64 blockNum) view returns(uint64 batch)

func (*AbiArbitrumSession) GasEstimateComponents

func (_AbiArbitrum *AbiArbitrumSession) GasEstimateComponents(to common.Address, contractCreation bool, data []byte) (*types.Transaction, error)

GasEstimateComponents is a paid mutator transaction binding the contract method 0xc94e6eeb.

Solidity: function gasEstimateComponents(address to, bool contractCreation, bytes data) payable returns(uint64 gasEstimate, uint64 gasEstimateForL1, uint256 baseFee, uint256 l1BaseFeeEstimate)

func (*AbiArbitrumSession) GasEstimateL1Component

func (_AbiArbitrum *AbiArbitrumSession) GasEstimateL1Component(to common.Address, contractCreation bool, data []byte) (*types.Transaction, error)

GasEstimateL1Component is a paid mutator transaction binding the contract method 0x77d488a2.

Solidity: function gasEstimateL1Component(address to, bool contractCreation, bytes data) payable returns(uint64 gasEstimateForL1, uint256 baseFee, uint256 l1BaseFeeEstimate)

func (*AbiArbitrumSession) GetL1Confirmations

func (_AbiArbitrum *AbiArbitrumSession) GetL1Confirmations(blockHash [32]byte) (uint64, error)

GetL1Confirmations is a free data retrieval call binding the contract method 0xe5ca238c.

Solidity: function getL1Confirmations(bytes32 blockHash) view returns(uint64 confirmations)

func (*AbiArbitrumSession) LegacyLookupMessageBatchProof

func (_AbiArbitrum *AbiArbitrumSession) LegacyLookupMessageBatchProof(batchNum *big.Int, index uint64) (struct {
	Proof         [][32]byte
	Path          *big.Int
	L2Sender      common.Address
	L1Dest        common.Address
	L2Block       *big.Int
	L1Block       *big.Int
	Timestamp     *big.Int
	Amount        *big.Int
	CalldataForL1 []byte
}, error)

LegacyLookupMessageBatchProof is a free data retrieval call binding the contract method 0x89496270.

Solidity: function legacyLookupMessageBatchProof(uint256 batchNum, uint64 index) view returns(bytes32[] proof, uint256 path, address l2Sender, address l1Dest, uint256 l2Block, uint256 l1Block, uint256 timestamp, uint256 amount, bytes calldataForL1)

func (*AbiArbitrumSession) NitroGenesisBlock

func (_AbiArbitrum *AbiArbitrumSession) NitroGenesisBlock() (*big.Int, error)

NitroGenesisBlock is a free data retrieval call binding the contract method 0x93a2fe21.

Solidity: function nitroGenesisBlock() pure returns(uint256 number)

type AbiArbitrumTransactor

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

AbiArbitrumTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewAbiArbitrumTransactor

func NewAbiArbitrumTransactor(address common.Address, transactor bind.ContractTransactor) (*AbiArbitrumTransactor, error)

NewAbiArbitrumTransactor creates a new write-only instance of AbiArbitrum, bound to a specific deployed contract.

func (*AbiArbitrumTransactor) EstimateRetryableTicket

func (_AbiArbitrum *AbiArbitrumTransactor) EstimateRetryableTicket(opts *bind.TransactOpts, sender common.Address, deposit *big.Int, to common.Address, l2CallValue *big.Int, excessFeeRefundAddress common.Address, callValueRefundAddress common.Address, data []byte) (*types.Transaction, error)

EstimateRetryableTicket is a paid mutator transaction binding the contract method 0xc3dc5879.

Solidity: function estimateRetryableTicket(address sender, uint256 deposit, address to, uint256 l2CallValue, address excessFeeRefundAddress, address callValueRefundAddress, bytes data) returns()

func (*AbiArbitrumTransactor) GasEstimateComponents

func (_AbiArbitrum *AbiArbitrumTransactor) GasEstimateComponents(opts *bind.TransactOpts, to common.Address, contractCreation bool, data []byte) (*types.Transaction, error)

GasEstimateComponents is a paid mutator transaction binding the contract method 0xc94e6eeb.

Solidity: function gasEstimateComponents(address to, bool contractCreation, bytes data) payable returns(uint64 gasEstimate, uint64 gasEstimateForL1, uint256 baseFee, uint256 l1BaseFeeEstimate)

func (*AbiArbitrumTransactor) GasEstimateL1Component

func (_AbiArbitrum *AbiArbitrumTransactor) GasEstimateL1Component(opts *bind.TransactOpts, to common.Address, contractCreation bool, data []byte) (*types.Transaction, error)

GasEstimateL1Component is a paid mutator transaction binding the contract method 0x77d488a2.

Solidity: function gasEstimateL1Component(address to, bool contractCreation, bytes data) payable returns(uint64 gasEstimateForL1, uint256 baseFee, uint256 l1BaseFeeEstimate)

type AbiArbitrumTransactorRaw

type AbiArbitrumTransactorRaw struct {
	Contract *AbiArbitrumTransactor // Generic write-only contract binding to access the raw methods on
}

AbiArbitrumTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*AbiArbitrumTransactorRaw) Transact

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

Transact invokes the (paid) contract method with params as input values.

func (*AbiArbitrumTransactorRaw) Transfer

func (_AbiArbitrum *AbiArbitrumTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type AbiArbitrumTransactorSession

type AbiArbitrumTransactorSession struct {
	Contract     *AbiArbitrumTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts      // Transaction auth options to use throughout this session
}

AbiArbitrumTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*AbiArbitrumTransactorSession) EstimateRetryableTicket

func (_AbiArbitrum *AbiArbitrumTransactorSession) EstimateRetryableTicket(sender common.Address, deposit *big.Int, to common.Address, l2CallValue *big.Int, excessFeeRefundAddress common.Address, callValueRefundAddress common.Address, data []byte) (*types.Transaction, error)

EstimateRetryableTicket is a paid mutator transaction binding the contract method 0xc3dc5879.

Solidity: function estimateRetryableTicket(address sender, uint256 deposit, address to, uint256 l2CallValue, address excessFeeRefundAddress, address callValueRefundAddress, bytes data) returns()

func (*AbiArbitrumTransactorSession) GasEstimateComponents

func (_AbiArbitrum *AbiArbitrumTransactorSession) GasEstimateComponents(to common.Address, contractCreation bool, data []byte) (*types.Transaction, error)

GasEstimateComponents is a paid mutator transaction binding the contract method 0xc94e6eeb.

Solidity: function gasEstimateComponents(address to, bool contractCreation, bytes data) payable returns(uint64 gasEstimate, uint64 gasEstimateForL1, uint256 baseFee, uint256 l1BaseFeeEstimate)

func (*AbiArbitrumTransactorSession) GasEstimateL1Component

func (_AbiArbitrum *AbiArbitrumTransactorSession) GasEstimateL1Component(to common.Address, contractCreation bool, data []byte) (*types.Transaction, error)

GasEstimateL1Component is a paid mutator transaction binding the contract method 0x77d488a2.

Solidity: function gasEstimateL1Component(address to, bool contractCreation, bytes data) payable returns(uint64 gasEstimateForL1, uint256 baseFee, uint256 l1BaseFeeEstimate)

Jump to

Keyboard shortcuts

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