Documentation ¶
Index ¶
- Variables
- type ILightweightStateV2GistRootData
- type ILightweightStateV2StateData
- type IStateGistRootInfo
- type IStateStateInfo
- type LightweightStateV2
- type LightweightStateV2AdminChanged
- type LightweightStateV2AdminChangedIterator
- type LightweightStateV2BeaconUpgraded
- type LightweightStateV2BeaconUpgradedIterator
- type LightweightStateV2Caller
- func (_LightweightStateV2 *LightweightStateV2Caller) ChainName(opts *bind.CallOpts) (string, error)
- func (_LightweightStateV2 *LightweightStateV2Caller) GetCurrentGISTRootInfo(opts *bind.CallOpts) (IStateGistRootInfo, error)
- func (_LightweightStateV2 *LightweightStateV2Caller) GetGISTRoot(opts *bind.CallOpts) (*big.Int, error)
- func (_LightweightStateV2 *LightweightStateV2Caller) GetGISTRootInfo(opts *bind.CallOpts, root_ *big.Int) (IStateGistRootInfo, error)
- func (_LightweightStateV2 *LightweightStateV2Caller) GetIdentityLastState(opts *bind.CallOpts, identityId_ *big.Int) (*big.Int, error)
- func (_LightweightStateV2 *LightweightStateV2Caller) GetSigComponents(opts *bind.CallOpts, methodId_ uint8, contractAddress_ common.Address) (struct{ ... }, error)
- func (_LightweightStateV2 *LightweightStateV2Caller) GetStateInfoById(opts *bind.CallOpts, identityId_ *big.Int) (IStateStateInfo, error)
- func (_LightweightStateV2 *LightweightStateV2Caller) GetStateInfoByIdAndState(opts *bind.CallOpts, identityId_ *big.Int, state_ *big.Int) (IStateStateInfo, error)
- func (_LightweightStateV2 *LightweightStateV2Caller) IdExists(opts *bind.CallOpts, identityId_ *big.Int) (bool, error)
- func (_LightweightStateV2 *LightweightStateV2Caller) Nonces(opts *bind.CallOpts, arg0 common.Address, arg1 uint8) (*big.Int, error)
- func (_LightweightStateV2 *LightweightStateV2Caller) P(opts *bind.CallOpts) (*big.Int, error)
- func (_LightweightStateV2 *LightweightStateV2Caller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_LightweightStateV2 *LightweightStateV2Caller) Signer(opts *bind.CallOpts) (common.Address, error)
- func (_LightweightStateV2 *LightweightStateV2Caller) SourceStateContract(opts *bind.CallOpts) (common.Address, error)
- func (_LightweightStateV2 *LightweightStateV2Caller) StateExists(opts *bind.CallOpts, identityId_ *big.Int, state_ *big.Int) (bool, error)
- type LightweightStateV2CallerRaw
- type LightweightStateV2CallerSession
- func (_LightweightStateV2 *LightweightStateV2CallerSession) ChainName() (string, error)
- func (_LightweightStateV2 *LightweightStateV2CallerSession) GetCurrentGISTRootInfo() (IStateGistRootInfo, error)
- func (_LightweightStateV2 *LightweightStateV2CallerSession) GetGISTRoot() (*big.Int, error)
- func (_LightweightStateV2 *LightweightStateV2CallerSession) GetGISTRootInfo(root_ *big.Int) (IStateGistRootInfo, error)
- func (_LightweightStateV2 *LightweightStateV2CallerSession) GetIdentityLastState(identityId_ *big.Int) (*big.Int, error)
- func (_LightweightStateV2 *LightweightStateV2CallerSession) GetSigComponents(methodId_ uint8, contractAddress_ common.Address) (struct{ ... }, error)
- func (_LightweightStateV2 *LightweightStateV2CallerSession) GetStateInfoById(identityId_ *big.Int) (IStateStateInfo, error)
- func (_LightweightStateV2 *LightweightStateV2CallerSession) GetStateInfoByIdAndState(identityId_ *big.Int, state_ *big.Int) (IStateStateInfo, error)
- func (_LightweightStateV2 *LightweightStateV2CallerSession) IdExists(identityId_ *big.Int) (bool, error)
- func (_LightweightStateV2 *LightweightStateV2CallerSession) Nonces(arg0 common.Address, arg1 uint8) (*big.Int, error)
- func (_LightweightStateV2 *LightweightStateV2CallerSession) P() (*big.Int, error)
- func (_LightweightStateV2 *LightweightStateV2CallerSession) ProxiableUUID() ([32]byte, error)
- func (_LightweightStateV2 *LightweightStateV2CallerSession) Signer() (common.Address, error)
- func (_LightweightStateV2 *LightweightStateV2CallerSession) SourceStateContract() (common.Address, error)
- func (_LightweightStateV2 *LightweightStateV2CallerSession) StateExists(identityId_ *big.Int, state_ *big.Int) (bool, error)
- type LightweightStateV2Filterer
- func (_LightweightStateV2 *LightweightStateV2Filterer) FilterAdminChanged(opts *bind.FilterOpts) (*LightweightStateV2AdminChangedIterator, error)
- func (_LightweightStateV2 *LightweightStateV2Filterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*LightweightStateV2BeaconUpgradedIterator, error)
- func (_LightweightStateV2 *LightweightStateV2Filterer) FilterInitialized(opts *bind.FilterOpts) (*LightweightStateV2InitializedIterator, error)
- func (_LightweightStateV2 *LightweightStateV2Filterer) FilterSignGISTDataTransited(opts *bind.FilterOpts) (*LightweightStateV2SignGISTDataTransitedIterator, error)
- func (_LightweightStateV2 *LightweightStateV2Filterer) FilterSignStateDataTransited(opts *bind.FilterOpts) (*LightweightStateV2SignStateDataTransitedIterator, error)
- func (_LightweightStateV2 *LightweightStateV2Filterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*LightweightStateV2UpgradedIterator, error)
- func (_LightweightStateV2 *LightweightStateV2Filterer) ParseAdminChanged(log types.Log) (*LightweightStateV2AdminChanged, error)
- func (_LightweightStateV2 *LightweightStateV2Filterer) ParseBeaconUpgraded(log types.Log) (*LightweightStateV2BeaconUpgraded, error)
- func (_LightweightStateV2 *LightweightStateV2Filterer) ParseInitialized(log types.Log) (*LightweightStateV2Initialized, error)
- func (_LightweightStateV2 *LightweightStateV2Filterer) ParseSignGISTDataTransited(log types.Log) (*LightweightStateV2SignGISTDataTransited, error)
- func (_LightweightStateV2 *LightweightStateV2Filterer) ParseSignStateDataTransited(log types.Log) (*LightweightStateV2SignStateDataTransited, error)
- func (_LightweightStateV2 *LightweightStateV2Filterer) ParseUpgraded(log types.Log) (*LightweightStateV2Upgraded, error)
- func (_LightweightStateV2 *LightweightStateV2Filterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *LightweightStateV2AdminChanged) (event.Subscription, error)
- func (_LightweightStateV2 *LightweightStateV2Filterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *LightweightStateV2BeaconUpgraded, ...) (event.Subscription, error)
- func (_LightweightStateV2 *LightweightStateV2Filterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *LightweightStateV2Initialized) (event.Subscription, error)
- func (_LightweightStateV2 *LightweightStateV2Filterer) WatchSignGISTDataTransited(opts *bind.WatchOpts, sink chan<- *LightweightStateV2SignGISTDataTransited) (event.Subscription, error)
- func (_LightweightStateV2 *LightweightStateV2Filterer) WatchSignStateDataTransited(opts *bind.WatchOpts, sink chan<- *LightweightStateV2SignStateDataTransited) (event.Subscription, error)
- func (_LightweightStateV2 *LightweightStateV2Filterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *LightweightStateV2Upgraded, ...) (event.Subscription, error)
- type LightweightStateV2Initialized
- type LightweightStateV2InitializedIterator
- type LightweightStateV2Raw
- func (_LightweightStateV2 *LightweightStateV2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_LightweightStateV2 *LightweightStateV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LightweightStateV2Session
- func (_LightweightStateV2 *LightweightStateV2Session) ChainName() (string, error)
- func (_LightweightStateV2 *LightweightStateV2Session) ChangeSigner(newSignerPubKey_ []byte, signature_ []byte) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Session) ChangeSourceStateContract(newSourceStateContract_ common.Address, signature_ []byte) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Session) CheckSignatureAndIncrementNonce(methodId_ uint8, contractAddress_ common.Address, signHash_ [32]byte, ...) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Session) GetCurrentGISTRootInfo() (IStateGistRootInfo, error)
- func (_LightweightStateV2 *LightweightStateV2Session) GetGISTRoot() (*big.Int, error)
- func (_LightweightStateV2 *LightweightStateV2Session) GetGISTRootInfo(root_ *big.Int) (IStateGistRootInfo, error)
- func (_LightweightStateV2 *LightweightStateV2Session) GetIdentityLastState(identityId_ *big.Int) (*big.Int, error)
- func (_LightweightStateV2 *LightweightStateV2Session) GetSigComponents(methodId_ uint8, contractAddress_ common.Address) (struct{ ... }, error)
- func (_LightweightStateV2 *LightweightStateV2Session) GetStateInfoById(identityId_ *big.Int) (IStateStateInfo, error)
- func (_LightweightStateV2 *LightweightStateV2Session) GetStateInfoByIdAndState(identityId_ *big.Int, state_ *big.Int) (IStateStateInfo, error)
- func (_LightweightStateV2 *LightweightStateV2Session) IdExists(identityId_ *big.Int) (bool, error)
- func (_LightweightStateV2 *LightweightStateV2Session) LightweightStateV2Init(signer_ common.Address, sourceStateContract_ common.Address, chainName_ string) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Session) Nonces(arg0 common.Address, arg1 uint8) (*big.Int, error)
- func (_LightweightStateV2 *LightweightStateV2Session) P() (*big.Int, error)
- func (_LightweightStateV2 *LightweightStateV2Session) ProxiableUUID() ([32]byte, error)
- func (_LightweightStateV2 *LightweightStateV2Session) SignedTransitGISTData(prevGist_ *big.Int, gistData_ ILightweightStateV2GistRootData, proof_ []byte) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Session) SignedTransitStateData(prevState_ *big.Int, stateData_ ILightweightStateV2StateData, proof_ []byte) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Session) Signer() (common.Address, error)
- func (_LightweightStateV2 *LightweightStateV2Session) SignersInit(signer_ common.Address, chainName_ string) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Session) SourceStateContract() (common.Address, error)
- func (_LightweightStateV2 *LightweightStateV2Session) StateExists(identityId_ *big.Int, state_ *big.Int) (bool, error)
- func (_LightweightStateV2 *LightweightStateV2Session) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Session) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Session) UpgradeToWithSig(newImplementation_ common.Address, signature_ []byte) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Session) ValidateChangeAddressSignature(methodId_ uint8, contractAddress_ common.Address, newAddress_ common.Address, ...) (*types.Transaction, error)
- type LightweightStateV2SignGISTDataTransited
- type LightweightStateV2SignGISTDataTransitedIterator
- type LightweightStateV2SignStateDataTransited
- type LightweightStateV2SignStateDataTransitedIterator
- type LightweightStateV2Transactor
- func (_LightweightStateV2 *LightweightStateV2Transactor) ChangeSigner(opts *bind.TransactOpts, newSignerPubKey_ []byte, signature_ []byte) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Transactor) ChangeSourceStateContract(opts *bind.TransactOpts, newSourceStateContract_ common.Address, ...) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Transactor) CheckSignatureAndIncrementNonce(opts *bind.TransactOpts, methodId_ uint8, contractAddress_ common.Address, ...) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Transactor) LightweightStateV2Init(opts *bind.TransactOpts, signer_ common.Address, ...) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Transactor) SignedTransitGISTData(opts *bind.TransactOpts, prevGist_ *big.Int, ...) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Transactor) SignedTransitStateData(opts *bind.TransactOpts, prevState_ *big.Int, ...) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Transactor) SignersInit(opts *bind.TransactOpts, signer_ common.Address, chainName_ string) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Transactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Transactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Transactor) UpgradeToWithSig(opts *bind.TransactOpts, newImplementation_ common.Address, signature_ []byte) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2Transactor) ValidateChangeAddressSignature(opts *bind.TransactOpts, methodId_ uint8, contractAddress_ common.Address, ...) (*types.Transaction, error)
- type LightweightStateV2TransactorRaw
- type LightweightStateV2TransactorSession
- func (_LightweightStateV2 *LightweightStateV2TransactorSession) ChangeSigner(newSignerPubKey_ []byte, signature_ []byte) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2TransactorSession) ChangeSourceStateContract(newSourceStateContract_ common.Address, signature_ []byte) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2TransactorSession) CheckSignatureAndIncrementNonce(methodId_ uint8, contractAddress_ common.Address, signHash_ [32]byte, ...) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2TransactorSession) LightweightStateV2Init(signer_ common.Address, sourceStateContract_ common.Address, chainName_ string) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2TransactorSession) SignedTransitGISTData(prevGist_ *big.Int, gistData_ ILightweightStateV2GistRootData, proof_ []byte) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2TransactorSession) SignedTransitStateData(prevState_ *big.Int, stateData_ ILightweightStateV2StateData, proof_ []byte) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2TransactorSession) SignersInit(signer_ common.Address, chainName_ string) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2TransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2TransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2TransactorSession) UpgradeToWithSig(newImplementation_ common.Address, signature_ []byte) (*types.Transaction, error)
- func (_LightweightStateV2 *LightweightStateV2TransactorSession) ValidateChangeAddressSignature(methodId_ uint8, contractAddress_ common.Address, newAddress_ common.Address, ...) (*types.Transaction, error)
- type LightweightStateV2Upgraded
- type LightweightStateV2UpgradedIterator
Constants ¶
This section is empty.
Variables ¶
var LightweightStateV2ABI = LightweightStateV2MetaData.ABI
LightweightStateV2ABI is the input ABI used to generate the binding from. Deprecated: Use LightweightStateV2MetaData.ABI instead.
var LightweightStateV2MetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newGistRoot\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"prevGistRoot\",\"type\":\"uint256\"}],\"name\":\"SignGISTDataTransited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"identityId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newIdentityState\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"prevIdentityState\",\"type\":\"uint256\"}],\"name\":\"SignStateDataTransited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"P\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"sourceStateContract_\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"chainName_\",\"type\":\"string\"}],\"name\":\"__LightweightStateV2_init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer_\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"chainName_\",\"type\":\"string\"}],\"name\":\"__Signers_init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"chainName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"newSignerPubKey_\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature_\",\"type\":\"bytes\"}],\"name\":\"changeSigner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newSourceStateContract_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature_\",\"type\":\"bytes\"}],\"name\":\"changeSourceStateContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"methodId_\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"contractAddress_\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"signHash_\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signature_\",\"type\":\"bytes\"}],\"name\":\"checkSignatureAndIncrementNonce\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentGISTRootInfo\",\"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\":\"getGISTRoot\",\"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\":\"identityId_\",\"type\":\"uint256\"}],\"name\":\"getIdentityLastState\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"methodId_\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"contractAddress_\",\"type\":\"address\"}],\"name\":\"getSigComponents\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"chainName_\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"nonce_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"identityId_\",\"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\":\"identityId_\",\"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\":\"identityId_\",\"type\":\"uint256\"}],\"name\":\"idExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"prevGist_\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"replacedByRoot\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtBlock\",\"type\":\"uint256\"}],\"internalType\":\"structILightweightStateV2.GistRootData\",\"name\":\"gistData_\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"proof_\",\"type\":\"bytes\"}],\"name\":\"signedTransitGISTData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"prevState_\",\"type\":\"uint256\"},{\"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\":\"createdAtBlock\",\"type\":\"uint256\"}],\"internalType\":\"structILightweightStateV2.StateData\",\"name\":\"stateData_\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"proof_\",\"type\":\"bytes\"}],\"name\":\"signedTransitStateData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"signer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sourceStateContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"identityId_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"state_\",\"type\":\"uint256\"}],\"name\":\"stateExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature_\",\"type\":\"bytes\"}],\"name\":\"upgradeToWithSig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"methodId_\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"contractAddress_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newAddress_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature_\",\"type\":\"bytes\"}],\"name\":\"validateChangeAddressSignature\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
LightweightStateV2MetaData contains all meta data concerning the LightweightStateV2 contract.
Functions ¶
This section is empty.
Types ¶
type ILightweightStateV2GistRootData ¶
type ILightweightStateV2GistRootData struct { Root *big.Int ReplacedByRoot *big.Int CreatedAtTimestamp *big.Int CreatedAtBlock *big.Int }
ILightweightStateV2GistRootData is an auto generated low-level Go binding around an user-defined struct.
type ILightweightStateV2StateData ¶
type ILightweightStateV2StateData struct { Id *big.Int State *big.Int ReplacedByState *big.Int CreatedAtTimestamp *big.Int CreatedAtBlock *big.Int }
ILightweightStateV2StateData 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 LightweightStateV2 ¶
type LightweightStateV2 struct { LightweightStateV2Caller // Read-only binding to the contract LightweightStateV2Transactor // Write-only binding to the contract LightweightStateV2Filterer // Log filterer for contract events }
LightweightStateV2 is an auto generated Go binding around an Ethereum contract.
func NewLightweightStateV2 ¶
func NewLightweightStateV2(address common.Address, backend bind.ContractBackend) (*LightweightStateV2, error)
NewLightweightStateV2 creates a new instance of LightweightStateV2, bound to a specific deployed contract.
type LightweightStateV2AdminChanged ¶
type LightweightStateV2AdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
LightweightStateV2AdminChanged represents a AdminChanged event raised by the LightweightStateV2 contract.
type LightweightStateV2AdminChangedIterator ¶
type LightweightStateV2AdminChangedIterator struct { Event *LightweightStateV2AdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightweightStateV2AdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the LightweightStateV2 contract.
func (*LightweightStateV2AdminChangedIterator) Close ¶
func (it *LightweightStateV2AdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightweightStateV2AdminChangedIterator) Error ¶
func (it *LightweightStateV2AdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightweightStateV2AdminChangedIterator) Next ¶
func (it *LightweightStateV2AdminChangedIterator) 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 LightweightStateV2BeaconUpgraded ¶
type LightweightStateV2BeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
LightweightStateV2BeaconUpgraded represents a BeaconUpgraded event raised by the LightweightStateV2 contract.
type LightweightStateV2BeaconUpgradedIterator ¶
type LightweightStateV2BeaconUpgradedIterator struct { Event *LightweightStateV2BeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightweightStateV2BeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the LightweightStateV2 contract.
func (*LightweightStateV2BeaconUpgradedIterator) Close ¶
func (it *LightweightStateV2BeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightweightStateV2BeaconUpgradedIterator) Error ¶
func (it *LightweightStateV2BeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightweightStateV2BeaconUpgradedIterator) Next ¶
func (it *LightweightStateV2BeaconUpgradedIterator) 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 LightweightStateV2Caller ¶
type LightweightStateV2Caller struct {
// contains filtered or unexported fields
}
LightweightStateV2Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewLightweightStateV2Caller ¶
func NewLightweightStateV2Caller(address common.Address, caller bind.ContractCaller) (*LightweightStateV2Caller, error)
NewLightweightStateV2Caller creates a new read-only instance of LightweightStateV2, bound to a specific deployed contract.
func (*LightweightStateV2Caller) ChainName ¶
func (_LightweightStateV2 *LightweightStateV2Caller) ChainName(opts *bind.CallOpts) (string, error)
ChainName is a free data retrieval call binding the contract method 0x1c93b03a.
Solidity: function chainName() view returns(string)
func (*LightweightStateV2Caller) GetCurrentGISTRootInfo ¶
func (_LightweightStateV2 *LightweightStateV2Caller) GetCurrentGISTRootInfo(opts *bind.CallOpts) (IStateGistRootInfo, error)
GetCurrentGISTRootInfo is a free data retrieval call binding the contract method 0xaf7a3f59.
Solidity: function getCurrentGISTRootInfo() view returns((uint256,uint256,uint256,uint256,uint256,uint256))
func (*LightweightStateV2Caller) GetGISTRoot ¶
func (_LightweightStateV2 *LightweightStateV2Caller) GetGISTRoot(opts *bind.CallOpts) (*big.Int, error)
GetGISTRoot is a free data retrieval call binding the contract method 0x2439e3a6.
Solidity: function getGISTRoot() view returns(uint256)
func (*LightweightStateV2Caller) GetGISTRootInfo ¶
func (_LightweightStateV2 *LightweightStateV2Caller) 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 (*LightweightStateV2Caller) GetIdentityLastState ¶
func (_LightweightStateV2 *LightweightStateV2Caller) GetIdentityLastState(opts *bind.CallOpts, identityId_ *big.Int) (*big.Int, error)
GetIdentityLastState is a free data retrieval call binding the contract method 0xbfcf3ecf.
Solidity: function getIdentityLastState(uint256 identityId_) view returns(uint256)
func (*LightweightStateV2Caller) GetSigComponents ¶
func (_LightweightStateV2 *LightweightStateV2Caller) GetSigComponents(opts *bind.CallOpts, methodId_ uint8, contractAddress_ common.Address) (struct { ChainName string Nonce *big.Int }, error)
GetSigComponents is a free data retrieval call binding the contract method 0x827e099e.
Solidity: function getSigComponents(uint8 methodId_, address contractAddress_) view returns(string chainName_, uint256 nonce_)
func (*LightweightStateV2Caller) GetStateInfoById ¶
func (_LightweightStateV2 *LightweightStateV2Caller) GetStateInfoById(opts *bind.CallOpts, identityId_ *big.Int) (IStateStateInfo, error)
GetStateInfoById is a free data retrieval call binding the contract method 0xb4bdea55.
Solidity: function getStateInfoById(uint256 identityId_) view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256))
func (*LightweightStateV2Caller) GetStateInfoByIdAndState ¶
func (_LightweightStateV2 *LightweightStateV2Caller) GetStateInfoByIdAndState(opts *bind.CallOpts, identityId_ *big.Int, state_ *big.Int) (IStateStateInfo, error)
GetStateInfoByIdAndState is a free data retrieval call binding the contract method 0x53c87312.
Solidity: function getStateInfoByIdAndState(uint256 identityId_, uint256 state_) view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256))
func (*LightweightStateV2Caller) IdExists ¶
func (_LightweightStateV2 *LightweightStateV2Caller) IdExists(opts *bind.CallOpts, identityId_ *big.Int) (bool, error)
IdExists is a free data retrieval call binding the contract method 0x0b8a295a.
Solidity: function idExists(uint256 identityId_) view returns(bool)
func (*LightweightStateV2Caller) Nonces ¶
func (_LightweightStateV2 *LightweightStateV2Caller) Nonces(opts *bind.CallOpts, arg0 common.Address, arg1 uint8) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0xed3218a2.
Solidity: function nonces(address , uint8 ) view returns(uint256)
func (*LightweightStateV2Caller) P ¶
P is a free data retrieval call binding the contract method 0x8b8fbd92.
Solidity: function P() view returns(uint256)
func (*LightweightStateV2Caller) ProxiableUUID ¶
func (_LightweightStateV2 *LightweightStateV2Caller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*LightweightStateV2Caller) Signer ¶
func (_LightweightStateV2 *LightweightStateV2Caller) Signer(opts *bind.CallOpts) (common.Address, error)
Signer is a free data retrieval call binding the contract method 0x238ac933.
Solidity: function signer() view returns(address)
func (*LightweightStateV2Caller) SourceStateContract ¶
func (_LightweightStateV2 *LightweightStateV2Caller) SourceStateContract(opts *bind.CallOpts) (common.Address, error)
SourceStateContract is a free data retrieval call binding the contract method 0xfc228319.
Solidity: function sourceStateContract() view returns(address)
func (*LightweightStateV2Caller) StateExists ¶
func (_LightweightStateV2 *LightweightStateV2Caller) StateExists(opts *bind.CallOpts, identityId_ *big.Int, state_ *big.Int) (bool, error)
StateExists is a free data retrieval call binding the contract method 0x233a4d23.
Solidity: function stateExists(uint256 identityId_, uint256 state_) view returns(bool)
type LightweightStateV2CallerRaw ¶
type LightweightStateV2CallerRaw struct {
Contract *LightweightStateV2Caller // Generic read-only contract binding to access the raw methods on
}
LightweightStateV2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LightweightStateV2CallerRaw) Call ¶
func (_LightweightStateV2 *LightweightStateV2CallerRaw) 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 LightweightStateV2CallerSession ¶
type LightweightStateV2CallerSession struct { Contract *LightweightStateV2Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LightweightStateV2CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LightweightStateV2CallerSession) ChainName ¶
func (_LightweightStateV2 *LightweightStateV2CallerSession) ChainName() (string, error)
ChainName is a free data retrieval call binding the contract method 0x1c93b03a.
Solidity: function chainName() view returns(string)
func (*LightweightStateV2CallerSession) GetCurrentGISTRootInfo ¶
func (_LightweightStateV2 *LightweightStateV2CallerSession) GetCurrentGISTRootInfo() (IStateGistRootInfo, error)
GetCurrentGISTRootInfo is a free data retrieval call binding the contract method 0xaf7a3f59.
Solidity: function getCurrentGISTRootInfo() view returns((uint256,uint256,uint256,uint256,uint256,uint256))
func (*LightweightStateV2CallerSession) GetGISTRoot ¶
func (_LightweightStateV2 *LightweightStateV2CallerSession) GetGISTRoot() (*big.Int, error)
GetGISTRoot is a free data retrieval call binding the contract method 0x2439e3a6.
Solidity: function getGISTRoot() view returns(uint256)
func (*LightweightStateV2CallerSession) GetGISTRootInfo ¶
func (_LightweightStateV2 *LightweightStateV2CallerSession) 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 (*LightweightStateV2CallerSession) GetIdentityLastState ¶
func (_LightweightStateV2 *LightweightStateV2CallerSession) GetIdentityLastState(identityId_ *big.Int) (*big.Int, error)
GetIdentityLastState is a free data retrieval call binding the contract method 0xbfcf3ecf.
Solidity: function getIdentityLastState(uint256 identityId_) view returns(uint256)
func (*LightweightStateV2CallerSession) GetSigComponents ¶
func (_LightweightStateV2 *LightweightStateV2CallerSession) GetSigComponents(methodId_ uint8, contractAddress_ common.Address) (struct { ChainName string Nonce *big.Int }, error)
GetSigComponents is a free data retrieval call binding the contract method 0x827e099e.
Solidity: function getSigComponents(uint8 methodId_, address contractAddress_) view returns(string chainName_, uint256 nonce_)
func (*LightweightStateV2CallerSession) GetStateInfoById ¶
func (_LightweightStateV2 *LightweightStateV2CallerSession) GetStateInfoById(identityId_ *big.Int) (IStateStateInfo, error)
GetStateInfoById is a free data retrieval call binding the contract method 0xb4bdea55.
Solidity: function getStateInfoById(uint256 identityId_) view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256))
func (*LightweightStateV2CallerSession) GetStateInfoByIdAndState ¶
func (_LightweightStateV2 *LightweightStateV2CallerSession) GetStateInfoByIdAndState(identityId_ *big.Int, state_ *big.Int) (IStateStateInfo, error)
GetStateInfoByIdAndState is a free data retrieval call binding the contract method 0x53c87312.
Solidity: function getStateInfoByIdAndState(uint256 identityId_, uint256 state_) view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256))
func (*LightweightStateV2CallerSession) IdExists ¶
func (_LightweightStateV2 *LightweightStateV2CallerSession) IdExists(identityId_ *big.Int) (bool, error)
IdExists is a free data retrieval call binding the contract method 0x0b8a295a.
Solidity: function idExists(uint256 identityId_) view returns(bool)
func (*LightweightStateV2CallerSession) Nonces ¶
func (_LightweightStateV2 *LightweightStateV2CallerSession) Nonces(arg0 common.Address, arg1 uint8) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0xed3218a2.
Solidity: function nonces(address , uint8 ) view returns(uint256)
func (*LightweightStateV2CallerSession) P ¶
func (_LightweightStateV2 *LightweightStateV2CallerSession) P() (*big.Int, error)
P is a free data retrieval call binding the contract method 0x8b8fbd92.
Solidity: function P() view returns(uint256)
func (*LightweightStateV2CallerSession) ProxiableUUID ¶
func (_LightweightStateV2 *LightweightStateV2CallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*LightweightStateV2CallerSession) Signer ¶
func (_LightweightStateV2 *LightweightStateV2CallerSession) Signer() (common.Address, error)
Signer is a free data retrieval call binding the contract method 0x238ac933.
Solidity: function signer() view returns(address)
func (*LightweightStateV2CallerSession) SourceStateContract ¶
func (_LightweightStateV2 *LightweightStateV2CallerSession) SourceStateContract() (common.Address, error)
SourceStateContract is a free data retrieval call binding the contract method 0xfc228319.
Solidity: function sourceStateContract() view returns(address)
func (*LightweightStateV2CallerSession) StateExists ¶
func (_LightweightStateV2 *LightweightStateV2CallerSession) StateExists(identityId_ *big.Int, state_ *big.Int) (bool, error)
StateExists is a free data retrieval call binding the contract method 0x233a4d23.
Solidity: function stateExists(uint256 identityId_, uint256 state_) view returns(bool)
type LightweightStateV2Filterer ¶
type LightweightStateV2Filterer struct {
// contains filtered or unexported fields
}
LightweightStateV2Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLightweightStateV2Filterer ¶
func NewLightweightStateV2Filterer(address common.Address, filterer bind.ContractFilterer) (*LightweightStateV2Filterer, error)
NewLightweightStateV2Filterer creates a new log filterer instance of LightweightStateV2, bound to a specific deployed contract.
func (*LightweightStateV2Filterer) FilterAdminChanged ¶
func (_LightweightStateV2 *LightweightStateV2Filterer) FilterAdminChanged(opts *bind.FilterOpts) (*LightweightStateV2AdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*LightweightStateV2Filterer) FilterBeaconUpgraded ¶
func (_LightweightStateV2 *LightweightStateV2Filterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*LightweightStateV2BeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*LightweightStateV2Filterer) FilterInitialized ¶
func (_LightweightStateV2 *LightweightStateV2Filterer) FilterInitialized(opts *bind.FilterOpts) (*LightweightStateV2InitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*LightweightStateV2Filterer) FilterSignGISTDataTransited ¶ added in v1.0.1
func (_LightweightStateV2 *LightweightStateV2Filterer) FilterSignGISTDataTransited(opts *bind.FilterOpts) (*LightweightStateV2SignGISTDataTransitedIterator, error)
FilterSignGISTDataTransited is a free log retrieval operation binding the contract event 0x574c96c9afe8b5549451641801bd35b6e08dcebcb22fa1d3a6f48219bce103a9.
Solidity: event SignGISTDataTransited(uint256 newGistRoot, uint256 prevGistRoot)
func (*LightweightStateV2Filterer) FilterSignStateDataTransited ¶ added in v1.0.1
func (_LightweightStateV2 *LightweightStateV2Filterer) FilterSignStateDataTransited(opts *bind.FilterOpts) (*LightweightStateV2SignStateDataTransitedIterator, error)
FilterSignStateDataTransited is a free log retrieval operation binding the contract event 0x54615679a8c54f75531a431a2882c4ff0b716f9f92f486212b2784deec37f2f3.
Solidity: event SignStateDataTransited(uint256 identityId, uint256 newIdentityState, uint256 prevIdentityState)
func (*LightweightStateV2Filterer) FilterUpgraded ¶
func (_LightweightStateV2 *LightweightStateV2Filterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*LightweightStateV2UpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*LightweightStateV2Filterer) ParseAdminChanged ¶
func (_LightweightStateV2 *LightweightStateV2Filterer) ParseAdminChanged(log types.Log) (*LightweightStateV2AdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*LightweightStateV2Filterer) ParseBeaconUpgraded ¶
func (_LightweightStateV2 *LightweightStateV2Filterer) ParseBeaconUpgraded(log types.Log) (*LightweightStateV2BeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*LightweightStateV2Filterer) ParseInitialized ¶
func (_LightweightStateV2 *LightweightStateV2Filterer) ParseInitialized(log types.Log) (*LightweightStateV2Initialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*LightweightStateV2Filterer) ParseSignGISTDataTransited ¶ added in v1.0.1
func (_LightweightStateV2 *LightweightStateV2Filterer) ParseSignGISTDataTransited(log types.Log) (*LightweightStateV2SignGISTDataTransited, error)
ParseSignGISTDataTransited is a log parse operation binding the contract event 0x574c96c9afe8b5549451641801bd35b6e08dcebcb22fa1d3a6f48219bce103a9.
Solidity: event SignGISTDataTransited(uint256 newGistRoot, uint256 prevGistRoot)
func (*LightweightStateV2Filterer) ParseSignStateDataTransited ¶ added in v1.0.1
func (_LightweightStateV2 *LightweightStateV2Filterer) ParseSignStateDataTransited(log types.Log) (*LightweightStateV2SignStateDataTransited, error)
ParseSignStateDataTransited is a log parse operation binding the contract event 0x54615679a8c54f75531a431a2882c4ff0b716f9f92f486212b2784deec37f2f3.
Solidity: event SignStateDataTransited(uint256 identityId, uint256 newIdentityState, uint256 prevIdentityState)
func (*LightweightStateV2Filterer) ParseUpgraded ¶
func (_LightweightStateV2 *LightweightStateV2Filterer) ParseUpgraded(log types.Log) (*LightweightStateV2Upgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*LightweightStateV2Filterer) WatchAdminChanged ¶
func (_LightweightStateV2 *LightweightStateV2Filterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *LightweightStateV2AdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*LightweightStateV2Filterer) WatchBeaconUpgraded ¶
func (_LightweightStateV2 *LightweightStateV2Filterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *LightweightStateV2BeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*LightweightStateV2Filterer) WatchInitialized ¶
func (_LightweightStateV2 *LightweightStateV2Filterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *LightweightStateV2Initialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*LightweightStateV2Filterer) WatchSignGISTDataTransited ¶ added in v1.0.1
func (_LightweightStateV2 *LightweightStateV2Filterer) WatchSignGISTDataTransited(opts *bind.WatchOpts, sink chan<- *LightweightStateV2SignGISTDataTransited) (event.Subscription, error)
WatchSignGISTDataTransited is a free log subscription operation binding the contract event 0x574c96c9afe8b5549451641801bd35b6e08dcebcb22fa1d3a6f48219bce103a9.
Solidity: event SignGISTDataTransited(uint256 newGistRoot, uint256 prevGistRoot)
func (*LightweightStateV2Filterer) WatchSignStateDataTransited ¶ added in v1.0.1
func (_LightweightStateV2 *LightweightStateV2Filterer) WatchSignStateDataTransited(opts *bind.WatchOpts, sink chan<- *LightweightStateV2SignStateDataTransited) (event.Subscription, error)
WatchSignStateDataTransited is a free log subscription operation binding the contract event 0x54615679a8c54f75531a431a2882c4ff0b716f9f92f486212b2784deec37f2f3.
Solidity: event SignStateDataTransited(uint256 identityId, uint256 newIdentityState, uint256 prevIdentityState)
func (*LightweightStateV2Filterer) WatchUpgraded ¶
func (_LightweightStateV2 *LightweightStateV2Filterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *LightweightStateV2Upgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type LightweightStateV2Initialized ¶
type LightweightStateV2Initialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
LightweightStateV2Initialized represents a Initialized event raised by the LightweightStateV2 contract.
type LightweightStateV2InitializedIterator ¶
type LightweightStateV2InitializedIterator struct { Event *LightweightStateV2Initialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightweightStateV2InitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the LightweightStateV2 contract.
func (*LightweightStateV2InitializedIterator) Close ¶
func (it *LightweightStateV2InitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightweightStateV2InitializedIterator) Error ¶
func (it *LightweightStateV2InitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightweightStateV2InitializedIterator) Next ¶
func (it *LightweightStateV2InitializedIterator) 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 LightweightStateV2Raw ¶
type LightweightStateV2Raw struct {
Contract *LightweightStateV2 // Generic contract binding to access the raw methods on
}
LightweightStateV2Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*LightweightStateV2Raw) Call ¶
func (_LightweightStateV2 *LightweightStateV2Raw) 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 (*LightweightStateV2Raw) Transact ¶
func (_LightweightStateV2 *LightweightStateV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LightweightStateV2Raw) Transfer ¶
func (_LightweightStateV2 *LightweightStateV2Raw) 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 LightweightStateV2Session ¶
type LightweightStateV2Session struct { Contract *LightweightStateV2 // 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 }
LightweightStateV2Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LightweightStateV2Session) ChainName ¶
func (_LightweightStateV2 *LightweightStateV2Session) ChainName() (string, error)
ChainName is a free data retrieval call binding the contract method 0x1c93b03a.
Solidity: function chainName() view returns(string)
func (*LightweightStateV2Session) ChangeSigner ¶
func (_LightweightStateV2 *LightweightStateV2Session) ChangeSigner(newSignerPubKey_ []byte, signature_ []byte) (*types.Transaction, error)
ChangeSigner is a paid mutator transaction binding the contract method 0x497f6959.
Solidity: function changeSigner(bytes newSignerPubKey_, bytes signature_) returns()
func (*LightweightStateV2Session) ChangeSourceStateContract ¶
func (_LightweightStateV2 *LightweightStateV2Session) ChangeSourceStateContract(newSourceStateContract_ common.Address, signature_ []byte) (*types.Transaction, error)
ChangeSourceStateContract is a paid mutator transaction binding the contract method 0x89aeb0f5.
Solidity: function changeSourceStateContract(address newSourceStateContract_, bytes signature_) returns()
func (*LightweightStateV2Session) CheckSignatureAndIncrementNonce ¶
func (_LightweightStateV2 *LightweightStateV2Session) CheckSignatureAndIncrementNonce(methodId_ uint8, contractAddress_ common.Address, signHash_ [32]byte, signature_ []byte) (*types.Transaction, error)
CheckSignatureAndIncrementNonce is a paid mutator transaction binding the contract method 0xe3754f90.
Solidity: function checkSignatureAndIncrementNonce(uint8 methodId_, address contractAddress_, bytes32 signHash_, bytes signature_) returns()
func (*LightweightStateV2Session) GetCurrentGISTRootInfo ¶
func (_LightweightStateV2 *LightweightStateV2Session) GetCurrentGISTRootInfo() (IStateGistRootInfo, error)
GetCurrentGISTRootInfo is a free data retrieval call binding the contract method 0xaf7a3f59.
Solidity: function getCurrentGISTRootInfo() view returns((uint256,uint256,uint256,uint256,uint256,uint256))
func (*LightweightStateV2Session) GetGISTRoot ¶
func (_LightweightStateV2 *LightweightStateV2Session) GetGISTRoot() (*big.Int, error)
GetGISTRoot is a free data retrieval call binding the contract method 0x2439e3a6.
Solidity: function getGISTRoot() view returns(uint256)
func (*LightweightStateV2Session) GetGISTRootInfo ¶
func (_LightweightStateV2 *LightweightStateV2Session) 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 (*LightweightStateV2Session) GetIdentityLastState ¶
func (_LightweightStateV2 *LightweightStateV2Session) GetIdentityLastState(identityId_ *big.Int) (*big.Int, error)
GetIdentityLastState is a free data retrieval call binding the contract method 0xbfcf3ecf.
Solidity: function getIdentityLastState(uint256 identityId_) view returns(uint256)
func (*LightweightStateV2Session) GetSigComponents ¶
func (_LightweightStateV2 *LightweightStateV2Session) GetSigComponents(methodId_ uint8, contractAddress_ common.Address) (struct { ChainName string Nonce *big.Int }, error)
GetSigComponents is a free data retrieval call binding the contract method 0x827e099e.
Solidity: function getSigComponents(uint8 methodId_, address contractAddress_) view returns(string chainName_, uint256 nonce_)
func (*LightweightStateV2Session) GetStateInfoById ¶
func (_LightweightStateV2 *LightweightStateV2Session) GetStateInfoById(identityId_ *big.Int) (IStateStateInfo, error)
GetStateInfoById is a free data retrieval call binding the contract method 0xb4bdea55.
Solidity: function getStateInfoById(uint256 identityId_) view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256))
func (*LightweightStateV2Session) GetStateInfoByIdAndState ¶
func (_LightweightStateV2 *LightweightStateV2Session) GetStateInfoByIdAndState(identityId_ *big.Int, state_ *big.Int) (IStateStateInfo, error)
GetStateInfoByIdAndState is a free data retrieval call binding the contract method 0x53c87312.
Solidity: function getStateInfoByIdAndState(uint256 identityId_, uint256 state_) view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256))
func (*LightweightStateV2Session) IdExists ¶
func (_LightweightStateV2 *LightweightStateV2Session) IdExists(identityId_ *big.Int) (bool, error)
IdExists is a free data retrieval call binding the contract method 0x0b8a295a.
Solidity: function idExists(uint256 identityId_) view returns(bool)
func (*LightweightStateV2Session) LightweightStateV2Init ¶
func (_LightweightStateV2 *LightweightStateV2Session) LightweightStateV2Init(signer_ common.Address, sourceStateContract_ common.Address, chainName_ string) (*types.Transaction, error)
LightweightStateV2Init is a paid mutator transaction binding the contract method 0x6032bbe6.
Solidity: function __LightweightStateV2_init(address signer_, address sourceStateContract_, string chainName_) returns()
func (*LightweightStateV2Session) Nonces ¶
func (_LightweightStateV2 *LightweightStateV2Session) Nonces(arg0 common.Address, arg1 uint8) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0xed3218a2.
Solidity: function nonces(address , uint8 ) view returns(uint256)
func (*LightweightStateV2Session) P ¶
func (_LightweightStateV2 *LightweightStateV2Session) P() (*big.Int, error)
P is a free data retrieval call binding the contract method 0x8b8fbd92.
Solidity: function P() view returns(uint256)
func (*LightweightStateV2Session) ProxiableUUID ¶
func (_LightweightStateV2 *LightweightStateV2Session) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*LightweightStateV2Session) SignedTransitGISTData ¶ added in v1.0.1
func (_LightweightStateV2 *LightweightStateV2Session) SignedTransitGISTData(prevGist_ *big.Int, gistData_ ILightweightStateV2GistRootData, proof_ []byte) (*types.Transaction, error)
SignedTransitGISTData is a paid mutator transaction binding the contract method 0xaaf654c3.
Solidity: function signedTransitGISTData(uint256 prevGist_, (uint256,uint256,uint256,uint256) gistData_, bytes proof_) returns()
func (*LightweightStateV2Session) SignedTransitStateData ¶ added in v1.0.1
func (_LightweightStateV2 *LightweightStateV2Session) SignedTransitStateData(prevState_ *big.Int, stateData_ ILightweightStateV2StateData, proof_ []byte) (*types.Transaction, error)
SignedTransitStateData is a paid mutator transaction binding the contract method 0x076599d5.
Solidity: function signedTransitStateData(uint256 prevState_, (uint256,uint256,uint256,uint256,uint256) stateData_, bytes proof_) returns()
func (*LightweightStateV2Session) Signer ¶
func (_LightweightStateV2 *LightweightStateV2Session) Signer() (common.Address, error)
Signer is a free data retrieval call binding the contract method 0x238ac933.
Solidity: function signer() view returns(address)
func (*LightweightStateV2Session) SignersInit ¶
func (_LightweightStateV2 *LightweightStateV2Session) SignersInit(signer_ common.Address, chainName_ string) (*types.Transaction, error)
SignersInit is a paid mutator transaction binding the contract method 0x509ace95.
Solidity: function __Signers_init(address signer_, string chainName_) returns()
func (*LightweightStateV2Session) SourceStateContract ¶
func (_LightweightStateV2 *LightweightStateV2Session) SourceStateContract() (common.Address, error)
SourceStateContract is a free data retrieval call binding the contract method 0xfc228319.
Solidity: function sourceStateContract() view returns(address)
func (*LightweightStateV2Session) StateExists ¶
func (_LightweightStateV2 *LightweightStateV2Session) StateExists(identityId_ *big.Int, state_ *big.Int) (bool, error)
StateExists is a free data retrieval call binding the contract method 0x233a4d23.
Solidity: function stateExists(uint256 identityId_, uint256 state_) view returns(bool)
func (*LightweightStateV2Session) UpgradeTo ¶
func (_LightweightStateV2 *LightweightStateV2Session) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*LightweightStateV2Session) UpgradeToAndCall ¶
func (_LightweightStateV2 *LightweightStateV2Session) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*LightweightStateV2Session) UpgradeToWithSig ¶
func (_LightweightStateV2 *LightweightStateV2Session) UpgradeToWithSig(newImplementation_ common.Address, signature_ []byte) (*types.Transaction, error)
UpgradeToWithSig is a paid mutator transaction binding the contract method 0x52d04661.
Solidity: function upgradeToWithSig(address newImplementation_, bytes signature_) returns()
func (*LightweightStateV2Session) ValidateChangeAddressSignature ¶
func (_LightweightStateV2 *LightweightStateV2Session) ValidateChangeAddressSignature(methodId_ uint8, contractAddress_ common.Address, newAddress_ common.Address, signature_ []byte) (*types.Transaction, error)
ValidateChangeAddressSignature is a paid mutator transaction binding the contract method 0x7d1e764b.
Solidity: function validateChangeAddressSignature(uint8 methodId_, address contractAddress_, address newAddress_, bytes signature_) returns()
type LightweightStateV2SignGISTDataTransited ¶ added in v1.0.1
type LightweightStateV2SignGISTDataTransited struct { NewGistRoot *big.Int PrevGistRoot *big.Int Raw types.Log // Blockchain specific contextual infos }
LightweightStateV2SignGISTDataTransited represents a SignGISTDataTransited event raised by the LightweightStateV2 contract.
type LightweightStateV2SignGISTDataTransitedIterator ¶ added in v1.0.1
type LightweightStateV2SignGISTDataTransitedIterator struct { Event *LightweightStateV2SignGISTDataTransited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightweightStateV2SignGISTDataTransitedIterator is returned from FilterSignGISTDataTransited and is used to iterate over the raw logs and unpacked data for SignGISTDataTransited events raised by the LightweightStateV2 contract.
func (*LightweightStateV2SignGISTDataTransitedIterator) Close ¶ added in v1.0.1
func (it *LightweightStateV2SignGISTDataTransitedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightweightStateV2SignGISTDataTransitedIterator) Error ¶ added in v1.0.1
func (it *LightweightStateV2SignGISTDataTransitedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightweightStateV2SignGISTDataTransitedIterator) Next ¶ added in v1.0.1
func (it *LightweightStateV2SignGISTDataTransitedIterator) 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 LightweightStateV2SignStateDataTransited ¶ added in v1.0.1
type LightweightStateV2SignStateDataTransited struct { IdentityId *big.Int NewIdentityState *big.Int PrevIdentityState *big.Int Raw types.Log // Blockchain specific contextual infos }
LightweightStateV2SignStateDataTransited represents a SignStateDataTransited event raised by the LightweightStateV2 contract.
type LightweightStateV2SignStateDataTransitedIterator ¶ added in v1.0.1
type LightweightStateV2SignStateDataTransitedIterator struct { Event *LightweightStateV2SignStateDataTransited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightweightStateV2SignStateDataTransitedIterator is returned from FilterSignStateDataTransited and is used to iterate over the raw logs and unpacked data for SignStateDataTransited events raised by the LightweightStateV2 contract.
func (*LightweightStateV2SignStateDataTransitedIterator) Close ¶ added in v1.0.1
func (it *LightweightStateV2SignStateDataTransitedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightweightStateV2SignStateDataTransitedIterator) Error ¶ added in v1.0.1
func (it *LightweightStateV2SignStateDataTransitedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightweightStateV2SignStateDataTransitedIterator) Next ¶ added in v1.0.1
func (it *LightweightStateV2SignStateDataTransitedIterator) 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 LightweightStateV2Transactor ¶
type LightweightStateV2Transactor struct {
// contains filtered or unexported fields
}
LightweightStateV2Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLightweightStateV2Transactor ¶
func NewLightweightStateV2Transactor(address common.Address, transactor bind.ContractTransactor) (*LightweightStateV2Transactor, error)
NewLightweightStateV2Transactor creates a new write-only instance of LightweightStateV2, bound to a specific deployed contract.
func (*LightweightStateV2Transactor) ChangeSigner ¶
func (_LightweightStateV2 *LightweightStateV2Transactor) ChangeSigner(opts *bind.TransactOpts, newSignerPubKey_ []byte, signature_ []byte) (*types.Transaction, error)
ChangeSigner is a paid mutator transaction binding the contract method 0x497f6959.
Solidity: function changeSigner(bytes newSignerPubKey_, bytes signature_) returns()
func (*LightweightStateV2Transactor) ChangeSourceStateContract ¶
func (_LightweightStateV2 *LightweightStateV2Transactor) ChangeSourceStateContract(opts *bind.TransactOpts, newSourceStateContract_ common.Address, signature_ []byte) (*types.Transaction, error)
ChangeSourceStateContract is a paid mutator transaction binding the contract method 0x89aeb0f5.
Solidity: function changeSourceStateContract(address newSourceStateContract_, bytes signature_) returns()
func (*LightweightStateV2Transactor) CheckSignatureAndIncrementNonce ¶
func (_LightweightStateV2 *LightweightStateV2Transactor) CheckSignatureAndIncrementNonce(opts *bind.TransactOpts, methodId_ uint8, contractAddress_ common.Address, signHash_ [32]byte, signature_ []byte) (*types.Transaction, error)
CheckSignatureAndIncrementNonce is a paid mutator transaction binding the contract method 0xe3754f90.
Solidity: function checkSignatureAndIncrementNonce(uint8 methodId_, address contractAddress_, bytes32 signHash_, bytes signature_) returns()
func (*LightweightStateV2Transactor) LightweightStateV2Init ¶
func (_LightweightStateV2 *LightweightStateV2Transactor) LightweightStateV2Init(opts *bind.TransactOpts, signer_ common.Address, sourceStateContract_ common.Address, chainName_ string) (*types.Transaction, error)
LightweightStateV2Init is a paid mutator transaction binding the contract method 0x6032bbe6.
Solidity: function __LightweightStateV2_init(address signer_, address sourceStateContract_, string chainName_) returns()
func (*LightweightStateV2Transactor) SignedTransitGISTData ¶ added in v1.0.1
func (_LightweightStateV2 *LightweightStateV2Transactor) SignedTransitGISTData(opts *bind.TransactOpts, prevGist_ *big.Int, gistData_ ILightweightStateV2GistRootData, proof_ []byte) (*types.Transaction, error)
SignedTransitGISTData is a paid mutator transaction binding the contract method 0xaaf654c3.
Solidity: function signedTransitGISTData(uint256 prevGist_, (uint256,uint256,uint256,uint256) gistData_, bytes proof_) returns()
func (*LightweightStateV2Transactor) SignedTransitStateData ¶ added in v1.0.1
func (_LightweightStateV2 *LightweightStateV2Transactor) SignedTransitStateData(opts *bind.TransactOpts, prevState_ *big.Int, stateData_ ILightweightStateV2StateData, proof_ []byte) (*types.Transaction, error)
SignedTransitStateData is a paid mutator transaction binding the contract method 0x076599d5.
Solidity: function signedTransitStateData(uint256 prevState_, (uint256,uint256,uint256,uint256,uint256) stateData_, bytes proof_) returns()
func (*LightweightStateV2Transactor) SignersInit ¶
func (_LightweightStateV2 *LightweightStateV2Transactor) SignersInit(opts *bind.TransactOpts, signer_ common.Address, chainName_ string) (*types.Transaction, error)
SignersInit is a paid mutator transaction binding the contract method 0x509ace95.
Solidity: function __Signers_init(address signer_, string chainName_) returns()
func (*LightweightStateV2Transactor) UpgradeTo ¶
func (_LightweightStateV2 *LightweightStateV2Transactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*LightweightStateV2Transactor) UpgradeToAndCall ¶
func (_LightweightStateV2 *LightweightStateV2Transactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*LightweightStateV2Transactor) UpgradeToWithSig ¶
func (_LightweightStateV2 *LightweightStateV2Transactor) UpgradeToWithSig(opts *bind.TransactOpts, newImplementation_ common.Address, signature_ []byte) (*types.Transaction, error)
UpgradeToWithSig is a paid mutator transaction binding the contract method 0x52d04661.
Solidity: function upgradeToWithSig(address newImplementation_, bytes signature_) returns()
func (*LightweightStateV2Transactor) ValidateChangeAddressSignature ¶
func (_LightweightStateV2 *LightweightStateV2Transactor) ValidateChangeAddressSignature(opts *bind.TransactOpts, methodId_ uint8, contractAddress_ common.Address, newAddress_ common.Address, signature_ []byte) (*types.Transaction, error)
ValidateChangeAddressSignature is a paid mutator transaction binding the contract method 0x7d1e764b.
Solidity: function validateChangeAddressSignature(uint8 methodId_, address contractAddress_, address newAddress_, bytes signature_) returns()
type LightweightStateV2TransactorRaw ¶
type LightweightStateV2TransactorRaw struct {
Contract *LightweightStateV2Transactor // Generic write-only contract binding to access the raw methods on
}
LightweightStateV2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LightweightStateV2TransactorRaw) Transact ¶
func (_LightweightStateV2 *LightweightStateV2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LightweightStateV2TransactorRaw) Transfer ¶
func (_LightweightStateV2 *LightweightStateV2TransactorRaw) 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 LightweightStateV2TransactorSession ¶
type LightweightStateV2TransactorSession struct { Contract *LightweightStateV2Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LightweightStateV2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LightweightStateV2TransactorSession) ChangeSigner ¶
func (_LightweightStateV2 *LightweightStateV2TransactorSession) ChangeSigner(newSignerPubKey_ []byte, signature_ []byte) (*types.Transaction, error)
ChangeSigner is a paid mutator transaction binding the contract method 0x497f6959.
Solidity: function changeSigner(bytes newSignerPubKey_, bytes signature_) returns()
func (*LightweightStateV2TransactorSession) ChangeSourceStateContract ¶
func (_LightweightStateV2 *LightweightStateV2TransactorSession) ChangeSourceStateContract(newSourceStateContract_ common.Address, signature_ []byte) (*types.Transaction, error)
ChangeSourceStateContract is a paid mutator transaction binding the contract method 0x89aeb0f5.
Solidity: function changeSourceStateContract(address newSourceStateContract_, bytes signature_) returns()
func (*LightweightStateV2TransactorSession) CheckSignatureAndIncrementNonce ¶
func (_LightweightStateV2 *LightweightStateV2TransactorSession) CheckSignatureAndIncrementNonce(methodId_ uint8, contractAddress_ common.Address, signHash_ [32]byte, signature_ []byte) (*types.Transaction, error)
CheckSignatureAndIncrementNonce is a paid mutator transaction binding the contract method 0xe3754f90.
Solidity: function checkSignatureAndIncrementNonce(uint8 methodId_, address contractAddress_, bytes32 signHash_, bytes signature_) returns()
func (*LightweightStateV2TransactorSession) LightweightStateV2Init ¶
func (_LightweightStateV2 *LightweightStateV2TransactorSession) LightweightStateV2Init(signer_ common.Address, sourceStateContract_ common.Address, chainName_ string) (*types.Transaction, error)
LightweightStateV2Init is a paid mutator transaction binding the contract method 0x6032bbe6.
Solidity: function __LightweightStateV2_init(address signer_, address sourceStateContract_, string chainName_) returns()
func (*LightweightStateV2TransactorSession) SignedTransitGISTData ¶ added in v1.0.1
func (_LightweightStateV2 *LightweightStateV2TransactorSession) SignedTransitGISTData(prevGist_ *big.Int, gistData_ ILightweightStateV2GistRootData, proof_ []byte) (*types.Transaction, error)
SignedTransitGISTData is a paid mutator transaction binding the contract method 0xaaf654c3.
Solidity: function signedTransitGISTData(uint256 prevGist_, (uint256,uint256,uint256,uint256) gistData_, bytes proof_) returns()
func (*LightweightStateV2TransactorSession) SignedTransitStateData ¶ added in v1.0.1
func (_LightweightStateV2 *LightweightStateV2TransactorSession) SignedTransitStateData(prevState_ *big.Int, stateData_ ILightweightStateV2StateData, proof_ []byte) (*types.Transaction, error)
SignedTransitStateData is a paid mutator transaction binding the contract method 0x076599d5.
Solidity: function signedTransitStateData(uint256 prevState_, (uint256,uint256,uint256,uint256,uint256) stateData_, bytes proof_) returns()
func (*LightweightStateV2TransactorSession) SignersInit ¶
func (_LightweightStateV2 *LightweightStateV2TransactorSession) SignersInit(signer_ common.Address, chainName_ string) (*types.Transaction, error)
SignersInit is a paid mutator transaction binding the contract method 0x509ace95.
Solidity: function __Signers_init(address signer_, string chainName_) returns()
func (*LightweightStateV2TransactorSession) UpgradeTo ¶
func (_LightweightStateV2 *LightweightStateV2TransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*LightweightStateV2TransactorSession) UpgradeToAndCall ¶
func (_LightweightStateV2 *LightweightStateV2TransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*LightweightStateV2TransactorSession) UpgradeToWithSig ¶
func (_LightweightStateV2 *LightweightStateV2TransactorSession) UpgradeToWithSig(newImplementation_ common.Address, signature_ []byte) (*types.Transaction, error)
UpgradeToWithSig is a paid mutator transaction binding the contract method 0x52d04661.
Solidity: function upgradeToWithSig(address newImplementation_, bytes signature_) returns()
func (*LightweightStateV2TransactorSession) ValidateChangeAddressSignature ¶
func (_LightweightStateV2 *LightweightStateV2TransactorSession) ValidateChangeAddressSignature(methodId_ uint8, contractAddress_ common.Address, newAddress_ common.Address, signature_ []byte) (*types.Transaction, error)
ValidateChangeAddressSignature is a paid mutator transaction binding the contract method 0x7d1e764b.
Solidity: function validateChangeAddressSignature(uint8 methodId_, address contractAddress_, address newAddress_, bytes signature_) returns()
type LightweightStateV2Upgraded ¶
type LightweightStateV2Upgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
LightweightStateV2Upgraded represents a Upgraded event raised by the LightweightStateV2 contract.
type LightweightStateV2UpgradedIterator ¶
type LightweightStateV2UpgradedIterator struct { Event *LightweightStateV2Upgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightweightStateV2UpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the LightweightStateV2 contract.
func (*LightweightStateV2UpgradedIterator) Close ¶
func (it *LightweightStateV2UpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightweightStateV2UpgradedIterator) Error ¶
func (it *LightweightStateV2UpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightweightStateV2UpgradedIterator) Next ¶
func (it *LightweightStateV2UpgradedIterator) 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.