contract

package
v0.0.0-...-d7b061b Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package contract holds generated Ethereum contract code and utility functions

Index

Constants

View Source
const (
	TokenDeployGasLimit       = 1200000
	TokenTransferGasLimit     = 70000
	TokenTransferFromGasLimit = 70000
)

Variables

View Source
var TokenABI = TokenMetaData.ABI

TokenABI is the input ABI used to generate the binding from. Deprecated: Use TokenMetaData.ABI instead.

View Source
var TokenBin = TokenMetaData.Bin

TokenBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TokenMetaData.Bin instead.

View Source
var TokenMetaData = &bind.MetaData{
	ABI: "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"burnAmount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"upgrade\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"upgradeAgent\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"upgradeMaster\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getUpgradeState\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"canUpgrade\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalUpgraded\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"setUpgradeAgent\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isToken\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"BURN_ADDRESS\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"master\",\"type\":\"address\"}],\"name\":\"setUpgradeMaster\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_totalSupply\",\"type\":\"uint256\"},{\"name\":\"_decimals\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Upgrade\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"UpgradeAgentSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"burner\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"burnedAmount\",\"type\":\"uint256\"}],\"name\":\"Burned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"}]",
	Bin: "0x6060604052346100005760405162000fb338038062000fb383398101604090815281516020830151918301516060840151608085015192949384019391909101915b845b60038054600160a060020a031916600160a060020a0383161790555b508360069080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100ac57805160ff19168380011785556100d9565b828001600101855582156100d9579182015b828111156100d95782518255916020019190600101906100be565b5b506100fa9291505b808211156100f657600081556001016100e2565b5090565b50508260079080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061014857805160ff1916838001178555610175565b82800160010185558215610175579182015b8281111561017557825182559160200191906001019061015a565b5b506101969291505b808211156100f657600081556001016100e2565b5090565b505060008281556008829055600160a060020a03861681526001602052604090208290555b50505050505b610de280620001d16000396000f300606060405236156100f65763ffffffff60e060020a60003504166306fdde0381146100fb578063095ea7b31461018857806318160ddd146101b857806323b872dd146101d7578063313ce5671461020d57806342966c681461022c57806345977d031461023e5780635de4ccb014610250578063600440cb1461027957806370a08231146102a25780638444b391146102cd57806395d89b41146102fb5780639738968c14610388578063a9059cbb146103a9578063c752ff62146103d9578063d7e7088a146103f8578063dd62ed3e14610413578063eefa597b14610444578063fccc281314610465578063ffeb7d751461048e575b610000565b34610000576101086104a9565b60408051602080825283518183015283519192839290830191850190808383821561014e575b80518252602083111561014e57601f19909201916020918201910161012e565b505050905090810190601f16801561017a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34610000576101a4600160a060020a0360043516602435610537565b604080519115158252519081900360200190f35b34610000576101c56105dd565b60408051918252519081900360200190f35b34610000576101a4600160a060020a03600435811690602435166044356105e3565b604080519115158252519081900360200190f35b34610000576101c56106e6565b60408051918252519081900360200190f35b346100005761023c6004356106ec565b005b346100005761023c6004356107c4565b005b346100005761025d610927565b60408051600160a060020a039092168252519081900360200190f35b346100005761025d610936565b60408051600160a060020a039092168252519081900360200190f35b34610000576101c5600160a060020a0360043516610945565b60408051918252519081900360200190f35b34610000576102da610964565b6040518082600481116100005760ff16815260200191505060405180910390f35b34610000576101086109b1565b60408051602080825283518183015283519192839290830191850190808383821561014e575b80518252602083111561014e57601f19909201916020918201910161012e565b505050905090810190601f16801561017a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34610000576101a4610a3f565b604080519115158252519081900360200190f35b34610000576101a4600160a060020a0360043516602435610a45565b604080519115158252519081900360200190f35b34610000576101c5610b0e565b60408051918252519081900360200190f35b346100005761023c600160a060020a0360043516610b14565b005b34610000576101c5600160a060020a0360043581169060243516610cd2565b60408051918252519081900360200190f35b34610000576101a4610cff565b604080519115158252519081900360200190f35b346100005761025d610d04565b60408051600160a060020a039092168252519081900360200190f35b346100005761023c600160a060020a0360043516610d09565b005b6006805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561052f5780601f106105045761010080835404028352916020019161052f565b820191906000526020600020905b81548152906001019060200180831161051257829003601f168201915b505050505081565b6000811580159061056c5750600160a060020a0333811660009081526002602090815260408083209387168352929052205415155b1561057657610000565b600160a060020a03338116600081815260026020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060015b92915050565b60005481565b600160a060020a0380841660009081526002602090815260408083203385168452825280832054938616835260019091528120549091906106249084610d65565b600160a060020a0380861660009081526001602052604080822093909355908716815220546106539084610d8d565b600160a060020a0386166000908152600160205260409020556106768184610d8d565b600160a060020a038087166000818152600260209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600191505b509392505050565b60085481565b33600160a060020a0381166000908152600160205260409020546107109083610d8d565b600160a060020a038216600090815260016020526040812091909155546107379083610d8d565b60005560408051600160a060020a03831681526020810184905281517f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df7929181900390910190a1604080518381529051600091600160a060020a038416917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35b5050565b60006107ce610964565b9050600381600481116100005714806107ef57506004816004811161000057145b15156107fa57610000565b81151561080657610000565b600160a060020a0333166000908152600160205260409020546108299083610d8d565b600160a060020a033316600090815260016020526040812091909155546108509083610d8d565b6000556005546108609083610d65565b60055560048054604080517f753e88e5000000000000000000000000000000000000000000000000000000008152600160a060020a0333811694820194909452602481018690529051929091169163753e88e59160448082019260009290919082900301818387803b156100005760325a03f115610000575050600454604080518581529051600160a060020a03928316935033909216917f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac9181900360200190a35b5050565b600454600160a060020a031681565b600354600160a060020a031681565b600160a060020a0381166000908152600160205260409020545b919050565b600061096e610a3f565b151561097c575060016109ab565b600454600160a060020a03161515610996575060026109ab565b60055415156109a7575060036109ab565b5060045b5b5b5b90565b6007805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561052f5780601f106105045761010080835404028352916020019161052f565b820191906000526020600020905b81548152906001019060200180831161051257829003601f168201915b505050505081565b60015b90565b600060406044361015610a5757610000565b600160a060020a033316600090815260016020526040902054610a7a9084610d8d565b600160a060020a033381166000908152600160205260408082209390935590861681522054610aa99084610d65565b600160a060020a038086166000818152600160209081526040918290209490945580518781529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3600191505b5b5092915050565b60055481565b610b1c610a3f565b1515610b2757610000565b600160a060020a0381161515610b3c57610000565b60035433600160a060020a03908116911614610b5757610000565b6004610b61610964565b60048111610000571415610b7457610000565b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383811691909117808355604080516000602091820181905282517f61d3d7a6000000000000000000000000000000000000000000000000000000008152925193909416946361d3d7a69483820194929383900390910190829087803b156100005760325a03f1156100005750506040515115159050610c1557610000565b600054600460009054906101000a9004600160a060020a0316600160a060020a0316634b2ba0dd6000604051602001526040518163ffffffff1660e060020a028152600401809050602060405180830381600087803b156100005760325a03f11561000057505060405151919091149050610c8f57610000565b60045460408051600160a060020a039092168252517f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc9181900360200190a15b50565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b600181565b600081565b600160a060020a0381161515610d1e57610000565b60035433600160a060020a03908116911614610d3957610000565b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b6000828201610d82848210801590610d7d5750838210155b610da6565b8091505b5092915050565b6000610d9b83831115610da6565b508082035b92915050565b801515610ccf57610000565b5b505600a165627a7a723058207f245bfa3c64bf13794a0e7c04d38c15c9b39b6cca49410784290397af00ed690029",
}

TokenMetaData contains all meta data concerning the Token contract.

View Source
var ZkSyncABI = ZkSyncMetaData.ABI

ZkSyncABI is the input ABI used to generate the binding from. Deprecated: Use ZkSyncMetaData.ABI instead.

View Source
var ZkSyncMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"}],\"name\":\"BlockCommit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"}],\"name\":\"BlockVerification\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"totalBlocksVerified\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"totalBlocksCommitted\",\"type\":\"uint32\"}],\"name\":\"BlocksRevert\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"tokenId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"zkSyncBlockId\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"accountId\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"tokenId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"}],\"name\":\"DepositCommit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"ExodusMode\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"nonce\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"fact\",\"type\":\"bytes\"}],\"name\":\"FactAuth\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"zkSyncBlockId\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"accountId\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"tokenId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"}],\"name\":\"FullExitCommit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"serialId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"enumOperations.OpType\",\"name\":\"opType\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"pubData\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expirationBlock\",\"type\":\"uint256\"}],\"name\":\"NewPriorityRequest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newNoticePeriod\",\"type\":\"uint256\"}],\"name\":\"NoticePeriodChange\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"tokenId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"}],\"name\":\"Withdrawal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"tokenId\",\"type\":\"uint32\"}],\"name\":\"WithdrawalNFT\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"tokenId\",\"type\":\"uint32\"}],\"name\":\"WithdrawalNFTPending\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"tokenId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"}],\"name\":\"WithdrawalPending\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"_amount\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"_maxAmount\",\"type\":\"uint128\"}],\"name\":\"_transferERC20\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"withdrawnAmount\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"activateExodusMode\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"authFacts\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"_n\",\"type\":\"uint64\"},{\"internalType\":\"bytes[]\",\"name\":\"_depositsPubdata\",\"type\":\"bytes[]\"}],\"name\":\"cancelOutstandingDepositsForExodusMode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"priorityOperations\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"pendingOnchainOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"stateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"internalType\":\"structStorage.StoredBlockInfo\",\"name\":\"_lastCommittedBlockData\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"newStateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"publicData\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"ethWitness\",\"type\":\"bytes\"},{\"internalType\":\"uint32\",\"name\":\"publicDataOffset\",\"type\":\"uint32\"}],\"internalType\":\"structZkSync.OnchainOperationData[]\",\"name\":\"onchainOperations\",\"type\":\"tuple[]\"},{\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"feeAccount\",\"type\":\"uint32\"}],\"internalType\":\"structZkSync.CommitBlockInfo[]\",\"name\":\"_newBlocksData\",\"type\":\"tuple[]\"}],\"name\":\"commitBlocks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cutUpgradeNoticePeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint104\",\"name\":\"_amount\",\"type\":\"uint104\"},{\"internalType\":\"address\",\"name\":\"_zkSyncAddress\",\"type\":\"address\"}],\"name\":\"depositERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_zkSyncAddress\",\"type\":\"address\"}],\"name\":\"depositETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"priorityOperations\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"pendingOnchainOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"stateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"internalType\":\"structStorage.StoredBlockInfo\",\"name\":\"storedBlock\",\"type\":\"tuple\"},{\"internalType\":\"bytes[]\",\"name\":\"pendingOnchainOpsPubdata\",\"type\":\"bytes[]\"}],\"internalType\":\"structZkSync.ExecuteBlockInfo[]\",\"name\":\"_blocksData\",\"type\":\"tuple[]\"}],\"name\":\"executeBlocks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"exodusMode\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"firstPriorityRequestId\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNoticePeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"getPendingBalance\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"initializationParameters\",\"type\":\"bytes\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isReadyForUpgrade\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"priorityOperations\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"pendingOnchainOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"stateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"internalType\":\"structStorage.StoredBlockInfo\",\"name\":\"_storedBlockInfo\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"_accountId\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"_tokenId\",\"type\":\"uint32\"},{\"internalType\":\"uint128\",\"name\":\"_amount\",\"type\":\"uint128\"},{\"internalType\":\"uint32\",\"name\":\"_nftCreatorAccountId\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"_nftCreatorAddress\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"_nftSerialId\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"_nftContentHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"_proof\",\"type\":\"uint256[]\"}],\"name\":\"performExodus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"priorityOperations\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"pendingOnchainOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"stateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"internalType\":\"structStorage.StoredBlockInfo[]\",\"name\":\"_committedBlocks\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256[]\",\"name\":\"recursiveInput\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"proof\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"commitments\",\"type\":\"uint256[]\"},{\"internalType\":\"uint8[]\",\"name\":\"vkIndexes\",\"type\":\"uint8[]\"},{\"internalType\":\"uint256[16]\",\"name\":\"subproofsLimbs\",\"type\":\"uint256[16]\"}],\"internalType\":\"structZkSync.ProofInput\",\"name\":\"_proof\",\"type\":\"tuple\"}],\"name\":\"proveBlocks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_accountId\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"requestFullExit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_accountId\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"_tokenId\",\"type\":\"uint32\"}],\"name\":\"requestFullExitNFT\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"priorityOperations\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"pendingOnchainOperationsHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"stateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"internalType\":\"structStorage.StoredBlockInfo[]\",\"name\":\"_blocksToRevert\",\"type\":\"tuple[]\"}],\"name\":\"revertBlocks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_pubkeyHash\",\"type\":\"bytes\"},{\"internalType\":\"uint32\",\"name\":\"_nonce\",\"type\":\"uint32\"}],\"name\":\"setAuthPubkeyHash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"storedBlockHashes\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBlocksCommitted\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBlocksExecuted\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBlocksProven\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalOpenPriorityRequests\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"upgradeParameters\",\"type\":\"bytes\"}],\"name\":\"upgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"upgradeCanceled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"upgradeFinishes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"upgradeNoticePeriodStarted\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"upgradePreparationStarted\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"_amount\",\"type\":\"uint128\"}],\"name\":\"withdrawPendingBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_tokenId\",\"type\":\"uint32\"}],\"name\":\"withdrawPendingNFTBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ZkSyncMetaData contains all meta data concerning the ZkSync contract.

Functions

This section is empty.

Types

type StorageStoredBlockInfo

type StorageStoredBlockInfo struct {
	BlockNumber                  uint32
	PriorityOperations           uint64
	PendingOnchainOperationsHash [32]byte
	Timestamp                    *big.Int
	StateHash                    [32]byte
	Commitment                   [32]byte
}

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

type Token

type Token struct {
	TokenCaller     // Read-only binding to the contract
	TokenTransactor // Write-only binding to the contract
	TokenFilterer   // Log filterer for contract events
}

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

func DeployToken

func DeployToken(auth *bind.TransactOpts, backend bind.ContractBackend, _owner common.Address, _name string, _symbol string, _totalSupply *big.Int, _decimals *big.Int) (common.Address, *types.Transaction, *Token, error)

DeployToken deploys a new Ethereum contract, binding an instance of Token to it.

func NewToken

func NewToken(address common.Address, backend bind.ContractBackend) (*Token, error)

NewToken creates a new instance of Token, bound to a specific deployed contract.

type TokenApproval

type TokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

TokenApproval represents a Approval event raised by the Token contract.

type TokenApprovalIterator

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

TokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Token contract.

func (*TokenApprovalIterator) Close

func (it *TokenApprovalIterator) Close() error

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

func (*TokenApprovalIterator) Error

func (it *TokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenApprovalIterator) Next

func (it *TokenApprovalIterator) 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 TokenBurned

type TokenBurned struct {
	Burner       common.Address
	BurnedAmount *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

TokenBurned represents a Burned event raised by the Token contract.

type TokenBurnedIterator

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

TokenBurnedIterator is returned from FilterBurned and is used to iterate over the raw logs and unpacked data for Burned events raised by the Token contract.

func (*TokenBurnedIterator) Close

func (it *TokenBurnedIterator) Close() error

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

func (*TokenBurnedIterator) Error

func (it *TokenBurnedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenBurnedIterator) Next

func (it *TokenBurnedIterator) 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 TokenCaller

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

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

func NewTokenCaller

func NewTokenCaller(address common.Address, caller bind.ContractCaller) (*TokenCaller, error)

NewTokenCaller creates a new read-only instance of Token, bound to a specific deployed contract.

func (*TokenCaller) Allowance

func (_Token *TokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) returns(uint256 remaining)

func (*TokenCaller) BURNADDRESS

func (_Token *TokenCaller) BURNADDRESS(opts *bind.CallOpts) (common.Address, error)

BURNADDRESS is a free data retrieval call binding the contract method 0xfccc2813.

Solidity: function BURN_ADDRESS() returns(address)

func (*TokenCaller) BalanceOf

func (_Token *TokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) returns(uint256 balance)

func (*TokenCaller) CanUpgrade

func (_Token *TokenCaller) CanUpgrade(opts *bind.CallOpts) (bool, error)

CanUpgrade is a free data retrieval call binding the contract method 0x9738968c.

Solidity: function canUpgrade() returns(bool)

func (*TokenCaller) Decimals

func (_Token *TokenCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() returns(uint256)

func (*TokenCaller) GetUpgradeState

func (_Token *TokenCaller) GetUpgradeState(opts *bind.CallOpts) (uint8, error)

GetUpgradeState is a free data retrieval call binding the contract method 0x8444b391.

Solidity: function getUpgradeState() returns(uint8)

func (*TokenCaller) IsToken

func (_Token *TokenCaller) IsToken(opts *bind.CallOpts) (bool, error)

IsToken is a free data retrieval call binding the contract method 0xeefa597b.

Solidity: function isToken() returns(bool)

func (*TokenCaller) Name

func (_Token *TokenCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() returns(string)

func (*TokenCaller) Symbol

func (_Token *TokenCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() returns(string)

func (*TokenCaller) TotalSupply

func (_Token *TokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() returns(uint256)

func (*TokenCaller) TotalUpgraded

func (_Token *TokenCaller) TotalUpgraded(opts *bind.CallOpts) (*big.Int, error)

TotalUpgraded is a free data retrieval call binding the contract method 0xc752ff62.

Solidity: function totalUpgraded() returns(uint256)

func (*TokenCaller) UpgradeAgent

func (_Token *TokenCaller) UpgradeAgent(opts *bind.CallOpts) (common.Address, error)

UpgradeAgent is a free data retrieval call binding the contract method 0x5de4ccb0.

Solidity: function upgradeAgent() returns(address)

func (*TokenCaller) UpgradeMaster

func (_Token *TokenCaller) UpgradeMaster(opts *bind.CallOpts) (common.Address, error)

UpgradeMaster is a free data retrieval call binding the contract method 0x600440cb.

Solidity: function upgradeMaster() returns(address)

type TokenCallerRaw

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

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

func (*TokenCallerRaw) Call

func (_Token *TokenCallerRaw) 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 TokenCallerSession

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

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

func (*TokenCallerSession) Allowance

func (_Token *TokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) returns(uint256 remaining)

func (*TokenCallerSession) BURNADDRESS

func (_Token *TokenCallerSession) BURNADDRESS() (common.Address, error)

BURNADDRESS is a free data retrieval call binding the contract method 0xfccc2813.

Solidity: function BURN_ADDRESS() returns(address)

func (*TokenCallerSession) BalanceOf

func (_Token *TokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) returns(uint256 balance)

func (*TokenCallerSession) CanUpgrade

func (_Token *TokenCallerSession) CanUpgrade() (bool, error)

CanUpgrade is a free data retrieval call binding the contract method 0x9738968c.

Solidity: function canUpgrade() returns(bool)

func (*TokenCallerSession) Decimals

func (_Token *TokenCallerSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() returns(uint256)

func (*TokenCallerSession) GetUpgradeState

func (_Token *TokenCallerSession) GetUpgradeState() (uint8, error)

GetUpgradeState is a free data retrieval call binding the contract method 0x8444b391.

Solidity: function getUpgradeState() returns(uint8)

func (*TokenCallerSession) IsToken

func (_Token *TokenCallerSession) IsToken() (bool, error)

IsToken is a free data retrieval call binding the contract method 0xeefa597b.

Solidity: function isToken() returns(bool)

func (*TokenCallerSession) Name

func (_Token *TokenCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() returns(string)

func (*TokenCallerSession) Symbol

func (_Token *TokenCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() returns(string)

func (*TokenCallerSession) TotalSupply

func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() returns(uint256)

func (*TokenCallerSession) TotalUpgraded

func (_Token *TokenCallerSession) TotalUpgraded() (*big.Int, error)

TotalUpgraded is a free data retrieval call binding the contract method 0xc752ff62.

Solidity: function totalUpgraded() returns(uint256)

func (*TokenCallerSession) UpgradeAgent

func (_Token *TokenCallerSession) UpgradeAgent() (common.Address, error)

UpgradeAgent is a free data retrieval call binding the contract method 0x5de4ccb0.

Solidity: function upgradeAgent() returns(address)

func (*TokenCallerSession) UpgradeMaster

func (_Token *TokenCallerSession) UpgradeMaster() (common.Address, error)

UpgradeMaster is a free data retrieval call binding the contract method 0x600440cb.

Solidity: function upgradeMaster() returns(address)

type TokenFilterer

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

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

func NewTokenFilterer

func NewTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenFilterer, error)

NewTokenFilterer creates a new log filterer instance of Token, bound to a specific deployed contract.

func (*TokenFilterer) FilterApproval

func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TokenApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*TokenFilterer) FilterBurned

func (_Token *TokenFilterer) FilterBurned(opts *bind.FilterOpts) (*TokenBurnedIterator, error)

FilterBurned is a free log retrieval operation binding the contract event 0x696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df7.

Solidity: event Burned(address burner, uint256 burnedAmount)

func (*TokenFilterer) FilterTransfer

func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*TokenFilterer) FilterUpgrade

func (_Token *TokenFilterer) FilterUpgrade(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*TokenUpgradeIterator, error)

FilterUpgrade is a free log retrieval operation binding the contract event 0x7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac.

Solidity: event Upgrade(address indexed _from, address indexed _to, uint256 _value)

func (*TokenFilterer) FilterUpgradeAgentSet

func (_Token *TokenFilterer) FilterUpgradeAgentSet(opts *bind.FilterOpts) (*TokenUpgradeAgentSetIterator, error)

FilterUpgradeAgentSet is a free log retrieval operation binding the contract event 0x7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc.

Solidity: event UpgradeAgentSet(address agent)

func (*TokenFilterer) ParseApproval

func (_Token *TokenFilterer) ParseApproval(log types.Log) (*TokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*TokenFilterer) ParseBurned

func (_Token *TokenFilterer) ParseBurned(log types.Log) (*TokenBurned, error)

ParseBurned is a log parse operation binding the contract event 0x696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df7.

Solidity: event Burned(address burner, uint256 burnedAmount)

func (*TokenFilterer) ParseTransfer

func (_Token *TokenFilterer) ParseTransfer(log types.Log) (*TokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*TokenFilterer) ParseUpgrade

func (_Token *TokenFilterer) ParseUpgrade(log types.Log) (*TokenUpgrade, error)

ParseUpgrade is a log parse operation binding the contract event 0x7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac.

Solidity: event Upgrade(address indexed _from, address indexed _to, uint256 _value)

func (*TokenFilterer) ParseUpgradeAgentSet

func (_Token *TokenFilterer) ParseUpgradeAgentSet(log types.Log) (*TokenUpgradeAgentSet, error)

ParseUpgradeAgentSet is a log parse operation binding the contract event 0x7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc.

Solidity: event UpgradeAgentSet(address agent)

func (*TokenFilterer) WatchApproval

func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*TokenFilterer) WatchBurned

func (_Token *TokenFilterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *TokenBurned) (event.Subscription, error)

WatchBurned is a free log subscription operation binding the contract event 0x696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df7.

Solidity: event Burned(address burner, uint256 burnedAmount)

func (*TokenFilterer) WatchTransfer

func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*TokenFilterer) WatchUpgrade

func (_Token *TokenFilterer) WatchUpgrade(opts *bind.WatchOpts, sink chan<- *TokenUpgrade, _from []common.Address, _to []common.Address) (event.Subscription, error)

WatchUpgrade is a free log subscription operation binding the contract event 0x7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac.

Solidity: event Upgrade(address indexed _from, address indexed _to, uint256 _value)

func (*TokenFilterer) WatchUpgradeAgentSet

func (_Token *TokenFilterer) WatchUpgradeAgentSet(opts *bind.WatchOpts, sink chan<- *TokenUpgradeAgentSet) (event.Subscription, error)

WatchUpgradeAgentSet is a free log subscription operation binding the contract event 0x7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc.

Solidity: event UpgradeAgentSet(address agent)

type TokenRaw

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

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

func (*TokenRaw) Call

func (_Token *TokenRaw) 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 (*TokenRaw) Transact

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

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

func (*TokenRaw) Transfer

func (_Token *TokenRaw) 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 TokenSession

type TokenSession struct {
	Contract     *Token            // 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
}

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

func (*TokenSession) Allowance

func (_Token *TokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) returns(uint256 remaining)

func (*TokenSession) Approve

func (_Token *TokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool success)

func (*TokenSession) BURNADDRESS

func (_Token *TokenSession) BURNADDRESS() (common.Address, error)

BURNADDRESS is a free data retrieval call binding the contract method 0xfccc2813.

Solidity: function BURN_ADDRESS() returns(address)

func (*TokenSession) BalanceOf

func (_Token *TokenSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) returns(uint256 balance)

func (*TokenSession) Burn

func (_Token *TokenSession) Burn(burnAmount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 burnAmount) returns()

func (*TokenSession) CanUpgrade

func (_Token *TokenSession) CanUpgrade() (bool, error)

CanUpgrade is a free data retrieval call binding the contract method 0x9738968c.

Solidity: function canUpgrade() returns(bool)

func (*TokenSession) Decimals

func (_Token *TokenSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() returns(uint256)

func (*TokenSession) GetUpgradeState

func (_Token *TokenSession) GetUpgradeState() (uint8, error)

GetUpgradeState is a free data retrieval call binding the contract method 0x8444b391.

Solidity: function getUpgradeState() returns(uint8)

func (*TokenSession) IsToken

func (_Token *TokenSession) IsToken() (bool, error)

IsToken is a free data retrieval call binding the contract method 0xeefa597b.

Solidity: function isToken() returns(bool)

func (*TokenSession) Name

func (_Token *TokenSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() returns(string)

func (*TokenSession) SetUpgradeAgent

func (_Token *TokenSession) SetUpgradeAgent(agent common.Address) (*types.Transaction, error)

SetUpgradeAgent is a paid mutator transaction binding the contract method 0xd7e7088a.

Solidity: function setUpgradeAgent(address agent) returns()

func (*TokenSession) SetUpgradeMaster

func (_Token *TokenSession) SetUpgradeMaster(master common.Address) (*types.Transaction, error)

SetUpgradeMaster is a paid mutator transaction binding the contract method 0xffeb7d75.

Solidity: function setUpgradeMaster(address master) returns()

func (*TokenSession) Symbol

func (_Token *TokenSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() returns(string)

func (*TokenSession) TotalSupply

func (_Token *TokenSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() returns(uint256)

func (*TokenSession) TotalUpgraded

func (_Token *TokenSession) TotalUpgraded() (*big.Int, error)

TotalUpgraded is a free data retrieval call binding the contract method 0xc752ff62.

Solidity: function totalUpgraded() returns(uint256)

func (*TokenSession) Transfer

func (_Token *TokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool success)

func (*TokenSession) TransferFrom

func (_Token *TokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool success)

func (*TokenSession) Upgrade

func (_Token *TokenSession) Upgrade(value *big.Int) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x45977d03.

Solidity: function upgrade(uint256 value) returns()

func (*TokenSession) UpgradeAgent

func (_Token *TokenSession) UpgradeAgent() (common.Address, error)

UpgradeAgent is a free data retrieval call binding the contract method 0x5de4ccb0.

Solidity: function upgradeAgent() returns(address)

func (*TokenSession) UpgradeMaster

func (_Token *TokenSession) UpgradeMaster() (common.Address, error)

UpgradeMaster is a free data retrieval call binding the contract method 0x600440cb.

Solidity: function upgradeMaster() returns(address)

type TokenTransactor

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

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

func NewTokenTransactor

func NewTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTransactor, error)

NewTokenTransactor creates a new write-only instance of Token, bound to a specific deployed contract.

func (*TokenTransactor) Approve

func (_Token *TokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool success)

func (*TokenTransactor) Burn

func (_Token *TokenTransactor) Burn(opts *bind.TransactOpts, burnAmount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 burnAmount) returns()

func (*TokenTransactor) SetUpgradeAgent

func (_Token *TokenTransactor) SetUpgradeAgent(opts *bind.TransactOpts, agent common.Address) (*types.Transaction, error)

SetUpgradeAgent is a paid mutator transaction binding the contract method 0xd7e7088a.

Solidity: function setUpgradeAgent(address agent) returns()

func (*TokenTransactor) SetUpgradeMaster

func (_Token *TokenTransactor) SetUpgradeMaster(opts *bind.TransactOpts, master common.Address) (*types.Transaction, error)

SetUpgradeMaster is a paid mutator transaction binding the contract method 0xffeb7d75.

Solidity: function setUpgradeMaster(address master) returns()

func (*TokenTransactor) Transfer

func (_Token *TokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool success)

func (*TokenTransactor) TransferFrom

func (_Token *TokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool success)

func (*TokenTransactor) Upgrade

func (_Token *TokenTransactor) Upgrade(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x45977d03.

Solidity: function upgrade(uint256 value) returns()

type TokenTransactorRaw

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

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

func (*TokenTransactorRaw) Transact

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

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

func (*TokenTransactorRaw) Transfer

func (_Token *TokenTransactorRaw) 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 TokenTransactorSession

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

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

func (*TokenTransactorSession) Approve

func (_Token *TokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool success)

func (*TokenTransactorSession) Burn

func (_Token *TokenTransactorSession) Burn(burnAmount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 burnAmount) returns()

func (*TokenTransactorSession) SetUpgradeAgent

func (_Token *TokenTransactorSession) SetUpgradeAgent(agent common.Address) (*types.Transaction, error)

SetUpgradeAgent is a paid mutator transaction binding the contract method 0xd7e7088a.

Solidity: function setUpgradeAgent(address agent) returns()

func (*TokenTransactorSession) SetUpgradeMaster

func (_Token *TokenTransactorSession) SetUpgradeMaster(master common.Address) (*types.Transaction, error)

SetUpgradeMaster is a paid mutator transaction binding the contract method 0xffeb7d75.

Solidity: function setUpgradeMaster(address master) returns()

func (*TokenTransactorSession) Transfer

func (_Token *TokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool success)

func (*TokenTransactorSession) TransferFrom

func (_Token *TokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool success)

func (*TokenTransactorSession) Upgrade

func (_Token *TokenTransactorSession) Upgrade(value *big.Int) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x45977d03.

Solidity: function upgrade(uint256 value) returns()

type TokenTransfer

type TokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

TokenTransfer represents a Transfer event raised by the Token contract.

type TokenTransferIterator

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

TokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Token contract.

func (*TokenTransferIterator) Close

func (it *TokenTransferIterator) Close() error

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

func (*TokenTransferIterator) Error

func (it *TokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenTransferIterator) Next

func (it *TokenTransferIterator) 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 TokenUpgrade

type TokenUpgrade struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

TokenUpgrade represents a Upgrade event raised by the Token contract.

type TokenUpgradeAgentSet

type TokenUpgradeAgentSet struct {
	Agent common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

TokenUpgradeAgentSet represents a UpgradeAgentSet event raised by the Token contract.

type TokenUpgradeAgentSetIterator

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

TokenUpgradeAgentSetIterator is returned from FilterUpgradeAgentSet and is used to iterate over the raw logs and unpacked data for UpgradeAgentSet events raised by the Token contract.

func (*TokenUpgradeAgentSetIterator) Close

func (it *TokenUpgradeAgentSetIterator) Close() error

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

func (*TokenUpgradeAgentSetIterator) Error

func (it *TokenUpgradeAgentSetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenUpgradeAgentSetIterator) 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 TokenUpgradeIterator

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

TokenUpgradeIterator is returned from FilterUpgrade and is used to iterate over the raw logs and unpacked data for Upgrade events raised by the Token contract.

func (*TokenUpgradeIterator) Close

func (it *TokenUpgradeIterator) Close() error

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

func (*TokenUpgradeIterator) Error

func (it *TokenUpgradeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenUpgradeIterator) Next

func (it *TokenUpgradeIterator) 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 ZkSync

type ZkSync struct {
	ZkSyncCaller     // Read-only binding to the contract
	ZkSyncTransactor // Write-only binding to the contract
	ZkSyncFilterer   // Log filterer for contract events
}

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

func NewZkSync

func NewZkSync(address common.Address, backend bind.ContractBackend) (*ZkSync, error)

NewZkSync creates a new instance of ZkSync, bound to a specific deployed contract.

type ZkSyncBlockCommit

type ZkSyncBlockCommit struct {
	BlockNumber uint32
	Raw         types.Log // Blockchain specific contextual infos
}

ZkSyncBlockCommit represents a BlockCommit event raised by the ZkSync contract.

type ZkSyncBlockCommitIterator

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

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

func (*ZkSyncBlockCommitIterator) Close

func (it *ZkSyncBlockCommitIterator) Close() error

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

func (*ZkSyncBlockCommitIterator) Error

func (it *ZkSyncBlockCommitIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkSyncBlockCommitIterator) Next

func (it *ZkSyncBlockCommitIterator) 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 ZkSyncBlockVerification

type ZkSyncBlockVerification struct {
	BlockNumber uint32
	Raw         types.Log // Blockchain specific contextual infos
}

ZkSyncBlockVerification represents a BlockVerification event raised by the ZkSync contract.

type ZkSyncBlockVerificationIterator

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

ZkSyncBlockVerificationIterator is returned from FilterBlockVerification and is used to iterate over the raw logs and unpacked data for BlockVerification events raised by the ZkSync contract.

func (*ZkSyncBlockVerificationIterator) Close

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

func (*ZkSyncBlockVerificationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkSyncBlockVerificationIterator) 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 ZkSyncBlocksRevert

type ZkSyncBlocksRevert struct {
	TotalBlocksVerified  uint32
	TotalBlocksCommitted uint32
	Raw                  types.Log // Blockchain specific contextual infos
}

ZkSyncBlocksRevert represents a BlocksRevert event raised by the ZkSync contract.

type ZkSyncBlocksRevertIterator

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

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

func (*ZkSyncBlocksRevertIterator) Close

func (it *ZkSyncBlocksRevertIterator) Close() error

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

func (*ZkSyncBlocksRevertIterator) Error

func (it *ZkSyncBlocksRevertIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkSyncBlocksRevertIterator) Next

func (it *ZkSyncBlocksRevertIterator) 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 ZkSyncCaller

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

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

func NewZkSyncCaller

func NewZkSyncCaller(address common.Address, caller bind.ContractCaller) (*ZkSyncCaller, error)

NewZkSyncCaller creates a new read-only instance of ZkSync, bound to a specific deployed contract.

func (*ZkSyncCaller) AuthFacts

func (_ZkSync *ZkSyncCaller) AuthFacts(opts *bind.CallOpts, arg0 common.Address, arg1 uint32) ([32]byte, error)

AuthFacts is a free data retrieval call binding the contract method 0x8ae20dc9.

Solidity: function authFacts(address , uint32 ) view returns(bytes32)

func (*ZkSyncCaller) ExodusMode

func (_ZkSync *ZkSyncCaller) ExodusMode(opts *bind.CallOpts) (bool, error)

ExodusMode is a free data retrieval call binding the contract method 0x264c0912.

Solidity: function exodusMode() view returns(bool)

func (*ZkSyncCaller) FirstPriorityRequestId

func (_ZkSync *ZkSyncCaller) FirstPriorityRequestId(opts *bind.CallOpts) (uint64, error)

FirstPriorityRequestId is a free data retrieval call binding the contract method 0x67708dae.

Solidity: function firstPriorityRequestId() view returns(uint64)

func (*ZkSyncCaller) GetNoticePeriod

func (_ZkSync *ZkSyncCaller) GetNoticePeriod(opts *bind.CallOpts) (*big.Int, error)

GetNoticePeriod is a free data retrieval call binding the contract method 0x2a3174f4.

Solidity: function getNoticePeriod() pure returns(uint256)

func (*ZkSyncCaller) GetPendingBalance

func (_ZkSync *ZkSyncCaller) GetPendingBalance(opts *bind.CallOpts, _address common.Address, _token common.Address) (*big.Int, error)

GetPendingBalance is a free data retrieval call binding the contract method 0x5aca41f6.

Solidity: function getPendingBalance(address _address, address _token) view returns(uint128)

func (*ZkSyncCaller) IsReadyForUpgrade

func (_ZkSync *ZkSyncCaller) IsReadyForUpgrade(opts *bind.CallOpts) (bool, error)

IsReadyForUpgrade is a free data retrieval call binding the contract method 0x8773334c.

Solidity: function isReadyForUpgrade() view returns(bool)

func (*ZkSyncCaller) StoredBlockHashes

func (_ZkSync *ZkSyncCaller) StoredBlockHashes(opts *bind.CallOpts, arg0 uint32) ([32]byte, error)

StoredBlockHashes is a free data retrieval call binding the contract method 0x9ba0d146.

Solidity: function storedBlockHashes(uint32 ) view returns(bytes32)

func (*ZkSyncCaller) TotalBlocksCommitted

func (_ZkSync *ZkSyncCaller) TotalBlocksCommitted(opts *bind.CallOpts) (uint32, error)

TotalBlocksCommitted is a free data retrieval call binding the contract method 0xfaf4d8cb.

Solidity: function totalBlocksCommitted() view returns(uint32)

func (*ZkSyncCaller) TotalBlocksExecuted

func (_ZkSync *ZkSyncCaller) TotalBlocksExecuted(opts *bind.CallOpts) (uint32, error)

TotalBlocksExecuted is a free data retrieval call binding the contract method 0xf2235487.

Solidity: function totalBlocksExecuted() view returns(uint32)

func (*ZkSyncCaller) TotalBlocksProven

func (_ZkSync *ZkSyncCaller) TotalBlocksProven(opts *bind.CallOpts) (uint32, error)

TotalBlocksProven is a free data retrieval call binding the contract method 0x647b5923.

Solidity: function totalBlocksProven() view returns(uint32)

func (*ZkSyncCaller) TotalOpenPriorityRequests

func (_ZkSync *ZkSyncCaller) TotalOpenPriorityRequests(opts *bind.CallOpts) (uint64, error)

TotalOpenPriorityRequests is a free data retrieval call binding the contract method 0xc57b22be.

Solidity: function totalOpenPriorityRequests() view returns(uint64)

type ZkSyncCallerRaw

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

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

func (*ZkSyncCallerRaw) Call

func (_ZkSync *ZkSyncCallerRaw) 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 ZkSyncCallerSession

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

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

func (*ZkSyncCallerSession) AuthFacts

func (_ZkSync *ZkSyncCallerSession) AuthFacts(arg0 common.Address, arg1 uint32) ([32]byte, error)

AuthFacts is a free data retrieval call binding the contract method 0x8ae20dc9.

Solidity: function authFacts(address , uint32 ) view returns(bytes32)

func (*ZkSyncCallerSession) ExodusMode

func (_ZkSync *ZkSyncCallerSession) ExodusMode() (bool, error)

ExodusMode is a free data retrieval call binding the contract method 0x264c0912.

Solidity: function exodusMode() view returns(bool)

func (*ZkSyncCallerSession) FirstPriorityRequestId

func (_ZkSync *ZkSyncCallerSession) FirstPriorityRequestId() (uint64, error)

FirstPriorityRequestId is a free data retrieval call binding the contract method 0x67708dae.

Solidity: function firstPriorityRequestId() view returns(uint64)

func (*ZkSyncCallerSession) GetNoticePeriod

func (_ZkSync *ZkSyncCallerSession) GetNoticePeriod() (*big.Int, error)

GetNoticePeriod is a free data retrieval call binding the contract method 0x2a3174f4.

Solidity: function getNoticePeriod() pure returns(uint256)

func (*ZkSyncCallerSession) GetPendingBalance

func (_ZkSync *ZkSyncCallerSession) GetPendingBalance(_address common.Address, _token common.Address) (*big.Int, error)

GetPendingBalance is a free data retrieval call binding the contract method 0x5aca41f6.

Solidity: function getPendingBalance(address _address, address _token) view returns(uint128)

func (*ZkSyncCallerSession) IsReadyForUpgrade

func (_ZkSync *ZkSyncCallerSession) IsReadyForUpgrade() (bool, error)

IsReadyForUpgrade is a free data retrieval call binding the contract method 0x8773334c.

Solidity: function isReadyForUpgrade() view returns(bool)

func (*ZkSyncCallerSession) StoredBlockHashes

func (_ZkSync *ZkSyncCallerSession) StoredBlockHashes(arg0 uint32) ([32]byte, error)

StoredBlockHashes is a free data retrieval call binding the contract method 0x9ba0d146.

Solidity: function storedBlockHashes(uint32 ) view returns(bytes32)

func (*ZkSyncCallerSession) TotalBlocksCommitted

func (_ZkSync *ZkSyncCallerSession) TotalBlocksCommitted() (uint32, error)

TotalBlocksCommitted is a free data retrieval call binding the contract method 0xfaf4d8cb.

Solidity: function totalBlocksCommitted() view returns(uint32)

func (*ZkSyncCallerSession) TotalBlocksExecuted

func (_ZkSync *ZkSyncCallerSession) TotalBlocksExecuted() (uint32, error)

TotalBlocksExecuted is a free data retrieval call binding the contract method 0xf2235487.

Solidity: function totalBlocksExecuted() view returns(uint32)

func (*ZkSyncCallerSession) TotalBlocksProven

func (_ZkSync *ZkSyncCallerSession) TotalBlocksProven() (uint32, error)

TotalBlocksProven is a free data retrieval call binding the contract method 0x647b5923.

Solidity: function totalBlocksProven() view returns(uint32)

func (*ZkSyncCallerSession) TotalOpenPriorityRequests

func (_ZkSync *ZkSyncCallerSession) TotalOpenPriorityRequests() (uint64, error)

TotalOpenPriorityRequests is a free data retrieval call binding the contract method 0xc57b22be.

Solidity: function totalOpenPriorityRequests() view returns(uint64)

type ZkSyncCommitBlockInfo

type ZkSyncCommitBlockInfo struct {
	NewStateHash      [32]byte
	PublicData        []byte
	Timestamp         *big.Int
	OnchainOperations []ZkSyncOnchainOperationData
	BlockNumber       uint32
	FeeAccount        uint32
}

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

type ZkSyncDeposit

type ZkSyncDeposit struct {
	TokenId uint16
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ZkSyncDeposit represents a Deposit event raised by the ZkSync contract.

type ZkSyncDepositCommit

type ZkSyncDepositCommit struct {
	ZkSyncBlockId uint32
	AccountId     uint32
	Owner         common.Address
	TokenId       uint16
	Amount        *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

ZkSyncDepositCommit represents a DepositCommit event raised by the ZkSync contract.

type ZkSyncDepositCommitIterator

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

ZkSyncDepositCommitIterator is returned from FilterDepositCommit and is used to iterate over the raw logs and unpacked data for DepositCommit events raised by the ZkSync contract.

func (*ZkSyncDepositCommitIterator) Close

func (it *ZkSyncDepositCommitIterator) Close() error

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

func (*ZkSyncDepositCommitIterator) Error

func (it *ZkSyncDepositCommitIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkSyncDepositCommitIterator) Next

func (it *ZkSyncDepositCommitIterator) 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 ZkSyncDepositIterator

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

ZkSyncDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the ZkSync contract.

func (*ZkSyncDepositIterator) Close

func (it *ZkSyncDepositIterator) Close() error

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

func (*ZkSyncDepositIterator) Error

func (it *ZkSyncDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkSyncDepositIterator) Next

func (it *ZkSyncDepositIterator) 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 ZkSyncExecuteBlockInfo

type ZkSyncExecuteBlockInfo struct {
	StoredBlock              StorageStoredBlockInfo
	PendingOnchainOpsPubdata [][]byte
}

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

type ZkSyncExodusMode

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

ZkSyncExodusMode represents a ExodusMode event raised by the ZkSync contract.

type ZkSyncExodusModeIterator

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

ZkSyncExodusModeIterator is returned from FilterExodusMode and is used to iterate over the raw logs and unpacked data for ExodusMode events raised by the ZkSync contract.

func (*ZkSyncExodusModeIterator) Close

func (it *ZkSyncExodusModeIterator) Close() error

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

func (*ZkSyncExodusModeIterator) Error

func (it *ZkSyncExodusModeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkSyncExodusModeIterator) Next

func (it *ZkSyncExodusModeIterator) 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 ZkSyncFactAuth

type ZkSyncFactAuth struct {
	Sender common.Address
	Nonce  uint32
	Fact   []byte
	Raw    types.Log // Blockchain specific contextual infos
}

ZkSyncFactAuth represents a FactAuth event raised by the ZkSync contract.

type ZkSyncFactAuthIterator

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

ZkSyncFactAuthIterator is returned from FilterFactAuth and is used to iterate over the raw logs and unpacked data for FactAuth events raised by the ZkSync contract.

func (*ZkSyncFactAuthIterator) Close

func (it *ZkSyncFactAuthIterator) Close() error

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

func (*ZkSyncFactAuthIterator) Error

func (it *ZkSyncFactAuthIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkSyncFactAuthIterator) Next

func (it *ZkSyncFactAuthIterator) 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 ZkSyncFilterer

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

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

func NewZkSyncFilterer

func NewZkSyncFilterer(address common.Address, filterer bind.ContractFilterer) (*ZkSyncFilterer, error)

NewZkSyncFilterer creates a new log filterer instance of ZkSync, bound to a specific deployed contract.

func (*ZkSyncFilterer) FilterBlockCommit

func (_ZkSync *ZkSyncFilterer) FilterBlockCommit(opts *bind.FilterOpts, blockNumber []uint32) (*ZkSyncBlockCommitIterator, error)

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

Solidity: event BlockCommit(uint32 indexed blockNumber)

func (*ZkSyncFilterer) FilterBlockVerification

func (_ZkSync *ZkSyncFilterer) FilterBlockVerification(opts *bind.FilterOpts, blockNumber []uint32) (*ZkSyncBlockVerificationIterator, error)

FilterBlockVerification is a free log retrieval operation binding the contract event 0x0cdbd8bd7813095001c5fe7917bd69d834dc01db7c1dfcf52ca135bd20384413.

Solidity: event BlockVerification(uint32 indexed blockNumber)

func (*ZkSyncFilterer) FilterBlocksRevert

func (_ZkSync *ZkSyncFilterer) FilterBlocksRevert(opts *bind.FilterOpts) (*ZkSyncBlocksRevertIterator, error)

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

Solidity: event BlocksRevert(uint32 totalBlocksVerified, uint32 totalBlocksCommitted)

func (*ZkSyncFilterer) FilterDeposit

func (_ZkSync *ZkSyncFilterer) FilterDeposit(opts *bind.FilterOpts, tokenId []uint16) (*ZkSyncDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0x8f5f51448394699ad6a3b80cdadf4ec68c5d724c8c3fea09bea55b3c2d0e2dd0.

Solidity: event Deposit(uint16 indexed tokenId, uint128 amount)

func (*ZkSyncFilterer) FilterDepositCommit

func (_ZkSync *ZkSyncFilterer) FilterDepositCommit(opts *bind.FilterOpts, zkSyncBlockId []uint32, accountId []uint32, tokenId []uint16) (*ZkSyncDepositCommitIterator, error)

FilterDepositCommit is a free log retrieval operation binding the contract event 0xc4e73a5b67a0594d06ea2b5c311c2aa44aa340dd4dd9ec5a1a718dc391b64470.

Solidity: event DepositCommit(uint32 indexed zkSyncBlockId, uint32 indexed accountId, address owner, uint16 indexed tokenId, uint128 amount)

func (*ZkSyncFilterer) FilterExodusMode

func (_ZkSync *ZkSyncFilterer) FilterExodusMode(opts *bind.FilterOpts) (*ZkSyncExodusModeIterator, error)

FilterExodusMode is a free log retrieval operation binding the contract event 0xc71028c67eb0ef128ea270a59a674629e767d51c1af44ed6753fd2fad2c7b677.

Solidity: event ExodusMode()

func (*ZkSyncFilterer) FilterFactAuth

func (_ZkSync *ZkSyncFilterer) FilterFactAuth(opts *bind.FilterOpts, sender []common.Address) (*ZkSyncFactAuthIterator, error)

FilterFactAuth is a free log retrieval operation binding the contract event 0x9ea39b45a0cc96a2139996ec8dd30326216111249750781e563ae27c31ae8766.

Solidity: event FactAuth(address indexed sender, uint32 nonce, bytes fact)

func (*ZkSyncFilterer) FilterFullExitCommit

func (_ZkSync *ZkSyncFilterer) FilterFullExitCommit(opts *bind.FilterOpts, zkSyncBlockId []uint32, accountId []uint32, tokenId []uint16) (*ZkSyncFullExitCommitIterator, error)

FilterFullExitCommit is a free log retrieval operation binding the contract event 0x66fc63d751ecbefca61d4e2e7c534e4f29c61aed8ece23ed635277a7ea6f9bc4.

Solidity: event FullExitCommit(uint32 indexed zkSyncBlockId, uint32 indexed accountId, address owner, uint16 indexed tokenId, uint128 amount)

func (*ZkSyncFilterer) FilterNewPriorityRequest

func (_ZkSync *ZkSyncFilterer) FilterNewPriorityRequest(opts *bind.FilterOpts) (*ZkSyncNewPriorityRequestIterator, error)

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

Solidity: event NewPriorityRequest(address sender, uint64 serialId, uint8 opType, bytes pubData, uint256 expirationBlock)

func (*ZkSyncFilterer) FilterNoticePeriodChange

func (_ZkSync *ZkSyncFilterer) FilterNoticePeriodChange(opts *bind.FilterOpts) (*ZkSyncNoticePeriodChangeIterator, error)

FilterNoticePeriodChange is a free log retrieval operation binding the contract event 0xf2b18f8abbd8a0d0c1fb8245146eedf5304887b12f6395b548ca238e054a1483.

Solidity: event NoticePeriodChange(uint256 newNoticePeriod)

func (*ZkSyncFilterer) FilterWithdrawal

func (_ZkSync *ZkSyncFilterer) FilterWithdrawal(opts *bind.FilterOpts, tokenId []uint16) (*ZkSyncWithdrawalIterator, error)

FilterWithdrawal is a free log retrieval operation binding the contract event 0xf4bf32c167ee6e782944cd1db8174729b46adcd3bc732e282cc4a80793933154.

Solidity: event Withdrawal(uint16 indexed tokenId, uint128 amount)

func (*ZkSyncFilterer) FilterWithdrawalNFT

func (_ZkSync *ZkSyncFilterer) FilterWithdrawalNFT(opts *bind.FilterOpts, tokenId []uint32) (*ZkSyncWithdrawalNFTIterator, error)

FilterWithdrawalNFT is a free log retrieval operation binding the contract event 0x0b9f3586023bf754b8d962232407f7ac4d90fd19a1c4756c6619927abf067560.

Solidity: event WithdrawalNFT(uint32 indexed tokenId)

func (*ZkSyncFilterer) FilterWithdrawalNFTPending

func (_ZkSync *ZkSyncFilterer) FilterWithdrawalNFTPending(opts *bind.FilterOpts, tokenId []uint32) (*ZkSyncWithdrawalNFTPendingIterator, error)

FilterWithdrawalNFTPending is a free log retrieval operation binding the contract event 0x1d19de6753fc463923c3d90b6fb45aca536732ed7c5ca377d4b3f63dfbe4d819.

Solidity: event WithdrawalNFTPending(uint32 indexed tokenId)

func (*ZkSyncFilterer) FilterWithdrawalPending

func (_ZkSync *ZkSyncFilterer) FilterWithdrawalPending(opts *bind.FilterOpts, tokenId []uint16) (*ZkSyncWithdrawalPendingIterator, error)

FilterWithdrawalPending is a free log retrieval operation binding the contract event 0xd19cf67bbb6c320849f41b650b1179fb06a3f104451c75109c3b006a385c1688.

Solidity: event WithdrawalPending(uint16 indexed tokenId, uint128 amount)

func (*ZkSyncFilterer) ParseBlockCommit

func (_ZkSync *ZkSyncFilterer) ParseBlockCommit(log types.Log) (*ZkSyncBlockCommit, error)

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

Solidity: event BlockCommit(uint32 indexed blockNumber)

func (*ZkSyncFilterer) ParseBlockVerification

func (_ZkSync *ZkSyncFilterer) ParseBlockVerification(log types.Log) (*ZkSyncBlockVerification, error)

ParseBlockVerification is a log parse operation binding the contract event 0x0cdbd8bd7813095001c5fe7917bd69d834dc01db7c1dfcf52ca135bd20384413.

Solidity: event BlockVerification(uint32 indexed blockNumber)

func (*ZkSyncFilterer) ParseBlocksRevert

func (_ZkSync *ZkSyncFilterer) ParseBlocksRevert(log types.Log) (*ZkSyncBlocksRevert, error)

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

Solidity: event BlocksRevert(uint32 totalBlocksVerified, uint32 totalBlocksCommitted)

func (*ZkSyncFilterer) ParseDeposit

func (_ZkSync *ZkSyncFilterer) ParseDeposit(log types.Log) (*ZkSyncDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0x8f5f51448394699ad6a3b80cdadf4ec68c5d724c8c3fea09bea55b3c2d0e2dd0.

Solidity: event Deposit(uint16 indexed tokenId, uint128 amount)

func (*ZkSyncFilterer) ParseDepositCommit

func (_ZkSync *ZkSyncFilterer) ParseDepositCommit(log types.Log) (*ZkSyncDepositCommit, error)

ParseDepositCommit is a log parse operation binding the contract event 0xc4e73a5b67a0594d06ea2b5c311c2aa44aa340dd4dd9ec5a1a718dc391b64470.

Solidity: event DepositCommit(uint32 indexed zkSyncBlockId, uint32 indexed accountId, address owner, uint16 indexed tokenId, uint128 amount)

func (*ZkSyncFilterer) ParseExodusMode

func (_ZkSync *ZkSyncFilterer) ParseExodusMode(log types.Log) (*ZkSyncExodusMode, error)

ParseExodusMode is a log parse operation binding the contract event 0xc71028c67eb0ef128ea270a59a674629e767d51c1af44ed6753fd2fad2c7b677.

Solidity: event ExodusMode()

func (*ZkSyncFilterer) ParseFactAuth

func (_ZkSync *ZkSyncFilterer) ParseFactAuth(log types.Log) (*ZkSyncFactAuth, error)

ParseFactAuth is a log parse operation binding the contract event 0x9ea39b45a0cc96a2139996ec8dd30326216111249750781e563ae27c31ae8766.

Solidity: event FactAuth(address indexed sender, uint32 nonce, bytes fact)

func (*ZkSyncFilterer) ParseFullExitCommit

func (_ZkSync *ZkSyncFilterer) ParseFullExitCommit(log types.Log) (*ZkSyncFullExitCommit, error)

ParseFullExitCommit is a log parse operation binding the contract event 0x66fc63d751ecbefca61d4e2e7c534e4f29c61aed8ece23ed635277a7ea6f9bc4.

Solidity: event FullExitCommit(uint32 indexed zkSyncBlockId, uint32 indexed accountId, address owner, uint16 indexed tokenId, uint128 amount)

func (*ZkSyncFilterer) ParseNewPriorityRequest

func (_ZkSync *ZkSyncFilterer) ParseNewPriorityRequest(log types.Log) (*ZkSyncNewPriorityRequest, error)

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

Solidity: event NewPriorityRequest(address sender, uint64 serialId, uint8 opType, bytes pubData, uint256 expirationBlock)

func (*ZkSyncFilterer) ParseNoticePeriodChange

func (_ZkSync *ZkSyncFilterer) ParseNoticePeriodChange(log types.Log) (*ZkSyncNoticePeriodChange, error)

ParseNoticePeriodChange is a log parse operation binding the contract event 0xf2b18f8abbd8a0d0c1fb8245146eedf5304887b12f6395b548ca238e054a1483.

Solidity: event NoticePeriodChange(uint256 newNoticePeriod)

func (*ZkSyncFilterer) ParseWithdrawal

func (_ZkSync *ZkSyncFilterer) ParseWithdrawal(log types.Log) (*ZkSyncWithdrawal, error)

ParseWithdrawal is a log parse operation binding the contract event 0xf4bf32c167ee6e782944cd1db8174729b46adcd3bc732e282cc4a80793933154.

Solidity: event Withdrawal(uint16 indexed tokenId, uint128 amount)

func (*ZkSyncFilterer) ParseWithdrawalNFT

func (_ZkSync *ZkSyncFilterer) ParseWithdrawalNFT(log types.Log) (*ZkSyncWithdrawalNFT, error)

ParseWithdrawalNFT is a log parse operation binding the contract event 0x0b9f3586023bf754b8d962232407f7ac4d90fd19a1c4756c6619927abf067560.

Solidity: event WithdrawalNFT(uint32 indexed tokenId)

func (*ZkSyncFilterer) ParseWithdrawalNFTPending

func (_ZkSync *ZkSyncFilterer) ParseWithdrawalNFTPending(log types.Log) (*ZkSyncWithdrawalNFTPending, error)

ParseWithdrawalNFTPending is a log parse operation binding the contract event 0x1d19de6753fc463923c3d90b6fb45aca536732ed7c5ca377d4b3f63dfbe4d819.

Solidity: event WithdrawalNFTPending(uint32 indexed tokenId)

func (*ZkSyncFilterer) ParseWithdrawalPending

func (_ZkSync *ZkSyncFilterer) ParseWithdrawalPending(log types.Log) (*ZkSyncWithdrawalPending, error)

ParseWithdrawalPending is a log parse operation binding the contract event 0xd19cf67bbb6c320849f41b650b1179fb06a3f104451c75109c3b006a385c1688.

Solidity: event WithdrawalPending(uint16 indexed tokenId, uint128 amount)

func (*ZkSyncFilterer) WatchBlockCommit

func (_ZkSync *ZkSyncFilterer) WatchBlockCommit(opts *bind.WatchOpts, sink chan<- *ZkSyncBlockCommit, blockNumber []uint32) (event.Subscription, error)

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

Solidity: event BlockCommit(uint32 indexed blockNumber)

func (*ZkSyncFilterer) WatchBlockVerification

func (_ZkSync *ZkSyncFilterer) WatchBlockVerification(opts *bind.WatchOpts, sink chan<- *ZkSyncBlockVerification, blockNumber []uint32) (event.Subscription, error)

WatchBlockVerification is a free log subscription operation binding the contract event 0x0cdbd8bd7813095001c5fe7917bd69d834dc01db7c1dfcf52ca135bd20384413.

Solidity: event BlockVerification(uint32 indexed blockNumber)

func (*ZkSyncFilterer) WatchBlocksRevert

func (_ZkSync *ZkSyncFilterer) WatchBlocksRevert(opts *bind.WatchOpts, sink chan<- *ZkSyncBlocksRevert) (event.Subscription, error)

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

Solidity: event BlocksRevert(uint32 totalBlocksVerified, uint32 totalBlocksCommitted)

func (*ZkSyncFilterer) WatchDeposit

func (_ZkSync *ZkSyncFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *ZkSyncDeposit, tokenId []uint16) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0x8f5f51448394699ad6a3b80cdadf4ec68c5d724c8c3fea09bea55b3c2d0e2dd0.

Solidity: event Deposit(uint16 indexed tokenId, uint128 amount)

func (*ZkSyncFilterer) WatchDepositCommit

func (_ZkSync *ZkSyncFilterer) WatchDepositCommit(opts *bind.WatchOpts, sink chan<- *ZkSyncDepositCommit, zkSyncBlockId []uint32, accountId []uint32, tokenId []uint16) (event.Subscription, error)

WatchDepositCommit is a free log subscription operation binding the contract event 0xc4e73a5b67a0594d06ea2b5c311c2aa44aa340dd4dd9ec5a1a718dc391b64470.

Solidity: event DepositCommit(uint32 indexed zkSyncBlockId, uint32 indexed accountId, address owner, uint16 indexed tokenId, uint128 amount)

func (*ZkSyncFilterer) WatchExodusMode

func (_ZkSync *ZkSyncFilterer) WatchExodusMode(opts *bind.WatchOpts, sink chan<- *ZkSyncExodusMode) (event.Subscription, error)

WatchExodusMode is a free log subscription operation binding the contract event 0xc71028c67eb0ef128ea270a59a674629e767d51c1af44ed6753fd2fad2c7b677.

Solidity: event ExodusMode()

func (*ZkSyncFilterer) WatchFactAuth

func (_ZkSync *ZkSyncFilterer) WatchFactAuth(opts *bind.WatchOpts, sink chan<- *ZkSyncFactAuth, sender []common.Address) (event.Subscription, error)

WatchFactAuth is a free log subscription operation binding the contract event 0x9ea39b45a0cc96a2139996ec8dd30326216111249750781e563ae27c31ae8766.

Solidity: event FactAuth(address indexed sender, uint32 nonce, bytes fact)

func (*ZkSyncFilterer) WatchFullExitCommit

func (_ZkSync *ZkSyncFilterer) WatchFullExitCommit(opts *bind.WatchOpts, sink chan<- *ZkSyncFullExitCommit, zkSyncBlockId []uint32, accountId []uint32, tokenId []uint16) (event.Subscription, error)

WatchFullExitCommit is a free log subscription operation binding the contract event 0x66fc63d751ecbefca61d4e2e7c534e4f29c61aed8ece23ed635277a7ea6f9bc4.

Solidity: event FullExitCommit(uint32 indexed zkSyncBlockId, uint32 indexed accountId, address owner, uint16 indexed tokenId, uint128 amount)

func (*ZkSyncFilterer) WatchNewPriorityRequest

func (_ZkSync *ZkSyncFilterer) WatchNewPriorityRequest(opts *bind.WatchOpts, sink chan<- *ZkSyncNewPriorityRequest) (event.Subscription, error)

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

Solidity: event NewPriorityRequest(address sender, uint64 serialId, uint8 opType, bytes pubData, uint256 expirationBlock)

func (*ZkSyncFilterer) WatchNoticePeriodChange

func (_ZkSync *ZkSyncFilterer) WatchNoticePeriodChange(opts *bind.WatchOpts, sink chan<- *ZkSyncNoticePeriodChange) (event.Subscription, error)

WatchNoticePeriodChange is a free log subscription operation binding the contract event 0xf2b18f8abbd8a0d0c1fb8245146eedf5304887b12f6395b548ca238e054a1483.

Solidity: event NoticePeriodChange(uint256 newNoticePeriod)

func (*ZkSyncFilterer) WatchWithdrawal

func (_ZkSync *ZkSyncFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *ZkSyncWithdrawal, tokenId []uint16) (event.Subscription, error)

WatchWithdrawal is a free log subscription operation binding the contract event 0xf4bf32c167ee6e782944cd1db8174729b46adcd3bc732e282cc4a80793933154.

Solidity: event Withdrawal(uint16 indexed tokenId, uint128 amount)

func (*ZkSyncFilterer) WatchWithdrawalNFT

func (_ZkSync *ZkSyncFilterer) WatchWithdrawalNFT(opts *bind.WatchOpts, sink chan<- *ZkSyncWithdrawalNFT, tokenId []uint32) (event.Subscription, error)

WatchWithdrawalNFT is a free log subscription operation binding the contract event 0x0b9f3586023bf754b8d962232407f7ac4d90fd19a1c4756c6619927abf067560.

Solidity: event WithdrawalNFT(uint32 indexed tokenId)

func (*ZkSyncFilterer) WatchWithdrawalNFTPending

func (_ZkSync *ZkSyncFilterer) WatchWithdrawalNFTPending(opts *bind.WatchOpts, sink chan<- *ZkSyncWithdrawalNFTPending, tokenId []uint32) (event.Subscription, error)

WatchWithdrawalNFTPending is a free log subscription operation binding the contract event 0x1d19de6753fc463923c3d90b6fb45aca536732ed7c5ca377d4b3f63dfbe4d819.

Solidity: event WithdrawalNFTPending(uint32 indexed tokenId)

func (*ZkSyncFilterer) WatchWithdrawalPending

func (_ZkSync *ZkSyncFilterer) WatchWithdrawalPending(opts *bind.WatchOpts, sink chan<- *ZkSyncWithdrawalPending, tokenId []uint16) (event.Subscription, error)

WatchWithdrawalPending is a free log subscription operation binding the contract event 0xd19cf67bbb6c320849f41b650b1179fb06a3f104451c75109c3b006a385c1688.

Solidity: event WithdrawalPending(uint16 indexed tokenId, uint128 amount)

type ZkSyncFullExitCommit

type ZkSyncFullExitCommit struct {
	ZkSyncBlockId uint32
	AccountId     uint32
	Owner         common.Address
	TokenId       uint16
	Amount        *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

ZkSyncFullExitCommit represents a FullExitCommit event raised by the ZkSync contract.

type ZkSyncFullExitCommitIterator

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

ZkSyncFullExitCommitIterator is returned from FilterFullExitCommit and is used to iterate over the raw logs and unpacked data for FullExitCommit events raised by the ZkSync contract.

func (*ZkSyncFullExitCommitIterator) Close

func (it *ZkSyncFullExitCommitIterator) Close() error

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

func (*ZkSyncFullExitCommitIterator) Error

func (it *ZkSyncFullExitCommitIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkSyncFullExitCommitIterator) 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 ZkSyncNewPriorityRequest

type ZkSyncNewPriorityRequest struct {
	Sender          common.Address
	SerialId        uint64
	OpType          uint8
	PubData         []byte
	ExpirationBlock *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

ZkSyncNewPriorityRequest represents a NewPriorityRequest event raised by the ZkSync contract.

type ZkSyncNewPriorityRequestIterator

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

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

func (*ZkSyncNewPriorityRequestIterator) Close

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

func (*ZkSyncNewPriorityRequestIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkSyncNewPriorityRequestIterator) 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 ZkSyncNoticePeriodChange

type ZkSyncNoticePeriodChange struct {
	NewNoticePeriod *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

ZkSyncNoticePeriodChange represents a NoticePeriodChange event raised by the ZkSync contract.

type ZkSyncNoticePeriodChangeIterator

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

ZkSyncNoticePeriodChangeIterator is returned from FilterNoticePeriodChange and is used to iterate over the raw logs and unpacked data for NoticePeriodChange events raised by the ZkSync contract.

func (*ZkSyncNoticePeriodChangeIterator) Close

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

func (*ZkSyncNoticePeriodChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkSyncNoticePeriodChangeIterator) 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 ZkSyncOnchainOperationData

type ZkSyncOnchainOperationData struct {
	EthWitness       []byte
	PublicDataOffset uint32
}

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

type ZkSyncProofInput

type ZkSyncProofInput struct {
	RecursiveInput []*big.Int
	Proof          []*big.Int
	Commitments    []*big.Int
	VkIndexes      []uint8
	SubproofsLimbs [16]*big.Int
}

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

type ZkSyncRaw

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

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

func (*ZkSyncRaw) Call

func (_ZkSync *ZkSyncRaw) 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 (*ZkSyncRaw) Transact

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

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

func (*ZkSyncRaw) Transfer

func (_ZkSync *ZkSyncRaw) 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 ZkSyncSession

type ZkSyncSession struct {
	Contract     *ZkSync           // 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
}

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

func (*ZkSyncSession) ActivateExodusMode

func (_ZkSync *ZkSyncSession) ActivateExodusMode() (*types.Transaction, error)

ActivateExodusMode is a paid mutator transaction binding the contract method 0xa7e7aacd.

Solidity: function activateExodusMode() returns(bool)

func (*ZkSyncSession) AuthFacts

func (_ZkSync *ZkSyncSession) AuthFacts(arg0 common.Address, arg1 uint32) ([32]byte, error)

AuthFacts is a free data retrieval call binding the contract method 0x8ae20dc9.

Solidity: function authFacts(address , uint32 ) view returns(bytes32)

func (*ZkSyncSession) CancelOutstandingDepositsForExodusMode

func (_ZkSync *ZkSyncSession) CancelOutstandingDepositsForExodusMode(_n uint64, _depositsPubdata [][]byte) (*types.Transaction, error)

CancelOutstandingDepositsForExodusMode is a paid mutator transaction binding the contract method 0x7efcfe85.

Solidity: function cancelOutstandingDepositsForExodusMode(uint64 _n, bytes[] _depositsPubdata) returns()

func (*ZkSyncSession) CommitBlocks

func (_ZkSync *ZkSyncSession) CommitBlocks(_lastCommittedBlockData StorageStoredBlockInfo, _newBlocksData []ZkSyncCommitBlockInfo) (*types.Transaction, error)

CommitBlocks is a paid mutator transaction binding the contract method 0x45269298.

Solidity: function commitBlocks((uint32,uint64,bytes32,uint256,bytes32,bytes32) _lastCommittedBlockData, (bytes32,bytes,uint256,(bytes,uint32)[],uint32,uint32)[] _newBlocksData) returns()

func (*ZkSyncSession) CutUpgradeNoticePeriod

func (_ZkSync *ZkSyncSession) CutUpgradeNoticePeriod() (*types.Transaction, error)

CutUpgradeNoticePeriod is a paid mutator transaction binding the contract method 0x3e71e1e7.

Solidity: function cutUpgradeNoticePeriod() returns()

func (*ZkSyncSession) DepositERC20

func (_ZkSync *ZkSyncSession) DepositERC20(_token common.Address, _amount *big.Int, _zkSyncAddress common.Address) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0xe17376b5.

Solidity: function depositERC20(address _token, uint104 _amount, address _zkSyncAddress) returns()

func (*ZkSyncSession) DepositETH

func (_ZkSync *ZkSyncSession) DepositETH(_zkSyncAddress common.Address) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0x2d2da806.

Solidity: function depositETH(address _zkSyncAddress) payable returns()

func (*ZkSyncSession) ExecuteBlocks

func (_ZkSync *ZkSyncSession) ExecuteBlocks(_blocksData []ZkSyncExecuteBlockInfo) (*types.Transaction, error)

ExecuteBlocks is a paid mutator transaction binding the contract method 0xb0705b42.

Solidity: function executeBlocks(((uint32,uint64,bytes32,uint256,bytes32,bytes32),bytes[])[] _blocksData) returns()

func (*ZkSyncSession) ExodusMode

func (_ZkSync *ZkSyncSession) ExodusMode() (bool, error)

ExodusMode is a free data retrieval call binding the contract method 0x264c0912.

Solidity: function exodusMode() view returns(bool)

func (*ZkSyncSession) FirstPriorityRequestId

func (_ZkSync *ZkSyncSession) FirstPriorityRequestId() (uint64, error)

FirstPriorityRequestId is a free data retrieval call binding the contract method 0x67708dae.

Solidity: function firstPriorityRequestId() view returns(uint64)

func (*ZkSyncSession) GetNoticePeriod

func (_ZkSync *ZkSyncSession) GetNoticePeriod() (*big.Int, error)

GetNoticePeriod is a free data retrieval call binding the contract method 0x2a3174f4.

Solidity: function getNoticePeriod() pure returns(uint256)

func (*ZkSyncSession) GetPendingBalance

func (_ZkSync *ZkSyncSession) GetPendingBalance(_address common.Address, _token common.Address) (*big.Int, error)

GetPendingBalance is a free data retrieval call binding the contract method 0x5aca41f6.

Solidity: function getPendingBalance(address _address, address _token) view returns(uint128)

func (*ZkSyncSession) Initialize

func (_ZkSync *ZkSyncSession) Initialize(initializationParameters []byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x439fab91.

Solidity: function initialize(bytes initializationParameters) returns()

func (*ZkSyncSession) IsReadyForUpgrade

func (_ZkSync *ZkSyncSession) IsReadyForUpgrade() (bool, error)

IsReadyForUpgrade is a free data retrieval call binding the contract method 0x8773334c.

Solidity: function isReadyForUpgrade() view returns(bool)

func (*ZkSyncSession) PerformExodus

func (_ZkSync *ZkSyncSession) PerformExodus(_storedBlockInfo StorageStoredBlockInfo, _owner common.Address, _accountId uint32, _tokenId uint32, _amount *big.Int, _nftCreatorAccountId uint32, _nftCreatorAddress common.Address, _nftSerialId uint32, _nftContentHash [32]byte, _proof []*big.Int) (*types.Transaction, error)

PerformExodus is a paid mutator transaction binding the contract method 0x1d179643.

Solidity: function performExodus((uint32,uint64,bytes32,uint256,bytes32,bytes32) _storedBlockInfo, address _owner, uint32 _accountId, uint32 _tokenId, uint128 _amount, uint32 _nftCreatorAccountId, address _nftCreatorAddress, uint32 _nftSerialId, bytes32 _nftContentHash, uint256[] _proof) returns()

func (*ZkSyncSession) ProveBlocks

func (_ZkSync *ZkSyncSession) ProveBlocks(_committedBlocks []StorageStoredBlockInfo, _proof ZkSyncProofInput) (*types.Transaction, error)

ProveBlocks is a paid mutator transaction binding the contract method 0x83981808.

Solidity: function proveBlocks((uint32,uint64,bytes32,uint256,bytes32,bytes32)[] _committedBlocks, (uint256[],uint256[],uint256[],uint8[],uint256[16]) _proof) returns()

func (*ZkSyncSession) RequestFullExit

func (_ZkSync *ZkSyncSession) RequestFullExit(_accountId uint32, _token common.Address) (*types.Transaction, error)

RequestFullExit is a paid mutator transaction binding the contract method 0xab9b2adf.

Solidity: function requestFullExit(uint32 _accountId, address _token) returns()

func (*ZkSyncSession) RequestFullExitNFT

func (_ZkSync *ZkSyncSession) RequestFullExitNFT(_accountId uint32, _tokenId uint32) (*types.Transaction, error)

RequestFullExitNFT is a paid mutator transaction binding the contract method 0x13d9787b.

Solidity: function requestFullExitNFT(uint32 _accountId, uint32 _tokenId) returns()

func (*ZkSyncSession) RevertBlocks

func (_ZkSync *ZkSyncSession) RevertBlocks(_blocksToRevert []StorageStoredBlockInfo) (*types.Transaction, error)

RevertBlocks is a paid mutator transaction binding the contract method 0xb4a8498c.

Solidity: function revertBlocks((uint32,uint64,bytes32,uint256,bytes32,bytes32)[] _blocksToRevert) returns()

func (*ZkSyncSession) SetAuthPubkeyHash

func (_ZkSync *ZkSyncSession) SetAuthPubkeyHash(_pubkeyHash []byte, _nonce uint32) (*types.Transaction, error)

SetAuthPubkeyHash is a paid mutator transaction binding the contract method 0x595a5ebc.

Solidity: function setAuthPubkeyHash(bytes _pubkeyHash, uint32 _nonce) returns()

func (*ZkSyncSession) StoredBlockHashes

func (_ZkSync *ZkSyncSession) StoredBlockHashes(arg0 uint32) ([32]byte, error)

StoredBlockHashes is a free data retrieval call binding the contract method 0x9ba0d146.

Solidity: function storedBlockHashes(uint32 ) view returns(bytes32)

func (*ZkSyncSession) TotalBlocksCommitted

func (_ZkSync *ZkSyncSession) TotalBlocksCommitted() (uint32, error)

TotalBlocksCommitted is a free data retrieval call binding the contract method 0xfaf4d8cb.

Solidity: function totalBlocksCommitted() view returns(uint32)

func (*ZkSyncSession) TotalBlocksExecuted

func (_ZkSync *ZkSyncSession) TotalBlocksExecuted() (uint32, error)

TotalBlocksExecuted is a free data retrieval call binding the contract method 0xf2235487.

Solidity: function totalBlocksExecuted() view returns(uint32)

func (*ZkSyncSession) TotalBlocksProven

func (_ZkSync *ZkSyncSession) TotalBlocksProven() (uint32, error)

TotalBlocksProven is a free data retrieval call binding the contract method 0x647b5923.

Solidity: function totalBlocksProven() view returns(uint32)

func (*ZkSyncSession) TotalOpenPriorityRequests

func (_ZkSync *ZkSyncSession) TotalOpenPriorityRequests() (uint64, error)

TotalOpenPriorityRequests is a free data retrieval call binding the contract method 0xc57b22be.

Solidity: function totalOpenPriorityRequests() view returns(uint64)

func (*ZkSyncSession) TransferERC20

func (_ZkSync *ZkSyncSession) TransferERC20(_token common.Address, _to common.Address, _amount *big.Int, _maxAmount *big.Int) (*types.Transaction, error)

TransferERC20 is a paid mutator transaction binding the contract method 0x8ee1a74e.

Solidity: function _transferERC20(address _token, address _to, uint128 _amount, uint128 _maxAmount) returns(uint128 withdrawnAmount)

func (*ZkSyncSession) Upgrade

func (_ZkSync *ZkSyncSession) Upgrade(upgradeParameters []byte) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x25394645.

Solidity: function upgrade(bytes upgradeParameters) returns()

func (*ZkSyncSession) UpgradeCanceled

func (_ZkSync *ZkSyncSession) UpgradeCanceled() (*types.Transaction, error)

UpgradeCanceled is a paid mutator transaction binding the contract method 0x871b8ff1.

Solidity: function upgradeCanceled() returns()

func (*ZkSyncSession) UpgradeFinishes

func (_ZkSync *ZkSyncSession) UpgradeFinishes() (*types.Transaction, error)

UpgradeFinishes is a paid mutator transaction binding the contract method 0xb269b9ae.

Solidity: function upgradeFinishes() returns()

func (*ZkSyncSession) UpgradeNoticePeriodStarted

func (_ZkSync *ZkSyncSession) UpgradeNoticePeriodStarted() (*types.Transaction, error)

UpgradeNoticePeriodStarted is a paid mutator transaction binding the contract method 0x3b154b73.

Solidity: function upgradeNoticePeriodStarted() returns()

func (*ZkSyncSession) UpgradePreparationStarted

func (_ZkSync *ZkSyncSession) UpgradePreparationStarted() (*types.Transaction, error)

UpgradePreparationStarted is a paid mutator transaction binding the contract method 0x78b91e70.

Solidity: function upgradePreparationStarted() returns()

func (*ZkSyncSession) WithdrawPendingBalance

func (_ZkSync *ZkSyncSession) WithdrawPendingBalance(_owner common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawPendingBalance is a paid mutator transaction binding the contract method 0xd514da50.

Solidity: function withdrawPendingBalance(address _owner, address _token, uint128 _amount) returns()

func (*ZkSyncSession) WithdrawPendingNFTBalance

func (_ZkSync *ZkSyncSession) WithdrawPendingNFTBalance(_tokenId uint32) (*types.Transaction, error)

WithdrawPendingNFTBalance is a paid mutator transaction binding the contract method 0x505a7573.

Solidity: function withdrawPendingNFTBalance(uint32 _tokenId) returns()

type ZkSyncTransactor

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

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

func NewZkSyncTransactor

func NewZkSyncTransactor(address common.Address, transactor bind.ContractTransactor) (*ZkSyncTransactor, error)

NewZkSyncTransactor creates a new write-only instance of ZkSync, bound to a specific deployed contract.

func (*ZkSyncTransactor) ActivateExodusMode

func (_ZkSync *ZkSyncTransactor) ActivateExodusMode(opts *bind.TransactOpts) (*types.Transaction, error)

ActivateExodusMode is a paid mutator transaction binding the contract method 0xa7e7aacd.

Solidity: function activateExodusMode() returns(bool)

func (*ZkSyncTransactor) CancelOutstandingDepositsForExodusMode

func (_ZkSync *ZkSyncTransactor) CancelOutstandingDepositsForExodusMode(opts *bind.TransactOpts, _n uint64, _depositsPubdata [][]byte) (*types.Transaction, error)

CancelOutstandingDepositsForExodusMode is a paid mutator transaction binding the contract method 0x7efcfe85.

Solidity: function cancelOutstandingDepositsForExodusMode(uint64 _n, bytes[] _depositsPubdata) returns()

func (*ZkSyncTransactor) CommitBlocks

func (_ZkSync *ZkSyncTransactor) CommitBlocks(opts *bind.TransactOpts, _lastCommittedBlockData StorageStoredBlockInfo, _newBlocksData []ZkSyncCommitBlockInfo) (*types.Transaction, error)

CommitBlocks is a paid mutator transaction binding the contract method 0x45269298.

Solidity: function commitBlocks((uint32,uint64,bytes32,uint256,bytes32,bytes32) _lastCommittedBlockData, (bytes32,bytes,uint256,(bytes,uint32)[],uint32,uint32)[] _newBlocksData) returns()

func (*ZkSyncTransactor) CutUpgradeNoticePeriod

func (_ZkSync *ZkSyncTransactor) CutUpgradeNoticePeriod(opts *bind.TransactOpts) (*types.Transaction, error)

CutUpgradeNoticePeriod is a paid mutator transaction binding the contract method 0x3e71e1e7.

Solidity: function cutUpgradeNoticePeriod() returns()

func (*ZkSyncTransactor) DepositERC20

func (_ZkSync *ZkSyncTransactor) DepositERC20(opts *bind.TransactOpts, _token common.Address, _amount *big.Int, _zkSyncAddress common.Address) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0xe17376b5.

Solidity: function depositERC20(address _token, uint104 _amount, address _zkSyncAddress) returns()

func (*ZkSyncTransactor) DepositETH

func (_ZkSync *ZkSyncTransactor) DepositETH(opts *bind.TransactOpts, _zkSyncAddress common.Address) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0x2d2da806.

Solidity: function depositETH(address _zkSyncAddress) payable returns()

func (*ZkSyncTransactor) ExecuteBlocks

func (_ZkSync *ZkSyncTransactor) ExecuteBlocks(opts *bind.TransactOpts, _blocksData []ZkSyncExecuteBlockInfo) (*types.Transaction, error)

ExecuteBlocks is a paid mutator transaction binding the contract method 0xb0705b42.

Solidity: function executeBlocks(((uint32,uint64,bytes32,uint256,bytes32,bytes32),bytes[])[] _blocksData) returns()

func (*ZkSyncTransactor) Initialize

func (_ZkSync *ZkSyncTransactor) Initialize(opts *bind.TransactOpts, initializationParameters []byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x439fab91.

Solidity: function initialize(bytes initializationParameters) returns()

func (*ZkSyncTransactor) PerformExodus

func (_ZkSync *ZkSyncTransactor) PerformExodus(opts *bind.TransactOpts, _storedBlockInfo StorageStoredBlockInfo, _owner common.Address, _accountId uint32, _tokenId uint32, _amount *big.Int, _nftCreatorAccountId uint32, _nftCreatorAddress common.Address, _nftSerialId uint32, _nftContentHash [32]byte, _proof []*big.Int) (*types.Transaction, error)

PerformExodus is a paid mutator transaction binding the contract method 0x1d179643.

Solidity: function performExodus((uint32,uint64,bytes32,uint256,bytes32,bytes32) _storedBlockInfo, address _owner, uint32 _accountId, uint32 _tokenId, uint128 _amount, uint32 _nftCreatorAccountId, address _nftCreatorAddress, uint32 _nftSerialId, bytes32 _nftContentHash, uint256[] _proof) returns()

func (*ZkSyncTransactor) ProveBlocks

func (_ZkSync *ZkSyncTransactor) ProveBlocks(opts *bind.TransactOpts, _committedBlocks []StorageStoredBlockInfo, _proof ZkSyncProofInput) (*types.Transaction, error)

ProveBlocks is a paid mutator transaction binding the contract method 0x83981808.

Solidity: function proveBlocks((uint32,uint64,bytes32,uint256,bytes32,bytes32)[] _committedBlocks, (uint256[],uint256[],uint256[],uint8[],uint256[16]) _proof) returns()

func (*ZkSyncTransactor) RequestFullExit

func (_ZkSync *ZkSyncTransactor) RequestFullExit(opts *bind.TransactOpts, _accountId uint32, _token common.Address) (*types.Transaction, error)

RequestFullExit is a paid mutator transaction binding the contract method 0xab9b2adf.

Solidity: function requestFullExit(uint32 _accountId, address _token) returns()

func (*ZkSyncTransactor) RequestFullExitNFT

func (_ZkSync *ZkSyncTransactor) RequestFullExitNFT(opts *bind.TransactOpts, _accountId uint32, _tokenId uint32) (*types.Transaction, error)

RequestFullExitNFT is a paid mutator transaction binding the contract method 0x13d9787b.

Solidity: function requestFullExitNFT(uint32 _accountId, uint32 _tokenId) returns()

func (*ZkSyncTransactor) RevertBlocks

func (_ZkSync *ZkSyncTransactor) RevertBlocks(opts *bind.TransactOpts, _blocksToRevert []StorageStoredBlockInfo) (*types.Transaction, error)

RevertBlocks is a paid mutator transaction binding the contract method 0xb4a8498c.

Solidity: function revertBlocks((uint32,uint64,bytes32,uint256,bytes32,bytes32)[] _blocksToRevert) returns()

func (*ZkSyncTransactor) SetAuthPubkeyHash

func (_ZkSync *ZkSyncTransactor) SetAuthPubkeyHash(opts *bind.TransactOpts, _pubkeyHash []byte, _nonce uint32) (*types.Transaction, error)

SetAuthPubkeyHash is a paid mutator transaction binding the contract method 0x595a5ebc.

Solidity: function setAuthPubkeyHash(bytes _pubkeyHash, uint32 _nonce) returns()

func (*ZkSyncTransactor) TransferERC20

func (_ZkSync *ZkSyncTransactor) TransferERC20(opts *bind.TransactOpts, _token common.Address, _to common.Address, _amount *big.Int, _maxAmount *big.Int) (*types.Transaction, error)

TransferERC20 is a paid mutator transaction binding the contract method 0x8ee1a74e.

Solidity: function _transferERC20(address _token, address _to, uint128 _amount, uint128 _maxAmount) returns(uint128 withdrawnAmount)

func (*ZkSyncTransactor) Upgrade

func (_ZkSync *ZkSyncTransactor) Upgrade(opts *bind.TransactOpts, upgradeParameters []byte) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x25394645.

Solidity: function upgrade(bytes upgradeParameters) returns()

func (*ZkSyncTransactor) UpgradeCanceled

func (_ZkSync *ZkSyncTransactor) UpgradeCanceled(opts *bind.TransactOpts) (*types.Transaction, error)

UpgradeCanceled is a paid mutator transaction binding the contract method 0x871b8ff1.

Solidity: function upgradeCanceled() returns()

func (*ZkSyncTransactor) UpgradeFinishes

func (_ZkSync *ZkSyncTransactor) UpgradeFinishes(opts *bind.TransactOpts) (*types.Transaction, error)

UpgradeFinishes is a paid mutator transaction binding the contract method 0xb269b9ae.

Solidity: function upgradeFinishes() returns()

func (*ZkSyncTransactor) UpgradeNoticePeriodStarted

func (_ZkSync *ZkSyncTransactor) UpgradeNoticePeriodStarted(opts *bind.TransactOpts) (*types.Transaction, error)

UpgradeNoticePeriodStarted is a paid mutator transaction binding the contract method 0x3b154b73.

Solidity: function upgradeNoticePeriodStarted() returns()

func (*ZkSyncTransactor) UpgradePreparationStarted

func (_ZkSync *ZkSyncTransactor) UpgradePreparationStarted(opts *bind.TransactOpts) (*types.Transaction, error)

UpgradePreparationStarted is a paid mutator transaction binding the contract method 0x78b91e70.

Solidity: function upgradePreparationStarted() returns()

func (*ZkSyncTransactor) WithdrawPendingBalance

func (_ZkSync *ZkSyncTransactor) WithdrawPendingBalance(opts *bind.TransactOpts, _owner common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawPendingBalance is a paid mutator transaction binding the contract method 0xd514da50.

Solidity: function withdrawPendingBalance(address _owner, address _token, uint128 _amount) returns()

func (*ZkSyncTransactor) WithdrawPendingNFTBalance

func (_ZkSync *ZkSyncTransactor) WithdrawPendingNFTBalance(opts *bind.TransactOpts, _tokenId uint32) (*types.Transaction, error)

WithdrawPendingNFTBalance is a paid mutator transaction binding the contract method 0x505a7573.

Solidity: function withdrawPendingNFTBalance(uint32 _tokenId) returns()

type ZkSyncTransactorRaw

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

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

func (*ZkSyncTransactorRaw) Transact

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

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

func (*ZkSyncTransactorRaw) Transfer

func (_ZkSync *ZkSyncTransactorRaw) 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 ZkSyncTransactorSession

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

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

func (*ZkSyncTransactorSession) ActivateExodusMode

func (_ZkSync *ZkSyncTransactorSession) ActivateExodusMode() (*types.Transaction, error)

ActivateExodusMode is a paid mutator transaction binding the contract method 0xa7e7aacd.

Solidity: function activateExodusMode() returns(bool)

func (*ZkSyncTransactorSession) CancelOutstandingDepositsForExodusMode

func (_ZkSync *ZkSyncTransactorSession) CancelOutstandingDepositsForExodusMode(_n uint64, _depositsPubdata [][]byte) (*types.Transaction, error)

CancelOutstandingDepositsForExodusMode is a paid mutator transaction binding the contract method 0x7efcfe85.

Solidity: function cancelOutstandingDepositsForExodusMode(uint64 _n, bytes[] _depositsPubdata) returns()

func (*ZkSyncTransactorSession) CommitBlocks

func (_ZkSync *ZkSyncTransactorSession) CommitBlocks(_lastCommittedBlockData StorageStoredBlockInfo, _newBlocksData []ZkSyncCommitBlockInfo) (*types.Transaction, error)

CommitBlocks is a paid mutator transaction binding the contract method 0x45269298.

Solidity: function commitBlocks((uint32,uint64,bytes32,uint256,bytes32,bytes32) _lastCommittedBlockData, (bytes32,bytes,uint256,(bytes,uint32)[],uint32,uint32)[] _newBlocksData) returns()

func (*ZkSyncTransactorSession) CutUpgradeNoticePeriod

func (_ZkSync *ZkSyncTransactorSession) CutUpgradeNoticePeriod() (*types.Transaction, error)

CutUpgradeNoticePeriod is a paid mutator transaction binding the contract method 0x3e71e1e7.

Solidity: function cutUpgradeNoticePeriod() returns()

func (*ZkSyncTransactorSession) DepositERC20

func (_ZkSync *ZkSyncTransactorSession) DepositERC20(_token common.Address, _amount *big.Int, _zkSyncAddress common.Address) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0xe17376b5.

Solidity: function depositERC20(address _token, uint104 _amount, address _zkSyncAddress) returns()

func (*ZkSyncTransactorSession) DepositETH

func (_ZkSync *ZkSyncTransactorSession) DepositETH(_zkSyncAddress common.Address) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0x2d2da806.

Solidity: function depositETH(address _zkSyncAddress) payable returns()

func (*ZkSyncTransactorSession) ExecuteBlocks

func (_ZkSync *ZkSyncTransactorSession) ExecuteBlocks(_blocksData []ZkSyncExecuteBlockInfo) (*types.Transaction, error)

ExecuteBlocks is a paid mutator transaction binding the contract method 0xb0705b42.

Solidity: function executeBlocks(((uint32,uint64,bytes32,uint256,bytes32,bytes32),bytes[])[] _blocksData) returns()

func (*ZkSyncTransactorSession) Initialize

func (_ZkSync *ZkSyncTransactorSession) Initialize(initializationParameters []byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x439fab91.

Solidity: function initialize(bytes initializationParameters) returns()

func (*ZkSyncTransactorSession) PerformExodus

func (_ZkSync *ZkSyncTransactorSession) PerformExodus(_storedBlockInfo StorageStoredBlockInfo, _owner common.Address, _accountId uint32, _tokenId uint32, _amount *big.Int, _nftCreatorAccountId uint32, _nftCreatorAddress common.Address, _nftSerialId uint32, _nftContentHash [32]byte, _proof []*big.Int) (*types.Transaction, error)

PerformExodus is a paid mutator transaction binding the contract method 0x1d179643.

Solidity: function performExodus((uint32,uint64,bytes32,uint256,bytes32,bytes32) _storedBlockInfo, address _owner, uint32 _accountId, uint32 _tokenId, uint128 _amount, uint32 _nftCreatorAccountId, address _nftCreatorAddress, uint32 _nftSerialId, bytes32 _nftContentHash, uint256[] _proof) returns()

func (*ZkSyncTransactorSession) ProveBlocks

func (_ZkSync *ZkSyncTransactorSession) ProveBlocks(_committedBlocks []StorageStoredBlockInfo, _proof ZkSyncProofInput) (*types.Transaction, error)

ProveBlocks is a paid mutator transaction binding the contract method 0x83981808.

Solidity: function proveBlocks((uint32,uint64,bytes32,uint256,bytes32,bytes32)[] _committedBlocks, (uint256[],uint256[],uint256[],uint8[],uint256[16]) _proof) returns()

func (*ZkSyncTransactorSession) RequestFullExit

func (_ZkSync *ZkSyncTransactorSession) RequestFullExit(_accountId uint32, _token common.Address) (*types.Transaction, error)

RequestFullExit is a paid mutator transaction binding the contract method 0xab9b2adf.

Solidity: function requestFullExit(uint32 _accountId, address _token) returns()

func (*ZkSyncTransactorSession) RequestFullExitNFT

func (_ZkSync *ZkSyncTransactorSession) RequestFullExitNFT(_accountId uint32, _tokenId uint32) (*types.Transaction, error)

RequestFullExitNFT is a paid mutator transaction binding the contract method 0x13d9787b.

Solidity: function requestFullExitNFT(uint32 _accountId, uint32 _tokenId) returns()

func (*ZkSyncTransactorSession) RevertBlocks

func (_ZkSync *ZkSyncTransactorSession) RevertBlocks(_blocksToRevert []StorageStoredBlockInfo) (*types.Transaction, error)

RevertBlocks is a paid mutator transaction binding the contract method 0xb4a8498c.

Solidity: function revertBlocks((uint32,uint64,bytes32,uint256,bytes32,bytes32)[] _blocksToRevert) returns()

func (*ZkSyncTransactorSession) SetAuthPubkeyHash

func (_ZkSync *ZkSyncTransactorSession) SetAuthPubkeyHash(_pubkeyHash []byte, _nonce uint32) (*types.Transaction, error)

SetAuthPubkeyHash is a paid mutator transaction binding the contract method 0x595a5ebc.

Solidity: function setAuthPubkeyHash(bytes _pubkeyHash, uint32 _nonce) returns()

func (*ZkSyncTransactorSession) TransferERC20

func (_ZkSync *ZkSyncTransactorSession) TransferERC20(_token common.Address, _to common.Address, _amount *big.Int, _maxAmount *big.Int) (*types.Transaction, error)

TransferERC20 is a paid mutator transaction binding the contract method 0x8ee1a74e.

Solidity: function _transferERC20(address _token, address _to, uint128 _amount, uint128 _maxAmount) returns(uint128 withdrawnAmount)

func (*ZkSyncTransactorSession) Upgrade

func (_ZkSync *ZkSyncTransactorSession) Upgrade(upgradeParameters []byte) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x25394645.

Solidity: function upgrade(bytes upgradeParameters) returns()

func (*ZkSyncTransactorSession) UpgradeCanceled

func (_ZkSync *ZkSyncTransactorSession) UpgradeCanceled() (*types.Transaction, error)

UpgradeCanceled is a paid mutator transaction binding the contract method 0x871b8ff1.

Solidity: function upgradeCanceled() returns()

func (*ZkSyncTransactorSession) UpgradeFinishes

func (_ZkSync *ZkSyncTransactorSession) UpgradeFinishes() (*types.Transaction, error)

UpgradeFinishes is a paid mutator transaction binding the contract method 0xb269b9ae.

Solidity: function upgradeFinishes() returns()

func (*ZkSyncTransactorSession) UpgradeNoticePeriodStarted

func (_ZkSync *ZkSyncTransactorSession) UpgradeNoticePeriodStarted() (*types.Transaction, error)

UpgradeNoticePeriodStarted is a paid mutator transaction binding the contract method 0x3b154b73.

Solidity: function upgradeNoticePeriodStarted() returns()

func (*ZkSyncTransactorSession) UpgradePreparationStarted

func (_ZkSync *ZkSyncTransactorSession) UpgradePreparationStarted() (*types.Transaction, error)

UpgradePreparationStarted is a paid mutator transaction binding the contract method 0x78b91e70.

Solidity: function upgradePreparationStarted() returns()

func (*ZkSyncTransactorSession) WithdrawPendingBalance

func (_ZkSync *ZkSyncTransactorSession) WithdrawPendingBalance(_owner common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawPendingBalance is a paid mutator transaction binding the contract method 0xd514da50.

Solidity: function withdrawPendingBalance(address _owner, address _token, uint128 _amount) returns()

func (*ZkSyncTransactorSession) WithdrawPendingNFTBalance

func (_ZkSync *ZkSyncTransactorSession) WithdrawPendingNFTBalance(_tokenId uint32) (*types.Transaction, error)

WithdrawPendingNFTBalance is a paid mutator transaction binding the contract method 0x505a7573.

Solidity: function withdrawPendingNFTBalance(uint32 _tokenId) returns()

type ZkSyncWithdrawal

type ZkSyncWithdrawal struct {
	TokenId uint16
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ZkSyncWithdrawal represents a Withdrawal event raised by the ZkSync contract.

type ZkSyncWithdrawalIterator

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

ZkSyncWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the ZkSync contract.

func (*ZkSyncWithdrawalIterator) Close

func (it *ZkSyncWithdrawalIterator) Close() error

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

func (*ZkSyncWithdrawalIterator) Error

func (it *ZkSyncWithdrawalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkSyncWithdrawalIterator) Next

func (it *ZkSyncWithdrawalIterator) 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 ZkSyncWithdrawalNFT

type ZkSyncWithdrawalNFT struct {
	TokenId uint32
	Raw     types.Log // Blockchain specific contextual infos
}

ZkSyncWithdrawalNFT represents a WithdrawalNFT event raised by the ZkSync contract.

type ZkSyncWithdrawalNFTIterator

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

ZkSyncWithdrawalNFTIterator is returned from FilterWithdrawalNFT and is used to iterate over the raw logs and unpacked data for WithdrawalNFT events raised by the ZkSync contract.

func (*ZkSyncWithdrawalNFTIterator) Close

func (it *ZkSyncWithdrawalNFTIterator) Close() error

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

func (*ZkSyncWithdrawalNFTIterator) Error

func (it *ZkSyncWithdrawalNFTIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkSyncWithdrawalNFTIterator) Next

func (it *ZkSyncWithdrawalNFTIterator) 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 ZkSyncWithdrawalNFTPending

type ZkSyncWithdrawalNFTPending struct {
	TokenId uint32
	Raw     types.Log // Blockchain specific contextual infos
}

ZkSyncWithdrawalNFTPending represents a WithdrawalNFTPending event raised by the ZkSync contract.

type ZkSyncWithdrawalNFTPendingIterator

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

ZkSyncWithdrawalNFTPendingIterator is returned from FilterWithdrawalNFTPending and is used to iterate over the raw logs and unpacked data for WithdrawalNFTPending events raised by the ZkSync contract.

func (*ZkSyncWithdrawalNFTPendingIterator) Close

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

func (*ZkSyncWithdrawalNFTPendingIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkSyncWithdrawalNFTPendingIterator) 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 ZkSyncWithdrawalPending

type ZkSyncWithdrawalPending struct {
	TokenId uint16
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ZkSyncWithdrawalPending represents a WithdrawalPending event raised by the ZkSync contract.

type ZkSyncWithdrawalPendingIterator

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

ZkSyncWithdrawalPendingIterator is returned from FilterWithdrawalPending and is used to iterate over the raw logs and unpacked data for WithdrawalPending events raised by the ZkSync contract.

func (*ZkSyncWithdrawalPendingIterator) Close

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

func (*ZkSyncWithdrawalPendingIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkSyncWithdrawalPendingIterator) 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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