polygonpessimisticconsensus

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 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 PolygonpessimisticconsensusABI = PolygonpessimisticconsensusMetaData.ABI

PolygonpessimisticconsensusABI is the input ABI used to generate the binding from. Deprecated: Use PolygonpessimisticconsensusMetaData.ABI instead.

View Source
var PolygonpessimisticconsensusBin = PolygonpessimisticconsensusMetaData.Bin

PolygonpessimisticconsensusBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PolygonpessimisticconsensusMetaData.Bin instead.

View Source
var PolygonpessimisticconsensusMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIAgglayerGER\",\"name\":\"_globalExitRootManager\",\"type\":\"address\"},{\"internalType\":\"contractIERC20Upgradeable\",\"name\":\"_pol\",\"type\":\"address\"},{\"internalType\":\"contractIAgglayerBridge\",\"name\":\"_bridgeAddress\",\"type\":\"address\"},{\"internalType\":\"contractAgglayerManager\",\"name\":\"_rollupManager\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AdminCannotBeZeroAddress\",\"type\":\"error\"},{\"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\":\"CONSENSUS_TYPE\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"contractIAgglayerBridge\",\"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\":\"getConsensusHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"globalExitRootManager\",\"outputs\":[{\"internalType\":\"contractIAgglayerGER\",\"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\":\"contractAgglayerManager\",\"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\"}]",
	Bin: "0x610100604052348015610010575f5ffd5b506040516111e83803806111e883398101604081905261002f9161013b565b6001600160a01b0380851660a05280841660805280831660c052811660e0528383838361005a610067565b5050505050505050610197565b5f54610100900460ff16156100d25760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b5f5460ff9081161015610122575f805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6001600160a01b0381168114610138575f5ffd5b50565b5f5f5f5f6080858703121561014e575f5ffd5b845161015981610124565b602086015190945061016a81610124565b604086015190935061017b81610124565b606086015190925061018c81610124565b939692955090935050565b60805160a05160c05160e0516110176101d15f395f81816102b1015261062b01525f61034601525f61043e01525f61046501526110175ff3fe608060405234801561000f575f5ffd5b506004361061018f575f3560e01c80638c3d7301116100dd578063cea5a4c011610088578063e46761c411610063578063e46761c414610460578063e7a7ed0214610487578063f851a4401461049b575f5ffd5b8063cea5a4c014610412578063cfa8ed4714610419578063d02103ca14610439575f5ffd5b8063ada8f919116100b8578063ada8f919146103c4578063c754c7ed146103d7578063c89e42df146103ff575f5ffd5b80638c3d730114610339578063a3c573eb14610341578063ad1edf3414610368575f5ffd5b806349b7b8021161013d5780636e05d2cd116101185780636e05d2cd146103085780636ff512cc146103115780637125702214610326575f5ffd5b806349b7b802146102ac578063542028d5146102d35780636b8616ce146102db575f5ffd5b80633c351e101161016d5780633c351e10146102165780633cbc795b146102365780634560526714610273575f5ffd5b8063107bf28c1461019357806326782247146101b15780632c111c06146101f6575b5f5ffd5b61019b6104c0565b6040516101a89190610b8e565b60405180910390f35b6001546101d19073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101a8565b6008546101d19073ffffffffffffffffffffffffffffffffffffffff1681565b6009546101d19073ffffffffffffffffffffffffffffffffffffffff1681565b60095461025e9074010000000000000000000000000000000000000000900463ffffffff1681565b60405163ffffffff90911681526020016101a8565b6007546102939068010000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020016101a8565b6101d17f000000000000000000000000000000000000000000000000000000000000000081565b61019b61054c565b6102fa6102e9366004610be1565b60066020525f908152604090205481565b6040519081526020016101a8565b6102fa60055481565b61032461031f366004610c37565b610559565b005b610324610334366004610d45565b610629565b610324610833565b6101d17f000000000000000000000000000000000000000000000000000000000000000081565b6102fa6002546040515f6020820181905260609290921b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016602482015260380160405160208183030381529060405280519060200120905090565b6103246103d2366004610c37565b610905565b60075461029390700100000000000000000000000000000000900467ffffffffffffffff1681565b61032461040d366004610df3565b6109ce565b61025e5f81565b6002546101d19073ffffffffffffffffffffffffffffffffffffffff1681565b6101d17f000000000000000000000000000000000000000000000000000000000000000081565b6101d17f000000000000000000000000000000000000000000000000000000000000000081565b6007546102939067ffffffffffffffff1681565b5f546101d19062010000900473ffffffffffffffffffffffffffffffffffffffff1681565b600480546104cd90610e2d565b80601f01602080910402602001604051908101604052809291908181526020018280546104f990610e2d565b80156105445780601f1061051b57610100808354040283529160200191610544565b820191905f5260205f20905b81548152906001019060200180831161052757829003601f168201915b505050505081565b600380546104cd90610e2d565b5f5462010000900473ffffffffffffffffffffffffffffffffffffffff1633146105af576040517f4755657900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527ff54144f9611984021529f814a1cb6a41e22c58351510a0d9f7e822618abb9cc0906020015b60405180910390a150565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163314610698576040517fb9b3a2c800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f54610100900460ff16158080156106b657505f54600160ff909116105b806106cf5750303b1580156106cf57505f5460ff166001145b61075f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840160405180910390fd5b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156107bb575f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b6107c88787868686610a60565b801561082a575f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610884576040517fd1ec4b2300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001545f80547fffffffffffffffffffff0000000000000000000000000000000000000000ffff1673ffffffffffffffffffffffffffffffffffffffff9092166201000081029290921790556040519081527f056dc487bbf0795d0bbb1b4f0af523a855503cff740bfb4d5475f7a90c091e8e9060200160405180910390a1565b5f5462010000900473ffffffffffffffffffffffffffffffffffffffff16331461095b576040517f4755657900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527fa5b56b7906fd0a20e3f35120dd8343db1e12e037a6c90111c7e42885e82a1ce69060200161061e565b5f5462010000900473ffffffffffffffffffffffffffffffffffffffff163314610a24576040517f4755657900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6003610a308282610eca565b507f6b8f723a4c7a5335cafae8a598a0aa0301be1387c037dccc085b62add6448b208160405161061e9190610b8e565b73ffffffffffffffffffffffffffffffffffffffff8516610aad576040517fe6cd565400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80547fffffffffffffffffffff0000000000000000000000000000000000000000ffff166201000073ffffffffffffffffffffffffffffffffffffffff8881169190910291909117909155600280547fffffffffffffffffffffffff0000000000000000000000000000000000000000169186169190911790556003610b348382610eca565b506004610b418282610eca565b5050600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9390931692909217909155505050565b602081525f82518060208401528060208501604085015e5f6040828501015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011684010191505092915050565b5f60208284031215610bf1575f5ffd5b813567ffffffffffffffff81168114610c08575f5ffd5b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610c32575f5ffd5b919050565b5f60208284031215610c47575f5ffd5b610c0882610c0f565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f82601f830112610c8c575f5ffd5b813567ffffffffffffffff811115610ca657610ca6610c50565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160116810181811067ffffffffffffffff82111715610d1257610d12610c50565b604052818152838201602001851015610d29575f5ffd5b816020850160208301375f918101602001919091529392505050565b5f5f5f5f5f5f60c08789031215610d5a575f5ffd5b610d6387610c0f565b9550610d7160208801610c0f565b9450604087013563ffffffff81168114610d89575f5ffd5b9350610d9760608801610c0f565b9250608087013567ffffffffffffffff811115610db2575f5ffd5b610dbe89828a01610c7d565b92505060a087013567ffffffffffffffff811115610dda575f5ffd5b610de689828a01610c7d565b9150509295509295509295565b5f60208284031215610e03575f5ffd5b813567ffffffffffffffff811115610e19575f5ffd5b610e2584828501610c7d565b949350505050565b600181811c90821680610e4157607f821691505b602082108103610e78577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b601f821115610ec557805f5260205f20601f840160051c81016020851015610ea35750805b601f840160051c820191505b81811015610ec2575f8155600101610eaf565b50505b505050565b815167ffffffffffffffff811115610ee457610ee4610c50565b610ef881610ef28454610e2d565b84610e7e565b6020601f821160018114610f49575f8315610f135750848201515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600385901b1c1916600184901b178455610ec2565b5f848152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08516915b82811015610f965787850151825560209485019460019092019101610f76565b5084821015610fd257868401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b60f8161c191681555b50505050600190811b0190555056fea264697066735822122058ad25e652e08475fc468da6ced4b619fc2b7758fc6c2328ca8459ad5c290a3d64736f6c634300081c0033",
}

PolygonpessimisticconsensusMetaData contains all meta data concerning the Polygonpessimisticconsensus contract.

Functions

This section is empty.

Types

type Polygonpessimisticconsensus

type Polygonpessimisticconsensus struct {
	PolygonpessimisticconsensusCaller     // Read-only binding to the contract
	PolygonpessimisticconsensusTransactor // Write-only binding to the contract
	PolygonpessimisticconsensusFilterer   // Log filterer for contract events
}

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

func DeployPolygonpessimisticconsensus

func DeployPolygonpessimisticconsensus(auth *bind.TransactOpts, backend bind.ContractBackend, _globalExitRootManager common.Address, _pol common.Address, _bridgeAddress common.Address, _rollupManager common.Address) (common.Address, *types.Transaction, *Polygonpessimisticconsensus, error)

DeployPolygonpessimisticconsensus deploys a new Ethereum contract, binding an instance of Polygonpessimisticconsensus to it.

func NewPolygonpessimisticconsensus

func NewPolygonpessimisticconsensus(address common.Address, backend bind.ContractBackend) (*Polygonpessimisticconsensus, error)

NewPolygonpessimisticconsensus creates a new instance of Polygonpessimisticconsensus, bound to a specific deployed contract.

type PolygonpessimisticconsensusAcceptAdminRole

type PolygonpessimisticconsensusAcceptAdminRole struct {
	NewAdmin common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

PolygonpessimisticconsensusAcceptAdminRole represents a AcceptAdminRole event raised by the Polygonpessimisticconsensus contract.

type PolygonpessimisticconsensusAcceptAdminRoleIterator

type PolygonpessimisticconsensusAcceptAdminRoleIterator struct {
	Event *PolygonpessimisticconsensusAcceptAdminRole // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonpessimisticconsensusAcceptAdminRoleIterator is returned from FilterAcceptAdminRole and is used to iterate over the raw logs and unpacked data for AcceptAdminRole events raised by the Polygonpessimisticconsensus contract.

func (*PolygonpessimisticconsensusAcceptAdminRoleIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonpessimisticconsensusAcceptAdminRoleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonpessimisticconsensusAcceptAdminRoleIterator) Next

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 PolygonpessimisticconsensusCaller

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

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

func NewPolygonpessimisticconsensusCaller

func NewPolygonpessimisticconsensusCaller(address common.Address, caller bind.ContractCaller) (*PolygonpessimisticconsensusCaller, error)

NewPolygonpessimisticconsensusCaller creates a new read-only instance of Polygonpessimisticconsensus, bound to a specific deployed contract.

func (*PolygonpessimisticconsensusCaller) Admin

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) 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 (*PolygonpessimisticconsensusCaller) BridgeAddress

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) 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 (*PolygonpessimisticconsensusCaller) CONSENSUSTYPE

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) CONSENSUSTYPE(opts *bind.CallOpts) (uint32, error)

CONSENSUSTYPE is a free data retrieval call binding the contract method 0xcea5a4c0.

Solidity: function CONSENSUS_TYPE() view returns(uint32)

func (*PolygonpessimisticconsensusCaller) ForceBatchAddress

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) 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 (*PolygonpessimisticconsensusCaller) ForceBatchTimeout

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) 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 (*PolygonpessimisticconsensusCaller) ForcedBatches

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) 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 (*PolygonpessimisticconsensusCaller) GasTokenAddress

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) 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 (*PolygonpessimisticconsensusCaller) GasTokenNetwork

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) 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 (*PolygonpessimisticconsensusCaller) GetConsensusHash

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) GetConsensusHash(opts *bind.CallOpts) ([32]byte, error)

GetConsensusHash is a free data retrieval call binding the contract method 0xad1edf34.

Solidity: function getConsensusHash() view returns(bytes32)

func (*PolygonpessimisticconsensusCaller) GlobalExitRootManager

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) 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 (*PolygonpessimisticconsensusCaller) LastAccInputHash

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) 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 (*PolygonpessimisticconsensusCaller) LastForceBatch

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) 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 (*PolygonpessimisticconsensusCaller) LastForceBatchSequenced

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) 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 (*PolygonpessimisticconsensusCaller) NetworkName

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) 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 (*PolygonpessimisticconsensusCaller) PendingAdmin

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) 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 (*PolygonpessimisticconsensusCaller) Pol

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) 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 (*PolygonpessimisticconsensusCaller) RollupManager

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) 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 (*PolygonpessimisticconsensusCaller) TrustedSequencer

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) 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 (*PolygonpessimisticconsensusCaller) TrustedSequencerURL

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCaller) 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 PolygonpessimisticconsensusCallerRaw

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

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

func (*PolygonpessimisticconsensusCallerRaw) Call

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerRaw) 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 PolygonpessimisticconsensusCallerSession

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

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

func (*PolygonpessimisticconsensusCallerSession) Admin

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*PolygonpessimisticconsensusCallerSession) BridgeAddress

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) BridgeAddress() (common.Address, error)

BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.

Solidity: function bridgeAddress() view returns(address)

func (*PolygonpessimisticconsensusCallerSession) CONSENSUSTYPE

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) CONSENSUSTYPE() (uint32, error)

CONSENSUSTYPE is a free data retrieval call binding the contract method 0xcea5a4c0.

Solidity: function CONSENSUS_TYPE() view returns(uint32)

func (*PolygonpessimisticconsensusCallerSession) ForceBatchAddress

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) ForceBatchAddress() (common.Address, error)

ForceBatchAddress is a free data retrieval call binding the contract method 0x2c111c06.

Solidity: function forceBatchAddress() view returns(address)

func (*PolygonpessimisticconsensusCallerSession) ForceBatchTimeout

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) ForceBatchTimeout() (uint64, error)

ForceBatchTimeout is a free data retrieval call binding the contract method 0xc754c7ed.

Solidity: function forceBatchTimeout() view returns(uint64)

func (*PolygonpessimisticconsensusCallerSession) ForcedBatches

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) 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 (*PolygonpessimisticconsensusCallerSession) GasTokenAddress

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) GasTokenAddress() (common.Address, error)

GasTokenAddress is a free data retrieval call binding the contract method 0x3c351e10.

Solidity: function gasTokenAddress() view returns(address)

func (*PolygonpessimisticconsensusCallerSession) GasTokenNetwork

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) GasTokenNetwork() (uint32, error)

GasTokenNetwork is a free data retrieval call binding the contract method 0x3cbc795b.

Solidity: function gasTokenNetwork() view returns(uint32)

func (*PolygonpessimisticconsensusCallerSession) GetConsensusHash

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) GetConsensusHash() ([32]byte, error)

GetConsensusHash is a free data retrieval call binding the contract method 0xad1edf34.

Solidity: function getConsensusHash() view returns(bytes32)

func (*PolygonpessimisticconsensusCallerSession) GlobalExitRootManager

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) GlobalExitRootManager() (common.Address, error)

GlobalExitRootManager is a free data retrieval call binding the contract method 0xd02103ca.

Solidity: function globalExitRootManager() view returns(address)

func (*PolygonpessimisticconsensusCallerSession) LastAccInputHash

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) LastAccInputHash() ([32]byte, error)

LastAccInputHash is a free data retrieval call binding the contract method 0x6e05d2cd.

Solidity: function lastAccInputHash() view returns(bytes32)

func (*PolygonpessimisticconsensusCallerSession) LastForceBatch

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) LastForceBatch() (uint64, error)

LastForceBatch is a free data retrieval call binding the contract method 0xe7a7ed02.

Solidity: function lastForceBatch() view returns(uint64)

func (*PolygonpessimisticconsensusCallerSession) LastForceBatchSequenced

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) LastForceBatchSequenced() (uint64, error)

LastForceBatchSequenced is a free data retrieval call binding the contract method 0x45605267.

Solidity: function lastForceBatchSequenced() view returns(uint64)

func (*PolygonpessimisticconsensusCallerSession) NetworkName

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) NetworkName() (string, error)

NetworkName is a free data retrieval call binding the contract method 0x107bf28c.

Solidity: function networkName() view returns(string)

func (*PolygonpessimisticconsensusCallerSession) PendingAdmin

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) PendingAdmin() (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

func (*PolygonpessimisticconsensusCallerSession) Pol

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) Pol() (common.Address, error)

Pol is a free data retrieval call binding the contract method 0xe46761c4.

Solidity: function pol() view returns(address)

func (*PolygonpessimisticconsensusCallerSession) RollupManager

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) RollupManager() (common.Address, error)

RollupManager is a free data retrieval call binding the contract method 0x49b7b802.

Solidity: function rollupManager() view returns(address)

func (*PolygonpessimisticconsensusCallerSession) TrustedSequencer

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) TrustedSequencer() (common.Address, error)

TrustedSequencer is a free data retrieval call binding the contract method 0xcfa8ed47.

Solidity: function trustedSequencer() view returns(address)

func (*PolygonpessimisticconsensusCallerSession) TrustedSequencerURL

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusCallerSession) TrustedSequencerURL() (string, error)

TrustedSequencerURL is a free data retrieval call binding the contract method 0x542028d5.

Solidity: function trustedSequencerURL() view returns(string)

type PolygonpessimisticconsensusFilterer

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

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

func NewPolygonpessimisticconsensusFilterer

func NewPolygonpessimisticconsensusFilterer(address common.Address, filterer bind.ContractFilterer) (*PolygonpessimisticconsensusFilterer, error)

NewPolygonpessimisticconsensusFilterer creates a new log filterer instance of Polygonpessimisticconsensus, bound to a specific deployed contract.

func (*PolygonpessimisticconsensusFilterer) FilterAcceptAdminRole

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusFilterer) FilterAcceptAdminRole(opts *bind.FilterOpts) (*PolygonpessimisticconsensusAcceptAdminRoleIterator, error)

FilterAcceptAdminRole is a free log retrieval operation binding the contract event 0x056dc487bbf0795d0bbb1b4f0af523a855503cff740bfb4d5475f7a90c091e8e.

Solidity: event AcceptAdminRole(address newAdmin)

func (*PolygonpessimisticconsensusFilterer) FilterInitialized

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusFilterer) FilterInitialized(opts *bind.FilterOpts) (*PolygonpessimisticconsensusInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*PolygonpessimisticconsensusFilterer) FilterSetTrustedSequencer

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusFilterer) FilterSetTrustedSequencer(opts *bind.FilterOpts) (*PolygonpessimisticconsensusSetTrustedSequencerIterator, error)

FilterSetTrustedSequencer is a free log retrieval operation binding the contract event 0xf54144f9611984021529f814a1cb6a41e22c58351510a0d9f7e822618abb9cc0.

Solidity: event SetTrustedSequencer(address newTrustedSequencer)

func (*PolygonpessimisticconsensusFilterer) FilterSetTrustedSequencerURL

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusFilterer) FilterSetTrustedSequencerURL(opts *bind.FilterOpts) (*PolygonpessimisticconsensusSetTrustedSequencerURLIterator, error)

FilterSetTrustedSequencerURL is a free log retrieval operation binding the contract event 0x6b8f723a4c7a5335cafae8a598a0aa0301be1387c037dccc085b62add6448b20.

Solidity: event SetTrustedSequencerURL(string newTrustedSequencerURL)

func (*PolygonpessimisticconsensusFilterer) FilterTransferAdminRole

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusFilterer) FilterTransferAdminRole(opts *bind.FilterOpts) (*PolygonpessimisticconsensusTransferAdminRoleIterator, error)

FilterTransferAdminRole is a free log retrieval operation binding the contract event 0xa5b56b7906fd0a20e3f35120dd8343db1e12e037a6c90111c7e42885e82a1ce6.

Solidity: event TransferAdminRole(address newPendingAdmin)

func (*PolygonpessimisticconsensusFilterer) ParseAcceptAdminRole

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusFilterer) ParseAcceptAdminRole(log types.Log) (*PolygonpessimisticconsensusAcceptAdminRole, error)

ParseAcceptAdminRole is a log parse operation binding the contract event 0x056dc487bbf0795d0bbb1b4f0af523a855503cff740bfb4d5475f7a90c091e8e.

Solidity: event AcceptAdminRole(address newAdmin)

func (*PolygonpessimisticconsensusFilterer) ParseInitialized

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusFilterer) ParseInitialized(log types.Log) (*PolygonpessimisticconsensusInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*PolygonpessimisticconsensusFilterer) ParseSetTrustedSequencer

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusFilterer) ParseSetTrustedSequencer(log types.Log) (*PolygonpessimisticconsensusSetTrustedSequencer, error)

ParseSetTrustedSequencer is a log parse operation binding the contract event 0xf54144f9611984021529f814a1cb6a41e22c58351510a0d9f7e822618abb9cc0.

Solidity: event SetTrustedSequencer(address newTrustedSequencer)

func (*PolygonpessimisticconsensusFilterer) ParseSetTrustedSequencerURL

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusFilterer) ParseSetTrustedSequencerURL(log types.Log) (*PolygonpessimisticconsensusSetTrustedSequencerURL, error)

ParseSetTrustedSequencerURL is a log parse operation binding the contract event 0x6b8f723a4c7a5335cafae8a598a0aa0301be1387c037dccc085b62add6448b20.

Solidity: event SetTrustedSequencerURL(string newTrustedSequencerURL)

func (*PolygonpessimisticconsensusFilterer) ParseTransferAdminRole

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusFilterer) ParseTransferAdminRole(log types.Log) (*PolygonpessimisticconsensusTransferAdminRole, error)

ParseTransferAdminRole is a log parse operation binding the contract event 0xa5b56b7906fd0a20e3f35120dd8343db1e12e037a6c90111c7e42885e82a1ce6.

Solidity: event TransferAdminRole(address newPendingAdmin)

func (*PolygonpessimisticconsensusFilterer) WatchAcceptAdminRole

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusFilterer) WatchAcceptAdminRole(opts *bind.WatchOpts, sink chan<- *PolygonpessimisticconsensusAcceptAdminRole) (event.Subscription, error)

WatchAcceptAdminRole is a free log subscription operation binding the contract event 0x056dc487bbf0795d0bbb1b4f0af523a855503cff740bfb4d5475f7a90c091e8e.

Solidity: event AcceptAdminRole(address newAdmin)

func (*PolygonpessimisticconsensusFilterer) WatchInitialized

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *PolygonpessimisticconsensusInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*PolygonpessimisticconsensusFilterer) WatchSetTrustedSequencer

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusFilterer) WatchSetTrustedSequencer(opts *bind.WatchOpts, sink chan<- *PolygonpessimisticconsensusSetTrustedSequencer) (event.Subscription, error)

WatchSetTrustedSequencer is a free log subscription operation binding the contract event 0xf54144f9611984021529f814a1cb6a41e22c58351510a0d9f7e822618abb9cc0.

Solidity: event SetTrustedSequencer(address newTrustedSequencer)

func (*PolygonpessimisticconsensusFilterer) WatchSetTrustedSequencerURL

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusFilterer) WatchSetTrustedSequencerURL(opts *bind.WatchOpts, sink chan<- *PolygonpessimisticconsensusSetTrustedSequencerURL) (event.Subscription, error)

WatchSetTrustedSequencerURL is a free log subscription operation binding the contract event 0x6b8f723a4c7a5335cafae8a598a0aa0301be1387c037dccc085b62add6448b20.

Solidity: event SetTrustedSequencerURL(string newTrustedSequencerURL)

func (*PolygonpessimisticconsensusFilterer) WatchTransferAdminRole

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusFilterer) WatchTransferAdminRole(opts *bind.WatchOpts, sink chan<- *PolygonpessimisticconsensusTransferAdminRole) (event.Subscription, error)

WatchTransferAdminRole is a free log subscription operation binding the contract event 0xa5b56b7906fd0a20e3f35120dd8343db1e12e037a6c90111c7e42885e82a1ce6.

Solidity: event TransferAdminRole(address newPendingAdmin)

type PolygonpessimisticconsensusInitialized

type PolygonpessimisticconsensusInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

PolygonpessimisticconsensusInitialized represents a Initialized event raised by the Polygonpessimisticconsensus contract.

type PolygonpessimisticconsensusInitializedIterator

type PolygonpessimisticconsensusInitializedIterator struct {
	Event *PolygonpessimisticconsensusInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonpessimisticconsensusInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Polygonpessimisticconsensus contract.

func (*PolygonpessimisticconsensusInitializedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonpessimisticconsensusInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonpessimisticconsensusInitializedIterator) Next

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 PolygonpessimisticconsensusRaw

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

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

func (*PolygonpessimisticconsensusRaw) Call

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusRaw) 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 (*PolygonpessimisticconsensusRaw) Transact

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

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

func (*PolygonpessimisticconsensusRaw) Transfer

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusRaw) 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 PolygonpessimisticconsensusSession

type PolygonpessimisticconsensusSession struct {
	Contract     *Polygonpessimisticconsensus // 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
}

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

func (*PolygonpessimisticconsensusSession) AcceptAdminRole

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) AcceptAdminRole() (*types.Transaction, error)

AcceptAdminRole is a paid mutator transaction binding the contract method 0x8c3d7301.

Solidity: function acceptAdminRole() returns()

func (*PolygonpessimisticconsensusSession) Admin

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*PolygonpessimisticconsensusSession) BridgeAddress

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) BridgeAddress() (common.Address, error)

BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.

Solidity: function bridgeAddress() view returns(address)

func (*PolygonpessimisticconsensusSession) CONSENSUSTYPE

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) CONSENSUSTYPE() (uint32, error)

CONSENSUSTYPE is a free data retrieval call binding the contract method 0xcea5a4c0.

Solidity: function CONSENSUS_TYPE() view returns(uint32)

func (*PolygonpessimisticconsensusSession) ForceBatchAddress

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) ForceBatchAddress() (common.Address, error)

ForceBatchAddress is a free data retrieval call binding the contract method 0x2c111c06.

Solidity: function forceBatchAddress() view returns(address)

func (*PolygonpessimisticconsensusSession) ForceBatchTimeout

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) ForceBatchTimeout() (uint64, error)

ForceBatchTimeout is a free data retrieval call binding the contract method 0xc754c7ed.

Solidity: function forceBatchTimeout() view returns(uint64)

func (*PolygonpessimisticconsensusSession) ForcedBatches

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) 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 (*PolygonpessimisticconsensusSession) GasTokenAddress

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) GasTokenAddress() (common.Address, error)

GasTokenAddress is a free data retrieval call binding the contract method 0x3c351e10.

Solidity: function gasTokenAddress() view returns(address)

func (*PolygonpessimisticconsensusSession) GasTokenNetwork

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) GasTokenNetwork() (uint32, error)

GasTokenNetwork is a free data retrieval call binding the contract method 0x3cbc795b.

Solidity: function gasTokenNetwork() view returns(uint32)

func (*PolygonpessimisticconsensusSession) GetConsensusHash

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) GetConsensusHash() ([32]byte, error)

GetConsensusHash is a free data retrieval call binding the contract method 0xad1edf34.

Solidity: function getConsensusHash() view returns(bytes32)

func (*PolygonpessimisticconsensusSession) GlobalExitRootManager

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) GlobalExitRootManager() (common.Address, error)

GlobalExitRootManager is a free data retrieval call binding the contract method 0xd02103ca.

Solidity: function globalExitRootManager() view returns(address)

func (*PolygonpessimisticconsensusSession) Initialize

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) 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 (*PolygonpessimisticconsensusSession) LastAccInputHash

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) LastAccInputHash() ([32]byte, error)

LastAccInputHash is a free data retrieval call binding the contract method 0x6e05d2cd.

Solidity: function lastAccInputHash() view returns(bytes32)

func (*PolygonpessimisticconsensusSession) LastForceBatch

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) LastForceBatch() (uint64, error)

LastForceBatch is a free data retrieval call binding the contract method 0xe7a7ed02.

Solidity: function lastForceBatch() view returns(uint64)

func (*PolygonpessimisticconsensusSession) LastForceBatchSequenced

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) LastForceBatchSequenced() (uint64, error)

LastForceBatchSequenced is a free data retrieval call binding the contract method 0x45605267.

Solidity: function lastForceBatchSequenced() view returns(uint64)

func (*PolygonpessimisticconsensusSession) NetworkName

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) NetworkName() (string, error)

NetworkName is a free data retrieval call binding the contract method 0x107bf28c.

Solidity: function networkName() view returns(string)

func (*PolygonpessimisticconsensusSession) PendingAdmin

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) PendingAdmin() (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

func (*PolygonpessimisticconsensusSession) Pol

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) Pol() (common.Address, error)

Pol is a free data retrieval call binding the contract method 0xe46761c4.

Solidity: function pol() view returns(address)

func (*PolygonpessimisticconsensusSession) RollupManager

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) RollupManager() (common.Address, error)

RollupManager is a free data retrieval call binding the contract method 0x49b7b802.

Solidity: function rollupManager() view returns(address)

func (*PolygonpessimisticconsensusSession) SetTrustedSequencer

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) 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 (*PolygonpessimisticconsensusSession) SetTrustedSequencerURL

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) SetTrustedSequencerURL(newTrustedSequencerURL string) (*types.Transaction, error)

SetTrustedSequencerURL is a paid mutator transaction binding the contract method 0xc89e42df.

Solidity: function setTrustedSequencerURL(string newTrustedSequencerURL) returns()

func (*PolygonpessimisticconsensusSession) TransferAdminRole

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) 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 (*PolygonpessimisticconsensusSession) TrustedSequencer

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) TrustedSequencer() (common.Address, error)

TrustedSequencer is a free data retrieval call binding the contract method 0xcfa8ed47.

Solidity: function trustedSequencer() view returns(address)

func (*PolygonpessimisticconsensusSession) TrustedSequencerURL

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusSession) TrustedSequencerURL() (string, error)

TrustedSequencerURL is a free data retrieval call binding the contract method 0x542028d5.

Solidity: function trustedSequencerURL() view returns(string)

type PolygonpessimisticconsensusSetTrustedSequencer

type PolygonpessimisticconsensusSetTrustedSequencer struct {
	NewTrustedSequencer common.Address
	Raw                 types.Log // Blockchain specific contextual infos
}

PolygonpessimisticconsensusSetTrustedSequencer represents a SetTrustedSequencer event raised by the Polygonpessimisticconsensus contract.

type PolygonpessimisticconsensusSetTrustedSequencerIterator

type PolygonpessimisticconsensusSetTrustedSequencerIterator struct {
	Event *PolygonpessimisticconsensusSetTrustedSequencer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonpessimisticconsensusSetTrustedSequencerIterator is returned from FilterSetTrustedSequencer and is used to iterate over the raw logs and unpacked data for SetTrustedSequencer events raised by the Polygonpessimisticconsensus contract.

func (*PolygonpessimisticconsensusSetTrustedSequencerIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonpessimisticconsensusSetTrustedSequencerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonpessimisticconsensusSetTrustedSequencerIterator) Next

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 PolygonpessimisticconsensusSetTrustedSequencerURL

type PolygonpessimisticconsensusSetTrustedSequencerURL struct {
	NewTrustedSequencerURL string
	Raw                    types.Log // Blockchain specific contextual infos
}

PolygonpessimisticconsensusSetTrustedSequencerURL represents a SetTrustedSequencerURL event raised by the Polygonpessimisticconsensus contract.

type PolygonpessimisticconsensusSetTrustedSequencerURLIterator

type PolygonpessimisticconsensusSetTrustedSequencerURLIterator struct {
	Event *PolygonpessimisticconsensusSetTrustedSequencerURL // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonpessimisticconsensusSetTrustedSequencerURLIterator is returned from FilterSetTrustedSequencerURL and is used to iterate over the raw logs and unpacked data for SetTrustedSequencerURL events raised by the Polygonpessimisticconsensus contract.

func (*PolygonpessimisticconsensusSetTrustedSequencerURLIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonpessimisticconsensusSetTrustedSequencerURLIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonpessimisticconsensusSetTrustedSequencerURLIterator) Next

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 PolygonpessimisticconsensusTransactor

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

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

func NewPolygonpessimisticconsensusTransactor

func NewPolygonpessimisticconsensusTransactor(address common.Address, transactor bind.ContractTransactor) (*PolygonpessimisticconsensusTransactor, error)

NewPolygonpessimisticconsensusTransactor creates a new write-only instance of Polygonpessimisticconsensus, bound to a specific deployed contract.

func (*PolygonpessimisticconsensusTransactor) AcceptAdminRole

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusTransactor) AcceptAdminRole(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptAdminRole is a paid mutator transaction binding the contract method 0x8c3d7301.

Solidity: function acceptAdminRole() returns()

func (*PolygonpessimisticconsensusTransactor) Initialize

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusTransactor) 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 (*PolygonpessimisticconsensusTransactor) SetTrustedSequencer

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusTransactor) 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 (*PolygonpessimisticconsensusTransactor) SetTrustedSequencerURL

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusTransactor) 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 (*PolygonpessimisticconsensusTransactor) TransferAdminRole

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusTransactor) 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 PolygonpessimisticconsensusTransactorRaw

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

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

func (*PolygonpessimisticconsensusTransactorRaw) Transact

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

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

func (*PolygonpessimisticconsensusTransactorRaw) Transfer

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusTransactorRaw) 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 PolygonpessimisticconsensusTransactorSession

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

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

func (*PolygonpessimisticconsensusTransactorSession) AcceptAdminRole

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusTransactorSession) AcceptAdminRole() (*types.Transaction, error)

AcceptAdminRole is a paid mutator transaction binding the contract method 0x8c3d7301.

Solidity: function acceptAdminRole() returns()

func (*PolygonpessimisticconsensusTransactorSession) Initialize

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusTransactorSession) 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 (*PolygonpessimisticconsensusTransactorSession) SetTrustedSequencer

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusTransactorSession) 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 (*PolygonpessimisticconsensusTransactorSession) SetTrustedSequencerURL

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusTransactorSession) SetTrustedSequencerURL(newTrustedSequencerURL string) (*types.Transaction, error)

SetTrustedSequencerURL is a paid mutator transaction binding the contract method 0xc89e42df.

Solidity: function setTrustedSequencerURL(string newTrustedSequencerURL) returns()

func (*PolygonpessimisticconsensusTransactorSession) TransferAdminRole

func (_Polygonpessimisticconsensus *PolygonpessimisticconsensusTransactorSession) 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 PolygonpessimisticconsensusTransferAdminRole

type PolygonpessimisticconsensusTransferAdminRole struct {
	NewPendingAdmin common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

PolygonpessimisticconsensusTransferAdminRole represents a TransferAdminRole event raised by the Polygonpessimisticconsensus contract.

type PolygonpessimisticconsensusTransferAdminRoleIterator

type PolygonpessimisticconsensusTransferAdminRoleIterator struct {
	Event *PolygonpessimisticconsensusTransferAdminRole // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonpessimisticconsensusTransferAdminRoleIterator is returned from FilterTransferAdminRole and is used to iterate over the raw logs and unpacked data for TransferAdminRole events raised by the Polygonpessimisticconsensus contract.

func (*PolygonpessimisticconsensusTransferAdminRoleIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonpessimisticconsensusTransferAdminRoleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonpessimisticconsensusTransferAdminRoleIterator) Next

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.

Jump to

Keyboard shortcuts

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