node_interfacegen

package
v0.0.0-...-5793453 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NodeInterfaceABI = NodeInterfaceMetaData.ABI

NodeInterfaceABI is the input ABI used to generate the binding from. Deprecated: Use NodeInterfaceMetaData.ABI instead.

View Source
var NodeInterfaceDebugABI = NodeInterfaceDebugMetaData.ABI

NodeInterfaceDebugABI is the input ABI used to generate the binding from. Deprecated: Use NodeInterfaceDebugMetaData.ABI instead.

View Source
var NodeInterfaceDebugMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"ticket\",\"type\":\"bytes32\"}],\"name\":\"getRetryable\",\"outputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"timeout\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"tries\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structNodeInterfaceDebug.RetryableInfo\",\"name\":\"retryable\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

NodeInterfaceDebugMetaData contains all meta data concerning the NodeInterfaceDebug contract.

View Source
var NodeInterfaceMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"l2BlockNum\",\"type\":\"uint64\"}],\"name\":\"blockL1Num\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"l1BlockNum\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"size\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"leaf\",\"type\":\"uint64\"}],\"name\":\"constructOutboxProof\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"send\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deposit\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"l2CallValue\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"excessFeeRefundAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callValueRefundAddress\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"estimateRetryableTicket\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"blockNum\",\"type\":\"uint64\"}],\"name\":\"findBatchContainingBlock\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"batch\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"contractCreation\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"gasEstimateComponents\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"gasEstimate\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"gasEstimateForL1\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"baseFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"l1BaseFeeEstimate\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"contractCreation\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"gasEstimateL1Component\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"gasEstimateForL1\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"baseFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"l1BaseFeeEstimate\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"}],\"name\":\"getL1Confirmations\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"confirmations\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"blockNum\",\"type\":\"uint64\"}],\"name\":\"l2BlockRangeForL1\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"firstBlock\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"lastBlock\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"batchNum\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"}],\"name\":\"legacyLookupMessageBatchProof\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"path\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"l2Sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"l1Dest\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"l2Block\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"l1Block\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"calldataForL1\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nitroGenesisBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
}

NodeInterfaceMetaData contains all meta data concerning the NodeInterface contract.

Functions

This section is empty.

Types

type NodeInterface

type NodeInterface struct {
	NodeInterfaceCaller     // Read-only binding to the contract
	NodeInterfaceTransactor // Write-only binding to the contract
	NodeInterfaceFilterer   // Log filterer for contract events
}

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

func NewNodeInterface

func NewNodeInterface(address common.Address, backend bind.ContractBackend) (*NodeInterface, error)

NewNodeInterface creates a new instance of NodeInterface, bound to a specific deployed contract.

type NodeInterfaceCaller

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

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

func NewNodeInterfaceCaller

func NewNodeInterfaceCaller(address common.Address, caller bind.ContractCaller) (*NodeInterfaceCaller, error)

NewNodeInterfaceCaller creates a new read-only instance of NodeInterface, bound to a specific deployed contract.

func (*NodeInterfaceCaller) BlockL1Num

func (_NodeInterface *NodeInterfaceCaller) BlockL1Num(opts *bind.CallOpts, l2BlockNum uint64) (uint64, error)

BlockL1Num is a free data retrieval call binding the contract method 0x6f275ef2.

Solidity: function blockL1Num(uint64 l2BlockNum) view returns(uint64 l1BlockNum)

func (*NodeInterfaceCaller) ConstructOutboxProof

func (_NodeInterface *NodeInterfaceCaller) 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 (*NodeInterfaceCaller) FindBatchContainingBlock

func (_NodeInterface *NodeInterfaceCaller) 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 (*NodeInterfaceCaller) GetL1Confirmations

func (_NodeInterface *NodeInterfaceCaller) 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 (*NodeInterfaceCaller) L2BlockRangeForL1

func (_NodeInterface *NodeInterfaceCaller) L2BlockRangeForL1(opts *bind.CallOpts, blockNum uint64) (struct {
	FirstBlock uint64
	LastBlock  uint64
}, error)

L2BlockRangeForL1 is a free data retrieval call binding the contract method 0x48e7f811.

Solidity: function l2BlockRangeForL1(uint64 blockNum) view returns(uint64 firstBlock, uint64 lastBlock)

func (*NodeInterfaceCaller) LegacyLookupMessageBatchProof

func (_NodeInterface *NodeInterfaceCaller) 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 (*NodeInterfaceCaller) NitroGenesisBlock

func (_NodeInterface *NodeInterfaceCaller) 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 NodeInterfaceCallerRaw

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

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

func (*NodeInterfaceCallerRaw) Call

func (_NodeInterface *NodeInterfaceCallerRaw) 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 NodeInterfaceCallerSession

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

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

func (*NodeInterfaceCallerSession) BlockL1Num

func (_NodeInterface *NodeInterfaceCallerSession) BlockL1Num(l2BlockNum uint64) (uint64, error)

BlockL1Num is a free data retrieval call binding the contract method 0x6f275ef2.

Solidity: function blockL1Num(uint64 l2BlockNum) view returns(uint64 l1BlockNum)

func (*NodeInterfaceCallerSession) ConstructOutboxProof

func (_NodeInterface *NodeInterfaceCallerSession) 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 (*NodeInterfaceCallerSession) FindBatchContainingBlock

func (_NodeInterface *NodeInterfaceCallerSession) 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 (*NodeInterfaceCallerSession) GetL1Confirmations

func (_NodeInterface *NodeInterfaceCallerSession) 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 (*NodeInterfaceCallerSession) L2BlockRangeForL1

func (_NodeInterface *NodeInterfaceCallerSession) L2BlockRangeForL1(blockNum uint64) (struct {
	FirstBlock uint64
	LastBlock  uint64
}, error)

L2BlockRangeForL1 is a free data retrieval call binding the contract method 0x48e7f811.

Solidity: function l2BlockRangeForL1(uint64 blockNum) view returns(uint64 firstBlock, uint64 lastBlock)

func (*NodeInterfaceCallerSession) LegacyLookupMessageBatchProof

func (_NodeInterface *NodeInterfaceCallerSession) 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 (*NodeInterfaceCallerSession) NitroGenesisBlock

func (_NodeInterface *NodeInterfaceCallerSession) NitroGenesisBlock() (*big.Int, error)

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

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

type NodeInterfaceDebug

type NodeInterfaceDebug struct {
	NodeInterfaceDebugCaller     // Read-only binding to the contract
	NodeInterfaceDebugTransactor // Write-only binding to the contract
	NodeInterfaceDebugFilterer   // Log filterer for contract events
}

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

func NewNodeInterfaceDebug

func NewNodeInterfaceDebug(address common.Address, backend bind.ContractBackend) (*NodeInterfaceDebug, error)

NewNodeInterfaceDebug creates a new instance of NodeInterfaceDebug, bound to a specific deployed contract.

type NodeInterfaceDebugCaller

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

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

func NewNodeInterfaceDebugCaller

func NewNodeInterfaceDebugCaller(address common.Address, caller bind.ContractCaller) (*NodeInterfaceDebugCaller, error)

NewNodeInterfaceDebugCaller creates a new read-only instance of NodeInterfaceDebug, bound to a specific deployed contract.

func (*NodeInterfaceDebugCaller) GetRetryable

func (_NodeInterfaceDebug *NodeInterfaceDebugCaller) GetRetryable(opts *bind.CallOpts, ticket [32]byte) (NodeInterfaceDebugRetryableInfo, error)

GetRetryable is a free data retrieval call binding the contract method 0x4d7953ad.

Solidity: function getRetryable(bytes32 ticket) view returns((uint64,address,address,uint256,address,uint64,bytes) retryable)

type NodeInterfaceDebugCallerRaw

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

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

func (*NodeInterfaceDebugCallerRaw) Call

func (_NodeInterfaceDebug *NodeInterfaceDebugCallerRaw) 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 NodeInterfaceDebugCallerSession

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

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

func (*NodeInterfaceDebugCallerSession) GetRetryable

func (_NodeInterfaceDebug *NodeInterfaceDebugCallerSession) GetRetryable(ticket [32]byte) (NodeInterfaceDebugRetryableInfo, error)

GetRetryable is a free data retrieval call binding the contract method 0x4d7953ad.

Solidity: function getRetryable(bytes32 ticket) view returns((uint64,address,address,uint256,address,uint64,bytes) retryable)

type NodeInterfaceDebugFilterer

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

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

func NewNodeInterfaceDebugFilterer

func NewNodeInterfaceDebugFilterer(address common.Address, filterer bind.ContractFilterer) (*NodeInterfaceDebugFilterer, error)

NewNodeInterfaceDebugFilterer creates a new log filterer instance of NodeInterfaceDebug, bound to a specific deployed contract.

type NodeInterfaceDebugRaw

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

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

func (*NodeInterfaceDebugRaw) Call

func (_NodeInterfaceDebug *NodeInterfaceDebugRaw) 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 (*NodeInterfaceDebugRaw) Transact

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

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

func (*NodeInterfaceDebugRaw) Transfer

func (_NodeInterfaceDebug *NodeInterfaceDebugRaw) 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 NodeInterfaceDebugRetryableInfo

type NodeInterfaceDebugRetryableInfo struct {
	Timeout     uint64
	From        common.Address
	To          common.Address
	Value       *big.Int
	Beneficiary common.Address
	Tries       uint64
	Data        []byte
}

NodeInterfaceDebugRetryableInfo is an auto generated low-level Go binding around an user-defined struct.

type NodeInterfaceDebugSession

type NodeInterfaceDebugSession struct {
	Contract     *NodeInterfaceDebug // 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
}

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

func (*NodeInterfaceDebugSession) GetRetryable

func (_NodeInterfaceDebug *NodeInterfaceDebugSession) GetRetryable(ticket [32]byte) (NodeInterfaceDebugRetryableInfo, error)

GetRetryable is a free data retrieval call binding the contract method 0x4d7953ad.

Solidity: function getRetryable(bytes32 ticket) view returns((uint64,address,address,uint256,address,uint64,bytes) retryable)

type NodeInterfaceDebugTransactor

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

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

func NewNodeInterfaceDebugTransactor

func NewNodeInterfaceDebugTransactor(address common.Address, transactor bind.ContractTransactor) (*NodeInterfaceDebugTransactor, error)

NewNodeInterfaceDebugTransactor creates a new write-only instance of NodeInterfaceDebug, bound to a specific deployed contract.

type NodeInterfaceDebugTransactorRaw

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

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

func (*NodeInterfaceDebugTransactorRaw) Transact

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

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

func (*NodeInterfaceDebugTransactorRaw) Transfer

func (_NodeInterfaceDebug *NodeInterfaceDebugTransactorRaw) 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 NodeInterfaceDebugTransactorSession

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

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

type NodeInterfaceFilterer

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

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

func NewNodeInterfaceFilterer

func NewNodeInterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*NodeInterfaceFilterer, error)

NewNodeInterfaceFilterer creates a new log filterer instance of NodeInterface, bound to a specific deployed contract.

type NodeInterfaceRaw

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

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

func (*NodeInterfaceRaw) Call

func (_NodeInterface *NodeInterfaceRaw) 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 (*NodeInterfaceRaw) Transact

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

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

func (*NodeInterfaceRaw) Transfer

func (_NodeInterface *NodeInterfaceRaw) 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 NodeInterfaceSession

type NodeInterfaceSession struct {
	Contract     *NodeInterface    // 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
}

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

func (*NodeInterfaceSession) BlockL1Num

func (_NodeInterface *NodeInterfaceSession) BlockL1Num(l2BlockNum uint64) (uint64, error)

BlockL1Num is a free data retrieval call binding the contract method 0x6f275ef2.

Solidity: function blockL1Num(uint64 l2BlockNum) view returns(uint64 l1BlockNum)

func (*NodeInterfaceSession) ConstructOutboxProof

func (_NodeInterface *NodeInterfaceSession) 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 (*NodeInterfaceSession) EstimateRetryableTicket

func (_NodeInterface *NodeInterfaceSession) 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 (*NodeInterfaceSession) FindBatchContainingBlock

func (_NodeInterface *NodeInterfaceSession) 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 (*NodeInterfaceSession) GasEstimateComponents

func (_NodeInterface *NodeInterfaceSession) 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 (*NodeInterfaceSession) GasEstimateL1Component

func (_NodeInterface *NodeInterfaceSession) 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 (*NodeInterfaceSession) GetL1Confirmations

func (_NodeInterface *NodeInterfaceSession) 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 (*NodeInterfaceSession) L2BlockRangeForL1

func (_NodeInterface *NodeInterfaceSession) L2BlockRangeForL1(blockNum uint64) (struct {
	FirstBlock uint64
	LastBlock  uint64
}, error)

L2BlockRangeForL1 is a free data retrieval call binding the contract method 0x48e7f811.

Solidity: function l2BlockRangeForL1(uint64 blockNum) view returns(uint64 firstBlock, uint64 lastBlock)

func (*NodeInterfaceSession) LegacyLookupMessageBatchProof

func (_NodeInterface *NodeInterfaceSession) 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 (*NodeInterfaceSession) NitroGenesisBlock

func (_NodeInterface *NodeInterfaceSession) NitroGenesisBlock() (*big.Int, error)

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

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

type NodeInterfaceTransactor

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

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

func NewNodeInterfaceTransactor

func NewNodeInterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*NodeInterfaceTransactor, error)

NewNodeInterfaceTransactor creates a new write-only instance of NodeInterface, bound to a specific deployed contract.

func (*NodeInterfaceTransactor) EstimateRetryableTicket

func (_NodeInterface *NodeInterfaceTransactor) 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 (*NodeInterfaceTransactor) GasEstimateComponents

func (_NodeInterface *NodeInterfaceTransactor) 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 (*NodeInterfaceTransactor) GasEstimateL1Component

func (_NodeInterface *NodeInterfaceTransactor) 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 NodeInterfaceTransactorRaw

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

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

func (*NodeInterfaceTransactorRaw) Transact

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

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

func (*NodeInterfaceTransactorRaw) Transfer

func (_NodeInterface *NodeInterfaceTransactorRaw) 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 NodeInterfaceTransactorSession

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

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

func (*NodeInterfaceTransactorSession) EstimateRetryableTicket

func (_NodeInterface *NodeInterfaceTransactorSession) 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 (*NodeInterfaceTransactorSession) GasEstimateComponents

func (_NodeInterface *NodeInterfaceTransactorSession) 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 (*NodeInterfaceTransactorSession) GasEstimateL1Component

func (_NodeInterface *NodeInterfaceTransactorSession) 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