Documentation ¶
Index ¶
- Variables
- type Polygonconsensusbase
- type PolygonconsensusbaseAcceptAdminRole
- type PolygonconsensusbaseAcceptAdminRoleIterator
- type PolygonconsensusbaseCaller
- func (_Polygonconsensusbase *PolygonconsensusbaseCaller) Admin(opts *bind.CallOpts) (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCaller) BridgeAddress(opts *bind.CallOpts) (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCaller) ForceBatchAddress(opts *bind.CallOpts) (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCaller) ForceBatchTimeout(opts *bind.CallOpts) (uint64, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCaller) ForcedBatches(opts *bind.CallOpts, arg0 uint64) ([32]byte, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCaller) GasTokenAddress(opts *bind.CallOpts) (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCaller) GasTokenNetwork(opts *bind.CallOpts) (uint32, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCaller) GlobalExitRootManager(opts *bind.CallOpts) (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCaller) LastAccInputHash(opts *bind.CallOpts) ([32]byte, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCaller) LastForceBatch(opts *bind.CallOpts) (uint64, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCaller) LastForceBatchSequenced(opts *bind.CallOpts) (uint64, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCaller) NetworkName(opts *bind.CallOpts) (string, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCaller) PendingAdmin(opts *bind.CallOpts) (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCaller) Pol(opts *bind.CallOpts) (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCaller) RollupManager(opts *bind.CallOpts) (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCaller) TrustedSequencer(opts *bind.CallOpts) (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCaller) TrustedSequencerURL(opts *bind.CallOpts) (string, error)
- type PolygonconsensusbaseCallerRaw
- type PolygonconsensusbaseCallerSession
- func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) Admin() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) BridgeAddress() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) ForceBatchAddress() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) ForceBatchTimeout() (uint64, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) ForcedBatches(arg0 uint64) ([32]byte, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) GasTokenAddress() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) GasTokenNetwork() (uint32, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) GlobalExitRootManager() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) LastAccInputHash() ([32]byte, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) LastForceBatch() (uint64, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) LastForceBatchSequenced() (uint64, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) NetworkName() (string, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) PendingAdmin() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) Pol() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) RollupManager() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) TrustedSequencer() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) TrustedSequencerURL() (string, error)
- type PolygonconsensusbaseFilterer
- func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) FilterAcceptAdminRole(opts *bind.FilterOpts) (*PolygonconsensusbaseAcceptAdminRoleIterator, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) FilterInitialized(opts *bind.FilterOpts) (*PolygonconsensusbaseInitializedIterator, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) FilterSetTrustedSequencer(opts *bind.FilterOpts) (*PolygonconsensusbaseSetTrustedSequencerIterator, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) FilterSetTrustedSequencerURL(opts *bind.FilterOpts) (*PolygonconsensusbaseSetTrustedSequencerURLIterator, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) FilterTransferAdminRole(opts *bind.FilterOpts) (*PolygonconsensusbaseTransferAdminRoleIterator, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) ParseAcceptAdminRole(log types.Log) (*PolygonconsensusbaseAcceptAdminRole, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) ParseInitialized(log types.Log) (*PolygonconsensusbaseInitialized, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) ParseSetTrustedSequencer(log types.Log) (*PolygonconsensusbaseSetTrustedSequencer, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) ParseSetTrustedSequencerURL(log types.Log) (*PolygonconsensusbaseSetTrustedSequencerURL, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) ParseTransferAdminRole(log types.Log) (*PolygonconsensusbaseTransferAdminRole, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) WatchAcceptAdminRole(opts *bind.WatchOpts, sink chan<- *PolygonconsensusbaseAcceptAdminRole) (event.Subscription, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *PolygonconsensusbaseInitialized) (event.Subscription, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) WatchSetTrustedSequencer(opts *bind.WatchOpts, sink chan<- *PolygonconsensusbaseSetTrustedSequencer) (event.Subscription, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) WatchSetTrustedSequencerURL(opts *bind.WatchOpts, sink chan<- *PolygonconsensusbaseSetTrustedSequencerURL) (event.Subscription, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) WatchTransferAdminRole(opts *bind.WatchOpts, sink chan<- *PolygonconsensusbaseTransferAdminRole) (event.Subscription, error)
- type PolygonconsensusbaseInitialized
- type PolygonconsensusbaseInitializedIterator
- type PolygonconsensusbaseRaw
- func (_Polygonconsensusbase *PolygonconsensusbaseRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Polygonconsensusbase *PolygonconsensusbaseRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PolygonconsensusbaseSession
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) AcceptAdminRole() (*types.Transaction, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) Admin() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) BridgeAddress() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) ForceBatchAddress() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) ForceBatchTimeout() (uint64, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) ForcedBatches(arg0 uint64) ([32]byte, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) GasTokenAddress() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) GasTokenNetwork() (uint32, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) GlobalExitRootManager() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) Initialize(_admin common.Address, sequencer common.Address, arg2 uint32, ...) (*types.Transaction, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) LastAccInputHash() ([32]byte, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) LastForceBatch() (uint64, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) LastForceBatchSequenced() (uint64, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) NetworkName() (string, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) PendingAdmin() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) Pol() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) RollupManager() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) SetTrustedSequencer(newTrustedSequencer common.Address) (*types.Transaction, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) SetTrustedSequencerURL(newTrustedSequencerURL string) (*types.Transaction, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) TransferAdminRole(newPendingAdmin common.Address) (*types.Transaction, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) TrustedSequencer() (common.Address, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseSession) TrustedSequencerURL() (string, error)
- type PolygonconsensusbaseSetTrustedSequencer
- type PolygonconsensusbaseSetTrustedSequencerIterator
- type PolygonconsensusbaseSetTrustedSequencerURL
- type PolygonconsensusbaseSetTrustedSequencerURLIterator
- type PolygonconsensusbaseTransactor
- func (_Polygonconsensusbase *PolygonconsensusbaseTransactor) AcceptAdminRole(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseTransactor) Initialize(opts *bind.TransactOpts, _admin common.Address, sequencer common.Address, ...) (*types.Transaction, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseTransactor) SetTrustedSequencer(opts *bind.TransactOpts, newTrustedSequencer common.Address) (*types.Transaction, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseTransactor) SetTrustedSequencerURL(opts *bind.TransactOpts, newTrustedSequencerURL string) (*types.Transaction, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseTransactor) TransferAdminRole(opts *bind.TransactOpts, newPendingAdmin common.Address) (*types.Transaction, error)
- type PolygonconsensusbaseTransactorRaw
- type PolygonconsensusbaseTransactorSession
- func (_Polygonconsensusbase *PolygonconsensusbaseTransactorSession) AcceptAdminRole() (*types.Transaction, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseTransactorSession) Initialize(_admin common.Address, sequencer common.Address, arg2 uint32, ...) (*types.Transaction, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseTransactorSession) SetTrustedSequencer(newTrustedSequencer common.Address) (*types.Transaction, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseTransactorSession) SetTrustedSequencerURL(newTrustedSequencerURL string) (*types.Transaction, error)
- func (_Polygonconsensusbase *PolygonconsensusbaseTransactorSession) TransferAdminRole(newPendingAdmin common.Address) (*types.Transaction, error)
- type PolygonconsensusbaseTransferAdminRole
- type PolygonconsensusbaseTransferAdminRoleIterator
Constants ¶
This section is empty.
Variables ¶
var PolygonconsensusbaseABI = PolygonconsensusbaseMetaData.ABI
PolygonconsensusbaseABI is the input ABI used to generate the binding from. Deprecated: Use PolygonconsensusbaseMetaData.ABI instead.
var PolygonconsensusbaseMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"BatchAlreadyVerified\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BatchNotSequencedOrNotSequenceEnd\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExceedMaxVerifyBatches\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FinalAccInputHashDoesNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FinalNumBatchBelowLastVerifiedBatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FinalNumBatchDoesNotMatchPendingState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FinalPendingStateNumInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ForceBatchNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ForceBatchTimeoutNotExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ForceBatchesAlreadyActive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ForceBatchesDecentralized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ForceBatchesNotAllowedOnEmergencyState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ForceBatchesOverflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ForcedDataDoesNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GasTokenNetworkMustBeZeroOnEther\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GlobalExitRootNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"HaltTimeoutNotExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"HaltTimeoutNotExpiredAfterEmergencyState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"HugeTokenMetadataNotSupported\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InitNumBatchAboveLastVerifiedBatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InitNumBatchDoesNotMatchPendingState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InitSequencedBatchDoesNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitializeTransaction\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRangeBatchTimeTarget\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRangeForceBatchTimeout\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRangeMultiplierBatchFee\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1InfoTreeLeafCountInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MaxTimestampSequenceInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewAccInputHashDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewPendingStateTimeoutMustBeLower\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewStateRootNotInsidePrime\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewTrustedAggregatorTimeoutMustBeLower\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotEnoughMaticAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotEnoughPOLAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OldAccInputHashDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OldStateRootDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyAdmin\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyPendingAdmin\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyRollupManager\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyTrustedAggregator\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyTrustedSequencer\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingStateDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingStateInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingStateNotConsolidable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingStateTimeoutExceedHaltAggregationTimeout\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SequenceZeroBatches\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SequencedTimestampBelowForcedTimestamp\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SequencedTimestampInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StoredRootMustBeDifferentThanNewRoot\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransactionsLengthAboveMax\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TrustedAggregatorTimeoutExceedHaltAggregationTimeout\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TrustedAggregatorTimeoutNotExpired\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AcceptAdminRole\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newTrustedSequencer\",\"type\":\"address\"}],\"name\":\"SetTrustedSequencer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"newTrustedSequencerURL\",\"type\":\"string\"}],\"name\":\"SetTrustedSequencerURL\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newPendingAdmin\",\"type\":\"address\"}],\"name\":\"TransferAdminRole\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptAdminRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bridgeAddress\",\"outputs\":[{\"internalType\":\"contractIPolygonZkEVMBridgeV2\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"forceBatchAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"forceBatchTimeout\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"name\":\"forcedBatches\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gasTokenAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gasTokenNetwork\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"globalExitRootManager\",\"outputs\":[{\"internalType\":\"contractIPolygonZkEVMGlobalExitRootV2\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_admin\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"sequencer\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"\",\"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\":[],\"name\":\"lastAccInputHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastForceBatch\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastForceBatchSequenced\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"networkName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingAdmin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pol\",\"outputs\":[{\"internalType\":\"contractIERC20Upgradeable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rollupManager\",\"outputs\":[{\"internalType\":\"contractPolygonRollupManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newTrustedSequencer\",\"type\":\"address\"}],\"name\":\"setTrustedSequencer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"newTrustedSequencerURL\",\"type\":\"string\"}],\"name\":\"setTrustedSequencerURL\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newPendingAdmin\",\"type\":\"address\"}],\"name\":\"transferAdminRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"trustedSequencer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"trustedSequencerURL\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
PolygonconsensusbaseMetaData contains all meta data concerning the Polygonconsensusbase contract.
Functions ¶
This section is empty.
Types ¶
type Polygonconsensusbase ¶
type Polygonconsensusbase struct { PolygonconsensusbaseCaller // Read-only binding to the contract PolygonconsensusbaseTransactor // Write-only binding to the contract PolygonconsensusbaseFilterer // Log filterer for contract events }
Polygonconsensusbase is an auto generated Go binding around an Ethereum contract.
func NewPolygonconsensusbase ¶
func NewPolygonconsensusbase(address common.Address, backend bind.ContractBackend) (*Polygonconsensusbase, error)
NewPolygonconsensusbase creates a new instance of Polygonconsensusbase, bound to a specific deployed contract.
type PolygonconsensusbaseAcceptAdminRole ¶
type PolygonconsensusbaseAcceptAdminRole struct { NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
PolygonconsensusbaseAcceptAdminRole represents a AcceptAdminRole event raised by the Polygonconsensusbase contract.
type PolygonconsensusbaseAcceptAdminRoleIterator ¶
type PolygonconsensusbaseAcceptAdminRoleIterator struct { Event *PolygonconsensusbaseAcceptAdminRole // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PolygonconsensusbaseAcceptAdminRoleIterator is returned from FilterAcceptAdminRole and is used to iterate over the raw logs and unpacked data for AcceptAdminRole events raised by the Polygonconsensusbase contract.
func (*PolygonconsensusbaseAcceptAdminRoleIterator) Close ¶
func (it *PolygonconsensusbaseAcceptAdminRoleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PolygonconsensusbaseAcceptAdminRoleIterator) Error ¶
func (it *PolygonconsensusbaseAcceptAdminRoleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PolygonconsensusbaseAcceptAdminRoleIterator) Next ¶
func (it *PolygonconsensusbaseAcceptAdminRoleIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type PolygonconsensusbaseCaller ¶
type PolygonconsensusbaseCaller struct {
// contains filtered or unexported fields
}
PolygonconsensusbaseCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPolygonconsensusbaseCaller ¶
func NewPolygonconsensusbaseCaller(address common.Address, caller bind.ContractCaller) (*PolygonconsensusbaseCaller, error)
NewPolygonconsensusbaseCaller creates a new read-only instance of Polygonconsensusbase, bound to a specific deployed contract.
func (*PolygonconsensusbaseCaller) Admin ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCaller) Admin(opts *bind.CallOpts) (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*PolygonconsensusbaseCaller) BridgeAddress ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCaller) BridgeAddress(opts *bind.CallOpts) (common.Address, error)
BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.
Solidity: function bridgeAddress() view returns(address)
func (*PolygonconsensusbaseCaller) ForceBatchAddress ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCaller) ForceBatchAddress(opts *bind.CallOpts) (common.Address, error)
ForceBatchAddress is a free data retrieval call binding the contract method 0x2c111c06.
Solidity: function forceBatchAddress() view returns(address)
func (*PolygonconsensusbaseCaller) ForceBatchTimeout ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCaller) ForceBatchTimeout(opts *bind.CallOpts) (uint64, error)
ForceBatchTimeout is a free data retrieval call binding the contract method 0xc754c7ed.
Solidity: function forceBatchTimeout() view returns(uint64)
func (*PolygonconsensusbaseCaller) ForcedBatches ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCaller) ForcedBatches(opts *bind.CallOpts, arg0 uint64) ([32]byte, error)
ForcedBatches is a free data retrieval call binding the contract method 0x6b8616ce.
Solidity: function forcedBatches(uint64 ) view returns(bytes32)
func (*PolygonconsensusbaseCaller) GasTokenAddress ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCaller) GasTokenAddress(opts *bind.CallOpts) (common.Address, error)
GasTokenAddress is a free data retrieval call binding the contract method 0x3c351e10.
Solidity: function gasTokenAddress() view returns(address)
func (*PolygonconsensusbaseCaller) GasTokenNetwork ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCaller) GasTokenNetwork(opts *bind.CallOpts) (uint32, error)
GasTokenNetwork is a free data retrieval call binding the contract method 0x3cbc795b.
Solidity: function gasTokenNetwork() view returns(uint32)
func (*PolygonconsensusbaseCaller) GlobalExitRootManager ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCaller) GlobalExitRootManager(opts *bind.CallOpts) (common.Address, error)
GlobalExitRootManager is a free data retrieval call binding the contract method 0xd02103ca.
Solidity: function globalExitRootManager() view returns(address)
func (*PolygonconsensusbaseCaller) LastAccInputHash ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCaller) LastAccInputHash(opts *bind.CallOpts) ([32]byte, error)
LastAccInputHash is a free data retrieval call binding the contract method 0x6e05d2cd.
Solidity: function lastAccInputHash() view returns(bytes32)
func (*PolygonconsensusbaseCaller) LastForceBatch ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCaller) LastForceBatch(opts *bind.CallOpts) (uint64, error)
LastForceBatch is a free data retrieval call binding the contract method 0xe7a7ed02.
Solidity: function lastForceBatch() view returns(uint64)
func (*PolygonconsensusbaseCaller) LastForceBatchSequenced ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCaller) LastForceBatchSequenced(opts *bind.CallOpts) (uint64, error)
LastForceBatchSequenced is a free data retrieval call binding the contract method 0x45605267.
Solidity: function lastForceBatchSequenced() view returns(uint64)
func (*PolygonconsensusbaseCaller) NetworkName ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCaller) NetworkName(opts *bind.CallOpts) (string, error)
NetworkName is a free data retrieval call binding the contract method 0x107bf28c.
Solidity: function networkName() view returns(string)
func (*PolygonconsensusbaseCaller) PendingAdmin ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCaller) PendingAdmin(opts *bind.CallOpts) (common.Address, error)
PendingAdmin is a free data retrieval call binding the contract method 0x26782247.
Solidity: function pendingAdmin() view returns(address)
func (*PolygonconsensusbaseCaller) Pol ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCaller) Pol(opts *bind.CallOpts) (common.Address, error)
Pol is a free data retrieval call binding the contract method 0xe46761c4.
Solidity: function pol() view returns(address)
func (*PolygonconsensusbaseCaller) RollupManager ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCaller) RollupManager(opts *bind.CallOpts) (common.Address, error)
RollupManager is a free data retrieval call binding the contract method 0x49b7b802.
Solidity: function rollupManager() view returns(address)
func (*PolygonconsensusbaseCaller) TrustedSequencer ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCaller) TrustedSequencer(opts *bind.CallOpts) (common.Address, error)
TrustedSequencer is a free data retrieval call binding the contract method 0xcfa8ed47.
Solidity: function trustedSequencer() view returns(address)
func (*PolygonconsensusbaseCaller) TrustedSequencerURL ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCaller) TrustedSequencerURL(opts *bind.CallOpts) (string, error)
TrustedSequencerURL is a free data retrieval call binding the contract method 0x542028d5.
Solidity: function trustedSequencerURL() view returns(string)
type PolygonconsensusbaseCallerRaw ¶
type PolygonconsensusbaseCallerRaw struct {
Contract *PolygonconsensusbaseCaller // Generic read-only contract binding to access the raw methods on
}
PolygonconsensusbaseCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PolygonconsensusbaseCallerRaw) Call ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerRaw) 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 PolygonconsensusbaseCallerSession ¶
type PolygonconsensusbaseCallerSession struct { Contract *PolygonconsensusbaseCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PolygonconsensusbaseCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PolygonconsensusbaseCallerSession) Admin ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*PolygonconsensusbaseCallerSession) BridgeAddress ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) BridgeAddress() (common.Address, error)
BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.
Solidity: function bridgeAddress() view returns(address)
func (*PolygonconsensusbaseCallerSession) ForceBatchAddress ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) ForceBatchAddress() (common.Address, error)
ForceBatchAddress is a free data retrieval call binding the contract method 0x2c111c06.
Solidity: function forceBatchAddress() view returns(address)
func (*PolygonconsensusbaseCallerSession) ForceBatchTimeout ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) ForceBatchTimeout() (uint64, error)
ForceBatchTimeout is a free data retrieval call binding the contract method 0xc754c7ed.
Solidity: function forceBatchTimeout() view returns(uint64)
func (*PolygonconsensusbaseCallerSession) ForcedBatches ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) ForcedBatches(arg0 uint64) ([32]byte, error)
ForcedBatches is a free data retrieval call binding the contract method 0x6b8616ce.
Solidity: function forcedBatches(uint64 ) view returns(bytes32)
func (*PolygonconsensusbaseCallerSession) GasTokenAddress ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) GasTokenAddress() (common.Address, error)
GasTokenAddress is a free data retrieval call binding the contract method 0x3c351e10.
Solidity: function gasTokenAddress() view returns(address)
func (*PolygonconsensusbaseCallerSession) GasTokenNetwork ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) GasTokenNetwork() (uint32, error)
GasTokenNetwork is a free data retrieval call binding the contract method 0x3cbc795b.
Solidity: function gasTokenNetwork() view returns(uint32)
func (*PolygonconsensusbaseCallerSession) GlobalExitRootManager ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) GlobalExitRootManager() (common.Address, error)
GlobalExitRootManager is a free data retrieval call binding the contract method 0xd02103ca.
Solidity: function globalExitRootManager() view returns(address)
func (*PolygonconsensusbaseCallerSession) LastAccInputHash ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) LastAccInputHash() ([32]byte, error)
LastAccInputHash is a free data retrieval call binding the contract method 0x6e05d2cd.
Solidity: function lastAccInputHash() view returns(bytes32)
func (*PolygonconsensusbaseCallerSession) LastForceBatch ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) LastForceBatch() (uint64, error)
LastForceBatch is a free data retrieval call binding the contract method 0xe7a7ed02.
Solidity: function lastForceBatch() view returns(uint64)
func (*PolygonconsensusbaseCallerSession) LastForceBatchSequenced ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) LastForceBatchSequenced() (uint64, error)
LastForceBatchSequenced is a free data retrieval call binding the contract method 0x45605267.
Solidity: function lastForceBatchSequenced() view returns(uint64)
func (*PolygonconsensusbaseCallerSession) NetworkName ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) NetworkName() (string, error)
NetworkName is a free data retrieval call binding the contract method 0x107bf28c.
Solidity: function networkName() view returns(string)
func (*PolygonconsensusbaseCallerSession) PendingAdmin ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) PendingAdmin() (common.Address, error)
PendingAdmin is a free data retrieval call binding the contract method 0x26782247.
Solidity: function pendingAdmin() view returns(address)
func (*PolygonconsensusbaseCallerSession) Pol ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) Pol() (common.Address, error)
Pol is a free data retrieval call binding the contract method 0xe46761c4.
Solidity: function pol() view returns(address)
func (*PolygonconsensusbaseCallerSession) RollupManager ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) RollupManager() (common.Address, error)
RollupManager is a free data retrieval call binding the contract method 0x49b7b802.
Solidity: function rollupManager() view returns(address)
func (*PolygonconsensusbaseCallerSession) TrustedSequencer ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) TrustedSequencer() (common.Address, error)
TrustedSequencer is a free data retrieval call binding the contract method 0xcfa8ed47.
Solidity: function trustedSequencer() view returns(address)
func (*PolygonconsensusbaseCallerSession) TrustedSequencerURL ¶
func (_Polygonconsensusbase *PolygonconsensusbaseCallerSession) TrustedSequencerURL() (string, error)
TrustedSequencerURL is a free data retrieval call binding the contract method 0x542028d5.
Solidity: function trustedSequencerURL() view returns(string)
type PolygonconsensusbaseFilterer ¶
type PolygonconsensusbaseFilterer struct {
// contains filtered or unexported fields
}
PolygonconsensusbaseFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPolygonconsensusbaseFilterer ¶
func NewPolygonconsensusbaseFilterer(address common.Address, filterer bind.ContractFilterer) (*PolygonconsensusbaseFilterer, error)
NewPolygonconsensusbaseFilterer creates a new log filterer instance of Polygonconsensusbase, bound to a specific deployed contract.
func (*PolygonconsensusbaseFilterer) FilterAcceptAdminRole ¶
func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) FilterAcceptAdminRole(opts *bind.FilterOpts) (*PolygonconsensusbaseAcceptAdminRoleIterator, error)
FilterAcceptAdminRole is a free log retrieval operation binding the contract event 0x056dc487bbf0795d0bbb1b4f0af523a855503cff740bfb4d5475f7a90c091e8e.
Solidity: event AcceptAdminRole(address newAdmin)
func (*PolygonconsensusbaseFilterer) FilterInitialized ¶
func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) FilterInitialized(opts *bind.FilterOpts) (*PolygonconsensusbaseInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*PolygonconsensusbaseFilterer) FilterSetTrustedSequencer ¶
func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) FilterSetTrustedSequencer(opts *bind.FilterOpts) (*PolygonconsensusbaseSetTrustedSequencerIterator, error)
FilterSetTrustedSequencer is a free log retrieval operation binding the contract event 0xf54144f9611984021529f814a1cb6a41e22c58351510a0d9f7e822618abb9cc0.
Solidity: event SetTrustedSequencer(address newTrustedSequencer)
func (*PolygonconsensusbaseFilterer) FilterSetTrustedSequencerURL ¶
func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) FilterSetTrustedSequencerURL(opts *bind.FilterOpts) (*PolygonconsensusbaseSetTrustedSequencerURLIterator, error)
FilterSetTrustedSequencerURL is a free log retrieval operation binding the contract event 0x6b8f723a4c7a5335cafae8a598a0aa0301be1387c037dccc085b62add6448b20.
Solidity: event SetTrustedSequencerURL(string newTrustedSequencerURL)
func (*PolygonconsensusbaseFilterer) FilterTransferAdminRole ¶
func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) FilterTransferAdminRole(opts *bind.FilterOpts) (*PolygonconsensusbaseTransferAdminRoleIterator, error)
FilterTransferAdminRole is a free log retrieval operation binding the contract event 0xa5b56b7906fd0a20e3f35120dd8343db1e12e037a6c90111c7e42885e82a1ce6.
Solidity: event TransferAdminRole(address newPendingAdmin)
func (*PolygonconsensusbaseFilterer) ParseAcceptAdminRole ¶
func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) ParseAcceptAdminRole(log types.Log) (*PolygonconsensusbaseAcceptAdminRole, error)
ParseAcceptAdminRole is a log parse operation binding the contract event 0x056dc487bbf0795d0bbb1b4f0af523a855503cff740bfb4d5475f7a90c091e8e.
Solidity: event AcceptAdminRole(address newAdmin)
func (*PolygonconsensusbaseFilterer) ParseInitialized ¶
func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) ParseInitialized(log types.Log) (*PolygonconsensusbaseInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*PolygonconsensusbaseFilterer) ParseSetTrustedSequencer ¶
func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) ParseSetTrustedSequencer(log types.Log) (*PolygonconsensusbaseSetTrustedSequencer, error)
ParseSetTrustedSequencer is a log parse operation binding the contract event 0xf54144f9611984021529f814a1cb6a41e22c58351510a0d9f7e822618abb9cc0.
Solidity: event SetTrustedSequencer(address newTrustedSequencer)
func (*PolygonconsensusbaseFilterer) ParseSetTrustedSequencerURL ¶
func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) ParseSetTrustedSequencerURL(log types.Log) (*PolygonconsensusbaseSetTrustedSequencerURL, error)
ParseSetTrustedSequencerURL is a log parse operation binding the contract event 0x6b8f723a4c7a5335cafae8a598a0aa0301be1387c037dccc085b62add6448b20.
Solidity: event SetTrustedSequencerURL(string newTrustedSequencerURL)
func (*PolygonconsensusbaseFilterer) ParseTransferAdminRole ¶
func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) ParseTransferAdminRole(log types.Log) (*PolygonconsensusbaseTransferAdminRole, error)
ParseTransferAdminRole is a log parse operation binding the contract event 0xa5b56b7906fd0a20e3f35120dd8343db1e12e037a6c90111c7e42885e82a1ce6.
Solidity: event TransferAdminRole(address newPendingAdmin)
func (*PolygonconsensusbaseFilterer) WatchAcceptAdminRole ¶
func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) WatchAcceptAdminRole(opts *bind.WatchOpts, sink chan<- *PolygonconsensusbaseAcceptAdminRole) (event.Subscription, error)
WatchAcceptAdminRole is a free log subscription operation binding the contract event 0x056dc487bbf0795d0bbb1b4f0af523a855503cff740bfb4d5475f7a90c091e8e.
Solidity: event AcceptAdminRole(address newAdmin)
func (*PolygonconsensusbaseFilterer) WatchInitialized ¶
func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *PolygonconsensusbaseInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*PolygonconsensusbaseFilterer) WatchSetTrustedSequencer ¶
func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) WatchSetTrustedSequencer(opts *bind.WatchOpts, sink chan<- *PolygonconsensusbaseSetTrustedSequencer) (event.Subscription, error)
WatchSetTrustedSequencer is a free log subscription operation binding the contract event 0xf54144f9611984021529f814a1cb6a41e22c58351510a0d9f7e822618abb9cc0.
Solidity: event SetTrustedSequencer(address newTrustedSequencer)
func (*PolygonconsensusbaseFilterer) WatchSetTrustedSequencerURL ¶
func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) WatchSetTrustedSequencerURL(opts *bind.WatchOpts, sink chan<- *PolygonconsensusbaseSetTrustedSequencerURL) (event.Subscription, error)
WatchSetTrustedSequencerURL is a free log subscription operation binding the contract event 0x6b8f723a4c7a5335cafae8a598a0aa0301be1387c037dccc085b62add6448b20.
Solidity: event SetTrustedSequencerURL(string newTrustedSequencerURL)
func (*PolygonconsensusbaseFilterer) WatchTransferAdminRole ¶
func (_Polygonconsensusbase *PolygonconsensusbaseFilterer) WatchTransferAdminRole(opts *bind.WatchOpts, sink chan<- *PolygonconsensusbaseTransferAdminRole) (event.Subscription, error)
WatchTransferAdminRole is a free log subscription operation binding the contract event 0xa5b56b7906fd0a20e3f35120dd8343db1e12e037a6c90111c7e42885e82a1ce6.
Solidity: event TransferAdminRole(address newPendingAdmin)
type PolygonconsensusbaseInitialized ¶
type PolygonconsensusbaseInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
PolygonconsensusbaseInitialized represents a Initialized event raised by the Polygonconsensusbase contract.
type PolygonconsensusbaseInitializedIterator ¶
type PolygonconsensusbaseInitializedIterator struct { Event *PolygonconsensusbaseInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PolygonconsensusbaseInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Polygonconsensusbase contract.
func (*PolygonconsensusbaseInitializedIterator) Close ¶
func (it *PolygonconsensusbaseInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PolygonconsensusbaseInitializedIterator) Error ¶
func (it *PolygonconsensusbaseInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PolygonconsensusbaseInitializedIterator) Next ¶
func (it *PolygonconsensusbaseInitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type PolygonconsensusbaseRaw ¶
type PolygonconsensusbaseRaw struct {
Contract *Polygonconsensusbase // Generic contract binding to access the raw methods on
}
PolygonconsensusbaseRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PolygonconsensusbaseRaw) Call ¶
func (_Polygonconsensusbase *PolygonconsensusbaseRaw) 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 (*PolygonconsensusbaseRaw) Transact ¶
func (_Polygonconsensusbase *PolygonconsensusbaseRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PolygonconsensusbaseRaw) Transfer ¶
func (_Polygonconsensusbase *PolygonconsensusbaseRaw) 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 PolygonconsensusbaseSession ¶
type PolygonconsensusbaseSession struct { Contract *Polygonconsensusbase // 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 }
PolygonconsensusbaseSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PolygonconsensusbaseSession) AcceptAdminRole ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) AcceptAdminRole() (*types.Transaction, error)
AcceptAdminRole is a paid mutator transaction binding the contract method 0x8c3d7301.
Solidity: function acceptAdminRole() returns()
func (*PolygonconsensusbaseSession) Admin ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*PolygonconsensusbaseSession) BridgeAddress ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) BridgeAddress() (common.Address, error)
BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.
Solidity: function bridgeAddress() view returns(address)
func (*PolygonconsensusbaseSession) ForceBatchAddress ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) ForceBatchAddress() (common.Address, error)
ForceBatchAddress is a free data retrieval call binding the contract method 0x2c111c06.
Solidity: function forceBatchAddress() view returns(address)
func (*PolygonconsensusbaseSession) ForceBatchTimeout ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) ForceBatchTimeout() (uint64, error)
ForceBatchTimeout is a free data retrieval call binding the contract method 0xc754c7ed.
Solidity: function forceBatchTimeout() view returns(uint64)
func (*PolygonconsensusbaseSession) ForcedBatches ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) ForcedBatches(arg0 uint64) ([32]byte, error)
ForcedBatches is a free data retrieval call binding the contract method 0x6b8616ce.
Solidity: function forcedBatches(uint64 ) view returns(bytes32)
func (*PolygonconsensusbaseSession) GasTokenAddress ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) GasTokenAddress() (common.Address, error)
GasTokenAddress is a free data retrieval call binding the contract method 0x3c351e10.
Solidity: function gasTokenAddress() view returns(address)
func (*PolygonconsensusbaseSession) GasTokenNetwork ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) GasTokenNetwork() (uint32, error)
GasTokenNetwork is a free data retrieval call binding the contract method 0x3cbc795b.
Solidity: function gasTokenNetwork() view returns(uint32)
func (*PolygonconsensusbaseSession) GlobalExitRootManager ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) GlobalExitRootManager() (common.Address, error)
GlobalExitRootManager is a free data retrieval call binding the contract method 0xd02103ca.
Solidity: function globalExitRootManager() view returns(address)
func (*PolygonconsensusbaseSession) Initialize ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) Initialize(_admin common.Address, sequencer common.Address, arg2 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 , address _gasTokenAddress, string sequencerURL, string _networkName) returns()
func (*PolygonconsensusbaseSession) LastAccInputHash ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) LastAccInputHash() ([32]byte, error)
LastAccInputHash is a free data retrieval call binding the contract method 0x6e05d2cd.
Solidity: function lastAccInputHash() view returns(bytes32)
func (*PolygonconsensusbaseSession) LastForceBatch ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) LastForceBatch() (uint64, error)
LastForceBatch is a free data retrieval call binding the contract method 0xe7a7ed02.
Solidity: function lastForceBatch() view returns(uint64)
func (*PolygonconsensusbaseSession) LastForceBatchSequenced ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) LastForceBatchSequenced() (uint64, error)
LastForceBatchSequenced is a free data retrieval call binding the contract method 0x45605267.
Solidity: function lastForceBatchSequenced() view returns(uint64)
func (*PolygonconsensusbaseSession) NetworkName ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) NetworkName() (string, error)
NetworkName is a free data retrieval call binding the contract method 0x107bf28c.
Solidity: function networkName() view returns(string)
func (*PolygonconsensusbaseSession) PendingAdmin ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) PendingAdmin() (common.Address, error)
PendingAdmin is a free data retrieval call binding the contract method 0x26782247.
Solidity: function pendingAdmin() view returns(address)
func (*PolygonconsensusbaseSession) Pol ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) Pol() (common.Address, error)
Pol is a free data retrieval call binding the contract method 0xe46761c4.
Solidity: function pol() view returns(address)
func (*PolygonconsensusbaseSession) RollupManager ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) RollupManager() (common.Address, error)
RollupManager is a free data retrieval call binding the contract method 0x49b7b802.
Solidity: function rollupManager() view returns(address)
func (*PolygonconsensusbaseSession) SetTrustedSequencer ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) SetTrustedSequencer(newTrustedSequencer common.Address) (*types.Transaction, error)
SetTrustedSequencer is a paid mutator transaction binding the contract method 0x6ff512cc.
Solidity: function setTrustedSequencer(address newTrustedSequencer) returns()
func (*PolygonconsensusbaseSession) SetTrustedSequencerURL ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) SetTrustedSequencerURL(newTrustedSequencerURL string) (*types.Transaction, error)
SetTrustedSequencerURL is a paid mutator transaction binding the contract method 0xc89e42df.
Solidity: function setTrustedSequencerURL(string newTrustedSequencerURL) returns()
func (*PolygonconsensusbaseSession) TransferAdminRole ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) TransferAdminRole(newPendingAdmin common.Address) (*types.Transaction, error)
TransferAdminRole is a paid mutator transaction binding the contract method 0xada8f919.
Solidity: function transferAdminRole(address newPendingAdmin) returns()
func (*PolygonconsensusbaseSession) TrustedSequencer ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) TrustedSequencer() (common.Address, error)
TrustedSequencer is a free data retrieval call binding the contract method 0xcfa8ed47.
Solidity: function trustedSequencer() view returns(address)
func (*PolygonconsensusbaseSession) TrustedSequencerURL ¶
func (_Polygonconsensusbase *PolygonconsensusbaseSession) TrustedSequencerURL() (string, error)
TrustedSequencerURL is a free data retrieval call binding the contract method 0x542028d5.
Solidity: function trustedSequencerURL() view returns(string)
type PolygonconsensusbaseSetTrustedSequencer ¶
type PolygonconsensusbaseSetTrustedSequencer struct { NewTrustedSequencer common.Address Raw types.Log // Blockchain specific contextual infos }
PolygonconsensusbaseSetTrustedSequencer represents a SetTrustedSequencer event raised by the Polygonconsensusbase contract.
type PolygonconsensusbaseSetTrustedSequencerIterator ¶
type PolygonconsensusbaseSetTrustedSequencerIterator struct { Event *PolygonconsensusbaseSetTrustedSequencer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PolygonconsensusbaseSetTrustedSequencerIterator is returned from FilterSetTrustedSequencer and is used to iterate over the raw logs and unpacked data for SetTrustedSequencer events raised by the Polygonconsensusbase contract.
func (*PolygonconsensusbaseSetTrustedSequencerIterator) Close ¶
func (it *PolygonconsensusbaseSetTrustedSequencerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PolygonconsensusbaseSetTrustedSequencerIterator) Error ¶
func (it *PolygonconsensusbaseSetTrustedSequencerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PolygonconsensusbaseSetTrustedSequencerIterator) Next ¶
func (it *PolygonconsensusbaseSetTrustedSequencerIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type PolygonconsensusbaseSetTrustedSequencerURL ¶
type PolygonconsensusbaseSetTrustedSequencerURL struct { NewTrustedSequencerURL string Raw types.Log // Blockchain specific contextual infos }
PolygonconsensusbaseSetTrustedSequencerURL represents a SetTrustedSequencerURL event raised by the Polygonconsensusbase contract.
type PolygonconsensusbaseSetTrustedSequencerURLIterator ¶
type PolygonconsensusbaseSetTrustedSequencerURLIterator struct { Event *PolygonconsensusbaseSetTrustedSequencerURL // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PolygonconsensusbaseSetTrustedSequencerURLIterator is returned from FilterSetTrustedSequencerURL and is used to iterate over the raw logs and unpacked data for SetTrustedSequencerURL events raised by the Polygonconsensusbase contract.
func (*PolygonconsensusbaseSetTrustedSequencerURLIterator) Close ¶
func (it *PolygonconsensusbaseSetTrustedSequencerURLIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PolygonconsensusbaseSetTrustedSequencerURLIterator) Error ¶
func (it *PolygonconsensusbaseSetTrustedSequencerURLIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PolygonconsensusbaseSetTrustedSequencerURLIterator) Next ¶
func (it *PolygonconsensusbaseSetTrustedSequencerURLIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type PolygonconsensusbaseTransactor ¶
type PolygonconsensusbaseTransactor struct {
// contains filtered or unexported fields
}
PolygonconsensusbaseTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPolygonconsensusbaseTransactor ¶
func NewPolygonconsensusbaseTransactor(address common.Address, transactor bind.ContractTransactor) (*PolygonconsensusbaseTransactor, error)
NewPolygonconsensusbaseTransactor creates a new write-only instance of Polygonconsensusbase, bound to a specific deployed contract.
func (*PolygonconsensusbaseTransactor) AcceptAdminRole ¶
func (_Polygonconsensusbase *PolygonconsensusbaseTransactor) AcceptAdminRole(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptAdminRole is a paid mutator transaction binding the contract method 0x8c3d7301.
Solidity: function acceptAdminRole() returns()
func (*PolygonconsensusbaseTransactor) Initialize ¶
func (_Polygonconsensusbase *PolygonconsensusbaseTransactor) Initialize(opts *bind.TransactOpts, _admin common.Address, sequencer common.Address, arg2 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 , address _gasTokenAddress, string sequencerURL, string _networkName) returns()
func (*PolygonconsensusbaseTransactor) SetTrustedSequencer ¶
func (_Polygonconsensusbase *PolygonconsensusbaseTransactor) SetTrustedSequencer(opts *bind.TransactOpts, newTrustedSequencer common.Address) (*types.Transaction, error)
SetTrustedSequencer is a paid mutator transaction binding the contract method 0x6ff512cc.
Solidity: function setTrustedSequencer(address newTrustedSequencer) returns()
func (*PolygonconsensusbaseTransactor) SetTrustedSequencerURL ¶
func (_Polygonconsensusbase *PolygonconsensusbaseTransactor) SetTrustedSequencerURL(opts *bind.TransactOpts, newTrustedSequencerURL string) (*types.Transaction, error)
SetTrustedSequencerURL is a paid mutator transaction binding the contract method 0xc89e42df.
Solidity: function setTrustedSequencerURL(string newTrustedSequencerURL) returns()
func (*PolygonconsensusbaseTransactor) TransferAdminRole ¶
func (_Polygonconsensusbase *PolygonconsensusbaseTransactor) TransferAdminRole(opts *bind.TransactOpts, newPendingAdmin common.Address) (*types.Transaction, error)
TransferAdminRole is a paid mutator transaction binding the contract method 0xada8f919.
Solidity: function transferAdminRole(address newPendingAdmin) returns()
type PolygonconsensusbaseTransactorRaw ¶
type PolygonconsensusbaseTransactorRaw struct {
Contract *PolygonconsensusbaseTransactor // Generic write-only contract binding to access the raw methods on
}
PolygonconsensusbaseTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PolygonconsensusbaseTransactorRaw) Transact ¶
func (_Polygonconsensusbase *PolygonconsensusbaseTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PolygonconsensusbaseTransactorRaw) Transfer ¶
func (_Polygonconsensusbase *PolygonconsensusbaseTransactorRaw) 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 PolygonconsensusbaseTransactorSession ¶
type PolygonconsensusbaseTransactorSession struct { Contract *PolygonconsensusbaseTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PolygonconsensusbaseTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PolygonconsensusbaseTransactorSession) AcceptAdminRole ¶
func (_Polygonconsensusbase *PolygonconsensusbaseTransactorSession) AcceptAdminRole() (*types.Transaction, error)
AcceptAdminRole is a paid mutator transaction binding the contract method 0x8c3d7301.
Solidity: function acceptAdminRole() returns()
func (*PolygonconsensusbaseTransactorSession) Initialize ¶
func (_Polygonconsensusbase *PolygonconsensusbaseTransactorSession) Initialize(_admin common.Address, sequencer common.Address, arg2 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 , address _gasTokenAddress, string sequencerURL, string _networkName) returns()
func (*PolygonconsensusbaseTransactorSession) SetTrustedSequencer ¶
func (_Polygonconsensusbase *PolygonconsensusbaseTransactorSession) SetTrustedSequencer(newTrustedSequencer common.Address) (*types.Transaction, error)
SetTrustedSequencer is a paid mutator transaction binding the contract method 0x6ff512cc.
Solidity: function setTrustedSequencer(address newTrustedSequencer) returns()
func (*PolygonconsensusbaseTransactorSession) SetTrustedSequencerURL ¶
func (_Polygonconsensusbase *PolygonconsensusbaseTransactorSession) SetTrustedSequencerURL(newTrustedSequencerURL string) (*types.Transaction, error)
SetTrustedSequencerURL is a paid mutator transaction binding the contract method 0xc89e42df.
Solidity: function setTrustedSequencerURL(string newTrustedSequencerURL) returns()
func (*PolygonconsensusbaseTransactorSession) TransferAdminRole ¶
func (_Polygonconsensusbase *PolygonconsensusbaseTransactorSession) TransferAdminRole(newPendingAdmin common.Address) (*types.Transaction, error)
TransferAdminRole is a paid mutator transaction binding the contract method 0xada8f919.
Solidity: function transferAdminRole(address newPendingAdmin) returns()
type PolygonconsensusbaseTransferAdminRole ¶
type PolygonconsensusbaseTransferAdminRole struct { NewPendingAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
PolygonconsensusbaseTransferAdminRole represents a TransferAdminRole event raised by the Polygonconsensusbase contract.
type PolygonconsensusbaseTransferAdminRoleIterator ¶
type PolygonconsensusbaseTransferAdminRoleIterator struct { Event *PolygonconsensusbaseTransferAdminRole // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PolygonconsensusbaseTransferAdminRoleIterator is returned from FilterTransferAdminRole and is used to iterate over the raw logs and unpacked data for TransferAdminRole events raised by the Polygonconsensusbase contract.
func (*PolygonconsensusbaseTransferAdminRoleIterator) Close ¶
func (it *PolygonconsensusbaseTransferAdminRoleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PolygonconsensusbaseTransferAdminRoleIterator) Error ¶
func (it *PolygonconsensusbaseTransferAdminRoleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PolygonconsensusbaseTransferAdminRoleIterator) Next ¶
func (it *PolygonconsensusbaseTransferAdminRoleIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.