ipolygonrollupmanager

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IpolygonrollupmanagerABI = IpolygonrollupmanagerMetaData.ABI

IpolygonrollupmanagerABI is the input ABI used to generate the binding from. Deprecated: Use IpolygonrollupmanagerMetaData.ABI instead.

View Source
var IpolygonrollupmanagerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"AllBatchesMustBeVerified\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AllSequencedMustBeVerified\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AllzkEVMSequencedBatchesMustBeVerified\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BatchFeeOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CannotUpdateWithUnconsolidatedPendingState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ChainIDAlreadyExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ChainIDOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptyVerifySequencesData\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExceedMaxVerifyBatches\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FinalNumBatchBelowLastVerifiedBatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FinalNumBatchDoesNotMatchPendingState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FinalNumSequenceBelowLastVerifiedSequence\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FinalNumSequenceDoesNotMatchPendingState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FinalPendingStateNumInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"HaltTimeoutNotExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InitBatchMustMatchCurrentForkID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InitNumBatchAboveLastVerifiedBatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InitNumBatchDoesNotMatchPendingState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InitSequenceMustMatchCurrentForkID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InitSequenceNumDoesNotMatchPendingState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPessimisticProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRangeBatchTimeTarget\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRangeMultiplierBatchFee\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRangeMultiplierZkGasPrice\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRangeSequenceTimeTarget\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRollup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRollupType\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidVerifierType\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1InfoTreeLeafCountInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MustSequenceSomeBatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MustSequenceSomeBlob\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewAccInputHashDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewPendingStateTimeoutMustBeLower\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewStateRootNotInsidePrime\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewTrustedAggregatorTimeoutMustBeLower\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotAllowedAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OldAccInputHashDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OldStateRootDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyChainsWithPessimisticProofs\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyRollupAdmin\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyStateTransitionChains\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingStateDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingStateInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingStateNotConsolidable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingStateNumExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RollbackBatchIsNotEndOfSequence\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RollbackBatchIsNotValid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RollupAddressAlreadyExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RollupIDNotAscendingOrder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RollupMustExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RollupTypeDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RollupTypeObsolete\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SenderMustBeRollup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StoredRootMustBeDifferentThanNewRoot\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TrustedAggregatorTimeoutNotExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UpdateNotCompatible\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UpdateToOldRollupTypeID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UpdateToSameRollupTypeID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"zkGasPriceOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"activateEmergencyState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIPolygonRollupBase\",\"name\":\"rollupAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"verifier\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"forkID\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"chainID\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"initRoot\",\"type\":\"bytes32\"},{\"internalType\":\"enumIPolygonRollupManager.VerifierType\",\"name\":\"rollupVerifierType\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"programVKey\",\"type\":\"bytes32\"}],\"name\":\"addExistingRollup\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"consensusImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"verifier\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"forkID\",\"type\":\"uint64\"},{\"internalType\":\"enumIPolygonRollupManager.VerifierType\",\"name\":\"rollupVerifierType\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"initRoot\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"programVKey\",\"type\":\"bytes32\"}],\"name\":\"addNewRollupType\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"calculateRewardPerBatch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupTypeID\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"chainID\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"sequencer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"gasTokenAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"sequencerURL\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"networkName\",\"type\":\"string\"}],\"name\":\"createNewRollup\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deactivateEmergencyState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBatchFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getForcedBatchFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"selectedGlobalExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"newLocalExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"newPessimisticRoot\",\"type\":\"bytes32\"}],\"name\":\"getInputPessimisticBytes\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"initNumBatch\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"finalNewBatch\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"newLocalExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"oldStateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"newStateRoot\",\"type\":\"bytes32\"}],\"name\":\"getInputSnarkBytes\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"}],\"name\":\"getLastVerifiedBatch\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"batchNum\",\"type\":\"uint64\"}],\"name\":\"getRollupBatchNumToStateRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRollupExitRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastDeactivatedEmergencyStateTimestamp\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupTypeID\",\"type\":\"uint32\"}],\"name\":\"obsoleteRollupType\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"newSequencedBatches\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"newAccInputHash\",\"type\":\"bytes32\"}],\"name\":\"onSequenceBatches\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIPolygonRollupBase\",\"name\":\"rollupContract\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"targetBatch\",\"type\":\"uint64\"}],\"name\":\"rollbackBatches\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newBatchFee\",\"type\":\"uint256\"}],\"name\":\"setBatchFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractITransparentUpgradeableProxy\",\"name\":\"rollupContract\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"newRollupTypeID\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"upgradeData\",\"type\":\"bytes\"}],\"name\":\"updateRollup\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractITransparentUpgradeableProxy\",\"name\":\"rollupContract\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"newRollupTypeID\",\"type\":\"uint32\"}],\"name\":\"updateRollupByRollupAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"pendingStateNum\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"initNumBatch\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"finalNewBatch\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"newLocalExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"newStateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"bytes32[24]\",\"name\":\"proof\",\"type\":\"bytes32[24]\"}],\"name\":\"verifyBatchesTrustedAggregator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"l1InfoTreeLeafCount\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"newLocalExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"newPessimisticRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"proof\",\"type\":\"bytes\"}],\"name\":\"verifyPessimisticTrustedAggregator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IpolygonrollupmanagerMetaData contains all meta data concerning the Ipolygonrollupmanager contract.

Functions

This section is empty.

Types

type Ipolygonrollupmanager

type Ipolygonrollupmanager struct {
	IpolygonrollupmanagerCaller     // Read-only binding to the contract
	IpolygonrollupmanagerTransactor // Write-only binding to the contract
	IpolygonrollupmanagerFilterer   // Log filterer for contract events
}

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

func NewIpolygonrollupmanager

func NewIpolygonrollupmanager(address common.Address, backend bind.ContractBackend) (*Ipolygonrollupmanager, error)

NewIpolygonrollupmanager creates a new instance of Ipolygonrollupmanager, bound to a specific deployed contract.

type IpolygonrollupmanagerCaller

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

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

func NewIpolygonrollupmanagerCaller

func NewIpolygonrollupmanagerCaller(address common.Address, caller bind.ContractCaller) (*IpolygonrollupmanagerCaller, error)

NewIpolygonrollupmanagerCaller creates a new read-only instance of Ipolygonrollupmanager, bound to a specific deployed contract.

type IpolygonrollupmanagerCallerRaw

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

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

func (*IpolygonrollupmanagerCallerRaw) Call

func (_Ipolygonrollupmanager *IpolygonrollupmanagerCallerRaw) 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 IpolygonrollupmanagerCallerSession

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

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

type IpolygonrollupmanagerFilterer

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

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

func NewIpolygonrollupmanagerFilterer

func NewIpolygonrollupmanagerFilterer(address common.Address, filterer bind.ContractFilterer) (*IpolygonrollupmanagerFilterer, error)

NewIpolygonrollupmanagerFilterer creates a new log filterer instance of Ipolygonrollupmanager, bound to a specific deployed contract.

type IpolygonrollupmanagerRaw

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

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

func (*IpolygonrollupmanagerRaw) Call

func (_Ipolygonrollupmanager *IpolygonrollupmanagerRaw) 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 (*IpolygonrollupmanagerRaw) Transact

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

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

func (*IpolygonrollupmanagerRaw) Transfer

func (_Ipolygonrollupmanager *IpolygonrollupmanagerRaw) 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 IpolygonrollupmanagerSession

type IpolygonrollupmanagerSession struct {
	Contract     *Ipolygonrollupmanager // 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
}

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

func (*IpolygonrollupmanagerSession) ActivateEmergencyState

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) ActivateEmergencyState() (*types.Transaction, error)

ActivateEmergencyState is a paid mutator transaction binding the contract method 0x2072f6c5.

Solidity: function activateEmergencyState() returns()

func (*IpolygonrollupmanagerSession) AddExistingRollup

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) AddExistingRollup(rollupAddress common.Address, verifier common.Address, forkID uint64, chainID uint64, initRoot [32]byte, rollupVerifierType uint8, programVKey [32]byte) (*types.Transaction, error)

AddExistingRollup is a paid mutator transaction binding the contract method 0x97bf07e8.

Solidity: function addExistingRollup(address rollupAddress, address verifier, uint64 forkID, uint64 chainID, bytes32 initRoot, uint8 rollupVerifierType, bytes32 programVKey) returns()

func (*IpolygonrollupmanagerSession) AddNewRollupType

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) AddNewRollupType(consensusImplementation common.Address, verifier common.Address, forkID uint64, rollupVerifierType uint8, initRoot [32]byte, description string, programVKey [32]byte) (*types.Transaction, error)

AddNewRollupType is a paid mutator transaction binding the contract method 0xabcb5198.

Solidity: function addNewRollupType(address consensusImplementation, address verifier, uint64 forkID, uint8 rollupVerifierType, bytes32 initRoot, string description, bytes32 programVKey) returns()

func (*IpolygonrollupmanagerSession) CalculateRewardPerBatch

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) CalculateRewardPerBatch() (*types.Transaction, error)

CalculateRewardPerBatch is a paid mutator transaction binding the contract method 0x99f5634e.

Solidity: function calculateRewardPerBatch() returns(uint256)

func (*IpolygonrollupmanagerSession) CreateNewRollup

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) CreateNewRollup(rollupTypeID uint32, chainID uint64, admin common.Address, sequencer common.Address, gasTokenAddress common.Address, sequencerURL string, networkName string) (*types.Transaction, error)

CreateNewRollup is a paid mutator transaction binding the contract method 0x727885e9.

Solidity: function createNewRollup(uint32 rollupTypeID, uint64 chainID, address admin, address sequencer, address gasTokenAddress, string sequencerURL, string networkName) returns()

func (*IpolygonrollupmanagerSession) DeactivateEmergencyState

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) DeactivateEmergencyState() (*types.Transaction, error)

DeactivateEmergencyState is a paid mutator transaction binding the contract method 0xdbc16976.

Solidity: function deactivateEmergencyState() returns()

func (*IpolygonrollupmanagerSession) GetBatchFee

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) GetBatchFee() (*types.Transaction, error)

GetBatchFee is a paid mutator transaction binding the contract method 0x477fa270.

Solidity: function getBatchFee() returns(uint256)

func (*IpolygonrollupmanagerSession) GetForcedBatchFee

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) GetForcedBatchFee() (*types.Transaction, error)

GetForcedBatchFee is a paid mutator transaction binding the contract method 0x60469169.

Solidity: function getForcedBatchFee() returns(uint256)

func (*IpolygonrollupmanagerSession) GetInputPessimisticBytes

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) GetInputPessimisticBytes(rollupID uint32, selectedGlobalExitRoot [32]byte, newLocalExitRoot [32]byte, newPessimisticRoot [32]byte) (*types.Transaction, error)

GetInputPessimisticBytes is a paid mutator transaction binding the contract method 0x9e36c565.

Solidity: function getInputPessimisticBytes(uint32 rollupID, bytes32 selectedGlobalExitRoot, bytes32 newLocalExitRoot, bytes32 newPessimisticRoot) returns(bytes)

func (*IpolygonrollupmanagerSession) GetInputSnarkBytes

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) GetInputSnarkBytes(rollupID uint32, initNumBatch uint64, finalNewBatch uint64, newLocalExitRoot [32]byte, oldStateRoot [32]byte, newStateRoot [32]byte) (*types.Transaction, error)

GetInputSnarkBytes is a paid mutator transaction binding the contract method 0x7975fcfe.

Solidity: function getInputSnarkBytes(uint32 rollupID, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 oldStateRoot, bytes32 newStateRoot) returns(bytes)

func (*IpolygonrollupmanagerSession) GetLastVerifiedBatch

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) GetLastVerifiedBatch(rollupID uint32) (*types.Transaction, error)

GetLastVerifiedBatch is a paid mutator transaction binding the contract method 0x11f6b287.

Solidity: function getLastVerifiedBatch(uint32 rollupID) returns(uint64)

func (*IpolygonrollupmanagerSession) GetRollupBatchNumToStateRoot

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) GetRollupBatchNumToStateRoot(rollupID uint32, batchNum uint64) (*types.Transaction, error)

GetRollupBatchNumToStateRoot is a paid mutator transaction binding the contract method 0x55a71ee0.

Solidity: function getRollupBatchNumToStateRoot(uint32 rollupID, uint64 batchNum) returns(bytes32)

func (*IpolygonrollupmanagerSession) GetRollupExitRoot

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) GetRollupExitRoot() (*types.Transaction, error)

GetRollupExitRoot is a paid mutator transaction binding the contract method 0xa2967d99.

Solidity: function getRollupExitRoot() returns(bytes32)

func (*IpolygonrollupmanagerSession) LastDeactivatedEmergencyStateTimestamp

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) LastDeactivatedEmergencyStateTimestamp() (*types.Transaction, error)

LastDeactivatedEmergencyStateTimestamp is a paid mutator transaction binding the contract method 0x30c27dde.

Solidity: function lastDeactivatedEmergencyStateTimestamp() returns(uint64)

func (*IpolygonrollupmanagerSession) ObsoleteRollupType

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) ObsoleteRollupType(rollupTypeID uint32) (*types.Transaction, error)

ObsoleteRollupType is a paid mutator transaction binding the contract method 0x7222020f.

Solidity: function obsoleteRollupType(uint32 rollupTypeID) returns()

func (*IpolygonrollupmanagerSession) OnSequenceBatches

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) OnSequenceBatches(newSequencedBatches uint64, newAccInputHash [32]byte) (*types.Transaction, error)

OnSequenceBatches is a paid mutator transaction binding the contract method 0x9a908e73.

Solidity: function onSequenceBatches(uint64 newSequencedBatches, bytes32 newAccInputHash) returns(uint64)

func (*IpolygonrollupmanagerSession) RollbackBatches

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) RollbackBatches(rollupContract common.Address, targetBatch uint64) (*types.Transaction, error)

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

Solidity: function rollbackBatches(address rollupContract, uint64 targetBatch) returns()

func (*IpolygonrollupmanagerSession) SetBatchFee

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) SetBatchFee(newBatchFee *big.Int) (*types.Transaction, error)

SetBatchFee is a paid mutator transaction binding the contract method 0xd5073f6f.

Solidity: function setBatchFee(uint256 newBatchFee) returns()

func (*IpolygonrollupmanagerSession) UpdateRollup

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) UpdateRollup(rollupContract common.Address, newRollupTypeID uint32, upgradeData []byte) (*types.Transaction, error)

UpdateRollup is a paid mutator transaction binding the contract method 0xc4c928c2.

Solidity: function updateRollup(address rollupContract, uint32 newRollupTypeID, bytes upgradeData) returns()

func (*IpolygonrollupmanagerSession) UpdateRollupByRollupAdmin

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) UpdateRollupByRollupAdmin(rollupContract common.Address, newRollupTypeID uint32) (*types.Transaction, error)

UpdateRollupByRollupAdmin is a paid mutator transaction binding the contract method 0xdfdb8c5e.

Solidity: function updateRollupByRollupAdmin(address rollupContract, uint32 newRollupTypeID) returns()

func (*IpolygonrollupmanagerSession) VerifyBatchesTrustedAggregator

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) VerifyBatchesTrustedAggregator(rollupID uint32, pendingStateNum uint64, initNumBatch uint64, finalNewBatch uint64, newLocalExitRoot [32]byte, newStateRoot [32]byte, beneficiary common.Address, proof [24][32]byte) (*types.Transaction, error)

VerifyBatchesTrustedAggregator is a paid mutator transaction binding the contract method 0x1489ed10.

Solidity: function verifyBatchesTrustedAggregator(uint32 rollupID, uint64 pendingStateNum, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 newStateRoot, address beneficiary, bytes32[24] proof) returns()

func (*IpolygonrollupmanagerSession) VerifyPessimisticTrustedAggregator

func (_Ipolygonrollupmanager *IpolygonrollupmanagerSession) VerifyPessimisticTrustedAggregator(rollupID uint32, l1InfoTreeLeafCount uint32, newLocalExitRoot [32]byte, newPessimisticRoot [32]byte, proof []byte) (*types.Transaction, error)

VerifyPessimisticTrustedAggregator is a paid mutator transaction binding the contract method 0x8875f03c.

Solidity: function verifyPessimisticTrustedAggregator(uint32 rollupID, uint32 l1InfoTreeLeafCount, bytes32 newLocalExitRoot, bytes32 newPessimisticRoot, bytes proof) returns()

type IpolygonrollupmanagerTransactor

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

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

func NewIpolygonrollupmanagerTransactor

func NewIpolygonrollupmanagerTransactor(address common.Address, transactor bind.ContractTransactor) (*IpolygonrollupmanagerTransactor, error)

NewIpolygonrollupmanagerTransactor creates a new write-only instance of Ipolygonrollupmanager, bound to a specific deployed contract.

func (*IpolygonrollupmanagerTransactor) ActivateEmergencyState

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) ActivateEmergencyState(opts *bind.TransactOpts) (*types.Transaction, error)

ActivateEmergencyState is a paid mutator transaction binding the contract method 0x2072f6c5.

Solidity: function activateEmergencyState() returns()

func (*IpolygonrollupmanagerTransactor) AddExistingRollup

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) AddExistingRollup(opts *bind.TransactOpts, rollupAddress common.Address, verifier common.Address, forkID uint64, chainID uint64, initRoot [32]byte, rollupVerifierType uint8, programVKey [32]byte) (*types.Transaction, error)

AddExistingRollup is a paid mutator transaction binding the contract method 0x97bf07e8.

Solidity: function addExistingRollup(address rollupAddress, address verifier, uint64 forkID, uint64 chainID, bytes32 initRoot, uint8 rollupVerifierType, bytes32 programVKey) returns()

func (*IpolygonrollupmanagerTransactor) AddNewRollupType

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) AddNewRollupType(opts *bind.TransactOpts, consensusImplementation common.Address, verifier common.Address, forkID uint64, rollupVerifierType uint8, initRoot [32]byte, description string, programVKey [32]byte) (*types.Transaction, error)

AddNewRollupType is a paid mutator transaction binding the contract method 0xabcb5198.

Solidity: function addNewRollupType(address consensusImplementation, address verifier, uint64 forkID, uint8 rollupVerifierType, bytes32 initRoot, string description, bytes32 programVKey) returns()

func (*IpolygonrollupmanagerTransactor) CalculateRewardPerBatch

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) CalculateRewardPerBatch(opts *bind.TransactOpts) (*types.Transaction, error)

CalculateRewardPerBatch is a paid mutator transaction binding the contract method 0x99f5634e.

Solidity: function calculateRewardPerBatch() returns(uint256)

func (*IpolygonrollupmanagerTransactor) CreateNewRollup

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) CreateNewRollup(opts *bind.TransactOpts, rollupTypeID uint32, chainID uint64, admin common.Address, sequencer common.Address, gasTokenAddress common.Address, sequencerURL string, networkName string) (*types.Transaction, error)

CreateNewRollup is a paid mutator transaction binding the contract method 0x727885e9.

Solidity: function createNewRollup(uint32 rollupTypeID, uint64 chainID, address admin, address sequencer, address gasTokenAddress, string sequencerURL, string networkName) returns()

func (*IpolygonrollupmanagerTransactor) DeactivateEmergencyState

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) DeactivateEmergencyState(opts *bind.TransactOpts) (*types.Transaction, error)

DeactivateEmergencyState is a paid mutator transaction binding the contract method 0xdbc16976.

Solidity: function deactivateEmergencyState() returns()

func (*IpolygonrollupmanagerTransactor) GetBatchFee

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) GetBatchFee(opts *bind.TransactOpts) (*types.Transaction, error)

GetBatchFee is a paid mutator transaction binding the contract method 0x477fa270.

Solidity: function getBatchFee() returns(uint256)

func (*IpolygonrollupmanagerTransactor) GetForcedBatchFee

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) GetForcedBatchFee(opts *bind.TransactOpts) (*types.Transaction, error)

GetForcedBatchFee is a paid mutator transaction binding the contract method 0x60469169.

Solidity: function getForcedBatchFee() returns(uint256)

func (*IpolygonrollupmanagerTransactor) GetInputPessimisticBytes

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) GetInputPessimisticBytes(opts *bind.TransactOpts, rollupID uint32, selectedGlobalExitRoot [32]byte, newLocalExitRoot [32]byte, newPessimisticRoot [32]byte) (*types.Transaction, error)

GetInputPessimisticBytes is a paid mutator transaction binding the contract method 0x9e36c565.

Solidity: function getInputPessimisticBytes(uint32 rollupID, bytes32 selectedGlobalExitRoot, bytes32 newLocalExitRoot, bytes32 newPessimisticRoot) returns(bytes)

func (*IpolygonrollupmanagerTransactor) GetInputSnarkBytes

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) GetInputSnarkBytes(opts *bind.TransactOpts, rollupID uint32, initNumBatch uint64, finalNewBatch uint64, newLocalExitRoot [32]byte, oldStateRoot [32]byte, newStateRoot [32]byte) (*types.Transaction, error)

GetInputSnarkBytes is a paid mutator transaction binding the contract method 0x7975fcfe.

Solidity: function getInputSnarkBytes(uint32 rollupID, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 oldStateRoot, bytes32 newStateRoot) returns(bytes)

func (*IpolygonrollupmanagerTransactor) GetLastVerifiedBatch

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) GetLastVerifiedBatch(opts *bind.TransactOpts, rollupID uint32) (*types.Transaction, error)

GetLastVerifiedBatch is a paid mutator transaction binding the contract method 0x11f6b287.

Solidity: function getLastVerifiedBatch(uint32 rollupID) returns(uint64)

func (*IpolygonrollupmanagerTransactor) GetRollupBatchNumToStateRoot

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) GetRollupBatchNumToStateRoot(opts *bind.TransactOpts, rollupID uint32, batchNum uint64) (*types.Transaction, error)

GetRollupBatchNumToStateRoot is a paid mutator transaction binding the contract method 0x55a71ee0.

Solidity: function getRollupBatchNumToStateRoot(uint32 rollupID, uint64 batchNum) returns(bytes32)

func (*IpolygonrollupmanagerTransactor) GetRollupExitRoot

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) GetRollupExitRoot(opts *bind.TransactOpts) (*types.Transaction, error)

GetRollupExitRoot is a paid mutator transaction binding the contract method 0xa2967d99.

Solidity: function getRollupExitRoot() returns(bytes32)

func (*IpolygonrollupmanagerTransactor) LastDeactivatedEmergencyStateTimestamp

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) LastDeactivatedEmergencyStateTimestamp(opts *bind.TransactOpts) (*types.Transaction, error)

LastDeactivatedEmergencyStateTimestamp is a paid mutator transaction binding the contract method 0x30c27dde.

Solidity: function lastDeactivatedEmergencyStateTimestamp() returns(uint64)

func (*IpolygonrollupmanagerTransactor) ObsoleteRollupType

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) ObsoleteRollupType(opts *bind.TransactOpts, rollupTypeID uint32) (*types.Transaction, error)

ObsoleteRollupType is a paid mutator transaction binding the contract method 0x7222020f.

Solidity: function obsoleteRollupType(uint32 rollupTypeID) returns()

func (*IpolygonrollupmanagerTransactor) OnSequenceBatches

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) OnSequenceBatches(opts *bind.TransactOpts, newSequencedBatches uint64, newAccInputHash [32]byte) (*types.Transaction, error)

OnSequenceBatches is a paid mutator transaction binding the contract method 0x9a908e73.

Solidity: function onSequenceBatches(uint64 newSequencedBatches, bytes32 newAccInputHash) returns(uint64)

func (*IpolygonrollupmanagerTransactor) RollbackBatches

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) RollbackBatches(opts *bind.TransactOpts, rollupContract common.Address, targetBatch uint64) (*types.Transaction, error)

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

Solidity: function rollbackBatches(address rollupContract, uint64 targetBatch) returns()

func (*IpolygonrollupmanagerTransactor) SetBatchFee

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) SetBatchFee(opts *bind.TransactOpts, newBatchFee *big.Int) (*types.Transaction, error)

SetBatchFee is a paid mutator transaction binding the contract method 0xd5073f6f.

Solidity: function setBatchFee(uint256 newBatchFee) returns()

func (*IpolygonrollupmanagerTransactor) UpdateRollup

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) UpdateRollup(opts *bind.TransactOpts, rollupContract common.Address, newRollupTypeID uint32, upgradeData []byte) (*types.Transaction, error)

UpdateRollup is a paid mutator transaction binding the contract method 0xc4c928c2.

Solidity: function updateRollup(address rollupContract, uint32 newRollupTypeID, bytes upgradeData) returns()

func (*IpolygonrollupmanagerTransactor) UpdateRollupByRollupAdmin

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) UpdateRollupByRollupAdmin(opts *bind.TransactOpts, rollupContract common.Address, newRollupTypeID uint32) (*types.Transaction, error)

UpdateRollupByRollupAdmin is a paid mutator transaction binding the contract method 0xdfdb8c5e.

Solidity: function updateRollupByRollupAdmin(address rollupContract, uint32 newRollupTypeID) returns()

func (*IpolygonrollupmanagerTransactor) VerifyBatchesTrustedAggregator

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) VerifyBatchesTrustedAggregator(opts *bind.TransactOpts, rollupID uint32, pendingStateNum uint64, initNumBatch uint64, finalNewBatch uint64, newLocalExitRoot [32]byte, newStateRoot [32]byte, beneficiary common.Address, proof [24][32]byte) (*types.Transaction, error)

VerifyBatchesTrustedAggregator is a paid mutator transaction binding the contract method 0x1489ed10.

Solidity: function verifyBatchesTrustedAggregator(uint32 rollupID, uint64 pendingStateNum, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 newStateRoot, address beneficiary, bytes32[24] proof) returns()

func (*IpolygonrollupmanagerTransactor) VerifyPessimisticTrustedAggregator

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactor) VerifyPessimisticTrustedAggregator(opts *bind.TransactOpts, rollupID uint32, l1InfoTreeLeafCount uint32, newLocalExitRoot [32]byte, newPessimisticRoot [32]byte, proof []byte) (*types.Transaction, error)

VerifyPessimisticTrustedAggregator is a paid mutator transaction binding the contract method 0x8875f03c.

Solidity: function verifyPessimisticTrustedAggregator(uint32 rollupID, uint32 l1InfoTreeLeafCount, bytes32 newLocalExitRoot, bytes32 newPessimisticRoot, bytes proof) returns()

type IpolygonrollupmanagerTransactorRaw

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

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

func (*IpolygonrollupmanagerTransactorRaw) Transact

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

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

func (*IpolygonrollupmanagerTransactorRaw) Transfer

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorRaw) 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 IpolygonrollupmanagerTransactorSession

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

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

func (*IpolygonrollupmanagerTransactorSession) ActivateEmergencyState

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) ActivateEmergencyState() (*types.Transaction, error)

ActivateEmergencyState is a paid mutator transaction binding the contract method 0x2072f6c5.

Solidity: function activateEmergencyState() returns()

func (*IpolygonrollupmanagerTransactorSession) AddExistingRollup

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) AddExistingRollup(rollupAddress common.Address, verifier common.Address, forkID uint64, chainID uint64, initRoot [32]byte, rollupVerifierType uint8, programVKey [32]byte) (*types.Transaction, error)

AddExistingRollup is a paid mutator transaction binding the contract method 0x97bf07e8.

Solidity: function addExistingRollup(address rollupAddress, address verifier, uint64 forkID, uint64 chainID, bytes32 initRoot, uint8 rollupVerifierType, bytes32 programVKey) returns()

func (*IpolygonrollupmanagerTransactorSession) AddNewRollupType

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) AddNewRollupType(consensusImplementation common.Address, verifier common.Address, forkID uint64, rollupVerifierType uint8, initRoot [32]byte, description string, programVKey [32]byte) (*types.Transaction, error)

AddNewRollupType is a paid mutator transaction binding the contract method 0xabcb5198.

Solidity: function addNewRollupType(address consensusImplementation, address verifier, uint64 forkID, uint8 rollupVerifierType, bytes32 initRoot, string description, bytes32 programVKey) returns()

func (*IpolygonrollupmanagerTransactorSession) CalculateRewardPerBatch

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) CalculateRewardPerBatch() (*types.Transaction, error)

CalculateRewardPerBatch is a paid mutator transaction binding the contract method 0x99f5634e.

Solidity: function calculateRewardPerBatch() returns(uint256)

func (*IpolygonrollupmanagerTransactorSession) CreateNewRollup

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) CreateNewRollup(rollupTypeID uint32, chainID uint64, admin common.Address, sequencer common.Address, gasTokenAddress common.Address, sequencerURL string, networkName string) (*types.Transaction, error)

CreateNewRollup is a paid mutator transaction binding the contract method 0x727885e9.

Solidity: function createNewRollup(uint32 rollupTypeID, uint64 chainID, address admin, address sequencer, address gasTokenAddress, string sequencerURL, string networkName) returns()

func (*IpolygonrollupmanagerTransactorSession) DeactivateEmergencyState

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) DeactivateEmergencyState() (*types.Transaction, error)

DeactivateEmergencyState is a paid mutator transaction binding the contract method 0xdbc16976.

Solidity: function deactivateEmergencyState() returns()

func (*IpolygonrollupmanagerTransactorSession) GetBatchFee

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) GetBatchFee() (*types.Transaction, error)

GetBatchFee is a paid mutator transaction binding the contract method 0x477fa270.

Solidity: function getBatchFee() returns(uint256)

func (*IpolygonrollupmanagerTransactorSession) GetForcedBatchFee

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) GetForcedBatchFee() (*types.Transaction, error)

GetForcedBatchFee is a paid mutator transaction binding the contract method 0x60469169.

Solidity: function getForcedBatchFee() returns(uint256)

func (*IpolygonrollupmanagerTransactorSession) GetInputPessimisticBytes

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) GetInputPessimisticBytes(rollupID uint32, selectedGlobalExitRoot [32]byte, newLocalExitRoot [32]byte, newPessimisticRoot [32]byte) (*types.Transaction, error)

GetInputPessimisticBytes is a paid mutator transaction binding the contract method 0x9e36c565.

Solidity: function getInputPessimisticBytes(uint32 rollupID, bytes32 selectedGlobalExitRoot, bytes32 newLocalExitRoot, bytes32 newPessimisticRoot) returns(bytes)

func (*IpolygonrollupmanagerTransactorSession) GetInputSnarkBytes

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) GetInputSnarkBytes(rollupID uint32, initNumBatch uint64, finalNewBatch uint64, newLocalExitRoot [32]byte, oldStateRoot [32]byte, newStateRoot [32]byte) (*types.Transaction, error)

GetInputSnarkBytes is a paid mutator transaction binding the contract method 0x7975fcfe.

Solidity: function getInputSnarkBytes(uint32 rollupID, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 oldStateRoot, bytes32 newStateRoot) returns(bytes)

func (*IpolygonrollupmanagerTransactorSession) GetLastVerifiedBatch

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) GetLastVerifiedBatch(rollupID uint32) (*types.Transaction, error)

GetLastVerifiedBatch is a paid mutator transaction binding the contract method 0x11f6b287.

Solidity: function getLastVerifiedBatch(uint32 rollupID) returns(uint64)

func (*IpolygonrollupmanagerTransactorSession) GetRollupBatchNumToStateRoot

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) GetRollupBatchNumToStateRoot(rollupID uint32, batchNum uint64) (*types.Transaction, error)

GetRollupBatchNumToStateRoot is a paid mutator transaction binding the contract method 0x55a71ee0.

Solidity: function getRollupBatchNumToStateRoot(uint32 rollupID, uint64 batchNum) returns(bytes32)

func (*IpolygonrollupmanagerTransactorSession) GetRollupExitRoot

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) GetRollupExitRoot() (*types.Transaction, error)

GetRollupExitRoot is a paid mutator transaction binding the contract method 0xa2967d99.

Solidity: function getRollupExitRoot() returns(bytes32)

func (*IpolygonrollupmanagerTransactorSession) LastDeactivatedEmergencyStateTimestamp

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) LastDeactivatedEmergencyStateTimestamp() (*types.Transaction, error)

LastDeactivatedEmergencyStateTimestamp is a paid mutator transaction binding the contract method 0x30c27dde.

Solidity: function lastDeactivatedEmergencyStateTimestamp() returns(uint64)

func (*IpolygonrollupmanagerTransactorSession) ObsoleteRollupType

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) ObsoleteRollupType(rollupTypeID uint32) (*types.Transaction, error)

ObsoleteRollupType is a paid mutator transaction binding the contract method 0x7222020f.

Solidity: function obsoleteRollupType(uint32 rollupTypeID) returns()

func (*IpolygonrollupmanagerTransactorSession) OnSequenceBatches

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) OnSequenceBatches(newSequencedBatches uint64, newAccInputHash [32]byte) (*types.Transaction, error)

OnSequenceBatches is a paid mutator transaction binding the contract method 0x9a908e73.

Solidity: function onSequenceBatches(uint64 newSequencedBatches, bytes32 newAccInputHash) returns(uint64)

func (*IpolygonrollupmanagerTransactorSession) RollbackBatches

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) RollbackBatches(rollupContract common.Address, targetBatch uint64) (*types.Transaction, error)

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

Solidity: function rollbackBatches(address rollupContract, uint64 targetBatch) returns()

func (*IpolygonrollupmanagerTransactorSession) SetBatchFee

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) SetBatchFee(newBatchFee *big.Int) (*types.Transaction, error)

SetBatchFee is a paid mutator transaction binding the contract method 0xd5073f6f.

Solidity: function setBatchFee(uint256 newBatchFee) returns()

func (*IpolygonrollupmanagerTransactorSession) UpdateRollup

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) UpdateRollup(rollupContract common.Address, newRollupTypeID uint32, upgradeData []byte) (*types.Transaction, error)

UpdateRollup is a paid mutator transaction binding the contract method 0xc4c928c2.

Solidity: function updateRollup(address rollupContract, uint32 newRollupTypeID, bytes upgradeData) returns()

func (*IpolygonrollupmanagerTransactorSession) UpdateRollupByRollupAdmin

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) UpdateRollupByRollupAdmin(rollupContract common.Address, newRollupTypeID uint32) (*types.Transaction, error)

UpdateRollupByRollupAdmin is a paid mutator transaction binding the contract method 0xdfdb8c5e.

Solidity: function updateRollupByRollupAdmin(address rollupContract, uint32 newRollupTypeID) returns()

func (*IpolygonrollupmanagerTransactorSession) VerifyBatchesTrustedAggregator

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) VerifyBatchesTrustedAggregator(rollupID uint32, pendingStateNum uint64, initNumBatch uint64, finalNewBatch uint64, newLocalExitRoot [32]byte, newStateRoot [32]byte, beneficiary common.Address, proof [24][32]byte) (*types.Transaction, error)

VerifyBatchesTrustedAggregator is a paid mutator transaction binding the contract method 0x1489ed10.

Solidity: function verifyBatchesTrustedAggregator(uint32 rollupID, uint64 pendingStateNum, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 newStateRoot, address beneficiary, bytes32[24] proof) returns()

func (*IpolygonrollupmanagerTransactorSession) VerifyPessimisticTrustedAggregator

func (_Ipolygonrollupmanager *IpolygonrollupmanagerTransactorSession) VerifyPessimisticTrustedAggregator(rollupID uint32, l1InfoTreeLeafCount uint32, newLocalExitRoot [32]byte, newPessimisticRoot [32]byte, proof []byte) (*types.Transaction, error)

VerifyPessimisticTrustedAggregator is a paid mutator transaction binding the contract method 0x8875f03c.

Solidity: function verifyPessimisticTrustedAggregator(uint32 rollupID, uint32 l1InfoTreeLeafCount, bytes32 newLocalExitRoot, bytes32 newPessimisticRoot, bytes proof) returns()

Jump to

Keyboard shortcuts

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