zksync

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IZkSyncABI = IZkSyncMetaData.ABI

IZkSyncABI is the input ABI used to generate the binding from. Deprecated: Use IZkSyncMetaData.ABI instead.

View Source
var IZkSyncMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"batchNumber\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"batchHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"name\":\"BlockCommit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"batchNumber\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"batchHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"name\":\"BlockExecution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalBatchesCommitted\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalBatchesVerified\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalBatchesExecuted\",\"type\":\"uint256\"}],\"name\":\"BlocksRevert\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"previousLastVerifiedBatch\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"currentLastVerifiedBatch\",\"type\":\"uint256\"}],\"name\":\"BlocksVerification\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EthWithdrawalFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facet\",\"type\":\"address\"},{\"internalType\":\"enumDiamond.Action\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"isFreezable\",\"type\":\"bool\"},{\"internalType\":\"bytes4[]\",\"name\":\"selectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"structDiamond.FacetCut[]\",\"name\":\"facetCuts\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"initAddress\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"initCalldata\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"structDiamond.DiamondCutData\",\"name\":\"diamondCut\",\"type\":\"tuple\"}],\"name\":\"ExecuteUpgrade\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Freeze\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isPorterAvailable\",\"type\":\"bool\"}],\"name\":\"IsPorterAvailableStatusUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldAdmin\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"NewAdmin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldGovernor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newGovernor\",\"type\":\"address\"}],\"name\":\"NewGovernor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldPendingAdmin\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newPendingAdmin\",\"type\":\"address\"}],\"name\":\"NewPendingAdmin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldPendingGovernor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newPendingGovernor\",\"type\":\"address\"}],\"name\":\"NewPendingGovernor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"txId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"txHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"expirationTimestamp\",\"type\":\"uint64\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"txType\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"from\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"to\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasPerPubdataByteLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxPriorityFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paymaster\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256[4]\",\"name\":\"reserved\",\"type\":\"uint256[4]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"uint256[]\",\"name\":\"factoryDeps\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"paymasterInput\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"reservedDynamic\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"structIMailbox.L2CanonicalTransaction\",\"name\":\"transaction\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"bytes[]\",\"name\":\"factoryDeps\",\"type\":\"bytes[]\"}],\"name\":\"NewPriorityRequest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldPriorityTxMaxGasLimit\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newPriorityTxMaxGasLimit\",\"type\":\"uint256\"}],\"name\":\"NewPriorityTxMaxGasLimit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Unfreeze\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"validatorAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isActive\",\"type\":\"bool\"}],\"name\":\"ValidatorStatusUpdate\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"batchNumber\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"batchHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"indexRepeatedStorageChanges\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"numberOfLayer1Txs\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"priorityOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"l2LogsTreeRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"internalType\":\"structIExecutor.StoredBatchInfo\",\"name\":\"_lastCommittedBatchData\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"batchNumber\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"indexRepeatedStorageChanges\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"newStateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"numberOfLayer1Txs\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"priorityOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"bootloaderHeapInitialContentsHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"eventsQueueStateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"systemLogs\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"totalL2ToL1Pubdata\",\"type\":\"bytes\"}],\"internalType\":\"structIExecutor.CommitBatchInfo[]\",\"name\":\"_newBatchesData\",\"type\":\"tuple[]\"}],\"name\":\"commitBatches\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"batchNumber\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"batchHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"indexRepeatedStorageChanges\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"numberOfLayer1Txs\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"priorityOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"l2LogsTreeRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"internalType\":\"structIExecutor.StoredBatchInfo[]\",\"name\":\"_batchesData\",\"type\":\"tuple[]\"}],\"name\":\"executeBatches\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"facet\",\"type\":\"address\"},{\"internalType\":\"enumDiamond.Action\",\"name\":\"action\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"isFreezable\",\"type\":\"bool\"},{\"internalType\":\"bytes4[]\",\"name\":\"selectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"structDiamond.FacetCut[]\",\"name\":\"facetCuts\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"initAddress\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"initCalldata\",\"type\":\"bytes\"}],\"internalType\":\"structDiamond.DiamondCutData\",\"name\":\"_diamondCut\",\"type\":\"tuple\"}],\"name\":\"executeUpgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_selector\",\"type\":\"bytes4\"}],\"name\":\"facetAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"facet\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"facetAddresses\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"facets\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_facet\",\"type\":\"address\"}],\"name\":\"facetFunctionSelectors\",\"outputs\":[{\"internalType\":\"bytes4[]\",\"name\":\"\",\"type\":\"bytes4[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"facets\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"bytes4[]\",\"name\":\"selectors\",\"type\":\"bytes4[]\"}],\"internalType\":\"structIGetters.Facet[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_l2BatchNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_l2MessageIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"_l2TxNumberInBatch\",\"type\":\"uint16\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"internalType\":\"bytes32[]\",\"name\":\"_merkleProof\",\"type\":\"bytes32[]\"}],\"name\":\"finalizeEthWithdrawal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"freezeDiamond\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFirstUnprocessedPriorityTx\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getGovernor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getL2BootloaderBytecodeHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getL2DefaultAccountBytecodeHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getL2SystemContractsUpgradeBatchNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getL2SystemContractsUpgradeTxHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPendingGovernor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPriorityQueueSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPriorityTxMaxGasLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getProtocolVersion\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalBatchesCommitted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalBatchesExecuted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalBatchesVerified\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalPriorityTxs\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVerifier\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVerifierParams\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"recursionNodeLevelVkHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"recursionLeafLevelVkHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"recursionCircuitsSetVksHash\",\"type\":\"bytes32\"}],\"internalType\":\"structVerifierParams\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isDiamondStorageFrozen\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_l2BatchNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_l2MessageIndex\",\"type\":\"uint256\"}],\"name\":\"isEthWithdrawalFinalized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_facet\",\"type\":\"address\"}],\"name\":\"isFacetFreezable\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isFreezable\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_selector\",\"type\":\"bytes4\"}],\"name\":\"isFunctionFreezable\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"isValidator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_batchNumber\",\"type\":\"uint256\"}],\"name\":\"l2LogsRootHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_gasPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_l2GasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_l2GasPerPubdataByteLimit\",\"type\":\"uint256\"}],\"name\":\"l2TransactionBaseCost\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"priorityQueueFrontOperation\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"canonicalTxHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"expirationTimestamp\",\"type\":\"uint64\"},{\"internalType\":\"uint192\",\"name\":\"layer2Tip\",\"type\":\"uint192\"}],\"internalType\":\"structPriorityOperation\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"batchNumber\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"batchHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"indexRepeatedStorageChanges\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"numberOfLayer1Txs\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"priorityOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"l2LogsTreeRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"internalType\":\"structIExecutor.StoredBatchInfo\",\"name\":\"_prevBatch\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"batchNumber\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"batchHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"indexRepeatedStorageChanges\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"numberOfLayer1Txs\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"priorityOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"l2LogsTreeRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"internalType\":\"structIExecutor.StoredBatchInfo[]\",\"name\":\"_committedBatches\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256[]\",\"name\":\"recursiveAggregationInput\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"serializedProof\",\"type\":\"uint256[]\"}],\"internalType\":\"structIExecutor.ProofInput\",\"name\":\"_proof\",\"type\":\"tuple\"}],\"name\":\"proveBatches\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_l2TxHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_l2BatchNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_l2MessageIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"_l2TxNumberInBatch\",\"type\":\"uint16\"},{\"internalType\":\"bytes32[]\",\"name\":\"_merkleProof\",\"type\":\"bytes32[]\"},{\"internalType\":\"enumTxStatus\",\"name\":\"_status\",\"type\":\"uint8\"}],\"name\":\"proveL1ToL2TransactionStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_l2BatchNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"l2ShardId\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"isService\",\"type\":\"bool\"},{\"internalType\":\"uint16\",\"name\":\"txNumberInBatch\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"value\",\"type\":\"bytes32\"}],\"internalType\":\"structL2Log\",\"name\":\"_log\",\"type\":\"tuple\"},{\"internalType\":\"bytes32[]\",\"name\":\"_proof\",\"type\":\"bytes32[]\"}],\"name\":\"proveL2LogInclusion\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_l2BatchNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint16\",\"name\":\"txNumberInBatch\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structL2Message\",\"name\":\"_message\",\"type\":\"tuple\"},{\"internalType\":\"bytes32[]\",\"name\":\"_proof\",\"type\":\"bytes32[]\"}],\"name\":\"proveL2MessageInclusion\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_contractL2\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_l2Value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_calldata\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_l2GasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_l2GasPerPubdataByteLimit\",\"type\":\"uint256\"},{\"internalType\":\"bytes[]\",\"name\":\"_factoryDeps\",\"type\":\"bytes[]\"},{\"internalType\":\"address\",\"name\":\"_refundRecipient\",\"type\":\"address\"}],\"name\":\"requestL2Transaction\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"canonicalTxHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newLastBatch\",\"type\":\"uint256\"}],\"name\":\"revertBatches\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newPendingAdmin\",\"type\":\"address\"}],\"name\":\"setPendingAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newPendingGovernor\",\"type\":\"address\"}],\"name\":\"setPendingGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_zkPorterIsAvailable\",\"type\":\"bool\"}],\"name\":\"setPorterAvailability\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newPriorityTxMaxGasLimit\",\"type\":\"uint256\"}],\"name\":\"setPriorityTxMaxGasLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_validator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_active\",\"type\":\"bool\"}],\"name\":\"setValidator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_batchNumber\",\"type\":\"uint256\"}],\"name\":\"storedBatchHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unfreezeDiamond\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IZkSyncMetaData contains all meta data concerning the IZkSync contract.

Functions

This section is empty.

Types

type DiamondDiamondCutData

type DiamondDiamondCutData struct {
	FacetCuts    []DiamondFacetCut
	InitAddress  common.Address
	InitCalldata []byte
}

DiamondDiamondCutData is an auto generated low-level Go binding around an user-defined struct.

type DiamondFacetCut

type DiamondFacetCut struct {
	Facet       common.Address
	Action      uint8
	IsFreezable bool
	Selectors   [][4]byte
}

DiamondFacetCut is an auto generated low-level Go binding around an user-defined struct.

type IExecutorCommitBatchInfo added in v0.4.0

type IExecutorCommitBatchInfo struct {
	BatchNumber                       uint64
	Timestamp                         uint64
	IndexRepeatedStorageChanges       uint64
	NewStateRoot                      [32]byte
	NumberOfLayer1Txs                 *big.Int
	PriorityOperationsHash            [32]byte
	BootloaderHeapInitialContentsHash [32]byte
	EventsQueueStateHash              [32]byte
	SystemLogs                        []byte
	TotalL2ToL1Pubdata                []byte
}

IExecutorCommitBatchInfo is an auto generated low-level Go binding around an user-defined struct.

type IExecutorProofInput

type IExecutorProofInput struct {
	RecursiveAggregationInput []*big.Int
	SerializedProof           []*big.Int
}

IExecutorProofInput is an auto generated low-level Go binding around an user-defined struct.

type IExecutorStoredBatchInfo added in v0.4.0

type IExecutorStoredBatchInfo struct {
	BatchNumber                 uint64
	BatchHash                   [32]byte
	IndexRepeatedStorageChanges uint64
	NumberOfLayer1Txs           *big.Int
	PriorityOperationsHash      [32]byte
	L2LogsTreeRoot              [32]byte
	Timestamp                   *big.Int
	Commitment                  [32]byte
}

IExecutorStoredBatchInfo is an auto generated low-level Go binding around an user-defined struct.

type IGettersFacet

type IGettersFacet struct {
	Addr      common.Address
	Selectors [][4]byte
}

IGettersFacet is an auto generated low-level Go binding around an user-defined struct.

type IMailboxL2CanonicalTransaction

type IMailboxL2CanonicalTransaction struct {
	TxType                 *big.Int
	From                   *big.Int
	To                     *big.Int
	GasLimit               *big.Int
	GasPerPubdataByteLimit *big.Int
	MaxFeePerGas           *big.Int
	MaxPriorityFeePerGas   *big.Int
	Paymaster              *big.Int
	Nonce                  *big.Int
	Value                  *big.Int
	Reserved               [4]*big.Int
	Data                   []byte
	Signature              []byte
	FactoryDeps            []*big.Int
	PaymasterInput         []byte
	ReservedDynamic        []byte
}

IMailboxL2CanonicalTransaction is an auto generated low-level Go binding around an user-defined struct.

type IZkSync

type IZkSync struct {
	IZkSyncCaller     // Read-only binding to the contract
	IZkSyncTransactor // Write-only binding to the contract
	IZkSyncFilterer   // Log filterer for contract events
}

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

func NewIZkSync

func NewIZkSync(address common.Address, backend bind.ContractBackend) (*IZkSync, error)

NewIZkSync creates a new instance of IZkSync, bound to a specific deployed contract.

type IZkSyncBlockCommit

type IZkSyncBlockCommit struct {
	BatchNumber *big.Int
	BatchHash   [32]byte
	Commitment  [32]byte
	Raw         types.Log // Blockchain specific contextual infos
}

IZkSyncBlockCommit represents a BlockCommit event raised by the IZkSync contract.

type IZkSyncBlockCommitIterator

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

IZkSyncBlockCommitIterator is returned from FilterBlockCommit and is used to iterate over the raw logs and unpacked data for BlockCommit events raised by the IZkSync contract.

func (*IZkSyncBlockCommitIterator) Close

func (it *IZkSyncBlockCommitIterator) Close() error

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

func (*IZkSyncBlockCommitIterator) Error

func (it *IZkSyncBlockCommitIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZkSyncBlockCommitIterator) Next

func (it *IZkSyncBlockCommitIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IZkSyncBlockExecution

type IZkSyncBlockExecution struct {
	BatchNumber *big.Int
	BatchHash   [32]byte
	Commitment  [32]byte
	Raw         types.Log // Blockchain specific contextual infos
}

IZkSyncBlockExecution represents a BlockExecution event raised by the IZkSync contract.

type IZkSyncBlockExecutionIterator

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

IZkSyncBlockExecutionIterator is returned from FilterBlockExecution and is used to iterate over the raw logs and unpacked data for BlockExecution events raised by the IZkSync contract.

func (*IZkSyncBlockExecutionIterator) Close

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

func (*IZkSyncBlockExecutionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZkSyncBlockExecutionIterator) 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 IZkSyncBlocksRevert

type IZkSyncBlocksRevert struct {
	TotalBatchesCommitted *big.Int
	TotalBatchesVerified  *big.Int
	TotalBatchesExecuted  *big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

IZkSyncBlocksRevert represents a BlocksRevert event raised by the IZkSync contract.

type IZkSyncBlocksRevertIterator

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

IZkSyncBlocksRevertIterator is returned from FilterBlocksRevert and is used to iterate over the raw logs and unpacked data for BlocksRevert events raised by the IZkSync contract.

func (*IZkSyncBlocksRevertIterator) Close

func (it *IZkSyncBlocksRevertIterator) Close() error

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

func (*IZkSyncBlocksRevertIterator) Error

func (it *IZkSyncBlocksRevertIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZkSyncBlocksRevertIterator) Next

func (it *IZkSyncBlocksRevertIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IZkSyncBlocksVerification

type IZkSyncBlocksVerification struct {
	PreviousLastVerifiedBatch *big.Int
	CurrentLastVerifiedBatch  *big.Int
	Raw                       types.Log // Blockchain specific contextual infos
}

IZkSyncBlocksVerification represents a BlocksVerification event raised by the IZkSync contract.

type IZkSyncBlocksVerificationIterator

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

IZkSyncBlocksVerificationIterator is returned from FilterBlocksVerification and is used to iterate over the raw logs and unpacked data for BlocksVerification events raised by the IZkSync contract.

func (*IZkSyncBlocksVerificationIterator) Close

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

func (*IZkSyncBlocksVerificationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZkSyncBlocksVerificationIterator) 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 IZkSyncCaller

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

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

func NewIZkSyncCaller

func NewIZkSyncCaller(address common.Address, caller bind.ContractCaller) (*IZkSyncCaller, error)

NewIZkSyncCaller creates a new read-only instance of IZkSync, bound to a specific deployed contract.

func (*IZkSyncCaller) FacetAddress

func (_IZkSync *IZkSyncCaller) FacetAddress(opts *bind.CallOpts, _selector [4]byte) (common.Address, error)

FacetAddress is a free data retrieval call binding the contract method 0xcdffacc6.

Solidity: function facetAddress(bytes4 _selector) view returns(address facet)

func (*IZkSyncCaller) FacetAddresses

func (_IZkSync *IZkSyncCaller) FacetAddresses(opts *bind.CallOpts) ([]common.Address, error)

FacetAddresses is a free data retrieval call binding the contract method 0x52ef6b2c.

Solidity: function facetAddresses() view returns(address[] facets)

func (*IZkSyncCaller) FacetFunctionSelectors

func (_IZkSync *IZkSyncCaller) FacetFunctionSelectors(opts *bind.CallOpts, _facet common.Address) ([][4]byte, error)

FacetFunctionSelectors is a free data retrieval call binding the contract method 0xadfca15e.

Solidity: function facetFunctionSelectors(address _facet) view returns(bytes4[])

func (*IZkSyncCaller) Facets

func (_IZkSync *IZkSyncCaller) Facets(opts *bind.CallOpts) ([]IGettersFacet, error)

Facets is a free data retrieval call binding the contract method 0x7a0ed627.

Solidity: function facets() view returns((address,bytes4[])[])

func (*IZkSyncCaller) GetFirstUnprocessedPriorityTx

func (_IZkSync *IZkSyncCaller) GetFirstUnprocessedPriorityTx(opts *bind.CallOpts) (*big.Int, error)

GetFirstUnprocessedPriorityTx is a free data retrieval call binding the contract method 0x79823c9a.

Solidity: function getFirstUnprocessedPriorityTx() view returns(uint256)

func (*IZkSyncCaller) GetGovernor

func (_IZkSync *IZkSyncCaller) GetGovernor(opts *bind.CallOpts) (common.Address, error)

GetGovernor is a free data retrieval call binding the contract method 0x4fc07d75.

Solidity: function getGovernor() view returns(address)

func (*IZkSyncCaller) GetL2BootloaderBytecodeHash

func (_IZkSync *IZkSyncCaller) GetL2BootloaderBytecodeHash(opts *bind.CallOpts) ([32]byte, error)

GetL2BootloaderBytecodeHash is a free data retrieval call binding the contract method 0xd86970d8.

Solidity: function getL2BootloaderBytecodeHash() view returns(bytes32)

func (*IZkSyncCaller) GetL2DefaultAccountBytecodeHash

func (_IZkSync *IZkSyncCaller) GetL2DefaultAccountBytecodeHash(opts *bind.CallOpts) ([32]byte, error)

GetL2DefaultAccountBytecodeHash is a free data retrieval call binding the contract method 0xfd791f3c.

Solidity: function getL2DefaultAccountBytecodeHash() view returns(bytes32)

func (*IZkSyncCaller) GetL2SystemContractsUpgradeBatchNumber added in v0.4.0

func (_IZkSync *IZkSyncCaller) GetL2SystemContractsUpgradeBatchNumber(opts *bind.CallOpts) (*big.Int, error)

GetL2SystemContractsUpgradeBatchNumber is a free data retrieval call binding the contract method 0xe5355c75.

Solidity: function getL2SystemContractsUpgradeBatchNumber() view returns(uint256)

func (*IZkSyncCaller) GetL2SystemContractsUpgradeTxHash added in v0.4.0

func (_IZkSync *IZkSyncCaller) GetL2SystemContractsUpgradeTxHash(opts *bind.CallOpts) ([32]byte, error)

GetL2SystemContractsUpgradeTxHash is a free data retrieval call binding the contract method 0x7b30c8da.

Solidity: function getL2SystemContractsUpgradeTxHash() view returns(bytes32)

func (*IZkSyncCaller) GetName added in v0.4.0

func (_IZkSync *IZkSyncCaller) GetName(opts *bind.CallOpts) (string, error)

GetName is a free data retrieval call binding the contract method 0x17d7de7c.

Solidity: function getName() view returns(string)

func (*IZkSyncCaller) GetPendingGovernor

func (_IZkSync *IZkSyncCaller) GetPendingGovernor(opts *bind.CallOpts) (common.Address, error)

GetPendingGovernor is a free data retrieval call binding the contract method 0x8665b150.

Solidity: function getPendingGovernor() view returns(address)

func (*IZkSyncCaller) GetPriorityQueueSize

func (_IZkSync *IZkSyncCaller) GetPriorityQueueSize(opts *bind.CallOpts) (*big.Int, error)

GetPriorityQueueSize is a free data retrieval call binding the contract method 0x631f4bac.

Solidity: function getPriorityQueueSize() view returns(uint256)

func (*IZkSyncCaller) GetPriorityTxMaxGasLimit

func (_IZkSync *IZkSyncCaller) GetPriorityTxMaxGasLimit(opts *bind.CallOpts) (*big.Int, error)

GetPriorityTxMaxGasLimit is a free data retrieval call binding the contract method 0x0ec6b0b7.

Solidity: function getPriorityTxMaxGasLimit() view returns(uint256)

func (*IZkSyncCaller) GetProtocolVersion added in v0.4.0

func (_IZkSync *IZkSyncCaller) GetProtocolVersion(opts *bind.CallOpts) (*big.Int, error)

GetProtocolVersion is a free data retrieval call binding the contract method 0x33ce93fe.

Solidity: function getProtocolVersion() view returns(uint256)

func (*IZkSyncCaller) GetTotalBatchesCommitted added in v0.4.0

func (_IZkSync *IZkSyncCaller) GetTotalBatchesCommitted(opts *bind.CallOpts) (*big.Int, error)

GetTotalBatchesCommitted is a free data retrieval call binding the contract method 0xdb1f0bf9.

Solidity: function getTotalBatchesCommitted() view returns(uint256)

func (*IZkSyncCaller) GetTotalBatchesExecuted added in v0.4.0

func (_IZkSync *IZkSyncCaller) GetTotalBatchesExecuted(opts *bind.CallOpts) (*big.Int, error)

GetTotalBatchesExecuted is a free data retrieval call binding the contract method 0xb8c2f66f.

Solidity: function getTotalBatchesExecuted() view returns(uint256)

func (*IZkSyncCaller) GetTotalBatchesVerified added in v0.4.0

func (_IZkSync *IZkSyncCaller) GetTotalBatchesVerified(opts *bind.CallOpts) (*big.Int, error)

GetTotalBatchesVerified is a free data retrieval call binding the contract method 0xef3f0bae.

Solidity: function getTotalBatchesVerified() view returns(uint256)

func (*IZkSyncCaller) GetTotalPriorityTxs

func (_IZkSync *IZkSyncCaller) GetTotalPriorityTxs(opts *bind.CallOpts) (*big.Int, error)

GetTotalPriorityTxs is a free data retrieval call binding the contract method 0xa1954fc5.

Solidity: function getTotalPriorityTxs() view returns(uint256)

func (*IZkSyncCaller) GetVerifier

func (_IZkSync *IZkSyncCaller) GetVerifier(opts *bind.CallOpts) (common.Address, error)

GetVerifier is a free data retrieval call binding the contract method 0x46657fe9.

Solidity: function getVerifier() view returns(address)

func (*IZkSyncCaller) GetVerifierParams

func (_IZkSync *IZkSyncCaller) GetVerifierParams(opts *bind.CallOpts) (VerifierParams, error)

GetVerifierParams is a free data retrieval call binding the contract method 0x18e3a941.

Solidity: function getVerifierParams() view returns((bytes32,bytes32,bytes32))

func (*IZkSyncCaller) IsDiamondStorageFrozen

func (_IZkSync *IZkSyncCaller) IsDiamondStorageFrozen(opts *bind.CallOpts) (bool, error)

IsDiamondStorageFrozen is a free data retrieval call binding the contract method 0x29b98c67.

Solidity: function isDiamondStorageFrozen() view returns(bool)

func (*IZkSyncCaller) IsEthWithdrawalFinalized

func (_IZkSync *IZkSyncCaller) IsEthWithdrawalFinalized(opts *bind.CallOpts, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int) (bool, error)

IsEthWithdrawalFinalized is a free data retrieval call binding the contract method 0xbd7c5412.

Solidity: function isEthWithdrawalFinalized(uint256 _l2BatchNumber, uint256 _l2MessageIndex) view returns(bool)

func (*IZkSyncCaller) IsFacetFreezable

func (_IZkSync *IZkSyncCaller) IsFacetFreezable(opts *bind.CallOpts, _facet common.Address) (bool, error)

IsFacetFreezable is a free data retrieval call binding the contract method 0xc3bbd2d7.

Solidity: function isFacetFreezable(address _facet) view returns(bool isFreezable)

func (*IZkSyncCaller) IsFunctionFreezable

func (_IZkSync *IZkSyncCaller) IsFunctionFreezable(opts *bind.CallOpts, _selector [4]byte) (bool, error)

IsFunctionFreezable is a free data retrieval call binding the contract method 0xe81e0ba1.

Solidity: function isFunctionFreezable(bytes4 _selector) view returns(bool)

func (*IZkSyncCaller) IsValidator

func (_IZkSync *IZkSyncCaller) IsValidator(opts *bind.CallOpts, _address common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address _address) view returns(bool)

func (*IZkSyncCaller) L2LogsRootHash

func (_IZkSync *IZkSyncCaller) L2LogsRootHash(opts *bind.CallOpts, _batchNumber *big.Int) ([32]byte, error)

L2LogsRootHash is a free data retrieval call binding the contract method 0x9cd939e4.

Solidity: function l2LogsRootHash(uint256 _batchNumber) view returns(bytes32 hash)

func (*IZkSyncCaller) L2TransactionBaseCost

func (_IZkSync *IZkSyncCaller) L2TransactionBaseCost(opts *bind.CallOpts, _gasPrice *big.Int, _l2GasLimit *big.Int, _l2GasPerPubdataByteLimit *big.Int) (*big.Int, error)

L2TransactionBaseCost is a free data retrieval call binding the contract method 0xb473318e.

Solidity: function l2TransactionBaseCost(uint256 _gasPrice, uint256 _l2GasLimit, uint256 _l2GasPerPubdataByteLimit) view returns(uint256)

func (*IZkSyncCaller) PriorityQueueFrontOperation

func (_IZkSync *IZkSyncCaller) PriorityQueueFrontOperation(opts *bind.CallOpts) (PriorityOperation, error)

PriorityQueueFrontOperation is a free data retrieval call binding the contract method 0x56142d7a.

Solidity: function priorityQueueFrontOperation() view returns((bytes32,uint64,uint192))

func (*IZkSyncCaller) ProveL1ToL2TransactionStatus

func (_IZkSync *IZkSyncCaller) ProveL1ToL2TransactionStatus(opts *bind.CallOpts, _l2TxHash [32]byte, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int, _l2TxNumberInBatch uint16, _merkleProof [][32]byte, _status uint8) (bool, error)

ProveL1ToL2TransactionStatus is a free data retrieval call binding the contract method 0x042901c7.

Solidity: function proveL1ToL2TransactionStatus(bytes32 _l2TxHash, uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes32[] _merkleProof, uint8 _status) view returns(bool)

func (*IZkSyncCaller) ProveL2LogInclusion

func (_IZkSync *IZkSyncCaller) ProveL2LogInclusion(opts *bind.CallOpts, _l2BatchNumber *big.Int, _index *big.Int, _log L2Log, _proof [][32]byte) (bool, error)

ProveL2LogInclusion is a free data retrieval call binding the contract method 0x263b7f8e.

Solidity: function proveL2LogInclusion(uint256 _l2BatchNumber, uint256 _index, (uint8,bool,uint16,address,bytes32,bytes32) _log, bytes32[] _proof) view returns(bool)

func (*IZkSyncCaller) ProveL2MessageInclusion

func (_IZkSync *IZkSyncCaller) ProveL2MessageInclusion(opts *bind.CallOpts, _l2BatchNumber *big.Int, _index *big.Int, _message L2Message, _proof [][32]byte) (bool, error)

ProveL2MessageInclusion is a free data retrieval call binding the contract method 0xe4948f43.

Solidity: function proveL2MessageInclusion(uint256 _l2BatchNumber, uint256 _index, (uint16,address,bytes) _message, bytes32[] _proof) view returns(bool)

func (*IZkSyncCaller) StoredBatchHash added in v0.4.0

func (_IZkSync *IZkSyncCaller) StoredBatchHash(opts *bind.CallOpts, _batchNumber *big.Int) ([32]byte, error)

StoredBatchHash is a free data retrieval call binding the contract method 0xb22dd78e.

Solidity: function storedBatchHash(uint256 _batchNumber) view returns(bytes32)

type IZkSyncCallerRaw

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

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

func (*IZkSyncCallerRaw) Call

func (_IZkSync *IZkSyncCallerRaw) 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 IZkSyncCallerSession

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

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

func (*IZkSyncCallerSession) FacetAddress

func (_IZkSync *IZkSyncCallerSession) FacetAddress(_selector [4]byte) (common.Address, error)

FacetAddress is a free data retrieval call binding the contract method 0xcdffacc6.

Solidity: function facetAddress(bytes4 _selector) view returns(address facet)

func (*IZkSyncCallerSession) FacetAddresses

func (_IZkSync *IZkSyncCallerSession) FacetAddresses() ([]common.Address, error)

FacetAddresses is a free data retrieval call binding the contract method 0x52ef6b2c.

Solidity: function facetAddresses() view returns(address[] facets)

func (*IZkSyncCallerSession) FacetFunctionSelectors

func (_IZkSync *IZkSyncCallerSession) FacetFunctionSelectors(_facet common.Address) ([][4]byte, error)

FacetFunctionSelectors is a free data retrieval call binding the contract method 0xadfca15e.

Solidity: function facetFunctionSelectors(address _facet) view returns(bytes4[])

func (*IZkSyncCallerSession) Facets

func (_IZkSync *IZkSyncCallerSession) Facets() ([]IGettersFacet, error)

Facets is a free data retrieval call binding the contract method 0x7a0ed627.

Solidity: function facets() view returns((address,bytes4[])[])

func (*IZkSyncCallerSession) GetFirstUnprocessedPriorityTx

func (_IZkSync *IZkSyncCallerSession) GetFirstUnprocessedPriorityTx() (*big.Int, error)

GetFirstUnprocessedPriorityTx is a free data retrieval call binding the contract method 0x79823c9a.

Solidity: function getFirstUnprocessedPriorityTx() view returns(uint256)

func (*IZkSyncCallerSession) GetGovernor

func (_IZkSync *IZkSyncCallerSession) GetGovernor() (common.Address, error)

GetGovernor is a free data retrieval call binding the contract method 0x4fc07d75.

Solidity: function getGovernor() view returns(address)

func (*IZkSyncCallerSession) GetL2BootloaderBytecodeHash

func (_IZkSync *IZkSyncCallerSession) GetL2BootloaderBytecodeHash() ([32]byte, error)

GetL2BootloaderBytecodeHash is a free data retrieval call binding the contract method 0xd86970d8.

Solidity: function getL2BootloaderBytecodeHash() view returns(bytes32)

func (*IZkSyncCallerSession) GetL2DefaultAccountBytecodeHash

func (_IZkSync *IZkSyncCallerSession) GetL2DefaultAccountBytecodeHash() ([32]byte, error)

GetL2DefaultAccountBytecodeHash is a free data retrieval call binding the contract method 0xfd791f3c.

Solidity: function getL2DefaultAccountBytecodeHash() view returns(bytes32)

func (*IZkSyncCallerSession) GetL2SystemContractsUpgradeBatchNumber added in v0.4.0

func (_IZkSync *IZkSyncCallerSession) GetL2SystemContractsUpgradeBatchNumber() (*big.Int, error)

GetL2SystemContractsUpgradeBatchNumber is a free data retrieval call binding the contract method 0xe5355c75.

Solidity: function getL2SystemContractsUpgradeBatchNumber() view returns(uint256)

func (*IZkSyncCallerSession) GetL2SystemContractsUpgradeTxHash added in v0.4.0

func (_IZkSync *IZkSyncCallerSession) GetL2SystemContractsUpgradeTxHash() ([32]byte, error)

GetL2SystemContractsUpgradeTxHash is a free data retrieval call binding the contract method 0x7b30c8da.

Solidity: function getL2SystemContractsUpgradeTxHash() view returns(bytes32)

func (*IZkSyncCallerSession) GetName added in v0.4.0

func (_IZkSync *IZkSyncCallerSession) GetName() (string, error)

GetName is a free data retrieval call binding the contract method 0x17d7de7c.

Solidity: function getName() view returns(string)

func (*IZkSyncCallerSession) GetPendingGovernor

func (_IZkSync *IZkSyncCallerSession) GetPendingGovernor() (common.Address, error)

GetPendingGovernor is a free data retrieval call binding the contract method 0x8665b150.

Solidity: function getPendingGovernor() view returns(address)

func (*IZkSyncCallerSession) GetPriorityQueueSize

func (_IZkSync *IZkSyncCallerSession) GetPriorityQueueSize() (*big.Int, error)

GetPriorityQueueSize is a free data retrieval call binding the contract method 0x631f4bac.

Solidity: function getPriorityQueueSize() view returns(uint256)

func (*IZkSyncCallerSession) GetPriorityTxMaxGasLimit

func (_IZkSync *IZkSyncCallerSession) GetPriorityTxMaxGasLimit() (*big.Int, error)

GetPriorityTxMaxGasLimit is a free data retrieval call binding the contract method 0x0ec6b0b7.

Solidity: function getPriorityTxMaxGasLimit() view returns(uint256)

func (*IZkSyncCallerSession) GetProtocolVersion added in v0.4.0

func (_IZkSync *IZkSyncCallerSession) GetProtocolVersion() (*big.Int, error)

GetProtocolVersion is a free data retrieval call binding the contract method 0x33ce93fe.

Solidity: function getProtocolVersion() view returns(uint256)

func (*IZkSyncCallerSession) GetTotalBatchesCommitted added in v0.4.0

func (_IZkSync *IZkSyncCallerSession) GetTotalBatchesCommitted() (*big.Int, error)

GetTotalBatchesCommitted is a free data retrieval call binding the contract method 0xdb1f0bf9.

Solidity: function getTotalBatchesCommitted() view returns(uint256)

func (*IZkSyncCallerSession) GetTotalBatchesExecuted added in v0.4.0

func (_IZkSync *IZkSyncCallerSession) GetTotalBatchesExecuted() (*big.Int, error)

GetTotalBatchesExecuted is a free data retrieval call binding the contract method 0xb8c2f66f.

Solidity: function getTotalBatchesExecuted() view returns(uint256)

func (*IZkSyncCallerSession) GetTotalBatchesVerified added in v0.4.0

func (_IZkSync *IZkSyncCallerSession) GetTotalBatchesVerified() (*big.Int, error)

GetTotalBatchesVerified is a free data retrieval call binding the contract method 0xef3f0bae.

Solidity: function getTotalBatchesVerified() view returns(uint256)

func (*IZkSyncCallerSession) GetTotalPriorityTxs

func (_IZkSync *IZkSyncCallerSession) GetTotalPriorityTxs() (*big.Int, error)

GetTotalPriorityTxs is a free data retrieval call binding the contract method 0xa1954fc5.

Solidity: function getTotalPriorityTxs() view returns(uint256)

func (*IZkSyncCallerSession) GetVerifier

func (_IZkSync *IZkSyncCallerSession) GetVerifier() (common.Address, error)

GetVerifier is a free data retrieval call binding the contract method 0x46657fe9.

Solidity: function getVerifier() view returns(address)

func (*IZkSyncCallerSession) GetVerifierParams

func (_IZkSync *IZkSyncCallerSession) GetVerifierParams() (VerifierParams, error)

GetVerifierParams is a free data retrieval call binding the contract method 0x18e3a941.

Solidity: function getVerifierParams() view returns((bytes32,bytes32,bytes32))

func (*IZkSyncCallerSession) IsDiamondStorageFrozen

func (_IZkSync *IZkSyncCallerSession) IsDiamondStorageFrozen() (bool, error)

IsDiamondStorageFrozen is a free data retrieval call binding the contract method 0x29b98c67.

Solidity: function isDiamondStorageFrozen() view returns(bool)

func (*IZkSyncCallerSession) IsEthWithdrawalFinalized

func (_IZkSync *IZkSyncCallerSession) IsEthWithdrawalFinalized(_l2BatchNumber *big.Int, _l2MessageIndex *big.Int) (bool, error)

IsEthWithdrawalFinalized is a free data retrieval call binding the contract method 0xbd7c5412.

Solidity: function isEthWithdrawalFinalized(uint256 _l2BatchNumber, uint256 _l2MessageIndex) view returns(bool)

func (*IZkSyncCallerSession) IsFacetFreezable

func (_IZkSync *IZkSyncCallerSession) IsFacetFreezable(_facet common.Address) (bool, error)

IsFacetFreezable is a free data retrieval call binding the contract method 0xc3bbd2d7.

Solidity: function isFacetFreezable(address _facet) view returns(bool isFreezable)

func (*IZkSyncCallerSession) IsFunctionFreezable

func (_IZkSync *IZkSyncCallerSession) IsFunctionFreezable(_selector [4]byte) (bool, error)

IsFunctionFreezable is a free data retrieval call binding the contract method 0xe81e0ba1.

Solidity: function isFunctionFreezable(bytes4 _selector) view returns(bool)

func (*IZkSyncCallerSession) IsValidator

func (_IZkSync *IZkSyncCallerSession) IsValidator(_address common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address _address) view returns(bool)

func (*IZkSyncCallerSession) L2LogsRootHash

func (_IZkSync *IZkSyncCallerSession) L2LogsRootHash(_batchNumber *big.Int) ([32]byte, error)

L2LogsRootHash is a free data retrieval call binding the contract method 0x9cd939e4.

Solidity: function l2LogsRootHash(uint256 _batchNumber) view returns(bytes32 hash)

func (*IZkSyncCallerSession) L2TransactionBaseCost

func (_IZkSync *IZkSyncCallerSession) L2TransactionBaseCost(_gasPrice *big.Int, _l2GasLimit *big.Int, _l2GasPerPubdataByteLimit *big.Int) (*big.Int, error)

L2TransactionBaseCost is a free data retrieval call binding the contract method 0xb473318e.

Solidity: function l2TransactionBaseCost(uint256 _gasPrice, uint256 _l2GasLimit, uint256 _l2GasPerPubdataByteLimit) view returns(uint256)

func (*IZkSyncCallerSession) PriorityQueueFrontOperation

func (_IZkSync *IZkSyncCallerSession) PriorityQueueFrontOperation() (PriorityOperation, error)

PriorityQueueFrontOperation is a free data retrieval call binding the contract method 0x56142d7a.

Solidity: function priorityQueueFrontOperation() view returns((bytes32,uint64,uint192))

func (*IZkSyncCallerSession) ProveL1ToL2TransactionStatus

func (_IZkSync *IZkSyncCallerSession) ProveL1ToL2TransactionStatus(_l2TxHash [32]byte, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int, _l2TxNumberInBatch uint16, _merkleProof [][32]byte, _status uint8) (bool, error)

ProveL1ToL2TransactionStatus is a free data retrieval call binding the contract method 0x042901c7.

Solidity: function proveL1ToL2TransactionStatus(bytes32 _l2TxHash, uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes32[] _merkleProof, uint8 _status) view returns(bool)

func (*IZkSyncCallerSession) ProveL2LogInclusion

func (_IZkSync *IZkSyncCallerSession) ProveL2LogInclusion(_l2BatchNumber *big.Int, _index *big.Int, _log L2Log, _proof [][32]byte) (bool, error)

ProveL2LogInclusion is a free data retrieval call binding the contract method 0x263b7f8e.

Solidity: function proveL2LogInclusion(uint256 _l2BatchNumber, uint256 _index, (uint8,bool,uint16,address,bytes32,bytes32) _log, bytes32[] _proof) view returns(bool)

func (*IZkSyncCallerSession) ProveL2MessageInclusion

func (_IZkSync *IZkSyncCallerSession) ProveL2MessageInclusion(_l2BatchNumber *big.Int, _index *big.Int, _message L2Message, _proof [][32]byte) (bool, error)

ProveL2MessageInclusion is a free data retrieval call binding the contract method 0xe4948f43.

Solidity: function proveL2MessageInclusion(uint256 _l2BatchNumber, uint256 _index, (uint16,address,bytes) _message, bytes32[] _proof) view returns(bool)

func (*IZkSyncCallerSession) StoredBatchHash added in v0.4.0

func (_IZkSync *IZkSyncCallerSession) StoredBatchHash(_batchNumber *big.Int) ([32]byte, error)

StoredBatchHash is a free data retrieval call binding the contract method 0xb22dd78e.

Solidity: function storedBatchHash(uint256 _batchNumber) view returns(bytes32)

type IZkSyncEthWithdrawalFinalized

type IZkSyncEthWithdrawalFinalized struct {
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

IZkSyncEthWithdrawalFinalized represents a EthWithdrawalFinalized event raised by the IZkSync contract.

type IZkSyncEthWithdrawalFinalizedIterator

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

IZkSyncEthWithdrawalFinalizedIterator is returned from FilterEthWithdrawalFinalized and is used to iterate over the raw logs and unpacked data for EthWithdrawalFinalized events raised by the IZkSync contract.

func (*IZkSyncEthWithdrawalFinalizedIterator) Close

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

func (*IZkSyncEthWithdrawalFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZkSyncEthWithdrawalFinalizedIterator) 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 IZkSyncExecuteUpgrade

type IZkSyncExecuteUpgrade struct {
	DiamondCut DiamondDiamondCutData
	Raw        types.Log // Blockchain specific contextual infos
}

IZkSyncExecuteUpgrade represents a ExecuteUpgrade event raised by the IZkSync contract.

type IZkSyncExecuteUpgradeIterator

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

IZkSyncExecuteUpgradeIterator is returned from FilterExecuteUpgrade and is used to iterate over the raw logs and unpacked data for ExecuteUpgrade events raised by the IZkSync contract.

func (*IZkSyncExecuteUpgradeIterator) Close

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

func (*IZkSyncExecuteUpgradeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZkSyncExecuteUpgradeIterator) 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 IZkSyncFilterer

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

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

func NewIZkSyncFilterer

func NewIZkSyncFilterer(address common.Address, filterer bind.ContractFilterer) (*IZkSyncFilterer, error)

NewIZkSyncFilterer creates a new log filterer instance of IZkSync, bound to a specific deployed contract.

func (*IZkSyncFilterer) FilterBlockCommit

func (_IZkSync *IZkSyncFilterer) FilterBlockCommit(opts *bind.FilterOpts, batchNumber []*big.Int, batchHash [][32]byte, commitment [][32]byte) (*IZkSyncBlockCommitIterator, error)

FilterBlockCommit is a free log retrieval operation binding the contract event 0x8f2916b2f2d78cc5890ead36c06c0f6d5d112c7e103589947e8e2f0d6eddb763.

Solidity: event BlockCommit(uint256 indexed batchNumber, bytes32 indexed batchHash, bytes32 indexed commitment)

func (*IZkSyncFilterer) FilterBlockExecution

func (_IZkSync *IZkSyncFilterer) FilterBlockExecution(opts *bind.FilterOpts, batchNumber []*big.Int, batchHash [][32]byte, commitment [][32]byte) (*IZkSyncBlockExecutionIterator, error)

FilterBlockExecution is a free log retrieval operation binding the contract event 0x2402307311a4d6604e4e7b4c8a15a7e1213edb39c16a31efa70afb06030d3165.

Solidity: event BlockExecution(uint256 indexed batchNumber, bytes32 indexed batchHash, bytes32 indexed commitment)

func (*IZkSyncFilterer) FilterBlocksRevert

func (_IZkSync *IZkSyncFilterer) FilterBlocksRevert(opts *bind.FilterOpts) (*IZkSyncBlocksRevertIterator, error)

FilterBlocksRevert is a free log retrieval operation binding the contract event 0x8bd4b15ea7d1bc41ea9abc3fc487ccb89cd678a00786584714faa9d751c84ee5.

Solidity: event BlocksRevert(uint256 totalBatchesCommitted, uint256 totalBatchesVerified, uint256 totalBatchesExecuted)

func (*IZkSyncFilterer) FilterBlocksVerification

func (_IZkSync *IZkSyncFilterer) FilterBlocksVerification(opts *bind.FilterOpts, previousLastVerifiedBatch []*big.Int, currentLastVerifiedBatch []*big.Int) (*IZkSyncBlocksVerificationIterator, error)

FilterBlocksVerification is a free log retrieval operation binding the contract event 0x22c9005dd88c18b552a1cd7e8b3b937fcde9ca69213c1f658f54d572e4877a81.

Solidity: event BlocksVerification(uint256 indexed previousLastVerifiedBatch, uint256 indexed currentLastVerifiedBatch)

func (*IZkSyncFilterer) FilterEthWithdrawalFinalized

func (_IZkSync *IZkSyncFilterer) FilterEthWithdrawalFinalized(opts *bind.FilterOpts, to []common.Address) (*IZkSyncEthWithdrawalFinalizedIterator, error)

FilterEthWithdrawalFinalized is a free log retrieval operation binding the contract event 0x26464d64ddb13f6d187de632d165bd1065382ec0b66c25c648957116e7bc25c8.

Solidity: event EthWithdrawalFinalized(address indexed to, uint256 amount)

func (*IZkSyncFilterer) FilterExecuteUpgrade

func (_IZkSync *IZkSyncFilterer) FilterExecuteUpgrade(opts *bind.FilterOpts) (*IZkSyncExecuteUpgradeIterator, error)

FilterExecuteUpgrade is a free log retrieval operation binding the contract event 0x1dabfc3f4f6a4e74e19be10cc9d1d8e23db03e415d5d3547a1a7d5eb766513ba.

Solidity: event ExecuteUpgrade(((address,uint8,bool,bytes4[])[],address,bytes) diamondCut)

func (*IZkSyncFilterer) FilterFreeze

func (_IZkSync *IZkSyncFilterer) FilterFreeze(opts *bind.FilterOpts) (*IZkSyncFreezeIterator, error)

FilterFreeze is a free log retrieval operation binding the contract event 0x615acbaede366d76a8b8cb2a9ada6a71495f0786513d71aa97aaf0c3910b78de.

Solidity: event Freeze()

func (*IZkSyncFilterer) FilterIsPorterAvailableStatusUpdate

func (_IZkSync *IZkSyncFilterer) FilterIsPorterAvailableStatusUpdate(opts *bind.FilterOpts) (*IZkSyncIsPorterAvailableStatusUpdateIterator, error)

FilterIsPorterAvailableStatusUpdate is a free log retrieval operation binding the contract event 0x036b81a8a07344698cb5aa4142c5669a9317c9ce905264a08f0b9f9331883936.

Solidity: event IsPorterAvailableStatusUpdate(bool isPorterAvailable)

func (*IZkSyncFilterer) FilterNewAdmin added in v0.4.0

func (_IZkSync *IZkSyncFilterer) FilterNewAdmin(opts *bind.FilterOpts, oldAdmin []common.Address, newAdmin []common.Address) (*IZkSyncNewAdminIterator, error)

FilterNewAdmin is a free log retrieval operation binding the contract event 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc.

Solidity: event NewAdmin(address indexed oldAdmin, address indexed newAdmin)

func (*IZkSyncFilterer) FilterNewGovernor

func (_IZkSync *IZkSyncFilterer) FilterNewGovernor(opts *bind.FilterOpts, oldGovernor []common.Address, newGovernor []common.Address) (*IZkSyncNewGovernorIterator, error)

FilterNewGovernor is a free log retrieval operation binding the contract event 0x1ba669d4a78521f2ad26e8e0fcbcdd626a63f34d68f326bc232a3abe2a5d042a.

Solidity: event NewGovernor(address indexed oldGovernor, address indexed newGovernor)

func (*IZkSyncFilterer) FilterNewPendingAdmin added in v0.4.0

func (_IZkSync *IZkSyncFilterer) FilterNewPendingAdmin(opts *bind.FilterOpts, oldPendingAdmin []common.Address, newPendingAdmin []common.Address) (*IZkSyncNewPendingAdminIterator, error)

FilterNewPendingAdmin is a free log retrieval operation binding the contract event 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9.

Solidity: event NewPendingAdmin(address indexed oldPendingAdmin, address indexed newPendingAdmin)

func (*IZkSyncFilterer) FilterNewPendingGovernor

func (_IZkSync *IZkSyncFilterer) FilterNewPendingGovernor(opts *bind.FilterOpts, oldPendingGovernor []common.Address, newPendingGovernor []common.Address) (*IZkSyncNewPendingGovernorIterator, error)

FilterNewPendingGovernor is a free log retrieval operation binding the contract event 0x7d767be5a57784412a13945bd5114db84487d2b007bfcdb2f449fc9ea35437f7.

Solidity: event NewPendingGovernor(address indexed oldPendingGovernor, address indexed newPendingGovernor)

func (*IZkSyncFilterer) FilterNewPriorityRequest

func (_IZkSync *IZkSyncFilterer) FilterNewPriorityRequest(opts *bind.FilterOpts) (*IZkSyncNewPriorityRequestIterator, error)

FilterNewPriorityRequest is a free log retrieval operation binding the contract event 0x4531cd5795773d7101c17bdeb9f5ab7f47d7056017506f937083be5d6e77a382.

Solidity: event NewPriorityRequest(uint256 txId, bytes32 txHash, uint64 expirationTimestamp, (uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes) transaction, bytes[] factoryDeps)

func (*IZkSyncFilterer) FilterNewPriorityTxMaxGasLimit

func (_IZkSync *IZkSyncFilterer) FilterNewPriorityTxMaxGasLimit(opts *bind.FilterOpts) (*IZkSyncNewPriorityTxMaxGasLimitIterator, error)

FilterNewPriorityTxMaxGasLimit is a free log retrieval operation binding the contract event 0x83dd728f7e76a849126c55ffabdc6e299eb8c85dccf12498701376d9f5c954d1.

Solidity: event NewPriorityTxMaxGasLimit(uint256 oldPriorityTxMaxGasLimit, uint256 newPriorityTxMaxGasLimit)

func (*IZkSyncFilterer) FilterUnfreeze

func (_IZkSync *IZkSyncFilterer) FilterUnfreeze(opts *bind.FilterOpts) (*IZkSyncUnfreezeIterator, error)

FilterUnfreeze is a free log retrieval operation binding the contract event 0x2f05ba71d0df11bf5fa562a6569d70c4f80da84284badbe015ce1456063d0ded.

Solidity: event Unfreeze()

func (*IZkSyncFilterer) FilterValidatorStatusUpdate

func (_IZkSync *IZkSyncFilterer) FilterValidatorStatusUpdate(opts *bind.FilterOpts, validatorAddress []common.Address) (*IZkSyncValidatorStatusUpdateIterator, error)

FilterValidatorStatusUpdate is a free log retrieval operation binding the contract event 0x065b77b53864e46fda3d8986acb51696223d6dde7ced42441eb150bae6d48136.

Solidity: event ValidatorStatusUpdate(address indexed validatorAddress, bool isActive)

func (*IZkSyncFilterer) ParseBlockCommit

func (_IZkSync *IZkSyncFilterer) ParseBlockCommit(log types.Log) (*IZkSyncBlockCommit, error)

ParseBlockCommit is a log parse operation binding the contract event 0x8f2916b2f2d78cc5890ead36c06c0f6d5d112c7e103589947e8e2f0d6eddb763.

Solidity: event BlockCommit(uint256 indexed batchNumber, bytes32 indexed batchHash, bytes32 indexed commitment)

func (*IZkSyncFilterer) ParseBlockExecution

func (_IZkSync *IZkSyncFilterer) ParseBlockExecution(log types.Log) (*IZkSyncBlockExecution, error)

ParseBlockExecution is a log parse operation binding the contract event 0x2402307311a4d6604e4e7b4c8a15a7e1213edb39c16a31efa70afb06030d3165.

Solidity: event BlockExecution(uint256 indexed batchNumber, bytes32 indexed batchHash, bytes32 indexed commitment)

func (*IZkSyncFilterer) ParseBlocksRevert

func (_IZkSync *IZkSyncFilterer) ParseBlocksRevert(log types.Log) (*IZkSyncBlocksRevert, error)

ParseBlocksRevert is a log parse operation binding the contract event 0x8bd4b15ea7d1bc41ea9abc3fc487ccb89cd678a00786584714faa9d751c84ee5.

Solidity: event BlocksRevert(uint256 totalBatchesCommitted, uint256 totalBatchesVerified, uint256 totalBatchesExecuted)

func (*IZkSyncFilterer) ParseBlocksVerification

func (_IZkSync *IZkSyncFilterer) ParseBlocksVerification(log types.Log) (*IZkSyncBlocksVerification, error)

ParseBlocksVerification is a log parse operation binding the contract event 0x22c9005dd88c18b552a1cd7e8b3b937fcde9ca69213c1f658f54d572e4877a81.

Solidity: event BlocksVerification(uint256 indexed previousLastVerifiedBatch, uint256 indexed currentLastVerifiedBatch)

func (*IZkSyncFilterer) ParseEthWithdrawalFinalized

func (_IZkSync *IZkSyncFilterer) ParseEthWithdrawalFinalized(log types.Log) (*IZkSyncEthWithdrawalFinalized, error)

ParseEthWithdrawalFinalized is a log parse operation binding the contract event 0x26464d64ddb13f6d187de632d165bd1065382ec0b66c25c648957116e7bc25c8.

Solidity: event EthWithdrawalFinalized(address indexed to, uint256 amount)

func (*IZkSyncFilterer) ParseExecuteUpgrade

func (_IZkSync *IZkSyncFilterer) ParseExecuteUpgrade(log types.Log) (*IZkSyncExecuteUpgrade, error)

ParseExecuteUpgrade is a log parse operation binding the contract event 0x1dabfc3f4f6a4e74e19be10cc9d1d8e23db03e415d5d3547a1a7d5eb766513ba.

Solidity: event ExecuteUpgrade(((address,uint8,bool,bytes4[])[],address,bytes) diamondCut)

func (*IZkSyncFilterer) ParseFreeze

func (_IZkSync *IZkSyncFilterer) ParseFreeze(log types.Log) (*IZkSyncFreeze, error)

ParseFreeze is a log parse operation binding the contract event 0x615acbaede366d76a8b8cb2a9ada6a71495f0786513d71aa97aaf0c3910b78de.

Solidity: event Freeze()

func (*IZkSyncFilterer) ParseIsPorterAvailableStatusUpdate

func (_IZkSync *IZkSyncFilterer) ParseIsPorterAvailableStatusUpdate(log types.Log) (*IZkSyncIsPorterAvailableStatusUpdate, error)

ParseIsPorterAvailableStatusUpdate is a log parse operation binding the contract event 0x036b81a8a07344698cb5aa4142c5669a9317c9ce905264a08f0b9f9331883936.

Solidity: event IsPorterAvailableStatusUpdate(bool isPorterAvailable)

func (*IZkSyncFilterer) ParseNewAdmin added in v0.4.0

func (_IZkSync *IZkSyncFilterer) ParseNewAdmin(log types.Log) (*IZkSyncNewAdmin, error)

ParseNewAdmin is a log parse operation binding the contract event 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc.

Solidity: event NewAdmin(address indexed oldAdmin, address indexed newAdmin)

func (*IZkSyncFilterer) ParseNewGovernor

func (_IZkSync *IZkSyncFilterer) ParseNewGovernor(log types.Log) (*IZkSyncNewGovernor, error)

ParseNewGovernor is a log parse operation binding the contract event 0x1ba669d4a78521f2ad26e8e0fcbcdd626a63f34d68f326bc232a3abe2a5d042a.

Solidity: event NewGovernor(address indexed oldGovernor, address indexed newGovernor)

func (*IZkSyncFilterer) ParseNewPendingAdmin added in v0.4.0

func (_IZkSync *IZkSyncFilterer) ParseNewPendingAdmin(log types.Log) (*IZkSyncNewPendingAdmin, error)

ParseNewPendingAdmin is a log parse operation binding the contract event 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9.

Solidity: event NewPendingAdmin(address indexed oldPendingAdmin, address indexed newPendingAdmin)

func (*IZkSyncFilterer) ParseNewPendingGovernor

func (_IZkSync *IZkSyncFilterer) ParseNewPendingGovernor(log types.Log) (*IZkSyncNewPendingGovernor, error)

ParseNewPendingGovernor is a log parse operation binding the contract event 0x7d767be5a57784412a13945bd5114db84487d2b007bfcdb2f449fc9ea35437f7.

Solidity: event NewPendingGovernor(address indexed oldPendingGovernor, address indexed newPendingGovernor)

func (*IZkSyncFilterer) ParseNewPriorityRequest

func (_IZkSync *IZkSyncFilterer) ParseNewPriorityRequest(log types.Log) (*IZkSyncNewPriorityRequest, error)

ParseNewPriorityRequest is a log parse operation binding the contract event 0x4531cd5795773d7101c17bdeb9f5ab7f47d7056017506f937083be5d6e77a382.

Solidity: event NewPriorityRequest(uint256 txId, bytes32 txHash, uint64 expirationTimestamp, (uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes) transaction, bytes[] factoryDeps)

func (*IZkSyncFilterer) ParseNewPriorityTxMaxGasLimit

func (_IZkSync *IZkSyncFilterer) ParseNewPriorityTxMaxGasLimit(log types.Log) (*IZkSyncNewPriorityTxMaxGasLimit, error)

ParseNewPriorityTxMaxGasLimit is a log parse operation binding the contract event 0x83dd728f7e76a849126c55ffabdc6e299eb8c85dccf12498701376d9f5c954d1.

Solidity: event NewPriorityTxMaxGasLimit(uint256 oldPriorityTxMaxGasLimit, uint256 newPriorityTxMaxGasLimit)

func (*IZkSyncFilterer) ParseUnfreeze

func (_IZkSync *IZkSyncFilterer) ParseUnfreeze(log types.Log) (*IZkSyncUnfreeze, error)

ParseUnfreeze is a log parse operation binding the contract event 0x2f05ba71d0df11bf5fa562a6569d70c4f80da84284badbe015ce1456063d0ded.

Solidity: event Unfreeze()

func (*IZkSyncFilterer) ParseValidatorStatusUpdate

func (_IZkSync *IZkSyncFilterer) ParseValidatorStatusUpdate(log types.Log) (*IZkSyncValidatorStatusUpdate, error)

ParseValidatorStatusUpdate is a log parse operation binding the contract event 0x065b77b53864e46fda3d8986acb51696223d6dde7ced42441eb150bae6d48136.

Solidity: event ValidatorStatusUpdate(address indexed validatorAddress, bool isActive)

func (*IZkSyncFilterer) WatchBlockCommit

func (_IZkSync *IZkSyncFilterer) WatchBlockCommit(opts *bind.WatchOpts, sink chan<- *IZkSyncBlockCommit, batchNumber []*big.Int, batchHash [][32]byte, commitment [][32]byte) (event.Subscription, error)

WatchBlockCommit is a free log subscription operation binding the contract event 0x8f2916b2f2d78cc5890ead36c06c0f6d5d112c7e103589947e8e2f0d6eddb763.

Solidity: event BlockCommit(uint256 indexed batchNumber, bytes32 indexed batchHash, bytes32 indexed commitment)

func (*IZkSyncFilterer) WatchBlockExecution

func (_IZkSync *IZkSyncFilterer) WatchBlockExecution(opts *bind.WatchOpts, sink chan<- *IZkSyncBlockExecution, batchNumber []*big.Int, batchHash [][32]byte, commitment [][32]byte) (event.Subscription, error)

WatchBlockExecution is a free log subscription operation binding the contract event 0x2402307311a4d6604e4e7b4c8a15a7e1213edb39c16a31efa70afb06030d3165.

Solidity: event BlockExecution(uint256 indexed batchNumber, bytes32 indexed batchHash, bytes32 indexed commitment)

func (*IZkSyncFilterer) WatchBlocksRevert

func (_IZkSync *IZkSyncFilterer) WatchBlocksRevert(opts *bind.WatchOpts, sink chan<- *IZkSyncBlocksRevert) (event.Subscription, error)

WatchBlocksRevert is a free log subscription operation binding the contract event 0x8bd4b15ea7d1bc41ea9abc3fc487ccb89cd678a00786584714faa9d751c84ee5.

Solidity: event BlocksRevert(uint256 totalBatchesCommitted, uint256 totalBatchesVerified, uint256 totalBatchesExecuted)

func (*IZkSyncFilterer) WatchBlocksVerification

func (_IZkSync *IZkSyncFilterer) WatchBlocksVerification(opts *bind.WatchOpts, sink chan<- *IZkSyncBlocksVerification, previousLastVerifiedBatch []*big.Int, currentLastVerifiedBatch []*big.Int) (event.Subscription, error)

WatchBlocksVerification is a free log subscription operation binding the contract event 0x22c9005dd88c18b552a1cd7e8b3b937fcde9ca69213c1f658f54d572e4877a81.

Solidity: event BlocksVerification(uint256 indexed previousLastVerifiedBatch, uint256 indexed currentLastVerifiedBatch)

func (*IZkSyncFilterer) WatchEthWithdrawalFinalized

func (_IZkSync *IZkSyncFilterer) WatchEthWithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *IZkSyncEthWithdrawalFinalized, to []common.Address) (event.Subscription, error)

WatchEthWithdrawalFinalized is a free log subscription operation binding the contract event 0x26464d64ddb13f6d187de632d165bd1065382ec0b66c25c648957116e7bc25c8.

Solidity: event EthWithdrawalFinalized(address indexed to, uint256 amount)

func (*IZkSyncFilterer) WatchExecuteUpgrade

func (_IZkSync *IZkSyncFilterer) WatchExecuteUpgrade(opts *bind.WatchOpts, sink chan<- *IZkSyncExecuteUpgrade) (event.Subscription, error)

WatchExecuteUpgrade is a free log subscription operation binding the contract event 0x1dabfc3f4f6a4e74e19be10cc9d1d8e23db03e415d5d3547a1a7d5eb766513ba.

Solidity: event ExecuteUpgrade(((address,uint8,bool,bytes4[])[],address,bytes) diamondCut)

func (*IZkSyncFilterer) WatchFreeze

func (_IZkSync *IZkSyncFilterer) WatchFreeze(opts *bind.WatchOpts, sink chan<- *IZkSyncFreeze) (event.Subscription, error)

WatchFreeze is a free log subscription operation binding the contract event 0x615acbaede366d76a8b8cb2a9ada6a71495f0786513d71aa97aaf0c3910b78de.

Solidity: event Freeze()

func (*IZkSyncFilterer) WatchIsPorterAvailableStatusUpdate

func (_IZkSync *IZkSyncFilterer) WatchIsPorterAvailableStatusUpdate(opts *bind.WatchOpts, sink chan<- *IZkSyncIsPorterAvailableStatusUpdate) (event.Subscription, error)

WatchIsPorterAvailableStatusUpdate is a free log subscription operation binding the contract event 0x036b81a8a07344698cb5aa4142c5669a9317c9ce905264a08f0b9f9331883936.

Solidity: event IsPorterAvailableStatusUpdate(bool isPorterAvailable)

func (*IZkSyncFilterer) WatchNewAdmin added in v0.4.0

func (_IZkSync *IZkSyncFilterer) WatchNewAdmin(opts *bind.WatchOpts, sink chan<- *IZkSyncNewAdmin, oldAdmin []common.Address, newAdmin []common.Address) (event.Subscription, error)

WatchNewAdmin is a free log subscription operation binding the contract event 0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc.

Solidity: event NewAdmin(address indexed oldAdmin, address indexed newAdmin)

func (*IZkSyncFilterer) WatchNewGovernor

func (_IZkSync *IZkSyncFilterer) WatchNewGovernor(opts *bind.WatchOpts, sink chan<- *IZkSyncNewGovernor, oldGovernor []common.Address, newGovernor []common.Address) (event.Subscription, error)

WatchNewGovernor is a free log subscription operation binding the contract event 0x1ba669d4a78521f2ad26e8e0fcbcdd626a63f34d68f326bc232a3abe2a5d042a.

Solidity: event NewGovernor(address indexed oldGovernor, address indexed newGovernor)

func (*IZkSyncFilterer) WatchNewPendingAdmin added in v0.4.0

func (_IZkSync *IZkSyncFilterer) WatchNewPendingAdmin(opts *bind.WatchOpts, sink chan<- *IZkSyncNewPendingAdmin, oldPendingAdmin []common.Address, newPendingAdmin []common.Address) (event.Subscription, error)

WatchNewPendingAdmin is a free log subscription operation binding the contract event 0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9.

Solidity: event NewPendingAdmin(address indexed oldPendingAdmin, address indexed newPendingAdmin)

func (*IZkSyncFilterer) WatchNewPendingGovernor

func (_IZkSync *IZkSyncFilterer) WatchNewPendingGovernor(opts *bind.WatchOpts, sink chan<- *IZkSyncNewPendingGovernor, oldPendingGovernor []common.Address, newPendingGovernor []common.Address) (event.Subscription, error)

WatchNewPendingGovernor is a free log subscription operation binding the contract event 0x7d767be5a57784412a13945bd5114db84487d2b007bfcdb2f449fc9ea35437f7.

Solidity: event NewPendingGovernor(address indexed oldPendingGovernor, address indexed newPendingGovernor)

func (*IZkSyncFilterer) WatchNewPriorityRequest

func (_IZkSync *IZkSyncFilterer) WatchNewPriorityRequest(opts *bind.WatchOpts, sink chan<- *IZkSyncNewPriorityRequest) (event.Subscription, error)

WatchNewPriorityRequest is a free log subscription operation binding the contract event 0x4531cd5795773d7101c17bdeb9f5ab7f47d7056017506f937083be5d6e77a382.

Solidity: event NewPriorityRequest(uint256 txId, bytes32 txHash, uint64 expirationTimestamp, (uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[4],bytes,bytes,uint256[],bytes,bytes) transaction, bytes[] factoryDeps)

func (*IZkSyncFilterer) WatchNewPriorityTxMaxGasLimit

func (_IZkSync *IZkSyncFilterer) WatchNewPriorityTxMaxGasLimit(opts *bind.WatchOpts, sink chan<- *IZkSyncNewPriorityTxMaxGasLimit) (event.Subscription, error)

WatchNewPriorityTxMaxGasLimit is a free log subscription operation binding the contract event 0x83dd728f7e76a849126c55ffabdc6e299eb8c85dccf12498701376d9f5c954d1.

Solidity: event NewPriorityTxMaxGasLimit(uint256 oldPriorityTxMaxGasLimit, uint256 newPriorityTxMaxGasLimit)

func (*IZkSyncFilterer) WatchUnfreeze

func (_IZkSync *IZkSyncFilterer) WatchUnfreeze(opts *bind.WatchOpts, sink chan<- *IZkSyncUnfreeze) (event.Subscription, error)

WatchUnfreeze is a free log subscription operation binding the contract event 0x2f05ba71d0df11bf5fa562a6569d70c4f80da84284badbe015ce1456063d0ded.

Solidity: event Unfreeze()

func (*IZkSyncFilterer) WatchValidatorStatusUpdate

func (_IZkSync *IZkSyncFilterer) WatchValidatorStatusUpdate(opts *bind.WatchOpts, sink chan<- *IZkSyncValidatorStatusUpdate, validatorAddress []common.Address) (event.Subscription, error)

WatchValidatorStatusUpdate is a free log subscription operation binding the contract event 0x065b77b53864e46fda3d8986acb51696223d6dde7ced42441eb150bae6d48136.

Solidity: event ValidatorStatusUpdate(address indexed validatorAddress, bool isActive)

type IZkSyncFreeze

type IZkSyncFreeze struct {
	Raw types.Log // Blockchain specific contextual infos
}

IZkSyncFreeze represents a Freeze event raised by the IZkSync contract.

type IZkSyncFreezeIterator

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

IZkSyncFreezeIterator is returned from FilterFreeze and is used to iterate over the raw logs and unpacked data for Freeze events raised by the IZkSync contract.

func (*IZkSyncFreezeIterator) Close

func (it *IZkSyncFreezeIterator) Close() error

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

func (*IZkSyncFreezeIterator) Error

func (it *IZkSyncFreezeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZkSyncFreezeIterator) Next

func (it *IZkSyncFreezeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IZkSyncIsPorterAvailableStatusUpdate

type IZkSyncIsPorterAvailableStatusUpdate struct {
	IsPorterAvailable bool
	Raw               types.Log // Blockchain specific contextual infos
}

IZkSyncIsPorterAvailableStatusUpdate represents a IsPorterAvailableStatusUpdate event raised by the IZkSync contract.

type IZkSyncIsPorterAvailableStatusUpdateIterator

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

IZkSyncIsPorterAvailableStatusUpdateIterator is returned from FilterIsPorterAvailableStatusUpdate and is used to iterate over the raw logs and unpacked data for IsPorterAvailableStatusUpdate events raised by the IZkSync contract.

func (*IZkSyncIsPorterAvailableStatusUpdateIterator) Close

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

func (*IZkSyncIsPorterAvailableStatusUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZkSyncIsPorterAvailableStatusUpdateIterator) 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 IZkSyncNewAdmin added in v0.4.0

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

IZkSyncNewAdmin represents a NewAdmin event raised by the IZkSync contract.

type IZkSyncNewAdminIterator added in v0.4.0

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

IZkSyncNewAdminIterator is returned from FilterNewAdmin and is used to iterate over the raw logs and unpacked data for NewAdmin events raised by the IZkSync contract.

func (*IZkSyncNewAdminIterator) Close added in v0.4.0

func (it *IZkSyncNewAdminIterator) Close() error

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

func (*IZkSyncNewAdminIterator) Error added in v0.4.0

func (it *IZkSyncNewAdminIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZkSyncNewAdminIterator) Next added in v0.4.0

func (it *IZkSyncNewAdminIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IZkSyncNewGovernor

type IZkSyncNewGovernor struct {
	OldGovernor common.Address
	NewGovernor common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

IZkSyncNewGovernor represents a NewGovernor event raised by the IZkSync contract.

type IZkSyncNewGovernorIterator

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

IZkSyncNewGovernorIterator is returned from FilterNewGovernor and is used to iterate over the raw logs and unpacked data for NewGovernor events raised by the IZkSync contract.

func (*IZkSyncNewGovernorIterator) Close

func (it *IZkSyncNewGovernorIterator) Close() error

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

func (*IZkSyncNewGovernorIterator) Error

func (it *IZkSyncNewGovernorIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZkSyncNewGovernorIterator) Next

func (it *IZkSyncNewGovernorIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IZkSyncNewPendingAdmin added in v0.4.0

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

IZkSyncNewPendingAdmin represents a NewPendingAdmin event raised by the IZkSync contract.

type IZkSyncNewPendingAdminIterator added in v0.4.0

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

IZkSyncNewPendingAdminIterator is returned from FilterNewPendingAdmin and is used to iterate over the raw logs and unpacked data for NewPendingAdmin events raised by the IZkSync contract.

func (*IZkSyncNewPendingAdminIterator) Close added in v0.4.0

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

func (*IZkSyncNewPendingAdminIterator) Error added in v0.4.0

Error returns any retrieval or parsing error occurred during filtering.

func (*IZkSyncNewPendingAdminIterator) Next added in v0.4.0

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 IZkSyncNewPendingGovernor

type IZkSyncNewPendingGovernor struct {
	OldPendingGovernor common.Address
	NewPendingGovernor common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

IZkSyncNewPendingGovernor represents a NewPendingGovernor event raised by the IZkSync contract.

type IZkSyncNewPendingGovernorIterator

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

IZkSyncNewPendingGovernorIterator is returned from FilterNewPendingGovernor and is used to iterate over the raw logs and unpacked data for NewPendingGovernor events raised by the IZkSync contract.

func (*IZkSyncNewPendingGovernorIterator) Close

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

func (*IZkSyncNewPendingGovernorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZkSyncNewPendingGovernorIterator) 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 IZkSyncNewPriorityRequest

type IZkSyncNewPriorityRequest struct {
	TxId                *big.Int
	TxHash              [32]byte
	ExpirationTimestamp uint64
	Transaction         IMailboxL2CanonicalTransaction
	FactoryDeps         [][]byte
	Raw                 types.Log // Blockchain specific contextual infos
}

IZkSyncNewPriorityRequest represents a NewPriorityRequest event raised by the IZkSync contract.

type IZkSyncNewPriorityRequestIterator

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

IZkSyncNewPriorityRequestIterator is returned from FilterNewPriorityRequest and is used to iterate over the raw logs and unpacked data for NewPriorityRequest events raised by the IZkSync contract.

func (*IZkSyncNewPriorityRequestIterator) Close

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

func (*IZkSyncNewPriorityRequestIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZkSyncNewPriorityRequestIterator) 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 IZkSyncNewPriorityTxMaxGasLimit

type IZkSyncNewPriorityTxMaxGasLimit struct {
	OldPriorityTxMaxGasLimit *big.Int
	NewPriorityTxMaxGasLimit *big.Int
	Raw                      types.Log // Blockchain specific contextual infos
}

IZkSyncNewPriorityTxMaxGasLimit represents a NewPriorityTxMaxGasLimit event raised by the IZkSync contract.

type IZkSyncNewPriorityTxMaxGasLimitIterator

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

IZkSyncNewPriorityTxMaxGasLimitIterator is returned from FilterNewPriorityTxMaxGasLimit and is used to iterate over the raw logs and unpacked data for NewPriorityTxMaxGasLimit events raised by the IZkSync contract.

func (*IZkSyncNewPriorityTxMaxGasLimitIterator) Close

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

func (*IZkSyncNewPriorityTxMaxGasLimitIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZkSyncNewPriorityTxMaxGasLimitIterator) 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 IZkSyncRaw

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

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

func (*IZkSyncRaw) Call

func (_IZkSync *IZkSyncRaw) 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 (*IZkSyncRaw) Transact

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

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

func (*IZkSyncRaw) Transfer

func (_IZkSync *IZkSyncRaw) 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 IZkSyncSession

type IZkSyncSession struct {
	Contract     *IZkSync          // 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
}

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

func (*IZkSyncSession) AcceptAdmin added in v0.4.0

func (_IZkSync *IZkSyncSession) AcceptAdmin() (*types.Transaction, error)

AcceptAdmin is a paid mutator transaction binding the contract method 0x0e18b681.

Solidity: function acceptAdmin() returns()

func (*IZkSyncSession) AcceptGovernor

func (_IZkSync *IZkSyncSession) AcceptGovernor() (*types.Transaction, error)

AcceptGovernor is a paid mutator transaction binding the contract method 0xe58bb639.

Solidity: function acceptGovernor() returns()

func (*IZkSyncSession) CommitBatches added in v0.4.0

func (_IZkSync *IZkSyncSession) CommitBatches(_lastCommittedBatchData IExecutorStoredBatchInfo, _newBatchesData []IExecutorCommitBatchInfo) (*types.Transaction, error)

CommitBatches is a paid mutator transaction binding the contract method 0x701f58c5.

Solidity: function commitBatches((uint64,bytes32,uint64,uint256,bytes32,bytes32,uint256,bytes32) _lastCommittedBatchData, (uint64,uint64,uint64,bytes32,uint256,bytes32,bytes32,bytes32,bytes,bytes)[] _newBatchesData) returns()

func (*IZkSyncSession) ExecuteBatches added in v0.4.0

func (_IZkSync *IZkSyncSession) ExecuteBatches(_batchesData []IExecutorStoredBatchInfo) (*types.Transaction, error)

ExecuteBatches is a paid mutator transaction binding the contract method 0xc3d93e7c.

Solidity: function executeBatches((uint64,bytes32,uint64,uint256,bytes32,bytes32,uint256,bytes32)[] _batchesData) returns()

func (*IZkSyncSession) ExecuteUpgrade

func (_IZkSync *IZkSyncSession) ExecuteUpgrade(_diamondCut DiamondDiamondCutData) (*types.Transaction, error)

ExecuteUpgrade is a paid mutator transaction binding the contract method 0xa9f6d941.

Solidity: function executeUpgrade(((address,uint8,bool,bytes4[])[],address,bytes) _diamondCut) returns()

func (*IZkSyncSession) FacetAddress

func (_IZkSync *IZkSyncSession) FacetAddress(_selector [4]byte) (common.Address, error)

FacetAddress is a free data retrieval call binding the contract method 0xcdffacc6.

Solidity: function facetAddress(bytes4 _selector) view returns(address facet)

func (*IZkSyncSession) FacetAddresses

func (_IZkSync *IZkSyncSession) FacetAddresses() ([]common.Address, error)

FacetAddresses is a free data retrieval call binding the contract method 0x52ef6b2c.

Solidity: function facetAddresses() view returns(address[] facets)

func (*IZkSyncSession) FacetFunctionSelectors

func (_IZkSync *IZkSyncSession) FacetFunctionSelectors(_facet common.Address) ([][4]byte, error)

FacetFunctionSelectors is a free data retrieval call binding the contract method 0xadfca15e.

Solidity: function facetFunctionSelectors(address _facet) view returns(bytes4[])

func (*IZkSyncSession) Facets

func (_IZkSync *IZkSyncSession) Facets() ([]IGettersFacet, error)

Facets is a free data retrieval call binding the contract method 0x7a0ed627.

Solidity: function facets() view returns((address,bytes4[])[])

func (*IZkSyncSession) FinalizeEthWithdrawal

func (_IZkSync *IZkSyncSession) FinalizeEthWithdrawal(_l2BatchNumber *big.Int, _l2MessageIndex *big.Int, _l2TxNumberInBatch uint16, _message []byte, _merkleProof [][32]byte) (*types.Transaction, error)

FinalizeEthWithdrawal is a paid mutator transaction binding the contract method 0x6c0960f9.

Solidity: function finalizeEthWithdrawal(uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes _message, bytes32[] _merkleProof) returns()

func (*IZkSyncSession) FreezeDiamond

func (_IZkSync *IZkSyncSession) FreezeDiamond() (*types.Transaction, error)

FreezeDiamond is a paid mutator transaction binding the contract method 0x27ae4c16.

Solidity: function freezeDiamond() returns()

func (*IZkSyncSession) GetFirstUnprocessedPriorityTx

func (_IZkSync *IZkSyncSession) GetFirstUnprocessedPriorityTx() (*big.Int, error)

GetFirstUnprocessedPriorityTx is a free data retrieval call binding the contract method 0x79823c9a.

Solidity: function getFirstUnprocessedPriorityTx() view returns(uint256)

func (*IZkSyncSession) GetGovernor

func (_IZkSync *IZkSyncSession) GetGovernor() (common.Address, error)

GetGovernor is a free data retrieval call binding the contract method 0x4fc07d75.

Solidity: function getGovernor() view returns(address)

func (*IZkSyncSession) GetL2BootloaderBytecodeHash

func (_IZkSync *IZkSyncSession) GetL2BootloaderBytecodeHash() ([32]byte, error)

GetL2BootloaderBytecodeHash is a free data retrieval call binding the contract method 0xd86970d8.

Solidity: function getL2BootloaderBytecodeHash() view returns(bytes32)

func (*IZkSyncSession) GetL2DefaultAccountBytecodeHash

func (_IZkSync *IZkSyncSession) GetL2DefaultAccountBytecodeHash() ([32]byte, error)

GetL2DefaultAccountBytecodeHash is a free data retrieval call binding the contract method 0xfd791f3c.

Solidity: function getL2DefaultAccountBytecodeHash() view returns(bytes32)

func (*IZkSyncSession) GetL2SystemContractsUpgradeBatchNumber added in v0.4.0

func (_IZkSync *IZkSyncSession) GetL2SystemContractsUpgradeBatchNumber() (*big.Int, error)

GetL2SystemContractsUpgradeBatchNumber is a free data retrieval call binding the contract method 0xe5355c75.

Solidity: function getL2SystemContractsUpgradeBatchNumber() view returns(uint256)

func (*IZkSyncSession) GetL2SystemContractsUpgradeTxHash added in v0.4.0

func (_IZkSync *IZkSyncSession) GetL2SystemContractsUpgradeTxHash() ([32]byte, error)

GetL2SystemContractsUpgradeTxHash is a free data retrieval call binding the contract method 0x7b30c8da.

Solidity: function getL2SystemContractsUpgradeTxHash() view returns(bytes32)

func (*IZkSyncSession) GetName added in v0.4.0

func (_IZkSync *IZkSyncSession) GetName() (string, error)

GetName is a free data retrieval call binding the contract method 0x17d7de7c.

Solidity: function getName() view returns(string)

func (*IZkSyncSession) GetPendingGovernor

func (_IZkSync *IZkSyncSession) GetPendingGovernor() (common.Address, error)

GetPendingGovernor is a free data retrieval call binding the contract method 0x8665b150.

Solidity: function getPendingGovernor() view returns(address)

func (*IZkSyncSession) GetPriorityQueueSize

func (_IZkSync *IZkSyncSession) GetPriorityQueueSize() (*big.Int, error)

GetPriorityQueueSize is a free data retrieval call binding the contract method 0x631f4bac.

Solidity: function getPriorityQueueSize() view returns(uint256)

func (*IZkSyncSession) GetPriorityTxMaxGasLimit

func (_IZkSync *IZkSyncSession) GetPriorityTxMaxGasLimit() (*big.Int, error)

GetPriorityTxMaxGasLimit is a free data retrieval call binding the contract method 0x0ec6b0b7.

Solidity: function getPriorityTxMaxGasLimit() view returns(uint256)

func (*IZkSyncSession) GetProtocolVersion added in v0.4.0

func (_IZkSync *IZkSyncSession) GetProtocolVersion() (*big.Int, error)

GetProtocolVersion is a free data retrieval call binding the contract method 0x33ce93fe.

Solidity: function getProtocolVersion() view returns(uint256)

func (*IZkSyncSession) GetTotalBatchesCommitted added in v0.4.0

func (_IZkSync *IZkSyncSession) GetTotalBatchesCommitted() (*big.Int, error)

GetTotalBatchesCommitted is a free data retrieval call binding the contract method 0xdb1f0bf9.

Solidity: function getTotalBatchesCommitted() view returns(uint256)

func (*IZkSyncSession) GetTotalBatchesExecuted added in v0.4.0

func (_IZkSync *IZkSyncSession) GetTotalBatchesExecuted() (*big.Int, error)

GetTotalBatchesExecuted is a free data retrieval call binding the contract method 0xb8c2f66f.

Solidity: function getTotalBatchesExecuted() view returns(uint256)

func (*IZkSyncSession) GetTotalBatchesVerified added in v0.4.0

func (_IZkSync *IZkSyncSession) GetTotalBatchesVerified() (*big.Int, error)

GetTotalBatchesVerified is a free data retrieval call binding the contract method 0xef3f0bae.

Solidity: function getTotalBatchesVerified() view returns(uint256)

func (*IZkSyncSession) GetTotalPriorityTxs

func (_IZkSync *IZkSyncSession) GetTotalPriorityTxs() (*big.Int, error)

GetTotalPriorityTxs is a free data retrieval call binding the contract method 0xa1954fc5.

Solidity: function getTotalPriorityTxs() view returns(uint256)

func (*IZkSyncSession) GetVerifier

func (_IZkSync *IZkSyncSession) GetVerifier() (common.Address, error)

GetVerifier is a free data retrieval call binding the contract method 0x46657fe9.

Solidity: function getVerifier() view returns(address)

func (*IZkSyncSession) GetVerifierParams

func (_IZkSync *IZkSyncSession) GetVerifierParams() (VerifierParams, error)

GetVerifierParams is a free data retrieval call binding the contract method 0x18e3a941.

Solidity: function getVerifierParams() view returns((bytes32,bytes32,bytes32))

func (*IZkSyncSession) IsDiamondStorageFrozen

func (_IZkSync *IZkSyncSession) IsDiamondStorageFrozen() (bool, error)

IsDiamondStorageFrozen is a free data retrieval call binding the contract method 0x29b98c67.

Solidity: function isDiamondStorageFrozen() view returns(bool)

func (*IZkSyncSession) IsEthWithdrawalFinalized

func (_IZkSync *IZkSyncSession) IsEthWithdrawalFinalized(_l2BatchNumber *big.Int, _l2MessageIndex *big.Int) (bool, error)

IsEthWithdrawalFinalized is a free data retrieval call binding the contract method 0xbd7c5412.

Solidity: function isEthWithdrawalFinalized(uint256 _l2BatchNumber, uint256 _l2MessageIndex) view returns(bool)

func (*IZkSyncSession) IsFacetFreezable

func (_IZkSync *IZkSyncSession) IsFacetFreezable(_facet common.Address) (bool, error)

IsFacetFreezable is a free data retrieval call binding the contract method 0xc3bbd2d7.

Solidity: function isFacetFreezable(address _facet) view returns(bool isFreezable)

func (*IZkSyncSession) IsFunctionFreezable

func (_IZkSync *IZkSyncSession) IsFunctionFreezable(_selector [4]byte) (bool, error)

IsFunctionFreezable is a free data retrieval call binding the contract method 0xe81e0ba1.

Solidity: function isFunctionFreezable(bytes4 _selector) view returns(bool)

func (*IZkSyncSession) IsValidator

func (_IZkSync *IZkSyncSession) IsValidator(_address common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address _address) view returns(bool)

func (*IZkSyncSession) L2LogsRootHash

func (_IZkSync *IZkSyncSession) L2LogsRootHash(_batchNumber *big.Int) ([32]byte, error)

L2LogsRootHash is a free data retrieval call binding the contract method 0x9cd939e4.

Solidity: function l2LogsRootHash(uint256 _batchNumber) view returns(bytes32 hash)

func (*IZkSyncSession) L2TransactionBaseCost

func (_IZkSync *IZkSyncSession) L2TransactionBaseCost(_gasPrice *big.Int, _l2GasLimit *big.Int, _l2GasPerPubdataByteLimit *big.Int) (*big.Int, error)

L2TransactionBaseCost is a free data retrieval call binding the contract method 0xb473318e.

Solidity: function l2TransactionBaseCost(uint256 _gasPrice, uint256 _l2GasLimit, uint256 _l2GasPerPubdataByteLimit) view returns(uint256)

func (*IZkSyncSession) PriorityQueueFrontOperation

func (_IZkSync *IZkSyncSession) PriorityQueueFrontOperation() (PriorityOperation, error)

PriorityQueueFrontOperation is a free data retrieval call binding the contract method 0x56142d7a.

Solidity: function priorityQueueFrontOperation() view returns((bytes32,uint64,uint192))

func (*IZkSyncSession) ProveBatches added in v0.4.0

func (_IZkSync *IZkSyncSession) ProveBatches(_prevBatch IExecutorStoredBatchInfo, _committedBatches []IExecutorStoredBatchInfo, _proof IExecutorProofInput) (*types.Transaction, error)

ProveBatches is a paid mutator transaction binding the contract method 0x7f61885c.

Solidity: function proveBatches((uint64,bytes32,uint64,uint256,bytes32,bytes32,uint256,bytes32) _prevBatch, (uint64,bytes32,uint64,uint256,bytes32,bytes32,uint256,bytes32)[] _committedBatches, (uint256[],uint256[]) _proof) returns()

func (*IZkSyncSession) ProveL1ToL2TransactionStatus

func (_IZkSync *IZkSyncSession) ProveL1ToL2TransactionStatus(_l2TxHash [32]byte, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int, _l2TxNumberInBatch uint16, _merkleProof [][32]byte, _status uint8) (bool, error)

ProveL1ToL2TransactionStatus is a free data retrieval call binding the contract method 0x042901c7.

Solidity: function proveL1ToL2TransactionStatus(bytes32 _l2TxHash, uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes32[] _merkleProof, uint8 _status) view returns(bool)

func (*IZkSyncSession) ProveL2LogInclusion

func (_IZkSync *IZkSyncSession) ProveL2LogInclusion(_l2BatchNumber *big.Int, _index *big.Int, _log L2Log, _proof [][32]byte) (bool, error)

ProveL2LogInclusion is a free data retrieval call binding the contract method 0x263b7f8e.

Solidity: function proveL2LogInclusion(uint256 _l2BatchNumber, uint256 _index, (uint8,bool,uint16,address,bytes32,bytes32) _log, bytes32[] _proof) view returns(bool)

func (*IZkSyncSession) ProveL2MessageInclusion

func (_IZkSync *IZkSyncSession) ProveL2MessageInclusion(_l2BatchNumber *big.Int, _index *big.Int, _message L2Message, _proof [][32]byte) (bool, error)

ProveL2MessageInclusion is a free data retrieval call binding the contract method 0xe4948f43.

Solidity: function proveL2MessageInclusion(uint256 _l2BatchNumber, uint256 _index, (uint16,address,bytes) _message, bytes32[] _proof) view returns(bool)

func (*IZkSyncSession) RequestL2Transaction

func (_IZkSync *IZkSyncSession) RequestL2Transaction(_contractL2 common.Address, _l2Value *big.Int, _calldata []byte, _l2GasLimit *big.Int, _l2GasPerPubdataByteLimit *big.Int, _factoryDeps [][]byte, _refundRecipient common.Address) (*types.Transaction, error)

RequestL2Transaction is a paid mutator transaction binding the contract method 0xeb672419.

Solidity: function requestL2Transaction(address _contractL2, uint256 _l2Value, bytes _calldata, uint256 _l2GasLimit, uint256 _l2GasPerPubdataByteLimit, bytes[] _factoryDeps, address _refundRecipient) payable returns(bytes32 canonicalTxHash)

func (*IZkSyncSession) RevertBatches added in v0.4.0

func (_IZkSync *IZkSyncSession) RevertBatches(_newLastBatch *big.Int) (*types.Transaction, error)

RevertBatches is a paid mutator transaction binding the contract method 0x97c09d34.

Solidity: function revertBatches(uint256 _newLastBatch) returns()

func (*IZkSyncSession) SetPendingAdmin added in v0.4.0

func (_IZkSync *IZkSyncSession) SetPendingAdmin(_newPendingAdmin common.Address) (*types.Transaction, error)

SetPendingAdmin is a paid mutator transaction binding the contract method 0x4dd18bf5.

Solidity: function setPendingAdmin(address _newPendingAdmin) returns()

func (*IZkSyncSession) SetPendingGovernor

func (_IZkSync *IZkSyncSession) SetPendingGovernor(_newPendingGovernor common.Address) (*types.Transaction, error)

SetPendingGovernor is a paid mutator transaction binding the contract method 0xf235757f.

Solidity: function setPendingGovernor(address _newPendingGovernor) returns()

func (*IZkSyncSession) SetPorterAvailability

func (_IZkSync *IZkSyncSession) SetPorterAvailability(_zkPorterIsAvailable bool) (*types.Transaction, error)

SetPorterAvailability is a paid mutator transaction binding the contract method 0x1cc5d103.

Solidity: function setPorterAvailability(bool _zkPorterIsAvailable) returns()

func (*IZkSyncSession) SetPriorityTxMaxGasLimit

func (_IZkSync *IZkSyncSession) SetPriorityTxMaxGasLimit(_newPriorityTxMaxGasLimit *big.Int) (*types.Transaction, error)

SetPriorityTxMaxGasLimit is a paid mutator transaction binding the contract method 0xbe6f11cf.

Solidity: function setPriorityTxMaxGasLimit(uint256 _newPriorityTxMaxGasLimit) returns()

func (*IZkSyncSession) SetValidator

func (_IZkSync *IZkSyncSession) SetValidator(_validator common.Address, _active bool) (*types.Transaction, error)

SetValidator is a paid mutator transaction binding the contract method 0x4623c91d.

Solidity: function setValidator(address _validator, bool _active) returns()

func (*IZkSyncSession) StoredBatchHash added in v0.4.0

func (_IZkSync *IZkSyncSession) StoredBatchHash(_batchNumber *big.Int) ([32]byte, error)

StoredBatchHash is a free data retrieval call binding the contract method 0xb22dd78e.

Solidity: function storedBatchHash(uint256 _batchNumber) view returns(bytes32)

func (*IZkSyncSession) UnfreezeDiamond

func (_IZkSync *IZkSyncSession) UnfreezeDiamond() (*types.Transaction, error)

UnfreezeDiamond is a paid mutator transaction binding the contract method 0x17338945.

Solidity: function unfreezeDiamond() returns()

type IZkSyncTransactor

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

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

func NewIZkSyncTransactor

func NewIZkSyncTransactor(address common.Address, transactor bind.ContractTransactor) (*IZkSyncTransactor, error)

NewIZkSyncTransactor creates a new write-only instance of IZkSync, bound to a specific deployed contract.

func (*IZkSyncTransactor) AcceptAdmin added in v0.4.0

func (_IZkSync *IZkSyncTransactor) AcceptAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptAdmin is a paid mutator transaction binding the contract method 0x0e18b681.

Solidity: function acceptAdmin() returns()

func (*IZkSyncTransactor) AcceptGovernor

func (_IZkSync *IZkSyncTransactor) AcceptGovernor(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptGovernor is a paid mutator transaction binding the contract method 0xe58bb639.

Solidity: function acceptGovernor() returns()

func (*IZkSyncTransactor) CommitBatches added in v0.4.0

func (_IZkSync *IZkSyncTransactor) CommitBatches(opts *bind.TransactOpts, _lastCommittedBatchData IExecutorStoredBatchInfo, _newBatchesData []IExecutorCommitBatchInfo) (*types.Transaction, error)

CommitBatches is a paid mutator transaction binding the contract method 0x701f58c5.

Solidity: function commitBatches((uint64,bytes32,uint64,uint256,bytes32,bytes32,uint256,bytes32) _lastCommittedBatchData, (uint64,uint64,uint64,bytes32,uint256,bytes32,bytes32,bytes32,bytes,bytes)[] _newBatchesData) returns()

func (*IZkSyncTransactor) ExecuteBatches added in v0.4.0

func (_IZkSync *IZkSyncTransactor) ExecuteBatches(opts *bind.TransactOpts, _batchesData []IExecutorStoredBatchInfo) (*types.Transaction, error)

ExecuteBatches is a paid mutator transaction binding the contract method 0xc3d93e7c.

Solidity: function executeBatches((uint64,bytes32,uint64,uint256,bytes32,bytes32,uint256,bytes32)[] _batchesData) returns()

func (*IZkSyncTransactor) ExecuteUpgrade

func (_IZkSync *IZkSyncTransactor) ExecuteUpgrade(opts *bind.TransactOpts, _diamondCut DiamondDiamondCutData) (*types.Transaction, error)

ExecuteUpgrade is a paid mutator transaction binding the contract method 0xa9f6d941.

Solidity: function executeUpgrade(((address,uint8,bool,bytes4[])[],address,bytes) _diamondCut) returns()

func (*IZkSyncTransactor) FinalizeEthWithdrawal

func (_IZkSync *IZkSyncTransactor) FinalizeEthWithdrawal(opts *bind.TransactOpts, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int, _l2TxNumberInBatch uint16, _message []byte, _merkleProof [][32]byte) (*types.Transaction, error)

FinalizeEthWithdrawal is a paid mutator transaction binding the contract method 0x6c0960f9.

Solidity: function finalizeEthWithdrawal(uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes _message, bytes32[] _merkleProof) returns()

func (*IZkSyncTransactor) FreezeDiamond

func (_IZkSync *IZkSyncTransactor) FreezeDiamond(opts *bind.TransactOpts) (*types.Transaction, error)

FreezeDiamond is a paid mutator transaction binding the contract method 0x27ae4c16.

Solidity: function freezeDiamond() returns()

func (*IZkSyncTransactor) ProveBatches added in v0.4.0

func (_IZkSync *IZkSyncTransactor) ProveBatches(opts *bind.TransactOpts, _prevBatch IExecutorStoredBatchInfo, _committedBatches []IExecutorStoredBatchInfo, _proof IExecutorProofInput) (*types.Transaction, error)

ProveBatches is a paid mutator transaction binding the contract method 0x7f61885c.

Solidity: function proveBatches((uint64,bytes32,uint64,uint256,bytes32,bytes32,uint256,bytes32) _prevBatch, (uint64,bytes32,uint64,uint256,bytes32,bytes32,uint256,bytes32)[] _committedBatches, (uint256[],uint256[]) _proof) returns()

func (*IZkSyncTransactor) RequestL2Transaction

func (_IZkSync *IZkSyncTransactor) RequestL2Transaction(opts *bind.TransactOpts, _contractL2 common.Address, _l2Value *big.Int, _calldata []byte, _l2GasLimit *big.Int, _l2GasPerPubdataByteLimit *big.Int, _factoryDeps [][]byte, _refundRecipient common.Address) (*types.Transaction, error)

RequestL2Transaction is a paid mutator transaction binding the contract method 0xeb672419.

Solidity: function requestL2Transaction(address _contractL2, uint256 _l2Value, bytes _calldata, uint256 _l2GasLimit, uint256 _l2GasPerPubdataByteLimit, bytes[] _factoryDeps, address _refundRecipient) payable returns(bytes32 canonicalTxHash)

func (*IZkSyncTransactor) RevertBatches added in v0.4.0

func (_IZkSync *IZkSyncTransactor) RevertBatches(opts *bind.TransactOpts, _newLastBatch *big.Int) (*types.Transaction, error)

RevertBatches is a paid mutator transaction binding the contract method 0x97c09d34.

Solidity: function revertBatches(uint256 _newLastBatch) returns()

func (*IZkSyncTransactor) SetPendingAdmin added in v0.4.0

func (_IZkSync *IZkSyncTransactor) SetPendingAdmin(opts *bind.TransactOpts, _newPendingAdmin common.Address) (*types.Transaction, error)

SetPendingAdmin is a paid mutator transaction binding the contract method 0x4dd18bf5.

Solidity: function setPendingAdmin(address _newPendingAdmin) returns()

func (*IZkSyncTransactor) SetPendingGovernor

func (_IZkSync *IZkSyncTransactor) SetPendingGovernor(opts *bind.TransactOpts, _newPendingGovernor common.Address) (*types.Transaction, error)

SetPendingGovernor is a paid mutator transaction binding the contract method 0xf235757f.

Solidity: function setPendingGovernor(address _newPendingGovernor) returns()

func (*IZkSyncTransactor) SetPorterAvailability

func (_IZkSync *IZkSyncTransactor) SetPorterAvailability(opts *bind.TransactOpts, _zkPorterIsAvailable bool) (*types.Transaction, error)

SetPorterAvailability is a paid mutator transaction binding the contract method 0x1cc5d103.

Solidity: function setPorterAvailability(bool _zkPorterIsAvailable) returns()

func (*IZkSyncTransactor) SetPriorityTxMaxGasLimit

func (_IZkSync *IZkSyncTransactor) SetPriorityTxMaxGasLimit(opts *bind.TransactOpts, _newPriorityTxMaxGasLimit *big.Int) (*types.Transaction, error)

SetPriorityTxMaxGasLimit is a paid mutator transaction binding the contract method 0xbe6f11cf.

Solidity: function setPriorityTxMaxGasLimit(uint256 _newPriorityTxMaxGasLimit) returns()

func (*IZkSyncTransactor) SetValidator

func (_IZkSync *IZkSyncTransactor) SetValidator(opts *bind.TransactOpts, _validator common.Address, _active bool) (*types.Transaction, error)

SetValidator is a paid mutator transaction binding the contract method 0x4623c91d.

Solidity: function setValidator(address _validator, bool _active) returns()

func (*IZkSyncTransactor) UnfreezeDiamond

func (_IZkSync *IZkSyncTransactor) UnfreezeDiamond(opts *bind.TransactOpts) (*types.Transaction, error)

UnfreezeDiamond is a paid mutator transaction binding the contract method 0x17338945.

Solidity: function unfreezeDiamond() returns()

type IZkSyncTransactorRaw

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

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

func (*IZkSyncTransactorRaw) Transact

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

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

func (*IZkSyncTransactorRaw) Transfer

func (_IZkSync *IZkSyncTransactorRaw) 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 IZkSyncTransactorSession

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

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

func (*IZkSyncTransactorSession) AcceptAdmin added in v0.4.0

func (_IZkSync *IZkSyncTransactorSession) AcceptAdmin() (*types.Transaction, error)

AcceptAdmin is a paid mutator transaction binding the contract method 0x0e18b681.

Solidity: function acceptAdmin() returns()

func (*IZkSyncTransactorSession) AcceptGovernor

func (_IZkSync *IZkSyncTransactorSession) AcceptGovernor() (*types.Transaction, error)

AcceptGovernor is a paid mutator transaction binding the contract method 0xe58bb639.

Solidity: function acceptGovernor() returns()

func (*IZkSyncTransactorSession) CommitBatches added in v0.4.0

func (_IZkSync *IZkSyncTransactorSession) CommitBatches(_lastCommittedBatchData IExecutorStoredBatchInfo, _newBatchesData []IExecutorCommitBatchInfo) (*types.Transaction, error)

CommitBatches is a paid mutator transaction binding the contract method 0x701f58c5.

Solidity: function commitBatches((uint64,bytes32,uint64,uint256,bytes32,bytes32,uint256,bytes32) _lastCommittedBatchData, (uint64,uint64,uint64,bytes32,uint256,bytes32,bytes32,bytes32,bytes,bytes)[] _newBatchesData) returns()

func (*IZkSyncTransactorSession) ExecuteBatches added in v0.4.0

func (_IZkSync *IZkSyncTransactorSession) ExecuteBatches(_batchesData []IExecutorStoredBatchInfo) (*types.Transaction, error)

ExecuteBatches is a paid mutator transaction binding the contract method 0xc3d93e7c.

Solidity: function executeBatches((uint64,bytes32,uint64,uint256,bytes32,bytes32,uint256,bytes32)[] _batchesData) returns()

func (*IZkSyncTransactorSession) ExecuteUpgrade

func (_IZkSync *IZkSyncTransactorSession) ExecuteUpgrade(_diamondCut DiamondDiamondCutData) (*types.Transaction, error)

ExecuteUpgrade is a paid mutator transaction binding the contract method 0xa9f6d941.

Solidity: function executeUpgrade(((address,uint8,bool,bytes4[])[],address,bytes) _diamondCut) returns()

func (*IZkSyncTransactorSession) FinalizeEthWithdrawal

func (_IZkSync *IZkSyncTransactorSession) FinalizeEthWithdrawal(_l2BatchNumber *big.Int, _l2MessageIndex *big.Int, _l2TxNumberInBatch uint16, _message []byte, _merkleProof [][32]byte) (*types.Transaction, error)

FinalizeEthWithdrawal is a paid mutator transaction binding the contract method 0x6c0960f9.

Solidity: function finalizeEthWithdrawal(uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes _message, bytes32[] _merkleProof) returns()

func (*IZkSyncTransactorSession) FreezeDiamond

func (_IZkSync *IZkSyncTransactorSession) FreezeDiamond() (*types.Transaction, error)

FreezeDiamond is a paid mutator transaction binding the contract method 0x27ae4c16.

Solidity: function freezeDiamond() returns()

func (*IZkSyncTransactorSession) ProveBatches added in v0.4.0

func (_IZkSync *IZkSyncTransactorSession) ProveBatches(_prevBatch IExecutorStoredBatchInfo, _committedBatches []IExecutorStoredBatchInfo, _proof IExecutorProofInput) (*types.Transaction, error)

ProveBatches is a paid mutator transaction binding the contract method 0x7f61885c.

Solidity: function proveBatches((uint64,bytes32,uint64,uint256,bytes32,bytes32,uint256,bytes32) _prevBatch, (uint64,bytes32,uint64,uint256,bytes32,bytes32,uint256,bytes32)[] _committedBatches, (uint256[],uint256[]) _proof) returns()

func (*IZkSyncTransactorSession) RequestL2Transaction

func (_IZkSync *IZkSyncTransactorSession) RequestL2Transaction(_contractL2 common.Address, _l2Value *big.Int, _calldata []byte, _l2GasLimit *big.Int, _l2GasPerPubdataByteLimit *big.Int, _factoryDeps [][]byte, _refundRecipient common.Address) (*types.Transaction, error)

RequestL2Transaction is a paid mutator transaction binding the contract method 0xeb672419.

Solidity: function requestL2Transaction(address _contractL2, uint256 _l2Value, bytes _calldata, uint256 _l2GasLimit, uint256 _l2GasPerPubdataByteLimit, bytes[] _factoryDeps, address _refundRecipient) payable returns(bytes32 canonicalTxHash)

func (*IZkSyncTransactorSession) RevertBatches added in v0.4.0

func (_IZkSync *IZkSyncTransactorSession) RevertBatches(_newLastBatch *big.Int) (*types.Transaction, error)

RevertBatches is a paid mutator transaction binding the contract method 0x97c09d34.

Solidity: function revertBatches(uint256 _newLastBatch) returns()

func (*IZkSyncTransactorSession) SetPendingAdmin added in v0.4.0

func (_IZkSync *IZkSyncTransactorSession) SetPendingAdmin(_newPendingAdmin common.Address) (*types.Transaction, error)

SetPendingAdmin is a paid mutator transaction binding the contract method 0x4dd18bf5.

Solidity: function setPendingAdmin(address _newPendingAdmin) returns()

func (*IZkSyncTransactorSession) SetPendingGovernor

func (_IZkSync *IZkSyncTransactorSession) SetPendingGovernor(_newPendingGovernor common.Address) (*types.Transaction, error)

SetPendingGovernor is a paid mutator transaction binding the contract method 0xf235757f.

Solidity: function setPendingGovernor(address _newPendingGovernor) returns()

func (*IZkSyncTransactorSession) SetPorterAvailability

func (_IZkSync *IZkSyncTransactorSession) SetPorterAvailability(_zkPorterIsAvailable bool) (*types.Transaction, error)

SetPorterAvailability is a paid mutator transaction binding the contract method 0x1cc5d103.

Solidity: function setPorterAvailability(bool _zkPorterIsAvailable) returns()

func (*IZkSyncTransactorSession) SetPriorityTxMaxGasLimit

func (_IZkSync *IZkSyncTransactorSession) SetPriorityTxMaxGasLimit(_newPriorityTxMaxGasLimit *big.Int) (*types.Transaction, error)

SetPriorityTxMaxGasLimit is a paid mutator transaction binding the contract method 0xbe6f11cf.

Solidity: function setPriorityTxMaxGasLimit(uint256 _newPriorityTxMaxGasLimit) returns()

func (*IZkSyncTransactorSession) SetValidator

func (_IZkSync *IZkSyncTransactorSession) SetValidator(_validator common.Address, _active bool) (*types.Transaction, error)

SetValidator is a paid mutator transaction binding the contract method 0x4623c91d.

Solidity: function setValidator(address _validator, bool _active) returns()

func (*IZkSyncTransactorSession) UnfreezeDiamond

func (_IZkSync *IZkSyncTransactorSession) UnfreezeDiamond() (*types.Transaction, error)

UnfreezeDiamond is a paid mutator transaction binding the contract method 0x17338945.

Solidity: function unfreezeDiamond() returns()

type IZkSyncUnfreeze

type IZkSyncUnfreeze struct {
	Raw types.Log // Blockchain specific contextual infos
}

IZkSyncUnfreeze represents a Unfreeze event raised by the IZkSync contract.

type IZkSyncUnfreezeIterator

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

IZkSyncUnfreezeIterator is returned from FilterUnfreeze and is used to iterate over the raw logs and unpacked data for Unfreeze events raised by the IZkSync contract.

func (*IZkSyncUnfreezeIterator) Close

func (it *IZkSyncUnfreezeIterator) Close() error

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

func (*IZkSyncUnfreezeIterator) Error

func (it *IZkSyncUnfreezeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZkSyncUnfreezeIterator) Next

func (it *IZkSyncUnfreezeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IZkSyncValidatorStatusUpdate

type IZkSyncValidatorStatusUpdate struct {
	ValidatorAddress common.Address
	IsActive         bool
	Raw              types.Log // Blockchain specific contextual infos
}

IZkSyncValidatorStatusUpdate represents a ValidatorStatusUpdate event raised by the IZkSync contract.

type IZkSyncValidatorStatusUpdateIterator

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

IZkSyncValidatorStatusUpdateIterator is returned from FilterValidatorStatusUpdate and is used to iterate over the raw logs and unpacked data for ValidatorStatusUpdate events raised by the IZkSync contract.

func (*IZkSyncValidatorStatusUpdateIterator) Close

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

func (*IZkSyncValidatorStatusUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IZkSyncValidatorStatusUpdateIterator) 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 L2Log

type L2Log struct {
	L2ShardId       uint8
	IsService       bool
	TxNumberInBatch uint16
	Sender          common.Address
	Key             [32]byte
	Value           [32]byte
}

L2Log is an auto generated low-level Go binding around an user-defined struct.

type L2Message

type L2Message struct {
	TxNumberInBatch uint16
	Sender          common.Address
	Data            []byte
}

L2Message is an auto generated low-level Go binding around an user-defined struct.

type PriorityOperation

type PriorityOperation struct {
	CanonicalTxHash     [32]byte
	ExpirationTimestamp uint64
	Layer2Tip           *big.Int
}

PriorityOperation is an auto generated low-level Go binding around an user-defined struct.

type VerifierParams

type VerifierParams struct {
	RecursionNodeLevelVkHash    [32]byte
	RecursionLeafLevelVkHash    [32]byte
	RecursionCircuitsSetVksHash [32]byte
}

VerifierParams is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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