ipolygonrollupbase

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IpolygonrollupbaseABI = IpolygonrollupbaseMetaData.ABI

IpolygonrollupbaseABI is the input ABI used to generate the binding from. Deprecated: Use IpolygonrollupbaseMetaData.ABI instead.

View Source
var IpolygonrollupbaseMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_admin\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"sequencer\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"networkID\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"gasTokenAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"sequencerURL\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_networkName\",\"type\":\"string\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"lastVerifiedBatch\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"newStateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"aggregator\",\"type\":\"address\"}],\"name\":\"onVerifyBatches\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"targetBatch\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"accInputHashToRollback\",\"type\":\"bytes32\"}],\"name\":\"rollbackBatches\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IpolygonrollupbaseMetaData contains all meta data concerning the Ipolygonrollupbase contract.

Functions

This section is empty.

Types

type Ipolygonrollupbase

type Ipolygonrollupbase struct {
	IpolygonrollupbaseCaller     // Read-only binding to the contract
	IpolygonrollupbaseTransactor // Write-only binding to the contract
	IpolygonrollupbaseFilterer   // Log filterer for contract events
}

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

func NewIpolygonrollupbase

func NewIpolygonrollupbase(address common.Address, backend bind.ContractBackend) (*Ipolygonrollupbase, error)

NewIpolygonrollupbase creates a new instance of Ipolygonrollupbase, bound to a specific deployed contract.

type IpolygonrollupbaseCaller

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

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

func NewIpolygonrollupbaseCaller

func NewIpolygonrollupbaseCaller(address common.Address, caller bind.ContractCaller) (*IpolygonrollupbaseCaller, error)

NewIpolygonrollupbaseCaller creates a new read-only instance of Ipolygonrollupbase, bound to a specific deployed contract.

type IpolygonrollupbaseCallerRaw

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

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

func (*IpolygonrollupbaseCallerRaw) Call

func (_Ipolygonrollupbase *IpolygonrollupbaseCallerRaw) 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 IpolygonrollupbaseCallerSession

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

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

type IpolygonrollupbaseFilterer

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

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

func NewIpolygonrollupbaseFilterer

func NewIpolygonrollupbaseFilterer(address common.Address, filterer bind.ContractFilterer) (*IpolygonrollupbaseFilterer, error)

NewIpolygonrollupbaseFilterer creates a new log filterer instance of Ipolygonrollupbase, bound to a specific deployed contract.

type IpolygonrollupbaseRaw

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

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

func (*IpolygonrollupbaseRaw) Call

func (_Ipolygonrollupbase *IpolygonrollupbaseRaw) 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 (*IpolygonrollupbaseRaw) Transact

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

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

func (*IpolygonrollupbaseRaw) Transfer

func (_Ipolygonrollupbase *IpolygonrollupbaseRaw) 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 IpolygonrollupbaseSession

type IpolygonrollupbaseSession struct {
	Contract     *Ipolygonrollupbase // 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
}

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

func (*IpolygonrollupbaseSession) Admin

func (_Ipolygonrollupbase *IpolygonrollupbaseSession) Admin() (*types.Transaction, error)

Admin is a paid mutator transaction binding the contract method 0xf851a440.

Solidity: function admin() returns(address)

func (*IpolygonrollupbaseSession) Initialize

func (_Ipolygonrollupbase *IpolygonrollupbaseSession) Initialize(_admin common.Address, sequencer common.Address, networkID uint32, gasTokenAddress common.Address, sequencerURL string, _networkName string) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x71257022.

Solidity: function initialize(address _admin, address sequencer, uint32 networkID, address gasTokenAddress, string sequencerURL, string _networkName) returns()

func (*IpolygonrollupbaseSession) OnVerifyBatches

func (_Ipolygonrollupbase *IpolygonrollupbaseSession) OnVerifyBatches(lastVerifiedBatch uint64, newStateRoot [32]byte, aggregator common.Address) (*types.Transaction, error)

OnVerifyBatches is a paid mutator transaction binding the contract method 0x32c2d153.

Solidity: function onVerifyBatches(uint64 lastVerifiedBatch, bytes32 newStateRoot, address aggregator) returns()

func (*IpolygonrollupbaseSession) RollbackBatches

func (_Ipolygonrollupbase *IpolygonrollupbaseSession) RollbackBatches(targetBatch uint64, accInputHashToRollback [32]byte) (*types.Transaction, error)

RollbackBatches is a paid mutator transaction binding the contract method 0x669adece.

Solidity: function rollbackBatches(uint64 targetBatch, bytes32 accInputHashToRollback) returns()

type IpolygonrollupbaseTransactor

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

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

func NewIpolygonrollupbaseTransactor

func NewIpolygonrollupbaseTransactor(address common.Address, transactor bind.ContractTransactor) (*IpolygonrollupbaseTransactor, error)

NewIpolygonrollupbaseTransactor creates a new write-only instance of Ipolygonrollupbase, bound to a specific deployed contract.

func (*IpolygonrollupbaseTransactor) Admin

func (_Ipolygonrollupbase *IpolygonrollupbaseTransactor) Admin(opts *bind.TransactOpts) (*types.Transaction, error)

Admin is a paid mutator transaction binding the contract method 0xf851a440.

Solidity: function admin() returns(address)

func (*IpolygonrollupbaseTransactor) Initialize

func (_Ipolygonrollupbase *IpolygonrollupbaseTransactor) Initialize(opts *bind.TransactOpts, _admin common.Address, sequencer common.Address, networkID uint32, gasTokenAddress common.Address, sequencerURL string, _networkName string) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x71257022.

Solidity: function initialize(address _admin, address sequencer, uint32 networkID, address gasTokenAddress, string sequencerURL, string _networkName) returns()

func (*IpolygonrollupbaseTransactor) OnVerifyBatches

func (_Ipolygonrollupbase *IpolygonrollupbaseTransactor) OnVerifyBatches(opts *bind.TransactOpts, lastVerifiedBatch uint64, newStateRoot [32]byte, aggregator common.Address) (*types.Transaction, error)

OnVerifyBatches is a paid mutator transaction binding the contract method 0x32c2d153.

Solidity: function onVerifyBatches(uint64 lastVerifiedBatch, bytes32 newStateRoot, address aggregator) returns()

func (*IpolygonrollupbaseTransactor) RollbackBatches

func (_Ipolygonrollupbase *IpolygonrollupbaseTransactor) RollbackBatches(opts *bind.TransactOpts, targetBatch uint64, accInputHashToRollback [32]byte) (*types.Transaction, error)

RollbackBatches is a paid mutator transaction binding the contract method 0x669adece.

Solidity: function rollbackBatches(uint64 targetBatch, bytes32 accInputHashToRollback) returns()

type IpolygonrollupbaseTransactorRaw

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

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

func (*IpolygonrollupbaseTransactorRaw) Transact

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

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

func (*IpolygonrollupbaseTransactorRaw) Transfer

func (_Ipolygonrollupbase *IpolygonrollupbaseTransactorRaw) 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 IpolygonrollupbaseTransactorSession

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

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

func (*IpolygonrollupbaseTransactorSession) Admin

func (_Ipolygonrollupbase *IpolygonrollupbaseTransactorSession) Admin() (*types.Transaction, error)

Admin is a paid mutator transaction binding the contract method 0xf851a440.

Solidity: function admin() returns(address)

func (*IpolygonrollupbaseTransactorSession) Initialize

func (_Ipolygonrollupbase *IpolygonrollupbaseTransactorSession) Initialize(_admin common.Address, sequencer common.Address, networkID uint32, gasTokenAddress common.Address, sequencerURL string, _networkName string) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x71257022.

Solidity: function initialize(address _admin, address sequencer, uint32 networkID, address gasTokenAddress, string sequencerURL, string _networkName) returns()

func (*IpolygonrollupbaseTransactorSession) OnVerifyBatches

func (_Ipolygonrollupbase *IpolygonrollupbaseTransactorSession) OnVerifyBatches(lastVerifiedBatch uint64, newStateRoot [32]byte, aggregator common.Address) (*types.Transaction, error)

OnVerifyBatches is a paid mutator transaction binding the contract method 0x32c2d153.

Solidity: function onVerifyBatches(uint64 lastVerifiedBatch, bytes32 newStateRoot, address aggregator) returns()

func (*IpolygonrollupbaseTransactorSession) RollbackBatches

func (_Ipolygonrollupbase *IpolygonrollupbaseTransactorSession) RollbackBatches(targetBatch uint64, accInputHashToRollback [32]byte) (*types.Transaction, error)

RollbackBatches is a paid mutator transaction binding the contract method 0x669adece.

Solidity: function rollbackBatches(uint64 targetBatch, bytes32 accInputHashToRollback) returns()

Jump to

Keyboard shortcuts

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