Documentation ¶
Index ¶
- Variables
- type Ipolygonconsensusbase
- type IpolygonconsensusbaseCaller
- type IpolygonconsensusbaseCallerRaw
- type IpolygonconsensusbaseCallerSession
- type IpolygonconsensusbaseFilterer
- type IpolygonconsensusbaseRaw
- func (_Ipolygonconsensusbase *IpolygonconsensusbaseRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Ipolygonconsensusbase *IpolygonconsensusbaseRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Ipolygonconsensusbase *IpolygonconsensusbaseRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IpolygonconsensusbaseSession
- type IpolygonconsensusbaseTransactor
- func (_Ipolygonconsensusbase *IpolygonconsensusbaseTransactor) Admin(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Ipolygonconsensusbase *IpolygonconsensusbaseTransactor) Initialize(opts *bind.TransactOpts, _admin common.Address, sequencer common.Address, ...) (*types.Transaction, error)
- type IpolygonconsensusbaseTransactorRaw
- type IpolygonconsensusbaseTransactorSession
Constants ¶
This section is empty.
Variables ¶
var IpolygonconsensusbaseABI = IpolygonconsensusbaseMetaData.ABI
IpolygonconsensusbaseABI is the input ABI used to generate the binding from. Deprecated: Use IpolygonconsensusbaseMetaData.ABI instead.
var IpolygonconsensusbaseMetaData = &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\"}]",
}
IpolygonconsensusbaseMetaData contains all meta data concerning the Ipolygonconsensusbase contract.
Functions ¶
This section is empty.
Types ¶
type Ipolygonconsensusbase ¶
type Ipolygonconsensusbase struct { IpolygonconsensusbaseCaller // Read-only binding to the contract IpolygonconsensusbaseTransactor // Write-only binding to the contract IpolygonconsensusbaseFilterer // Log filterer for contract events }
Ipolygonconsensusbase is an auto generated Go binding around an Ethereum contract.
func NewIpolygonconsensusbase ¶
func NewIpolygonconsensusbase(address common.Address, backend bind.ContractBackend) (*Ipolygonconsensusbase, error)
NewIpolygonconsensusbase creates a new instance of Ipolygonconsensusbase, bound to a specific deployed contract.
type IpolygonconsensusbaseCaller ¶
type IpolygonconsensusbaseCaller struct {
// contains filtered or unexported fields
}
IpolygonconsensusbaseCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIpolygonconsensusbaseCaller ¶
func NewIpolygonconsensusbaseCaller(address common.Address, caller bind.ContractCaller) (*IpolygonconsensusbaseCaller, error)
NewIpolygonconsensusbaseCaller creates a new read-only instance of Ipolygonconsensusbase, bound to a specific deployed contract.
type IpolygonconsensusbaseCallerRaw ¶
type IpolygonconsensusbaseCallerRaw struct {
Contract *IpolygonconsensusbaseCaller // Generic read-only contract binding to access the raw methods on
}
IpolygonconsensusbaseCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IpolygonconsensusbaseCallerRaw) Call ¶
func (_Ipolygonconsensusbase *IpolygonconsensusbaseCallerRaw) 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 IpolygonconsensusbaseCallerSession ¶
type IpolygonconsensusbaseCallerSession struct { Contract *IpolygonconsensusbaseCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IpolygonconsensusbaseCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IpolygonconsensusbaseFilterer ¶
type IpolygonconsensusbaseFilterer struct {
// contains filtered or unexported fields
}
IpolygonconsensusbaseFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIpolygonconsensusbaseFilterer ¶
func NewIpolygonconsensusbaseFilterer(address common.Address, filterer bind.ContractFilterer) (*IpolygonconsensusbaseFilterer, error)
NewIpolygonconsensusbaseFilterer creates a new log filterer instance of Ipolygonconsensusbase, bound to a specific deployed contract.
type IpolygonconsensusbaseRaw ¶
type IpolygonconsensusbaseRaw struct {
Contract *Ipolygonconsensusbase // Generic contract binding to access the raw methods on
}
IpolygonconsensusbaseRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IpolygonconsensusbaseRaw) Call ¶
func (_Ipolygonconsensusbase *IpolygonconsensusbaseRaw) 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 (*IpolygonconsensusbaseRaw) Transact ¶
func (_Ipolygonconsensusbase *IpolygonconsensusbaseRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IpolygonconsensusbaseRaw) Transfer ¶
func (_Ipolygonconsensusbase *IpolygonconsensusbaseRaw) 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 IpolygonconsensusbaseSession ¶
type IpolygonconsensusbaseSession struct { Contract *Ipolygonconsensusbase // 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 }
IpolygonconsensusbaseSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IpolygonconsensusbaseSession) Admin ¶
func (_Ipolygonconsensusbase *IpolygonconsensusbaseSession) Admin() (*types.Transaction, error)
Admin is a paid mutator transaction binding the contract method 0xf851a440.
Solidity: function admin() returns(address)
func (*IpolygonconsensusbaseSession) Initialize ¶
func (_Ipolygonconsensusbase *IpolygonconsensusbaseSession) 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()
type IpolygonconsensusbaseTransactor ¶
type IpolygonconsensusbaseTransactor struct {
// contains filtered or unexported fields
}
IpolygonconsensusbaseTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIpolygonconsensusbaseTransactor ¶
func NewIpolygonconsensusbaseTransactor(address common.Address, transactor bind.ContractTransactor) (*IpolygonconsensusbaseTransactor, error)
NewIpolygonconsensusbaseTransactor creates a new write-only instance of Ipolygonconsensusbase, bound to a specific deployed contract.
func (*IpolygonconsensusbaseTransactor) Admin ¶
func (_Ipolygonconsensusbase *IpolygonconsensusbaseTransactor) Admin(opts *bind.TransactOpts) (*types.Transaction, error)
Admin is a paid mutator transaction binding the contract method 0xf851a440.
Solidity: function admin() returns(address)
func (*IpolygonconsensusbaseTransactor) Initialize ¶
func (_Ipolygonconsensusbase *IpolygonconsensusbaseTransactor) 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()
type IpolygonconsensusbaseTransactorRaw ¶
type IpolygonconsensusbaseTransactorRaw struct {
Contract *IpolygonconsensusbaseTransactor // Generic write-only contract binding to access the raw methods on
}
IpolygonconsensusbaseTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IpolygonconsensusbaseTransactorRaw) Transact ¶
func (_Ipolygonconsensusbase *IpolygonconsensusbaseTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IpolygonconsensusbaseTransactorRaw) Transfer ¶
func (_Ipolygonconsensusbase *IpolygonconsensusbaseTransactorRaw) 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 IpolygonconsensusbaseTransactorSession ¶
type IpolygonconsensusbaseTransactorSession struct { Contract *IpolygonconsensusbaseTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IpolygonconsensusbaseTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IpolygonconsensusbaseTransactorSession) Admin ¶
func (_Ipolygonconsensusbase *IpolygonconsensusbaseTransactorSession) Admin() (*types.Transaction, error)
Admin is a paid mutator transaction binding the contract method 0xf851a440.
Solidity: function admin() returns(address)
func (*IpolygonconsensusbaseTransactorSession) Initialize ¶
func (_Ipolygonconsensusbase *IpolygonconsensusbaseTransactorSession) 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()