Documentation ¶
Index ¶
- Variables
- type IStateGistProof
- type IStateGistRootInfo
- type IStateStateInfo
- type StateLib
- type StateLibCaller
- type StateLibCallerRaw
- type StateLibCallerSession
- type StateLibFilterer
- func (_StateLib *StateLibFilterer) FilterStateUpdated(opts *bind.FilterOpts) (*StateLibStateUpdatedIterator, error)
- func (_StateLib *StateLibFilterer) ParseStateUpdated(log types.Log) (*StateLibStateUpdated, error)
- func (_StateLib *StateLibFilterer) WatchStateUpdated(opts *bind.WatchOpts, sink chan<- *StateLibStateUpdated) (event.Subscription, error)
- type StateLibRaw
- func (_StateLib *StateLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_StateLib *StateLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_StateLib *StateLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StateLibSession
- type StateLibStateUpdated
- type StateLibStateUpdatedIterator
- type StateLibTransactor
- type StateLibTransactorRaw
- type StateLibTransactorSession
- type StateV2Handler
- type StateV2HandlerCaller
- func (_StateV2Handler *StateV2HandlerCaller) GetDefaultIdType(opts *bind.CallOpts) ([2]byte, error)
- func (_StateV2Handler *StateV2HandlerCaller) GetGISTProof(opts *bind.CallOpts, id *big.Int) (IStateGistProof, error)
- func (_StateV2Handler *StateV2HandlerCaller) GetGISTProofByBlock(opts *bind.CallOpts, id *big.Int, blockNumber *big.Int) (IStateGistProof, error)
- func (_StateV2Handler *StateV2HandlerCaller) GetGISTProofByRoot(opts *bind.CallOpts, id *big.Int, root *big.Int) (IStateGistProof, error)
- func (_StateV2Handler *StateV2HandlerCaller) GetGISTProofByTime(opts *bind.CallOpts, id *big.Int, timestamp *big.Int) (IStateGistProof, error)
- func (_StateV2Handler *StateV2HandlerCaller) GetGISTRoot(opts *bind.CallOpts) (*big.Int, error)
- func (_StateV2Handler *StateV2HandlerCaller) GetGISTRootHistory(opts *bind.CallOpts, start *big.Int, length *big.Int) ([]IStateGistRootInfo, error)
- func (_StateV2Handler *StateV2HandlerCaller) GetGISTRootHistoryLength(opts *bind.CallOpts) (*big.Int, error)
- func (_StateV2Handler *StateV2HandlerCaller) GetGISTRootInfo(opts *bind.CallOpts, root *big.Int) (IStateGistRootInfo, error)
- func (_StateV2Handler *StateV2HandlerCaller) GetGISTRootInfoByBlock(opts *bind.CallOpts, blockNumber *big.Int) (IStateGistRootInfo, error)
- func (_StateV2Handler *StateV2HandlerCaller) GetGISTRootInfoByTime(opts *bind.CallOpts, timestamp *big.Int) (IStateGistRootInfo, error)
- func (_StateV2Handler *StateV2HandlerCaller) GetStateInfoById(opts *bind.CallOpts, id *big.Int) (IStateStateInfo, error)
- func (_StateV2Handler *StateV2HandlerCaller) GetStateInfoByIdAndState(opts *bind.CallOpts, id *big.Int, state *big.Int) (IStateStateInfo, error)
- func (_StateV2Handler *StateV2HandlerCaller) GetStateInfoHistoryById(opts *bind.CallOpts, id *big.Int, startIndex *big.Int, length *big.Int) ([]IStateStateInfo, error)
- func (_StateV2Handler *StateV2HandlerCaller) GetStateInfoHistoryLengthById(opts *bind.CallOpts, id *big.Int) (*big.Int, error)
- func (_StateV2Handler *StateV2HandlerCaller) GetVerifier(opts *bind.CallOpts) (common.Address, error)
- func (_StateV2Handler *StateV2HandlerCaller) IdExists(opts *bind.CallOpts, id *big.Int) (bool, error)
- func (_StateV2Handler *StateV2HandlerCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_StateV2Handler *StateV2HandlerCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
- func (_StateV2Handler *StateV2HandlerCaller) StateExists(opts *bind.CallOpts, id *big.Int, state *big.Int) (bool, error)
- func (_StateV2Handler *StateV2HandlerCaller) VERSION(opts *bind.CallOpts) (string, error)
- type StateV2HandlerCallerRaw
- type StateV2HandlerCallerSession
- func (_StateV2Handler *StateV2HandlerCallerSession) GetDefaultIdType() ([2]byte, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTProof(id *big.Int) (IStateGistProof, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTProofByBlock(id *big.Int, blockNumber *big.Int) (IStateGistProof, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTProofByRoot(id *big.Int, root *big.Int) (IStateGistProof, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTProofByTime(id *big.Int, timestamp *big.Int) (IStateGistProof, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTRoot() (*big.Int, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTRootHistory(start *big.Int, length *big.Int) ([]IStateGistRootInfo, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTRootHistoryLength() (*big.Int, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTRootInfo(root *big.Int) (IStateGistRootInfo, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTRootInfoByBlock(blockNumber *big.Int) (IStateGistRootInfo, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTRootInfoByTime(timestamp *big.Int) (IStateGistRootInfo, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) GetStateInfoById(id *big.Int) (IStateStateInfo, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) GetStateInfoByIdAndState(id *big.Int, state *big.Int) (IStateStateInfo, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) GetStateInfoHistoryById(id *big.Int, startIndex *big.Int, length *big.Int) ([]IStateStateInfo, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) GetStateInfoHistoryLengthById(id *big.Int) (*big.Int, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) GetVerifier() (common.Address, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) IdExists(id *big.Int) (bool, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) Owner() (common.Address, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) PendingOwner() (common.Address, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) StateExists(id *big.Int, state *big.Int) (bool, error)
- func (_StateV2Handler *StateV2HandlerCallerSession) VERSION() (string, error)
- type StateV2HandlerFilterer
- func (_StateV2Handler *StateV2HandlerFilterer) FilterInitialized(opts *bind.FilterOpts) (*StateV2HandlerInitializedIterator, error)
- func (_StateV2Handler *StateV2HandlerFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*StateV2HandlerOwnershipTransferStartedIterator, error)
- func (_StateV2Handler *StateV2HandlerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*StateV2HandlerOwnershipTransferredIterator, error)
- func (_StateV2Handler *StateV2HandlerFilterer) ParseInitialized(log types.Log) (*StateV2HandlerInitialized, error)
- func (_StateV2Handler *StateV2HandlerFilterer) ParseOwnershipTransferStarted(log types.Log) (*StateV2HandlerOwnershipTransferStarted, error)
- func (_StateV2Handler *StateV2HandlerFilterer) ParseOwnershipTransferred(log types.Log) (*StateV2HandlerOwnershipTransferred, error)
- func (_StateV2Handler *StateV2HandlerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *StateV2HandlerInitialized) (event.Subscription, error)
- func (_StateV2Handler *StateV2HandlerFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *StateV2HandlerOwnershipTransferStarted, ...) (event.Subscription, error)
- func (_StateV2Handler *StateV2HandlerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *StateV2HandlerOwnershipTransferred, ...) (event.Subscription, error)
- type StateV2HandlerInitialized
- type StateV2HandlerInitializedIterator
- type StateV2HandlerOwnershipTransferStarted
- type StateV2HandlerOwnershipTransferStartedIterator
- type StateV2HandlerOwnershipTransferred
- type StateV2HandlerOwnershipTransferredIterator
- type StateV2HandlerRaw
- func (_StateV2Handler *StateV2HandlerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_StateV2Handler *StateV2HandlerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StateV2HandlerSession
- func (_StateV2Handler *StateV2HandlerSession) AcceptOwnership() (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerSession) GetDefaultIdType() ([2]byte, error)
- func (_StateV2Handler *StateV2HandlerSession) GetGISTProof(id *big.Int) (IStateGistProof, error)
- func (_StateV2Handler *StateV2HandlerSession) GetGISTProofByBlock(id *big.Int, blockNumber *big.Int) (IStateGistProof, error)
- func (_StateV2Handler *StateV2HandlerSession) GetGISTProofByRoot(id *big.Int, root *big.Int) (IStateGistProof, error)
- func (_StateV2Handler *StateV2HandlerSession) GetGISTProofByTime(id *big.Int, timestamp *big.Int) (IStateGistProof, error)
- func (_StateV2Handler *StateV2HandlerSession) GetGISTRoot() (*big.Int, error)
- func (_StateV2Handler *StateV2HandlerSession) GetGISTRootHistory(start *big.Int, length *big.Int) ([]IStateGistRootInfo, error)
- func (_StateV2Handler *StateV2HandlerSession) GetGISTRootHistoryLength() (*big.Int, error)
- func (_StateV2Handler *StateV2HandlerSession) GetGISTRootInfo(root *big.Int) (IStateGistRootInfo, error)
- func (_StateV2Handler *StateV2HandlerSession) GetGISTRootInfoByBlock(blockNumber *big.Int) (IStateGistRootInfo, error)
- func (_StateV2Handler *StateV2HandlerSession) GetGISTRootInfoByTime(timestamp *big.Int) (IStateGistRootInfo, error)
- func (_StateV2Handler *StateV2HandlerSession) GetStateInfoById(id *big.Int) (IStateStateInfo, error)
- func (_StateV2Handler *StateV2HandlerSession) GetStateInfoByIdAndState(id *big.Int, state *big.Int) (IStateStateInfo, error)
- func (_StateV2Handler *StateV2HandlerSession) GetStateInfoHistoryById(id *big.Int, startIndex *big.Int, length *big.Int) ([]IStateStateInfo, error)
- func (_StateV2Handler *StateV2HandlerSession) GetStateInfoHistoryLengthById(id *big.Int) (*big.Int, error)
- func (_StateV2Handler *StateV2HandlerSession) GetVerifier() (common.Address, error)
- func (_StateV2Handler *StateV2HandlerSession) IdExists(id *big.Int) (bool, error)
- func (_StateV2Handler *StateV2HandlerSession) Initialize(verifierContractAddr common.Address, defaultIdType [2]byte) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerSession) Owner() (common.Address, error)
- func (_StateV2Handler *StateV2HandlerSession) PendingOwner() (common.Address, error)
- func (_StateV2Handler *StateV2HandlerSession) RenounceOwnership() (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerSession) SetDefaultIdType(defaultIdType [2]byte) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerSession) SetVerifier(newVerifierAddr common.Address) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerSession) StateExists(id *big.Int, state *big.Int) (bool, error)
- func (_StateV2Handler *StateV2HandlerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerSession) TransitState(id *big.Int, oldState *big.Int, newState *big.Int, isOldStateGenesis bool, ...) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerSession) TransitStateGeneric(id *big.Int, oldState *big.Int, newState *big.Int, isOldStateGenesis bool, ...) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerSession) VERSION() (string, error)
- type StateV2HandlerTransactor
- func (_StateV2Handler *StateV2HandlerTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerTransactor) Initialize(opts *bind.TransactOpts, verifierContractAddr common.Address, ...) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerTransactor) SetDefaultIdType(opts *bind.TransactOpts, defaultIdType [2]byte) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerTransactor) SetVerifier(opts *bind.TransactOpts, newVerifierAddr common.Address) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerTransactor) TransitState(opts *bind.TransactOpts, id *big.Int, oldState *big.Int, newState *big.Int, ...) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerTransactor) TransitStateGeneric(opts *bind.TransactOpts, id *big.Int, oldState *big.Int, newState *big.Int, ...) (*types.Transaction, error)
- type StateV2HandlerTransactorRaw
- type StateV2HandlerTransactorSession
- func (_StateV2Handler *StateV2HandlerTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerTransactorSession) Initialize(verifierContractAddr common.Address, defaultIdType [2]byte) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerTransactorSession) SetDefaultIdType(defaultIdType [2]byte) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerTransactorSession) SetVerifier(newVerifierAddr common.Address) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerTransactorSession) TransitState(id *big.Int, oldState *big.Int, newState *big.Int, isOldStateGenesis bool, ...) (*types.Transaction, error)
- func (_StateV2Handler *StateV2HandlerTransactorSession) TransitStateGeneric(id *big.Int, oldState *big.Int, newState *big.Int, isOldStateGenesis bool, ...) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var StateLibABI = StateLibMetaData.ABI
StateLibABI is the input ABI used to generate the binding from. Deprecated: Use StateLibMetaData.ABI instead.
var StateLibMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"blockN\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"state\",\"type\":\"uint256\"}],\"name\":\"StateUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ID_HISTORY_RETURN_LIMIT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
StateLibMetaData contains all meta data concerning the StateLib contract.
var StateV2HandlerABI = StateV2HandlerMetaData.ABI
StateV2HandlerABI is the input ABI used to generate the binding from. Deprecated: Use StateV2HandlerMetaData.ABI instead.
var StateV2HandlerMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDefaultIdType\",\"outputs\":[{\"internalType\":\"bytes2\",\"name\":\"\",\"type\":\"bytes2\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"getGISTProof\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"existence\",\"type\":\"bool\"},{\"internalType\":\"uint256[64]\",\"name\":\"siblings\",\"type\":\"uint256[64]\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"auxExistence\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"auxIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"auxValue\",\"type\":\"uint256\"}],\"internalType\":\"structIState.GistProof\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getGISTProofByBlock\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"existence\",\"type\":\"bool\"},{\"internalType\":\"uint256[64]\",\"name\":\"siblings\",\"type\":\"uint256[64]\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"auxExistence\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"auxIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"auxValue\",\"type\":\"uint256\"}],\"internalType\":\"structIState.GistProof\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"}],\"name\":\"getGISTProofByRoot\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"existence\",\"type\":\"bool\"},{\"internalType\":\"uint256[64]\",\"name\":\"siblings\",\"type\":\"uint256[64]\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"auxExistence\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"auxIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"auxValue\",\"type\":\"uint256\"}],\"internalType\":\"structIState.GistProof\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"getGISTProofByTime\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"existence\",\"type\":\"bool\"},{\"internalType\":\"uint256[64]\",\"name\":\"siblings\",\"type\":\"uint256[64]\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"auxExistence\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"auxIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"auxValue\",\"type\":\"uint256\"}],\"internalType\":\"structIState.GistProof\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getGISTRoot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"getGISTRootHistory\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedByRoot\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedAtBlock\",\"type\":\"uint256\"}],\"internalType\":\"structIState.GistRootInfo[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getGISTRootHistoryLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"}],\"name\":\"getGISTRootInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedByRoot\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedAtBlock\",\"type\":\"uint256\"}],\"internalType\":\"structIState.GistRootInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getGISTRootInfoByBlock\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedByRoot\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedAtBlock\",\"type\":\"uint256\"}],\"internalType\":\"structIState.GistRootInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"getGISTRootInfoByTime\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedByRoot\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedAtBlock\",\"type\":\"uint256\"}],\"internalType\":\"structIState.GistRootInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"getStateInfoById\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"state\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedByState\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedAtBlock\",\"type\":\"uint256\"}],\"internalType\":\"structIState.StateInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"state\",\"type\":\"uint256\"}],\"name\":\"getStateInfoByIdAndState\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"state\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedByState\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedAtBlock\",\"type\":\"uint256\"}],\"internalType\":\"structIState.StateInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"getStateInfoHistoryById\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"state\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedByState\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedAtBlock\",\"type\":\"uint256\"}],\"internalType\":\"structIState.StateInfo[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"getStateInfoHistoryLengthById\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVerifier\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"idExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIStateTransitionVerifier\",\"name\":\"verifierContractAddr\",\"type\":\"address\"},{\"internalType\":\"bytes2\",\"name\":\"defaultIdType\",\"type\":\"bytes2\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes2\",\"name\":\"defaultIdType\",\"type\":\"bytes2\"}],\"name\":\"setDefaultIdType\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newVerifierAddr\",\"type\":\"address\"}],\"name\":\"setVerifier\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"state\",\"type\":\"uint256\"}],\"name\":\"stateExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"oldState\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"newState\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"isOldStateGenesis\",\"type\":\"bool\"},{\"internalType\":\"uint256[2]\",\"name\":\"a\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint256[2][2]\",\"name\":\"b\",\"type\":\"uint256[2][2]\"},{\"internalType\":\"uint256[2]\",\"name\":\"c\",\"type\":\"uint256[2]\"}],\"name\":\"transitState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"oldState\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"newState\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"isOldStateGenesis\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"methodId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"methodParams\",\"type\":\"bytes\"}],\"name\":\"transitStateGeneric\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
StateV2HandlerMetaData contains all meta data concerning the StateV2Handler contract.
Functions ¶
This section is empty.
Types ¶
type IStateGistProof ¶
type IStateGistProof struct { Root *big.Int Existence bool Siblings [64]*big.Int Index *big.Int Value *big.Int AuxExistence bool AuxIndex *big.Int AuxValue *big.Int }
IStateGistProof is an auto generated low-level Go binding around an user-defined struct.
type IStateGistRootInfo ¶
type IStateGistRootInfo struct { Root *big.Int ReplacedByRoot *big.Int CreatedAtTimestamp *big.Int ReplacedAtTimestamp *big.Int CreatedAtBlock *big.Int ReplacedAtBlock *big.Int }
IStateGistRootInfo is an auto generated low-level Go binding around an user-defined struct.
type IStateStateInfo ¶
type IStateStateInfo struct { Id *big.Int State *big.Int ReplacedByState *big.Int CreatedAtTimestamp *big.Int ReplacedAtTimestamp *big.Int CreatedAtBlock *big.Int ReplacedAtBlock *big.Int }
IStateStateInfo is an auto generated low-level Go binding around an user-defined struct.
type StateLib ¶
type StateLib struct { StateLibCaller // Read-only binding to the contract StateLibTransactor // Write-only binding to the contract StateLibFilterer // Log filterer for contract events }
StateLib is an auto generated Go binding around an Ethereum contract.
func NewStateLib ¶
NewStateLib creates a new instance of StateLib, bound to a specific deployed contract.
type StateLibCaller ¶
type StateLibCaller struct {
// contains filtered or unexported fields
}
StateLibCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStateLibCaller ¶
func NewStateLibCaller(address common.Address, caller bind.ContractCaller) (*StateLibCaller, error)
NewStateLibCaller creates a new read-only instance of StateLib, bound to a specific deployed contract.
func (*StateLibCaller) IDHISTORYRETURNLIMIT ¶
IDHISTORYRETURNLIMIT is a free data retrieval call binding the contract method 0xeaa6b26c.
Solidity: function ID_HISTORY_RETURN_LIMIT() view returns(uint256)
type StateLibCallerRaw ¶
type StateLibCallerRaw struct {
Contract *StateLibCaller // Generic read-only contract binding to access the raw methods on
}
StateLibCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StateLibCallerRaw) Call ¶
func (_StateLib *StateLibCallerRaw) 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 StateLibCallerSession ¶
type StateLibCallerSession struct { Contract *StateLibCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StateLibCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StateLibCallerSession) IDHISTORYRETURNLIMIT ¶
func (_StateLib *StateLibCallerSession) IDHISTORYRETURNLIMIT() (*big.Int, error)
IDHISTORYRETURNLIMIT is a free data retrieval call binding the contract method 0xeaa6b26c.
Solidity: function ID_HISTORY_RETURN_LIMIT() view returns(uint256)
type StateLibFilterer ¶
type StateLibFilterer struct {
// contains filtered or unexported fields
}
StateLibFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStateLibFilterer ¶
func NewStateLibFilterer(address common.Address, filterer bind.ContractFilterer) (*StateLibFilterer, error)
NewStateLibFilterer creates a new log filterer instance of StateLib, bound to a specific deployed contract.
func (*StateLibFilterer) FilterStateUpdated ¶
func (_StateLib *StateLibFilterer) FilterStateUpdated(opts *bind.FilterOpts) (*StateLibStateUpdatedIterator, error)
FilterStateUpdated is a free log retrieval operation binding the contract event 0x88aef4d78ad30d12a12a98e96007f5b09c1610b5364b2b99960b7d07e00a8838.
Solidity: event StateUpdated(uint256 id, uint256 blockN, uint256 timestamp, uint256 state)
func (*StateLibFilterer) ParseStateUpdated ¶
func (_StateLib *StateLibFilterer) ParseStateUpdated(log types.Log) (*StateLibStateUpdated, error)
ParseStateUpdated is a log parse operation binding the contract event 0x88aef4d78ad30d12a12a98e96007f5b09c1610b5364b2b99960b7d07e00a8838.
Solidity: event StateUpdated(uint256 id, uint256 blockN, uint256 timestamp, uint256 state)
func (*StateLibFilterer) WatchStateUpdated ¶
func (_StateLib *StateLibFilterer) WatchStateUpdated(opts *bind.WatchOpts, sink chan<- *StateLibStateUpdated) (event.Subscription, error)
WatchStateUpdated is a free log subscription operation binding the contract event 0x88aef4d78ad30d12a12a98e96007f5b09c1610b5364b2b99960b7d07e00a8838.
Solidity: event StateUpdated(uint256 id, uint256 blockN, uint256 timestamp, uint256 state)
type StateLibRaw ¶
type StateLibRaw struct {
Contract *StateLib // Generic contract binding to access the raw methods on
}
StateLibRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StateLibRaw) Call ¶
func (_StateLib *StateLibRaw) 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 (*StateLibRaw) Transact ¶
func (_StateLib *StateLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StateLibRaw) Transfer ¶
func (_StateLib *StateLibRaw) 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 StateLibSession ¶
type StateLibSession struct { Contract *StateLib // 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 }
StateLibSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StateLibSession) IDHISTORYRETURNLIMIT ¶
func (_StateLib *StateLibSession) IDHISTORYRETURNLIMIT() (*big.Int, error)
IDHISTORYRETURNLIMIT is a free data retrieval call binding the contract method 0xeaa6b26c.
Solidity: function ID_HISTORY_RETURN_LIMIT() view returns(uint256)
type StateLibStateUpdated ¶
type StateLibStateUpdated struct { Id *big.Int BlockN *big.Int Timestamp *big.Int State *big.Int Raw types.Log // Blockchain specific contextual infos }
StateLibStateUpdated represents a StateUpdated event raised by the StateLib contract.
type StateLibStateUpdatedIterator ¶
type StateLibStateUpdatedIterator struct { Event *StateLibStateUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StateLibStateUpdatedIterator is returned from FilterStateUpdated and is used to iterate over the raw logs and unpacked data for StateUpdated events raised by the StateLib contract.
func (*StateLibStateUpdatedIterator) Close ¶
func (it *StateLibStateUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StateLibStateUpdatedIterator) Error ¶
func (it *StateLibStateUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StateLibStateUpdatedIterator) Next ¶
func (it *StateLibStateUpdatedIterator) 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 StateLibTransactor ¶
type StateLibTransactor struct {
// contains filtered or unexported fields
}
StateLibTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStateLibTransactor ¶
func NewStateLibTransactor(address common.Address, transactor bind.ContractTransactor) (*StateLibTransactor, error)
NewStateLibTransactor creates a new write-only instance of StateLib, bound to a specific deployed contract.
type StateLibTransactorRaw ¶
type StateLibTransactorRaw struct {
Contract *StateLibTransactor // Generic write-only contract binding to access the raw methods on
}
StateLibTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StateLibTransactorRaw) Transact ¶
func (_StateLib *StateLibTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StateLibTransactorRaw) Transfer ¶
func (_StateLib *StateLibTransactorRaw) 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 StateLibTransactorSession ¶
type StateLibTransactorSession struct { Contract *StateLibTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StateLibTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type StateV2Handler ¶
type StateV2Handler struct { StateV2HandlerCaller // Read-only binding to the contract StateV2HandlerTransactor // Write-only binding to the contract StateV2HandlerFilterer // Log filterer for contract events }
StateV2Handler is an auto generated Go binding around an Ethereum contract.
func NewStateV2Handler ¶
func NewStateV2Handler(address common.Address, backend bind.ContractBackend) (*StateV2Handler, error)
NewStateV2Handler creates a new instance of StateV2Handler, bound to a specific deployed contract.
type StateV2HandlerCaller ¶
type StateV2HandlerCaller struct {
// contains filtered or unexported fields
}
StateV2HandlerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStateV2HandlerCaller ¶
func NewStateV2HandlerCaller(address common.Address, caller bind.ContractCaller) (*StateV2HandlerCaller, error)
NewStateV2HandlerCaller creates a new read-only instance of StateV2Handler, bound to a specific deployed contract.
func (*StateV2HandlerCaller) GetDefaultIdType ¶
func (_StateV2Handler *StateV2HandlerCaller) GetDefaultIdType(opts *bind.CallOpts) ([2]byte, error)
GetDefaultIdType is a free data retrieval call binding the contract method 0x133fe385.
Solidity: function getDefaultIdType() view returns(bytes2)
func (*StateV2HandlerCaller) GetGISTProof ¶
func (_StateV2Handler *StateV2HandlerCaller) GetGISTProof(opts *bind.CallOpts, id *big.Int) (IStateGistProof, error)
GetGISTProof is a free data retrieval call binding the contract method 0x3025bb8c.
Solidity: function getGISTProof(uint256 id) view returns((uint256,bool,uint256[64],uint256,uint256,bool,uint256,uint256))
func (*StateV2HandlerCaller) GetGISTProofByBlock ¶
func (_StateV2Handler *StateV2HandlerCaller) GetGISTProofByBlock(opts *bind.CallOpts, id *big.Int, blockNumber *big.Int) (IStateGistProof, error)
GetGISTProofByBlock is a free data retrieval call binding the contract method 0x046ff140.
Solidity: function getGISTProofByBlock(uint256 id, uint256 blockNumber) view returns((uint256,bool,uint256[64],uint256,uint256,bool,uint256,uint256))
func (*StateV2HandlerCaller) GetGISTProofByRoot ¶
func (_StateV2Handler *StateV2HandlerCaller) GetGISTProofByRoot(opts *bind.CallOpts, id *big.Int, root *big.Int) (IStateGistProof, error)
GetGISTProofByRoot is a free data retrieval call binding the contract method 0xe12a36c0.
Solidity: function getGISTProofByRoot(uint256 id, uint256 root) view returns((uint256,bool,uint256[64],uint256,uint256,bool,uint256,uint256))
func (*StateV2HandlerCaller) GetGISTProofByTime ¶
func (_StateV2Handler *StateV2HandlerCaller) GetGISTProofByTime(opts *bind.CallOpts, id *big.Int, timestamp *big.Int) (IStateGistProof, error)
GetGISTProofByTime is a free data retrieval call binding the contract method 0xd51afebf.
Solidity: function getGISTProofByTime(uint256 id, uint256 timestamp) view returns((uint256,bool,uint256[64],uint256,uint256,bool,uint256,uint256))
func (*StateV2HandlerCaller) GetGISTRoot ¶
GetGISTRoot is a free data retrieval call binding the contract method 0x2439e3a6.
Solidity: function getGISTRoot() view returns(uint256)
func (*StateV2HandlerCaller) GetGISTRootHistory ¶
func (_StateV2Handler *StateV2HandlerCaller) GetGISTRootHistory(opts *bind.CallOpts, start *big.Int, length *big.Int) ([]IStateGistRootInfo, error)
GetGISTRootHistory is a free data retrieval call binding the contract method 0x2f7670e4.
Solidity: function getGISTRootHistory(uint256 start, uint256 length) view returns((uint256,uint256,uint256,uint256,uint256,uint256)[])
func (*StateV2HandlerCaller) GetGISTRootHistoryLength ¶
func (_StateV2Handler *StateV2HandlerCaller) GetGISTRootHistoryLength(opts *bind.CallOpts) (*big.Int, error)
GetGISTRootHistoryLength is a free data retrieval call binding the contract method 0xdccbd57a.
Solidity: function getGISTRootHistoryLength() view returns(uint256)
func (*StateV2HandlerCaller) GetGISTRootInfo ¶
func (_StateV2Handler *StateV2HandlerCaller) GetGISTRootInfo(opts *bind.CallOpts, root *big.Int) (IStateGistRootInfo, error)
GetGISTRootInfo is a free data retrieval call binding the contract method 0x7c1a66de.
Solidity: function getGISTRootInfo(uint256 root) view returns((uint256,uint256,uint256,uint256,uint256,uint256))
func (*StateV2HandlerCaller) GetGISTRootInfoByBlock ¶
func (_StateV2Handler *StateV2HandlerCaller) GetGISTRootInfoByBlock(opts *bind.CallOpts, blockNumber *big.Int) (IStateGistRootInfo, error)
GetGISTRootInfoByBlock is a free data retrieval call binding the contract method 0x5845e530.
Solidity: function getGISTRootInfoByBlock(uint256 blockNumber) view returns((uint256,uint256,uint256,uint256,uint256,uint256))
func (*StateV2HandlerCaller) GetGISTRootInfoByTime ¶
func (_StateV2Handler *StateV2HandlerCaller) GetGISTRootInfoByTime(opts *bind.CallOpts, timestamp *big.Int) (IStateGistRootInfo, error)
GetGISTRootInfoByTime is a free data retrieval call binding the contract method 0x0ef6e65b.
Solidity: function getGISTRootInfoByTime(uint256 timestamp) view returns((uint256,uint256,uint256,uint256,uint256,uint256))
func (*StateV2HandlerCaller) GetStateInfoById ¶
func (_StateV2Handler *StateV2HandlerCaller) GetStateInfoById(opts *bind.CallOpts, id *big.Int) (IStateStateInfo, error)
GetStateInfoById is a free data retrieval call binding the contract method 0xb4bdea55.
Solidity: function getStateInfoById(uint256 id) view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256))
func (*StateV2HandlerCaller) GetStateInfoByIdAndState ¶
func (_StateV2Handler *StateV2HandlerCaller) GetStateInfoByIdAndState(opts *bind.CallOpts, id *big.Int, state *big.Int) (IStateStateInfo, error)
GetStateInfoByIdAndState is a free data retrieval call binding the contract method 0x53c87312.
Solidity: function getStateInfoByIdAndState(uint256 id, uint256 state) view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256))
func (*StateV2HandlerCaller) GetStateInfoHistoryById ¶
func (_StateV2Handler *StateV2HandlerCaller) GetStateInfoHistoryById(opts *bind.CallOpts, id *big.Int, startIndex *big.Int, length *big.Int) ([]IStateStateInfo, error)
GetStateInfoHistoryById is a free data retrieval call binding the contract method 0xe99858fe.
Solidity: function getStateInfoHistoryById(uint256 id, uint256 startIndex, uint256 length) view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256)[])
func (*StateV2HandlerCaller) GetStateInfoHistoryLengthById ¶
func (_StateV2Handler *StateV2HandlerCaller) GetStateInfoHistoryLengthById(opts *bind.CallOpts, id *big.Int) (*big.Int, error)
GetStateInfoHistoryLengthById is a free data retrieval call binding the contract method 0x676d5b5a.
Solidity: function getStateInfoHistoryLengthById(uint256 id) view returns(uint256)
func (*StateV2HandlerCaller) GetVerifier ¶
func (_StateV2Handler *StateV2HandlerCaller) GetVerifier(opts *bind.CallOpts) (common.Address, error)
GetVerifier is a free data retrieval call binding the contract method 0x46657fe9.
Solidity: function getVerifier() view returns(address)
func (*StateV2HandlerCaller) IdExists ¶
func (_StateV2Handler *StateV2HandlerCaller) IdExists(opts *bind.CallOpts, id *big.Int) (bool, error)
IdExists is a free data retrieval call binding the contract method 0x0b8a295a.
Solidity: function idExists(uint256 id) view returns(bool)
func (*StateV2HandlerCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StateV2HandlerCaller) PendingOwner ¶
func (_StateV2Handler *StateV2HandlerCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*StateV2HandlerCaller) StateExists ¶
func (_StateV2Handler *StateV2HandlerCaller) StateExists(opts *bind.CallOpts, id *big.Int, state *big.Int) (bool, error)
StateExists is a free data retrieval call binding the contract method 0x233a4d23.
Solidity: function stateExists(uint256 id, uint256 state) view returns(bool)
type StateV2HandlerCallerRaw ¶
type StateV2HandlerCallerRaw struct {
Contract *StateV2HandlerCaller // Generic read-only contract binding to access the raw methods on
}
StateV2HandlerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StateV2HandlerCallerRaw) Call ¶
func (_StateV2Handler *StateV2HandlerCallerRaw) 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 StateV2HandlerCallerSession ¶
type StateV2HandlerCallerSession struct { Contract *StateV2HandlerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StateV2HandlerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StateV2HandlerCallerSession) GetDefaultIdType ¶
func (_StateV2Handler *StateV2HandlerCallerSession) GetDefaultIdType() ([2]byte, error)
GetDefaultIdType is a free data retrieval call binding the contract method 0x133fe385.
Solidity: function getDefaultIdType() view returns(bytes2)
func (*StateV2HandlerCallerSession) GetGISTProof ¶
func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTProof(id *big.Int) (IStateGistProof, error)
GetGISTProof is a free data retrieval call binding the contract method 0x3025bb8c.
Solidity: function getGISTProof(uint256 id) view returns((uint256,bool,uint256[64],uint256,uint256,bool,uint256,uint256))
func (*StateV2HandlerCallerSession) GetGISTProofByBlock ¶
func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTProofByBlock(id *big.Int, blockNumber *big.Int) (IStateGistProof, error)
GetGISTProofByBlock is a free data retrieval call binding the contract method 0x046ff140.
Solidity: function getGISTProofByBlock(uint256 id, uint256 blockNumber) view returns((uint256,bool,uint256[64],uint256,uint256,bool,uint256,uint256))
func (*StateV2HandlerCallerSession) GetGISTProofByRoot ¶
func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTProofByRoot(id *big.Int, root *big.Int) (IStateGistProof, error)
GetGISTProofByRoot is a free data retrieval call binding the contract method 0xe12a36c0.
Solidity: function getGISTProofByRoot(uint256 id, uint256 root) view returns((uint256,bool,uint256[64],uint256,uint256,bool,uint256,uint256))
func (*StateV2HandlerCallerSession) GetGISTProofByTime ¶
func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTProofByTime(id *big.Int, timestamp *big.Int) (IStateGistProof, error)
GetGISTProofByTime is a free data retrieval call binding the contract method 0xd51afebf.
Solidity: function getGISTProofByTime(uint256 id, uint256 timestamp) view returns((uint256,bool,uint256[64],uint256,uint256,bool,uint256,uint256))
func (*StateV2HandlerCallerSession) GetGISTRoot ¶
func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTRoot() (*big.Int, error)
GetGISTRoot is a free data retrieval call binding the contract method 0x2439e3a6.
Solidity: function getGISTRoot() view returns(uint256)
func (*StateV2HandlerCallerSession) GetGISTRootHistory ¶
func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTRootHistory(start *big.Int, length *big.Int) ([]IStateGistRootInfo, error)
GetGISTRootHistory is a free data retrieval call binding the contract method 0x2f7670e4.
Solidity: function getGISTRootHistory(uint256 start, uint256 length) view returns((uint256,uint256,uint256,uint256,uint256,uint256)[])
func (*StateV2HandlerCallerSession) GetGISTRootHistoryLength ¶
func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTRootHistoryLength() (*big.Int, error)
GetGISTRootHistoryLength is a free data retrieval call binding the contract method 0xdccbd57a.
Solidity: function getGISTRootHistoryLength() view returns(uint256)
func (*StateV2HandlerCallerSession) GetGISTRootInfo ¶
func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTRootInfo(root *big.Int) (IStateGistRootInfo, error)
GetGISTRootInfo is a free data retrieval call binding the contract method 0x7c1a66de.
Solidity: function getGISTRootInfo(uint256 root) view returns((uint256,uint256,uint256,uint256,uint256,uint256))
func (*StateV2HandlerCallerSession) GetGISTRootInfoByBlock ¶
func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTRootInfoByBlock(blockNumber *big.Int) (IStateGistRootInfo, error)
GetGISTRootInfoByBlock is a free data retrieval call binding the contract method 0x5845e530.
Solidity: function getGISTRootInfoByBlock(uint256 blockNumber) view returns((uint256,uint256,uint256,uint256,uint256,uint256))
func (*StateV2HandlerCallerSession) GetGISTRootInfoByTime ¶
func (_StateV2Handler *StateV2HandlerCallerSession) GetGISTRootInfoByTime(timestamp *big.Int) (IStateGistRootInfo, error)
GetGISTRootInfoByTime is a free data retrieval call binding the contract method 0x0ef6e65b.
Solidity: function getGISTRootInfoByTime(uint256 timestamp) view returns((uint256,uint256,uint256,uint256,uint256,uint256))
func (*StateV2HandlerCallerSession) GetStateInfoById ¶
func (_StateV2Handler *StateV2HandlerCallerSession) GetStateInfoById(id *big.Int) (IStateStateInfo, error)
GetStateInfoById is a free data retrieval call binding the contract method 0xb4bdea55.
Solidity: function getStateInfoById(uint256 id) view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256))
func (*StateV2HandlerCallerSession) GetStateInfoByIdAndState ¶
func (_StateV2Handler *StateV2HandlerCallerSession) GetStateInfoByIdAndState(id *big.Int, state *big.Int) (IStateStateInfo, error)
GetStateInfoByIdAndState is a free data retrieval call binding the contract method 0x53c87312.
Solidity: function getStateInfoByIdAndState(uint256 id, uint256 state) view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256))
func (*StateV2HandlerCallerSession) GetStateInfoHistoryById ¶
func (_StateV2Handler *StateV2HandlerCallerSession) GetStateInfoHistoryById(id *big.Int, startIndex *big.Int, length *big.Int) ([]IStateStateInfo, error)
GetStateInfoHistoryById is a free data retrieval call binding the contract method 0xe99858fe.
Solidity: function getStateInfoHistoryById(uint256 id, uint256 startIndex, uint256 length) view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256)[])
func (*StateV2HandlerCallerSession) GetStateInfoHistoryLengthById ¶
func (_StateV2Handler *StateV2HandlerCallerSession) GetStateInfoHistoryLengthById(id *big.Int) (*big.Int, error)
GetStateInfoHistoryLengthById is a free data retrieval call binding the contract method 0x676d5b5a.
Solidity: function getStateInfoHistoryLengthById(uint256 id) view returns(uint256)
func (*StateV2HandlerCallerSession) GetVerifier ¶
func (_StateV2Handler *StateV2HandlerCallerSession) GetVerifier() (common.Address, error)
GetVerifier is a free data retrieval call binding the contract method 0x46657fe9.
Solidity: function getVerifier() view returns(address)
func (*StateV2HandlerCallerSession) IdExists ¶
func (_StateV2Handler *StateV2HandlerCallerSession) IdExists(id *big.Int) (bool, error)
IdExists is a free data retrieval call binding the contract method 0x0b8a295a.
Solidity: function idExists(uint256 id) view returns(bool)
func (*StateV2HandlerCallerSession) Owner ¶
func (_StateV2Handler *StateV2HandlerCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StateV2HandlerCallerSession) PendingOwner ¶
func (_StateV2Handler *StateV2HandlerCallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*StateV2HandlerCallerSession) StateExists ¶
func (_StateV2Handler *StateV2HandlerCallerSession) StateExists(id *big.Int, state *big.Int) (bool, error)
StateExists is a free data retrieval call binding the contract method 0x233a4d23.
Solidity: function stateExists(uint256 id, uint256 state) view returns(bool)
func (*StateV2HandlerCallerSession) VERSION ¶
func (_StateV2Handler *StateV2HandlerCallerSession) VERSION() (string, error)
VERSION is a free data retrieval call binding the contract method 0xffa1ad74.
Solidity: function VERSION() view returns(string)
type StateV2HandlerFilterer ¶
type StateV2HandlerFilterer struct {
// contains filtered or unexported fields
}
StateV2HandlerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStateV2HandlerFilterer ¶
func NewStateV2HandlerFilterer(address common.Address, filterer bind.ContractFilterer) (*StateV2HandlerFilterer, error)
NewStateV2HandlerFilterer creates a new log filterer instance of StateV2Handler, bound to a specific deployed contract.
func (*StateV2HandlerFilterer) FilterInitialized ¶
func (_StateV2Handler *StateV2HandlerFilterer) FilterInitialized(opts *bind.FilterOpts) (*StateV2HandlerInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*StateV2HandlerFilterer) FilterOwnershipTransferStarted ¶
func (_StateV2Handler *StateV2HandlerFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*StateV2HandlerOwnershipTransferStartedIterator, error)
FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*StateV2HandlerFilterer) FilterOwnershipTransferred ¶
func (_StateV2Handler *StateV2HandlerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*StateV2HandlerOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*StateV2HandlerFilterer) ParseInitialized ¶
func (_StateV2Handler *StateV2HandlerFilterer) ParseInitialized(log types.Log) (*StateV2HandlerInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*StateV2HandlerFilterer) ParseOwnershipTransferStarted ¶
func (_StateV2Handler *StateV2HandlerFilterer) ParseOwnershipTransferStarted(log types.Log) (*StateV2HandlerOwnershipTransferStarted, error)
ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*StateV2HandlerFilterer) ParseOwnershipTransferred ¶
func (_StateV2Handler *StateV2HandlerFilterer) ParseOwnershipTransferred(log types.Log) (*StateV2HandlerOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*StateV2HandlerFilterer) WatchInitialized ¶
func (_StateV2Handler *StateV2HandlerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *StateV2HandlerInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*StateV2HandlerFilterer) WatchOwnershipTransferStarted ¶
func (_StateV2Handler *StateV2HandlerFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *StateV2HandlerOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*StateV2HandlerFilterer) WatchOwnershipTransferred ¶
func (_StateV2Handler *StateV2HandlerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *StateV2HandlerOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type StateV2HandlerInitialized ¶
type StateV2HandlerInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
StateV2HandlerInitialized represents a Initialized event raised by the StateV2Handler contract.
type StateV2HandlerInitializedIterator ¶
type StateV2HandlerInitializedIterator struct { Event *StateV2HandlerInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StateV2HandlerInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the StateV2Handler contract.
func (*StateV2HandlerInitializedIterator) Close ¶
func (it *StateV2HandlerInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StateV2HandlerInitializedIterator) Error ¶
func (it *StateV2HandlerInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StateV2HandlerInitializedIterator) Next ¶
func (it *StateV2HandlerInitializedIterator) 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 StateV2HandlerOwnershipTransferStarted ¶
type StateV2HandlerOwnershipTransferStarted struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
StateV2HandlerOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the StateV2Handler contract.
type StateV2HandlerOwnershipTransferStartedIterator ¶
type StateV2HandlerOwnershipTransferStartedIterator struct { Event *StateV2HandlerOwnershipTransferStarted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StateV2HandlerOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the StateV2Handler contract.
func (*StateV2HandlerOwnershipTransferStartedIterator) Close ¶
func (it *StateV2HandlerOwnershipTransferStartedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StateV2HandlerOwnershipTransferStartedIterator) Error ¶
func (it *StateV2HandlerOwnershipTransferStartedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StateV2HandlerOwnershipTransferStartedIterator) Next ¶
func (it *StateV2HandlerOwnershipTransferStartedIterator) 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 StateV2HandlerOwnershipTransferred ¶
type StateV2HandlerOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
StateV2HandlerOwnershipTransferred represents a OwnershipTransferred event raised by the StateV2Handler contract.
type StateV2HandlerOwnershipTransferredIterator ¶
type StateV2HandlerOwnershipTransferredIterator struct { Event *StateV2HandlerOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StateV2HandlerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the StateV2Handler contract.
func (*StateV2HandlerOwnershipTransferredIterator) Close ¶
func (it *StateV2HandlerOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StateV2HandlerOwnershipTransferredIterator) Error ¶
func (it *StateV2HandlerOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StateV2HandlerOwnershipTransferredIterator) Next ¶
func (it *StateV2HandlerOwnershipTransferredIterator) 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 StateV2HandlerRaw ¶
type StateV2HandlerRaw struct {
Contract *StateV2Handler // Generic contract binding to access the raw methods on
}
StateV2HandlerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StateV2HandlerRaw) Call ¶
func (_StateV2Handler *StateV2HandlerRaw) 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 (*StateV2HandlerRaw) Transact ¶
func (_StateV2Handler *StateV2HandlerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StateV2HandlerRaw) Transfer ¶
func (_StateV2Handler *StateV2HandlerRaw) 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 StateV2HandlerSession ¶
type StateV2HandlerSession struct { Contract *StateV2Handler // 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 }
StateV2HandlerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StateV2HandlerSession) AcceptOwnership ¶
func (_StateV2Handler *StateV2HandlerSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*StateV2HandlerSession) GetDefaultIdType ¶
func (_StateV2Handler *StateV2HandlerSession) GetDefaultIdType() ([2]byte, error)
GetDefaultIdType is a free data retrieval call binding the contract method 0x133fe385.
Solidity: function getDefaultIdType() view returns(bytes2)
func (*StateV2HandlerSession) GetGISTProof ¶
func (_StateV2Handler *StateV2HandlerSession) GetGISTProof(id *big.Int) (IStateGistProof, error)
GetGISTProof is a free data retrieval call binding the contract method 0x3025bb8c.
Solidity: function getGISTProof(uint256 id) view returns((uint256,bool,uint256[64],uint256,uint256,bool,uint256,uint256))
func (*StateV2HandlerSession) GetGISTProofByBlock ¶
func (_StateV2Handler *StateV2HandlerSession) GetGISTProofByBlock(id *big.Int, blockNumber *big.Int) (IStateGistProof, error)
GetGISTProofByBlock is a free data retrieval call binding the contract method 0x046ff140.
Solidity: function getGISTProofByBlock(uint256 id, uint256 blockNumber) view returns((uint256,bool,uint256[64],uint256,uint256,bool,uint256,uint256))
func (*StateV2HandlerSession) GetGISTProofByRoot ¶
func (_StateV2Handler *StateV2HandlerSession) GetGISTProofByRoot(id *big.Int, root *big.Int) (IStateGistProof, error)
GetGISTProofByRoot is a free data retrieval call binding the contract method 0xe12a36c0.
Solidity: function getGISTProofByRoot(uint256 id, uint256 root) view returns((uint256,bool,uint256[64],uint256,uint256,bool,uint256,uint256))
func (*StateV2HandlerSession) GetGISTProofByTime ¶
func (_StateV2Handler *StateV2HandlerSession) GetGISTProofByTime(id *big.Int, timestamp *big.Int) (IStateGistProof, error)
GetGISTProofByTime is a free data retrieval call binding the contract method 0xd51afebf.
Solidity: function getGISTProofByTime(uint256 id, uint256 timestamp) view returns((uint256,bool,uint256[64],uint256,uint256,bool,uint256,uint256))
func (*StateV2HandlerSession) GetGISTRoot ¶
func (_StateV2Handler *StateV2HandlerSession) GetGISTRoot() (*big.Int, error)
GetGISTRoot is a free data retrieval call binding the contract method 0x2439e3a6.
Solidity: function getGISTRoot() view returns(uint256)
func (*StateV2HandlerSession) GetGISTRootHistory ¶
func (_StateV2Handler *StateV2HandlerSession) GetGISTRootHistory(start *big.Int, length *big.Int) ([]IStateGistRootInfo, error)
GetGISTRootHistory is a free data retrieval call binding the contract method 0x2f7670e4.
Solidity: function getGISTRootHistory(uint256 start, uint256 length) view returns((uint256,uint256,uint256,uint256,uint256,uint256)[])
func (*StateV2HandlerSession) GetGISTRootHistoryLength ¶
func (_StateV2Handler *StateV2HandlerSession) GetGISTRootHistoryLength() (*big.Int, error)
GetGISTRootHistoryLength is a free data retrieval call binding the contract method 0xdccbd57a.
Solidity: function getGISTRootHistoryLength() view returns(uint256)
func (*StateV2HandlerSession) GetGISTRootInfo ¶
func (_StateV2Handler *StateV2HandlerSession) GetGISTRootInfo(root *big.Int) (IStateGistRootInfo, error)
GetGISTRootInfo is a free data retrieval call binding the contract method 0x7c1a66de.
Solidity: function getGISTRootInfo(uint256 root) view returns((uint256,uint256,uint256,uint256,uint256,uint256))
func (*StateV2HandlerSession) GetGISTRootInfoByBlock ¶
func (_StateV2Handler *StateV2HandlerSession) GetGISTRootInfoByBlock(blockNumber *big.Int) (IStateGistRootInfo, error)
GetGISTRootInfoByBlock is a free data retrieval call binding the contract method 0x5845e530.
Solidity: function getGISTRootInfoByBlock(uint256 blockNumber) view returns((uint256,uint256,uint256,uint256,uint256,uint256))
func (*StateV2HandlerSession) GetGISTRootInfoByTime ¶
func (_StateV2Handler *StateV2HandlerSession) GetGISTRootInfoByTime(timestamp *big.Int) (IStateGistRootInfo, error)
GetGISTRootInfoByTime is a free data retrieval call binding the contract method 0x0ef6e65b.
Solidity: function getGISTRootInfoByTime(uint256 timestamp) view returns((uint256,uint256,uint256,uint256,uint256,uint256))
func (*StateV2HandlerSession) GetStateInfoById ¶
func (_StateV2Handler *StateV2HandlerSession) GetStateInfoById(id *big.Int) (IStateStateInfo, error)
GetStateInfoById is a free data retrieval call binding the contract method 0xb4bdea55.
Solidity: function getStateInfoById(uint256 id) view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256))
func (*StateV2HandlerSession) GetStateInfoByIdAndState ¶
func (_StateV2Handler *StateV2HandlerSession) GetStateInfoByIdAndState(id *big.Int, state *big.Int) (IStateStateInfo, error)
GetStateInfoByIdAndState is a free data retrieval call binding the contract method 0x53c87312.
Solidity: function getStateInfoByIdAndState(uint256 id, uint256 state) view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256))
func (*StateV2HandlerSession) GetStateInfoHistoryById ¶
func (_StateV2Handler *StateV2HandlerSession) GetStateInfoHistoryById(id *big.Int, startIndex *big.Int, length *big.Int) ([]IStateStateInfo, error)
GetStateInfoHistoryById is a free data retrieval call binding the contract method 0xe99858fe.
Solidity: function getStateInfoHistoryById(uint256 id, uint256 startIndex, uint256 length) view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256)[])
func (*StateV2HandlerSession) GetStateInfoHistoryLengthById ¶
func (_StateV2Handler *StateV2HandlerSession) GetStateInfoHistoryLengthById(id *big.Int) (*big.Int, error)
GetStateInfoHistoryLengthById is a free data retrieval call binding the contract method 0x676d5b5a.
Solidity: function getStateInfoHistoryLengthById(uint256 id) view returns(uint256)
func (*StateV2HandlerSession) GetVerifier ¶
func (_StateV2Handler *StateV2HandlerSession) GetVerifier() (common.Address, error)
GetVerifier is a free data retrieval call binding the contract method 0x46657fe9.
Solidity: function getVerifier() view returns(address)
func (*StateV2HandlerSession) IdExists ¶
func (_StateV2Handler *StateV2HandlerSession) IdExists(id *big.Int) (bool, error)
IdExists is a free data retrieval call binding the contract method 0x0b8a295a.
Solidity: function idExists(uint256 id) view returns(bool)
func (*StateV2HandlerSession) Initialize ¶
func (_StateV2Handler *StateV2HandlerSession) Initialize(verifierContractAddr common.Address, defaultIdType [2]byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x406e8b4c.
Solidity: function initialize(address verifierContractAddr, bytes2 defaultIdType) returns()
func (*StateV2HandlerSession) Owner ¶
func (_StateV2Handler *StateV2HandlerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StateV2HandlerSession) PendingOwner ¶
func (_StateV2Handler *StateV2HandlerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*StateV2HandlerSession) RenounceOwnership ¶
func (_StateV2Handler *StateV2HandlerSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*StateV2HandlerSession) SetDefaultIdType ¶
func (_StateV2Handler *StateV2HandlerSession) SetDefaultIdType(defaultIdType [2]byte) (*types.Transaction, error)
SetDefaultIdType is a paid mutator transaction binding the contract method 0xa7c57eeb.
Solidity: function setDefaultIdType(bytes2 defaultIdType) returns()
func (*StateV2HandlerSession) SetVerifier ¶
func (_StateV2Handler *StateV2HandlerSession) SetVerifier(newVerifierAddr common.Address) (*types.Transaction, error)
SetVerifier is a paid mutator transaction binding the contract method 0x5437988d.
Solidity: function setVerifier(address newVerifierAddr) returns()
func (*StateV2HandlerSession) StateExists ¶
func (_StateV2Handler *StateV2HandlerSession) StateExists(id *big.Int, state *big.Int) (bool, error)
StateExists is a free data retrieval call binding the contract method 0x233a4d23.
Solidity: function stateExists(uint256 id, uint256 state) view returns(bool)
func (*StateV2HandlerSession) TransferOwnership ¶
func (_StateV2Handler *StateV2HandlerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*StateV2HandlerSession) TransitState ¶
func (_StateV2Handler *StateV2HandlerSession) TransitState(id *big.Int, oldState *big.Int, newState *big.Int, isOldStateGenesis bool, a [2]*big.Int, b [2][2]*big.Int, c [2]*big.Int) (*types.Transaction, error)
TransitState is a paid mutator transaction binding the contract method 0x28f88a65.
Solidity: function transitState(uint256 id, uint256 oldState, uint256 newState, bool isOldStateGenesis, uint256[2] a, uint256[2][2] b, uint256[2] c) returns()
func (*StateV2HandlerSession) TransitStateGeneric ¶
func (_StateV2Handler *StateV2HandlerSession) TransitStateGeneric(id *big.Int, oldState *big.Int, newState *big.Int, isOldStateGenesis bool, methodId *big.Int, methodParams []byte) (*types.Transaction, error)
TransitStateGeneric is a paid mutator transaction binding the contract method 0x7d0dcba5.
Solidity: function transitStateGeneric(uint256 id, uint256 oldState, uint256 newState, bool isOldStateGenesis, uint256 methodId, bytes methodParams) returns()
func (*StateV2HandlerSession) VERSION ¶
func (_StateV2Handler *StateV2HandlerSession) VERSION() (string, error)
VERSION is a free data retrieval call binding the contract method 0xffa1ad74.
Solidity: function VERSION() view returns(string)
type StateV2HandlerTransactor ¶
type StateV2HandlerTransactor struct {
// contains filtered or unexported fields
}
StateV2HandlerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStateV2HandlerTransactor ¶
func NewStateV2HandlerTransactor(address common.Address, transactor bind.ContractTransactor) (*StateV2HandlerTransactor, error)
NewStateV2HandlerTransactor creates a new write-only instance of StateV2Handler, bound to a specific deployed contract.
func (*StateV2HandlerTransactor) AcceptOwnership ¶
func (_StateV2Handler *StateV2HandlerTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*StateV2HandlerTransactor) Initialize ¶
func (_StateV2Handler *StateV2HandlerTransactor) Initialize(opts *bind.TransactOpts, verifierContractAddr common.Address, defaultIdType [2]byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x406e8b4c.
Solidity: function initialize(address verifierContractAddr, bytes2 defaultIdType) returns()
func (*StateV2HandlerTransactor) RenounceOwnership ¶
func (_StateV2Handler *StateV2HandlerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*StateV2HandlerTransactor) SetDefaultIdType ¶
func (_StateV2Handler *StateV2HandlerTransactor) SetDefaultIdType(opts *bind.TransactOpts, defaultIdType [2]byte) (*types.Transaction, error)
SetDefaultIdType is a paid mutator transaction binding the contract method 0xa7c57eeb.
Solidity: function setDefaultIdType(bytes2 defaultIdType) returns()
func (*StateV2HandlerTransactor) SetVerifier ¶
func (_StateV2Handler *StateV2HandlerTransactor) SetVerifier(opts *bind.TransactOpts, newVerifierAddr common.Address) (*types.Transaction, error)
SetVerifier is a paid mutator transaction binding the contract method 0x5437988d.
Solidity: function setVerifier(address newVerifierAddr) returns()
func (*StateV2HandlerTransactor) TransferOwnership ¶
func (_StateV2Handler *StateV2HandlerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*StateV2HandlerTransactor) TransitState ¶
func (_StateV2Handler *StateV2HandlerTransactor) TransitState(opts *bind.TransactOpts, id *big.Int, oldState *big.Int, newState *big.Int, isOldStateGenesis bool, a [2]*big.Int, b [2][2]*big.Int, c [2]*big.Int) (*types.Transaction, error)
TransitState is a paid mutator transaction binding the contract method 0x28f88a65.
Solidity: function transitState(uint256 id, uint256 oldState, uint256 newState, bool isOldStateGenesis, uint256[2] a, uint256[2][2] b, uint256[2] c) returns()
func (*StateV2HandlerTransactor) TransitStateGeneric ¶
func (_StateV2Handler *StateV2HandlerTransactor) TransitStateGeneric(opts *bind.TransactOpts, id *big.Int, oldState *big.Int, newState *big.Int, isOldStateGenesis bool, methodId *big.Int, methodParams []byte) (*types.Transaction, error)
TransitStateGeneric is a paid mutator transaction binding the contract method 0x7d0dcba5.
Solidity: function transitStateGeneric(uint256 id, uint256 oldState, uint256 newState, bool isOldStateGenesis, uint256 methodId, bytes methodParams) returns()
type StateV2HandlerTransactorRaw ¶
type StateV2HandlerTransactorRaw struct {
Contract *StateV2HandlerTransactor // Generic write-only contract binding to access the raw methods on
}
StateV2HandlerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StateV2HandlerTransactorRaw) Transact ¶
func (_StateV2Handler *StateV2HandlerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StateV2HandlerTransactorRaw) Transfer ¶
func (_StateV2Handler *StateV2HandlerTransactorRaw) 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 StateV2HandlerTransactorSession ¶
type StateV2HandlerTransactorSession struct { Contract *StateV2HandlerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StateV2HandlerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StateV2HandlerTransactorSession) AcceptOwnership ¶
func (_StateV2Handler *StateV2HandlerTransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*StateV2HandlerTransactorSession) Initialize ¶
func (_StateV2Handler *StateV2HandlerTransactorSession) Initialize(verifierContractAddr common.Address, defaultIdType [2]byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x406e8b4c.
Solidity: function initialize(address verifierContractAddr, bytes2 defaultIdType) returns()
func (*StateV2HandlerTransactorSession) RenounceOwnership ¶
func (_StateV2Handler *StateV2HandlerTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*StateV2HandlerTransactorSession) SetDefaultIdType ¶
func (_StateV2Handler *StateV2HandlerTransactorSession) SetDefaultIdType(defaultIdType [2]byte) (*types.Transaction, error)
SetDefaultIdType is a paid mutator transaction binding the contract method 0xa7c57eeb.
Solidity: function setDefaultIdType(bytes2 defaultIdType) returns()
func (*StateV2HandlerTransactorSession) SetVerifier ¶
func (_StateV2Handler *StateV2HandlerTransactorSession) SetVerifier(newVerifierAddr common.Address) (*types.Transaction, error)
SetVerifier is a paid mutator transaction binding the contract method 0x5437988d.
Solidity: function setVerifier(address newVerifierAddr) returns()
func (*StateV2HandlerTransactorSession) TransferOwnership ¶
func (_StateV2Handler *StateV2HandlerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*StateV2HandlerTransactorSession) TransitState ¶
func (_StateV2Handler *StateV2HandlerTransactorSession) TransitState(id *big.Int, oldState *big.Int, newState *big.Int, isOldStateGenesis bool, a [2]*big.Int, b [2][2]*big.Int, c [2]*big.Int) (*types.Transaction, error)
TransitState is a paid mutator transaction binding the contract method 0x28f88a65.
Solidity: function transitState(uint256 id, uint256 oldState, uint256 newState, bool isOldStateGenesis, uint256[2] a, uint256[2][2] b, uint256[2] c) returns()
func (*StateV2HandlerTransactorSession) TransitStateGeneric ¶
func (_StateV2Handler *StateV2HandlerTransactorSession) TransitStateGeneric(id *big.Int, oldState *big.Int, newState *big.Int, isOldStateGenesis bool, methodId *big.Int, methodParams []byte) (*types.Transaction, error)
TransitStateGeneric is a paid mutator transaction binding the contract method 0x7d0dcba5.
Solidity: function transitStateGeneric(uint256 id, uint256 oldState, uint256 newState, bool isOldStateGenesis, uint256 methodId, bytes methodParams) returns()