Documentation ¶
Index ¶
- Variables
- type IBaseVerifierProveIdentityParams
- type IBaseVerifierTransitStateParams
- type ILightweightStateGistRootData
- type ILightweightStateIdentitiesStatesRootData
- type ILightweightStateStatesMerkleData
- type IRegisterVerifierRegisterProofParams
- type IRegistrationRegistrationCounters
- type IRegistrationRegistrationInfo
- type IRegistrationRegistrationParams
- type IRegistrationRegistrationValues
- type IVotingVotingCounters
- type IVotingVotingParams
- type IVotingVotingValues
- type LightweightState
- type LightweightStateAdminChanged
- type LightweightStateAdminChangedIterator
- type LightweightStateBeaconUpgraded
- type LightweightStateBeaconUpgradedIterator
- type LightweightStateCaller
- func (_LightweightState *LightweightStateCaller) ChainName(opts *bind.CallOpts) (string, error)
- func (_LightweightState *LightweightStateCaller) GeGISTRootData(opts *bind.CallOpts, root_ *big.Int) (ILightweightStateGistRootData, error)
- func (_LightweightState *LightweightStateCaller) GetCurrentGISTRootInfo(opts *bind.CallOpts) (ILightweightStateGistRootData, error)
- func (_LightweightState *LightweightStateCaller) GetGISTRoot(opts *bind.CallOpts) (*big.Int, error)
- func (_LightweightState *LightweightStateCaller) GetIdentitiesStatesRootData(opts *bind.CallOpts, root_ [32]byte) (ILightweightStateIdentitiesStatesRootData, error)
- func (_LightweightState *LightweightStateCaller) GetSigComponents(opts *bind.CallOpts, methodId_ uint8, contractAddress_ common.Address) (struct{ ... }, error)
- func (_LightweightState *LightweightStateCaller) IdentitiesStatesRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_LightweightState *LightweightStateCaller) IsIdentitiesStatesRootExists(opts *bind.CallOpts, root_ [32]byte) (bool, error)
- func (_LightweightState *LightweightStateCaller) Nonces(opts *bind.CallOpts, arg0 common.Address, arg1 uint8) (*big.Int, error)
- func (_LightweightState *LightweightStateCaller) P(opts *bind.CallOpts) (*big.Int, error)
- func (_LightweightState *LightweightStateCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_LightweightState *LightweightStateCaller) Signer(opts *bind.CallOpts) (common.Address, error)
- func (_LightweightState *LightweightStateCaller) SourceChainName(opts *bind.CallOpts) (string, error)
- func (_LightweightState *LightweightStateCaller) SourceStateContract(opts *bind.CallOpts) (common.Address, error)
- func (_LightweightState *LightweightStateCaller) VerifyStatesMerkleData(opts *bind.CallOpts, statesMerkleData_ ILightweightStateStatesMerkleData) (bool, [32]byte, error)
- type LightweightStateCallerRaw
- type LightweightStateCallerSession
- func (_LightweightState *LightweightStateCallerSession) ChainName() (string, error)
- func (_LightweightState *LightweightStateCallerSession) GeGISTRootData(root_ *big.Int) (ILightweightStateGistRootData, error)
- func (_LightweightState *LightweightStateCallerSession) GetCurrentGISTRootInfo() (ILightweightStateGistRootData, error)
- func (_LightweightState *LightweightStateCallerSession) GetGISTRoot() (*big.Int, error)
- func (_LightweightState *LightweightStateCallerSession) GetIdentitiesStatesRootData(root_ [32]byte) (ILightweightStateIdentitiesStatesRootData, error)
- func (_LightweightState *LightweightStateCallerSession) GetSigComponents(methodId_ uint8, contractAddress_ common.Address) (struct{ ... }, error)
- func (_LightweightState *LightweightStateCallerSession) IdentitiesStatesRoot() ([32]byte, error)
- func (_LightweightState *LightweightStateCallerSession) IsIdentitiesStatesRootExists(root_ [32]byte) (bool, error)
- func (_LightweightState *LightweightStateCallerSession) Nonces(arg0 common.Address, arg1 uint8) (*big.Int, error)
- func (_LightweightState *LightweightStateCallerSession) P() (*big.Int, error)
- func (_LightweightState *LightweightStateCallerSession) ProxiableUUID() ([32]byte, error)
- func (_LightweightState *LightweightStateCallerSession) Signer() (common.Address, error)
- func (_LightweightState *LightweightStateCallerSession) SourceChainName() (string, error)
- func (_LightweightState *LightweightStateCallerSession) SourceStateContract() (common.Address, error)
- func (_LightweightState *LightweightStateCallerSession) VerifyStatesMerkleData(statesMerkleData_ ILightweightStateStatesMerkleData) (bool, [32]byte, error)
- type LightweightStateFilterer
- func (_LightweightState *LightweightStateFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*LightweightStateAdminChangedIterator, error)
- func (_LightweightState *LightweightStateFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*LightweightStateBeaconUpgradedIterator, error)
- func (_LightweightState *LightweightStateFilterer) FilterInitialized(opts *bind.FilterOpts) (*LightweightStateInitializedIterator, error)
- func (_LightweightState *LightweightStateFilterer) FilterSignedStateTransited(opts *bind.FilterOpts) (*LightweightStateSignedStateTransitedIterator, error)
- func (_LightweightState *LightweightStateFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*LightweightStateUpgradedIterator, error)
- func (_LightweightState *LightweightStateFilterer) ParseAdminChanged(log types.Log) (*LightweightStateAdminChanged, error)
- func (_LightweightState *LightweightStateFilterer) ParseBeaconUpgraded(log types.Log) (*LightweightStateBeaconUpgraded, error)
- func (_LightweightState *LightweightStateFilterer) ParseInitialized(log types.Log) (*LightweightStateInitialized, error)
- func (_LightweightState *LightweightStateFilterer) ParseSignedStateTransited(log types.Log) (*LightweightStateSignedStateTransited, error)
- func (_LightweightState *LightweightStateFilterer) ParseUpgraded(log types.Log) (*LightweightStateUpgraded, error)
- func (_LightweightState *LightweightStateFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *LightweightStateAdminChanged) (event.Subscription, error)
- func (_LightweightState *LightweightStateFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *LightweightStateBeaconUpgraded, ...) (event.Subscription, error)
- func (_LightweightState *LightweightStateFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *LightweightStateInitialized) (event.Subscription, error)
- func (_LightweightState *LightweightStateFilterer) WatchSignedStateTransited(opts *bind.WatchOpts, sink chan<- *LightweightStateSignedStateTransited) (event.Subscription, error)
- func (_LightweightState *LightweightStateFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *LightweightStateUpgraded, ...) (event.Subscription, error)
- type LightweightStateInitialized
- type LightweightStateInitializedIterator
- type LightweightStateRaw
- func (_LightweightState *LightweightStateRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_LightweightState *LightweightStateRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LightweightState *LightweightStateRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LightweightStateSession
- func (_LightweightState *LightweightStateSession) ChainName() (string, error)
- func (_LightweightState *LightweightStateSession) ChangeSigner(newSignerPubKey_ []byte, signature_ []byte) (*types.Transaction, error)
- func (_LightweightState *LightweightStateSession) ChangeSourceStateContract(newSourceStateContract_ common.Address, signature_ []byte) (*types.Transaction, error)
- func (_LightweightState *LightweightStateSession) CheckSignatureAndIncrementNonce(methodId_ uint8, contractAddress_ common.Address, signHash_ [32]byte, ...) (*types.Transaction, error)
- func (_LightweightState *LightweightStateSession) GeGISTRootData(root_ *big.Int) (ILightweightStateGistRootData, error)
- func (_LightweightState *LightweightStateSession) GetCurrentGISTRootInfo() (ILightweightStateGistRootData, error)
- func (_LightweightState *LightweightStateSession) GetGISTRoot() (*big.Int, error)
- func (_LightweightState *LightweightStateSession) GetIdentitiesStatesRootData(root_ [32]byte) (ILightweightStateIdentitiesStatesRootData, error)
- func (_LightweightState *LightweightStateSession) GetSigComponents(methodId_ uint8, contractAddress_ common.Address) (struct{ ... }, error)
- func (_LightweightState *LightweightStateSession) IdentitiesStatesRoot() ([32]byte, error)
- func (_LightweightState *LightweightStateSession) IsIdentitiesStatesRootExists(root_ [32]byte) (bool, error)
- func (_LightweightState *LightweightStateSession) LightweightStateInit(signer_ common.Address, sourceStateContract_ common.Address, ...) (*types.Transaction, error)
- func (_LightweightState *LightweightStateSession) Nonces(arg0 common.Address, arg1 uint8) (*big.Int, error)
- func (_LightweightState *LightweightStateSession) P() (*big.Int, error)
- func (_LightweightState *LightweightStateSession) ProxiableUUID() ([32]byte, error)
- func (_LightweightState *LightweightStateSession) SignedTransitState(newIdentitiesStatesRoot_ [32]byte, gistData_ ILightweightStateGistRootData, ...) (*types.Transaction, error)
- func (_LightweightState *LightweightStateSession) Signer() (common.Address, error)
- func (_LightweightState *LightweightStateSession) SignersInit(signer_ common.Address, chainName_ string) (*types.Transaction, error)
- func (_LightweightState *LightweightStateSession) SourceChainName() (string, error)
- func (_LightweightState *LightweightStateSession) SourceStateContract() (common.Address, error)
- func (_LightweightState *LightweightStateSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_LightweightState *LightweightStateSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_LightweightState *LightweightStateSession) UpgradeToWithSig(newImplementation_ common.Address, signature_ []byte) (*types.Transaction, error)
- func (_LightweightState *LightweightStateSession) ValidateChangeAddressSignature(methodId_ uint8, contractAddress_ common.Address, newAddress_ common.Address, ...) (*types.Transaction, error)
- func (_LightweightState *LightweightStateSession) VerifyStatesMerkleData(statesMerkleData_ ILightweightStateStatesMerkleData) (bool, [32]byte, error)
- type LightweightStateSignedStateTransited
- type LightweightStateSignedStateTransitedIterator
- type LightweightStateTransactor
- func (_LightweightState *LightweightStateTransactor) ChangeSigner(opts *bind.TransactOpts, newSignerPubKey_ []byte, signature_ []byte) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactor) ChangeSourceStateContract(opts *bind.TransactOpts, newSourceStateContract_ common.Address, ...) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactor) CheckSignatureAndIncrementNonce(opts *bind.TransactOpts, methodId_ uint8, contractAddress_ common.Address, ...) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactor) LightweightStateInit(opts *bind.TransactOpts, signer_ common.Address, ...) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactor) SignedTransitState(opts *bind.TransactOpts, newIdentitiesStatesRoot_ [32]byte, ...) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactor) SignersInit(opts *bind.TransactOpts, signer_ common.Address, chainName_ string) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactor) UpgradeToWithSig(opts *bind.TransactOpts, newImplementation_ common.Address, signature_ []byte) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactor) ValidateChangeAddressSignature(opts *bind.TransactOpts, methodId_ uint8, contractAddress_ common.Address, ...) (*types.Transaction, error)
- type LightweightStateTransactorRaw
- type LightweightStateTransactorSession
- func (_LightweightState *LightweightStateTransactorSession) ChangeSigner(newSignerPubKey_ []byte, signature_ []byte) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactorSession) ChangeSourceStateContract(newSourceStateContract_ common.Address, signature_ []byte) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactorSession) CheckSignatureAndIncrementNonce(methodId_ uint8, contractAddress_ common.Address, signHash_ [32]byte, ...) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactorSession) LightweightStateInit(signer_ common.Address, sourceStateContract_ common.Address, ...) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactorSession) SignedTransitState(newIdentitiesStatesRoot_ [32]byte, gistData_ ILightweightStateGistRootData, ...) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactorSession) SignersInit(signer_ common.Address, chainName_ string) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactorSession) UpgradeToWithSig(newImplementation_ common.Address, signature_ []byte) (*types.Transaction, error)
- func (_LightweightState *LightweightStateTransactorSession) ValidateChangeAddressSignature(methodId_ uint8, contractAddress_ common.Address, newAddress_ common.Address, ...) (*types.Transaction, error)
- type LightweightStateUpgraded
- type LightweightStateUpgradedIterator
- type SparseMerkleTreeNode
- type SparseMerkleTreeProof
- type VerifierHelperProofPoints
- type VoteVerifier
- type VoteVerifierCaller
- func (_VoteVerifier *VoteVerifierCaller) Commitments(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_VoteVerifier *VoteVerifierCaller) GetNodeByKey(opts *bind.CallOpts, key_ [32]byte) (SparseMerkleTreeNode, error)
- func (_VoteVerifier *VoteVerifierCaller) GetProof(opts *bind.CallOpts, key_ [32]byte) (SparseMerkleTreeProof, error)
- func (_VoteVerifier *VoteVerifierCaller) GetRegistrationInfo(opts *bind.CallOpts) (IRegistrationRegistrationInfo, error)
- func (_VoteVerifier *VoteVerifierCaller) GetRegistrationStatus(opts *bind.CallOpts) (uint8, error)
- func (_VoteVerifier *VoteVerifierCaller) GetRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_VoteVerifier *VoteVerifierCaller) IsRootExists(opts *bind.CallOpts, root [32]byte) (bool, error)
- func (_VoteVerifier *VoteVerifierCaller) IsUserRegistered(opts *bind.CallOpts, documentNullifier *big.Int) (bool, error)
- func (_VoteVerifier *VoteVerifierCaller) RegisterVerifier(opts *bind.CallOpts) (common.Address, error)
- func (_VoteVerifier *VoteVerifierCaller) RegistrationInfo(opts *bind.CallOpts) (struct{ ... }, error)
- func (_VoteVerifier *VoteVerifierCaller) RootsHistory(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_VoteVerifier *VoteVerifierCaller) SmtTreeMaxDepth(opts *bind.CallOpts) (*big.Int, error)
- type VoteVerifierCallerRaw
- type VoteVerifierCallerSession
- func (_VoteVerifier *VoteVerifierCallerSession) Commitments(arg0 [32]byte) (bool, error)
- func (_VoteVerifier *VoteVerifierCallerSession) GetNodeByKey(key_ [32]byte) (SparseMerkleTreeNode, error)
- func (_VoteVerifier *VoteVerifierCallerSession) GetProof(key_ [32]byte) (SparseMerkleTreeProof, error)
- func (_VoteVerifier *VoteVerifierCallerSession) GetRegistrationInfo() (IRegistrationRegistrationInfo, error)
- func (_VoteVerifier *VoteVerifierCallerSession) GetRegistrationStatus() (uint8, error)
- func (_VoteVerifier *VoteVerifierCallerSession) GetRoot() ([32]byte, error)
- func (_VoteVerifier *VoteVerifierCallerSession) IsRootExists(root [32]byte) (bool, error)
- func (_VoteVerifier *VoteVerifierCallerSession) IsUserRegistered(documentNullifier *big.Int) (bool, error)
- func (_VoteVerifier *VoteVerifierCallerSession) RegisterVerifier() (common.Address, error)
- func (_VoteVerifier *VoteVerifierCallerSession) RegistrationInfo() (struct{ ... }, error)
- func (_VoteVerifier *VoteVerifierCallerSession) RootsHistory(arg0 [32]byte) (bool, error)
- func (_VoteVerifier *VoteVerifierCallerSession) SmtTreeMaxDepth() (*big.Int, error)
- type VoteVerifierFilterer
- func (_VoteVerifier *VoteVerifierFilterer) FilterInitialized(opts *bind.FilterOpts) (*VoteVerifierInitializedIterator, error)
- func (_VoteVerifier *VoteVerifierFilterer) FilterRegistrationInitialized(opts *bind.FilterOpts, proposer []common.Address) (*VoteVerifierRegistrationInitializedIterator, error)
- func (_VoteVerifier *VoteVerifierFilterer) FilterUserRegistered(opts *bind.FilterOpts, user []common.Address) (*VoteVerifierUserRegisteredIterator, error)
- func (_VoteVerifier *VoteVerifierFilterer) ParseInitialized(log types.Log) (*VoteVerifierInitialized, error)
- func (_VoteVerifier *VoteVerifierFilterer) ParseRegistrationInitialized(log types.Log) (*VoteVerifierRegistrationInitialized, error)
- func (_VoteVerifier *VoteVerifierFilterer) ParseUserRegistered(log types.Log) (*VoteVerifierUserRegistered, error)
- func (_VoteVerifier *VoteVerifierFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *VoteVerifierInitialized) (event.Subscription, error)
- func (_VoteVerifier *VoteVerifierFilterer) WatchRegistrationInitialized(opts *bind.WatchOpts, sink chan<- *VoteVerifierRegistrationInitialized, ...) (event.Subscription, error)
- func (_VoteVerifier *VoteVerifierFilterer) WatchUserRegistered(opts *bind.WatchOpts, sink chan<- *VoteVerifierUserRegistered, ...) (event.Subscription, error)
- type VoteVerifierInitialized
- type VoteVerifierInitializedIterator
- type VoteVerifierRaw
- func (_VoteVerifier *VoteVerifierRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_VoteVerifier *VoteVerifierRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_VoteVerifier *VoteVerifierRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VoteVerifierRegistrationInitialized
- type VoteVerifierRegistrationInitializedIterator
- type VoteVerifierSession
- func (_VoteVerifier *VoteVerifierSession) Commitments(arg0 [32]byte) (bool, error)
- func (_VoteVerifier *VoteVerifierSession) GetNodeByKey(key_ [32]byte) (SparseMerkleTreeNode, error)
- func (_VoteVerifier *VoteVerifierSession) GetProof(key_ [32]byte) (SparseMerkleTreeProof, error)
- func (_VoteVerifier *VoteVerifierSession) GetRegistrationInfo() (IRegistrationRegistrationInfo, error)
- func (_VoteVerifier *VoteVerifierSession) GetRegistrationStatus() (uint8, error)
- func (_VoteVerifier *VoteVerifierSession) GetRoot() ([32]byte, error)
- func (_VoteVerifier *VoteVerifierSession) IsRootExists(root [32]byte) (bool, error)
- func (_VoteVerifier *VoteVerifierSession) IsUserRegistered(documentNullifier *big.Int) (bool, error)
- func (_VoteVerifier *VoteVerifierSession) Register(proveIdentityParams_ IBaseVerifierProveIdentityParams, ...) (*types.Transaction, error)
- func (_VoteVerifier *VoteVerifierSession) RegisterVerifier() (common.Address, error)
- func (_VoteVerifier *VoteVerifierSession) RegistrationInfo() (struct{ ... }, error)
- func (_VoteVerifier *VoteVerifierSession) RegistrationInit(registrationParams_ IRegistrationRegistrationParams) (*types.Transaction, error)
- func (_VoteVerifier *VoteVerifierSession) RootsHistory(arg0 [32]byte) (bool, error)
- func (_VoteVerifier *VoteVerifierSession) SmtTreeMaxDepth() (*big.Int, error)
- type VoteVerifierTransactor
- func (_VoteVerifier *VoteVerifierTransactor) Register(opts *bind.TransactOpts, proveIdentityParams_ IBaseVerifierProveIdentityParams, ...) (*types.Transaction, error)
- func (_VoteVerifier *VoteVerifierTransactor) RegistrationInit(opts *bind.TransactOpts, registrationParams_ IRegistrationRegistrationParams) (*types.Transaction, error)
- type VoteVerifierTransactorRaw
- type VoteVerifierTransactorSession
- type VoteVerifierUserRegistered
- type VoteVerifierUserRegisteredIterator
- type Voting
- type VotingCaller
- func (_Voting *VotingCaller) Candidates(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_Voting *VotingCaller) GetProposalStatus(opts *bind.CallOpts) (uint8, error)
- func (_Voting *VotingCaller) GetRegistrationAddresses(opts *bind.CallOpts) ([]common.Address, error)
- func (_Voting *VotingCaller) MAXCANDIDATES(opts *bind.CallOpts) (*big.Int, error)
- func (_Voting *VotingCaller) Nullifiers(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_Voting *VotingCaller) Registration(opts *bind.CallOpts) (common.Address, error)
- func (_Voting *VotingCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Voting *VotingCaller) VoteVerifier(opts *bind.CallOpts) (common.Address, error)
- func (_Voting *VotingCaller) VotesPerCandidate(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_Voting *VotingCaller) VotingInfo(opts *bind.CallOpts) (struct{ ... }, error)
- type VotingCallerRaw
- type VotingCallerSession
- func (_Voting *VotingCallerSession) Candidates(arg0 [32]byte) (bool, error)
- func (_Voting *VotingCallerSession) GetProposalStatus() (uint8, error)
- func (_Voting *VotingCallerSession) GetRegistrationAddresses() ([]common.Address, error)
- func (_Voting *VotingCallerSession) MAXCANDIDATES() (*big.Int, error)
- func (_Voting *VotingCallerSession) Nullifiers(arg0 [32]byte) (bool, error)
- func (_Voting *VotingCallerSession) Registration() (common.Address, error)
- func (_Voting *VotingCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Voting *VotingCallerSession) VoteVerifier() (common.Address, error)
- func (_Voting *VotingCallerSession) VotesPerCandidate(arg0 [32]byte) (*big.Int, error)
- func (_Voting *VotingCallerSession) VotingInfo() (struct{ ... }, error)
- type VotingFilterer
- func (_Voting *VotingFilterer) FilterInitialized(opts *bind.FilterOpts) (*VotingInitializedIterator, error)
- func (_Voting *VotingFilterer) FilterUserVoted(opts *bind.FilterOpts, user []common.Address) (*VotingUserVotedIterator, error)
- func (_Voting *VotingFilterer) FilterVotingInitialized(opts *bind.FilterOpts, proposer []common.Address) (*VotingVotingInitializedIterator, error)
- func (_Voting *VotingFilterer) ParseInitialized(log types.Log) (*VotingInitialized, error)
- func (_Voting *VotingFilterer) ParseUserVoted(log types.Log) (*VotingUserVoted, error)
- func (_Voting *VotingFilterer) ParseVotingInitialized(log types.Log) (*VotingVotingInitialized, error)
- func (_Voting *VotingFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *VotingInitialized) (event.Subscription, error)
- func (_Voting *VotingFilterer) WatchUserVoted(opts *bind.WatchOpts, sink chan<- *VotingUserVoted, user []common.Address) (event.Subscription, error)
- func (_Voting *VotingFilterer) WatchVotingInitialized(opts *bind.WatchOpts, sink chan<- *VotingVotingInitialized, ...) (event.Subscription, error)
- type VotingInitialized
- type VotingInitializedIterator
- type VotingRaw
- func (_Voting *VotingRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Voting *VotingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Voting *VotingRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VotingRegistry
- type VotingRegistryAdminChanged
- type VotingRegistryAdminChangedIterator
- type VotingRegistryBeaconUpgraded
- type VotingRegistryBeaconUpgradedIterator
- type VotingRegistryCaller
- func (_VotingRegistry *VotingRegistryCaller) GetPoolImplementation(opts *bind.CallOpts, poolType_ string) (common.Address, error)
- func (_VotingRegistry *VotingRegistryCaller) GetVotingForRegistration(opts *bind.CallOpts, proposer_ common.Address, registration_ common.Address) (common.Address, error)
- func (_VotingRegistry *VotingRegistryCaller) IsPoolExistByProposer(opts *bind.CallOpts, proposer_ common.Address, pool_ common.Address) (bool, error)
- func (_VotingRegistry *VotingRegistryCaller) IsPoolExistByProposerAndType(opts *bind.CallOpts, proposer_ common.Address, poolType_ string, ...) (bool, error)
- func (_VotingRegistry *VotingRegistryCaller) IsPoolExistByType(opts *bind.CallOpts, poolType_ string, pool_ common.Address) (bool, error)
- func (_VotingRegistry *VotingRegistryCaller) ListPoolsByProposer(opts *bind.CallOpts, proposer_ common.Address, offset_ *big.Int, ...) ([]common.Address, error)
- func (_VotingRegistry *VotingRegistryCaller) ListPoolsByProposerAndType(opts *bind.CallOpts, proposer_ common.Address, poolType_ string, ...) ([]common.Address, error)
- func (_VotingRegistry *VotingRegistryCaller) ListPoolsByType(opts *bind.CallOpts, poolType_ string, offset_ *big.Int, limit_ *big.Int) ([]common.Address, error)
- func (_VotingRegistry *VotingRegistryCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_VotingRegistry *VotingRegistryCaller) PoolCountByProposer(opts *bind.CallOpts, proposer_ common.Address) (*big.Int, error)
- func (_VotingRegistry *VotingRegistryCaller) PoolCountByProposerAndType(opts *bind.CallOpts, proposer_ common.Address, poolType_ string) (*big.Int, error)
- func (_VotingRegistry *VotingRegistryCaller) PoolCountByType(opts *bind.CallOpts, poolType_ string) (*big.Int, error)
- func (_VotingRegistry *VotingRegistryCaller) PoolFactory(opts *bind.CallOpts) (common.Address, error)
- func (_VotingRegistry *VotingRegistryCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- type VotingRegistryCallerRaw
- type VotingRegistryCallerSession
- func (_VotingRegistry *VotingRegistryCallerSession) GetPoolImplementation(poolType_ string) (common.Address, error)
- func (_VotingRegistry *VotingRegistryCallerSession) GetVotingForRegistration(proposer_ common.Address, registration_ common.Address) (common.Address, error)
- func (_VotingRegistry *VotingRegistryCallerSession) IsPoolExistByProposer(proposer_ common.Address, pool_ common.Address) (bool, error)
- func (_VotingRegistry *VotingRegistryCallerSession) IsPoolExistByProposerAndType(proposer_ common.Address, poolType_ string, pool_ common.Address) (bool, error)
- func (_VotingRegistry *VotingRegistryCallerSession) IsPoolExistByType(poolType_ string, pool_ common.Address) (bool, error)
- func (_VotingRegistry *VotingRegistryCallerSession) ListPoolsByProposer(proposer_ common.Address, offset_ *big.Int, limit_ *big.Int) ([]common.Address, error)
- func (_VotingRegistry *VotingRegistryCallerSession) ListPoolsByProposerAndType(proposer_ common.Address, poolType_ string, offset_ *big.Int, limit_ *big.Int) ([]common.Address, error)
- func (_VotingRegistry *VotingRegistryCallerSession) ListPoolsByType(poolType_ string, offset_ *big.Int, limit_ *big.Int) ([]common.Address, error)
- func (_VotingRegistry *VotingRegistryCallerSession) Owner() (common.Address, error)
- func (_VotingRegistry *VotingRegistryCallerSession) PoolCountByProposer(proposer_ common.Address) (*big.Int, error)
- func (_VotingRegistry *VotingRegistryCallerSession) PoolCountByProposerAndType(proposer_ common.Address, poolType_ string) (*big.Int, error)
- func (_VotingRegistry *VotingRegistryCallerSession) PoolCountByType(poolType_ string) (*big.Int, error)
- func (_VotingRegistry *VotingRegistryCallerSession) PoolFactory() (common.Address, error)
- func (_VotingRegistry *VotingRegistryCallerSession) ProxiableUUID() ([32]byte, error)
- type VotingRegistryFilterer
- func (_VotingRegistry *VotingRegistryFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*VotingRegistryAdminChangedIterator, error)
- func (_VotingRegistry *VotingRegistryFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*VotingRegistryBeaconUpgradedIterator, error)
- func (_VotingRegistry *VotingRegistryFilterer) FilterInitialized(opts *bind.FilterOpts) (*VotingRegistryInitializedIterator, error)
- func (_VotingRegistry *VotingRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*VotingRegistryOwnershipTransferredIterator, error)
- func (_VotingRegistry *VotingRegistryFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*VotingRegistryUpgradedIterator, error)
- func (_VotingRegistry *VotingRegistryFilterer) ParseAdminChanged(log types.Log) (*VotingRegistryAdminChanged, error)
- func (_VotingRegistry *VotingRegistryFilterer) ParseBeaconUpgraded(log types.Log) (*VotingRegistryBeaconUpgraded, error)
- func (_VotingRegistry *VotingRegistryFilterer) ParseInitialized(log types.Log) (*VotingRegistryInitialized, error)
- func (_VotingRegistry *VotingRegistryFilterer) ParseOwnershipTransferred(log types.Log) (*VotingRegistryOwnershipTransferred, error)
- func (_VotingRegistry *VotingRegistryFilterer) ParseUpgraded(log types.Log) (*VotingRegistryUpgraded, error)
- func (_VotingRegistry *VotingRegistryFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *VotingRegistryAdminChanged) (event.Subscription, error)
- func (_VotingRegistry *VotingRegistryFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *VotingRegistryBeaconUpgraded, ...) (event.Subscription, error)
- func (_VotingRegistry *VotingRegistryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *VotingRegistryInitialized) (event.Subscription, error)
- func (_VotingRegistry *VotingRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VotingRegistryOwnershipTransferred, ...) (event.Subscription, error)
- func (_VotingRegistry *VotingRegistryFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *VotingRegistryUpgraded, ...) (event.Subscription, error)
- type VotingRegistryInitialized
- type VotingRegistryInitializedIterator
- type VotingRegistryOwnershipTransferred
- type VotingRegistryOwnershipTransferredIterator
- type VotingRegistryRaw
- func (_VotingRegistry *VotingRegistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_VotingRegistry *VotingRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VotingRegistrySession
- func (_VotingRegistry *VotingRegistrySession) AddProxyPool(poolType_ string, proposer_ common.Address, pool_ common.Address) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistrySession) BindVotingToRegistration(proposer_ common.Address, voting_ common.Address, registration_ common.Address) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistrySession) GetPoolImplementation(poolType_ string) (common.Address, error)
- func (_VotingRegistry *VotingRegistrySession) GetVotingForRegistration(proposer_ common.Address, registration_ common.Address) (common.Address, error)
- func (_VotingRegistry *VotingRegistrySession) IsPoolExistByProposer(proposer_ common.Address, pool_ common.Address) (bool, error)
- func (_VotingRegistry *VotingRegistrySession) IsPoolExistByProposerAndType(proposer_ common.Address, poolType_ string, pool_ common.Address) (bool, error)
- func (_VotingRegistry *VotingRegistrySession) IsPoolExistByType(poolType_ string, pool_ common.Address) (bool, error)
- func (_VotingRegistry *VotingRegistrySession) ListPoolsByProposer(proposer_ common.Address, offset_ *big.Int, limit_ *big.Int) ([]common.Address, error)
- func (_VotingRegistry *VotingRegistrySession) ListPoolsByProposerAndType(proposer_ common.Address, poolType_ string, offset_ *big.Int, limit_ *big.Int) ([]common.Address, error)
- func (_VotingRegistry *VotingRegistrySession) ListPoolsByType(poolType_ string, offset_ *big.Int, limit_ *big.Int) ([]common.Address, error)
- func (_VotingRegistry *VotingRegistrySession) Owner() (common.Address, error)
- func (_VotingRegistry *VotingRegistrySession) PoolCountByProposer(proposer_ common.Address) (*big.Int, error)
- func (_VotingRegistry *VotingRegistrySession) PoolCountByProposerAndType(proposer_ common.Address, poolType_ string) (*big.Int, error)
- func (_VotingRegistry *VotingRegistrySession) PoolCountByType(poolType_ string) (*big.Int, error)
- func (_VotingRegistry *VotingRegistrySession) PoolFactory() (common.Address, error)
- func (_VotingRegistry *VotingRegistrySession) ProxiableUUID() ([32]byte, error)
- func (_VotingRegistry *VotingRegistrySession) RenounceOwnership() (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistrySession) SetNewImplementations(poolTypes_ []string, newImplementations_ []common.Address) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistrySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistrySession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistrySession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistrySession) VotingRegistryInit(poolFactory_ common.Address) (*types.Transaction, error)
- type VotingRegistryTransactor
- func (_VotingRegistry *VotingRegistryTransactor) AddProxyPool(opts *bind.TransactOpts, poolType_ string, proposer_ common.Address, ...) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistryTransactor) BindVotingToRegistration(opts *bind.TransactOpts, proposer_ common.Address, voting_ common.Address, ...) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistryTransactor) SetNewImplementations(opts *bind.TransactOpts, poolTypes_ []string, ...) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistryTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistryTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistryTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistryTransactor) VotingRegistryInit(opts *bind.TransactOpts, poolFactory_ common.Address) (*types.Transaction, error)
- type VotingRegistryTransactorRaw
- type VotingRegistryTransactorSession
- func (_VotingRegistry *VotingRegistryTransactorSession) AddProxyPool(poolType_ string, proposer_ common.Address, pool_ common.Address) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistryTransactorSession) BindVotingToRegistration(proposer_ common.Address, voting_ common.Address, registration_ common.Address) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistryTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistryTransactorSession) SetNewImplementations(poolTypes_ []string, newImplementations_ []common.Address) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistryTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistryTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_VotingRegistry *VotingRegistryTransactorSession) VotingRegistryInit(poolFactory_ common.Address) (*types.Transaction, error)
- type VotingRegistryUpgraded
- type VotingRegistryUpgradedIterator
- type VotingSession
- func (_Voting *VotingSession) Candidates(arg0 [32]byte) (bool, error)
- func (_Voting *VotingSession) GetProposalStatus() (uint8, error)
- func (_Voting *VotingSession) GetRegistrationAddresses() ([]common.Address, error)
- func (_Voting *VotingSession) MAXCANDIDATES() (*big.Int, error)
- func (_Voting *VotingSession) Nullifiers(arg0 [32]byte) (bool, error)
- func (_Voting *VotingSession) Registration() (common.Address, error)
- func (_Voting *VotingSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Voting *VotingSession) Vote(root_ [32]byte, nullifierHash_ [32]byte, candidate_ [32]byte, ...) (*types.Transaction, error)
- func (_Voting *VotingSession) VoteVerifier() (common.Address, error)
- func (_Voting *VotingSession) VotesPerCandidate(arg0 [32]byte) (*big.Int, error)
- func (_Voting *VotingSession) VotingInfo() (struct{ ... }, error)
- func (_Voting *VotingSession) VotingInit(votingParams_ IVotingVotingParams) (*types.Transaction, error)
- type VotingTransactor
- type VotingTransactorRaw
- type VotingTransactorSession
- type VotingUserVoted
- type VotingUserVotedIterator
- type VotingVotingInitialized
- type VotingVotingInitializedIterator
Constants ¶
This section is empty.
Variables ¶
var LightweightStateABI = LightweightStateMetaData.ABI
LightweightStateABI is the input ABI used to generate the binding from. Deprecated: Use LightweightStateMetaData.ABI instead.
var LightweightStateMetaData = &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\":\"bytes32\",\"name\":\"newIdentitesStatesRoot\",\"type\":\"bytes32\"}],\"name\":\"SignedStateTransited\",\"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\":\"sourceChainName_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"chainName_\",\"type\":\"string\"}],\"name\":\"__LightweightState_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\":[{\"internalType\":\"uint256\",\"name\":\"root_\",\"type\":\"uint256\"}],\"name\":\"geGISTRootData\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"}],\"internalType\":\"structILightweightState.GistRootData\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentGISTRootInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"}],\"internalType\":\"structILightweightState.GistRootData\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getGISTRoot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"root_\",\"type\":\"bytes32\"}],\"name\":\"getIdentitiesStatesRootData\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"setTimestamp\",\"type\":\"uint256\"}],\"internalType\":\"structILightweightState.IdentitiesStatesRootData\",\"name\":\"\",\"type\":\"tuple\"}],\"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\":[],\"name\":\"identitiesStatesRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"root_\",\"type\":\"bytes32\"}],\"name\":\"isIdentitiesStatesRootExists\",\"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\":\"bytes32\",\"name\":\"newIdentitiesStatesRoot_\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"}],\"internalType\":\"structILightweightState.GistRootData\",\"name\":\"gistData_\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"proof_\",\"type\":\"bytes\"}],\"name\":\"signedTransitState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"signer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sourceChainName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sourceStateContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"issuerId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"issuerState\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"merkleProof\",\"type\":\"bytes32[]\"}],\"internalType\":\"structILightweightState.StatesMerkleData\",\"name\":\"statesMerkleData_\",\"type\":\"tuple\"}],\"name\":\"verifyStatesMerkleData\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
LightweightStateMetaData contains all meta data concerning the LightweightState contract.
var VoteVerifierABI = VoteVerifierMetaData.ABI
VoteVerifierABI is the input ABI used to generate the binding from. Deprecated: Use VoteVerifierMetaData.ABI instead.
var VoteVerifierMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"registerVerifier_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"treeHeight_\",\"type\":\"uint256\"}],\"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\":\"proposer\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"remark\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"commitmentStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"commitmentPeriod\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"structIRegistration.RegistrationParams\",\"name\":\"registrationParams\",\"type\":\"tuple\"}],\"name\":\"RegistrationInitialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"issuerId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"issuerState\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"merkleProof\",\"type\":\"bytes32[]\"}],\"internalType\":\"structILightweightState.StatesMerkleData\",\"name\":\"statesMerkleData\",\"type\":\"tuple\"},{\"internalType\":\"uint256[]\",\"name\":\"inputs\",\"type\":\"uint256[]\"},{\"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]\"}],\"indexed\":false,\"internalType\":\"structIBaseVerifier.ProveIdentityParams\",\"name\":\"proveIdentityParams\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"issuingAuthority\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"documentNullifier\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"indexed\":false,\"internalType\":\"structIRegisterVerifier.RegisterProofParams\",\"name\":\"registerProofParams\",\"type\":\"tuple\"}],\"name\":\"UserRegistered\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"remark\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"commitmentStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"commitmentPeriod\",\"type\":\"uint256\"}],\"internalType\":\"structIRegistration.RegistrationParams\",\"name\":\"registrationParams_\",\"type\":\"tuple\"}],\"name\":\"__Registration_init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"commitments\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"key_\",\"type\":\"bytes32\"}],\"name\":\"getNodeByKey\",\"outputs\":[{\"components\":[{\"internalType\":\"enumSparseMerkleTree.NodeType\",\"name\":\"nodeType\",\"type\":\"uint8\"},{\"internalType\":\"uint64\",\"name\":\"childLeft\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"childRight\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"nodeHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"value\",\"type\":\"bytes32\"}],\"internalType\":\"structSparseMerkleTree.Node\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"key_\",\"type\":\"bytes32\"}],\"name\":\"getProof\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"siblings\",\"type\":\"bytes32[]\"},{\"internalType\":\"bool\",\"name\":\"existence\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"value\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"auxExistence\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"auxKey\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"auxValue\",\"type\":\"bytes32\"}],\"internalType\":\"structSparseMerkleTree.Proof\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRegistrationInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"remark\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"commitmentStartTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"commitmentEndTime\",\"type\":\"uint256\"}],\"internalType\":\"structIRegistration.RegistrationValues\",\"name\":\"values\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"totalRegistrations\",\"type\":\"uint256\"}],\"internalType\":\"structIRegistration.RegistrationCounters\",\"name\":\"counters\",\"type\":\"tuple\"}],\"internalType\":\"structIRegistration.RegistrationInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRegistrationStatus\",\"outputs\":[{\"internalType\":\"enumIRegistration.RegistrationStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"}],\"name\":\"isRootExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"documentNullifier\",\"type\":\"uint256\"}],\"name\":\"isUserRegistered\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"issuerId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"issuerState\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"merkleProof\",\"type\":\"bytes32[]\"}],\"internalType\":\"structILightweightState.StatesMerkleData\",\"name\":\"statesMerkleData\",\"type\":\"tuple\"},{\"internalType\":\"uint256[]\",\"name\":\"inputs\",\"type\":\"uint256[]\"},{\"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]\"}],\"internalType\":\"structIBaseVerifier.ProveIdentityParams\",\"name\":\"proveIdentityParams_\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"issuingAuthority\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"documentNullifier\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"internalType\":\"structIRegisterVerifier.RegisterProofParams\",\"name\":\"registerProofParams_\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"newIdentitiesStatesRoot\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"}],\"internalType\":\"structILightweightState.GistRootData\",\"name\":\"gistData\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"proof\",\"type\":\"bytes\"}],\"internalType\":\"structIBaseVerifier.TransitStateParams\",\"name\":\"transitStateParams_\",\"type\":\"tuple\"},{\"internalType\":\"bool\",\"name\":\"isTransitState_\",\"type\":\"bool\"}],\"name\":\"register\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"registerVerifier\",\"outputs\":[{\"internalType\":\"contractIRegisterVerifier\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"registrationInfo\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"remark\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"commitmentStartTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"commitmentEndTime\",\"type\":\"uint256\"}],\"internalType\":\"structIRegistration.RegistrationValues\",\"name\":\"values\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"totalRegistrations\",\"type\":\"uint256\"}],\"internalType\":\"structIRegistration.RegistrationCounters\",\"name\":\"counters\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"rootsHistory\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"smtTreeMaxDepth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
VoteVerifierMetaData contains all meta data concerning the VoteVerifier contract.
var VotingABI = VotingMetaData.ABI
VotingABI is the input ABI used to generate the binding from. Deprecated: Use VotingMetaData.ABI instead.
var VotingMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"voteVerifier_\",\"type\":\"address\"}],\"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\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"nullifierHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"candidate\",\"type\":\"bytes32\"}],\"name\":\"UserVoted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"proposer\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contractIRegistration\",\"name\":\"registration\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"remark\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"votingStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"votingPeriod\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"candidates\",\"type\":\"bytes32[]\"}],\"indexed\":false,\"internalType\":\"structIVoting.VotingParams\",\"name\":\"votingParams\",\"type\":\"tuple\"}],\"name\":\"VotingInitialized\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MAX_CANDIDATES\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"contractIRegistration\",\"name\":\"registration\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"remark\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"votingStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"votingPeriod\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"candidates\",\"type\":\"bytes32[]\"}],\"internalType\":\"structIVoting.VotingParams\",\"name\":\"votingParams_\",\"type\":\"tuple\"}],\"name\":\"__Voting_init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"candidates\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getProposalStatus\",\"outputs\":[{\"internalType\":\"enumIVoting.VotingStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRegistrationAddresses\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"nullifiers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"registration\",\"outputs\":[{\"internalType\":\"contractIRegistration\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"root_\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"nullifierHash_\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"candidate_\",\"type\":\"bytes32\"},{\"components\":[{\"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]\"}],\"internalType\":\"structVerifierHelper.ProofPoints\",\"name\":\"proof_\",\"type\":\"tuple\"}],\"name\":\"vote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"voteVerifier\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"votesPerCandidate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"votingInfo\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"remark\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"votingStartTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"votingEndTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"candidates\",\"type\":\"bytes32[]\"}],\"internalType\":\"structIVoting.VotingValues\",\"name\":\"values\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"votesCount\",\"type\":\"uint256\"}],\"internalType\":\"structIVoting.VotingCounters\",\"name\":\"counters\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
VotingMetaData contains all meta data concerning the Voting contract.
var VotingRegistryABI = VotingRegistryMetaData.ABI
VotingRegistryABI is the input ABI used to generate the binding from. Deprecated: Use VotingRegistryMetaData.ABI instead.
var VotingRegistryMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"poolFactory_\",\"type\":\"address\"}],\"name\":\"__VotingRegistry_init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"poolType_\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"proposer_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"pool_\",\"type\":\"address\"}],\"name\":\"addProxyPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"proposer_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"voting_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"registration_\",\"type\":\"address\"}],\"name\":\"bindVotingToRegistration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"poolType_\",\"type\":\"string\"}],\"name\":\"getPoolImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"proposer_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"registration_\",\"type\":\"address\"}],\"name\":\"getVotingForRegistration\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"proposer_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"pool_\",\"type\":\"address\"}],\"name\":\"isPoolExistByProposer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"proposer_\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"poolType_\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"pool_\",\"type\":\"address\"}],\"name\":\"isPoolExistByProposerAndType\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"poolType_\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"pool_\",\"type\":\"address\"}],\"name\":\"isPoolExistByType\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"proposer_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"offset_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"limit_\",\"type\":\"uint256\"}],\"name\":\"listPoolsByProposer\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"pools_\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"proposer_\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"poolType_\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"offset_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"limit_\",\"type\":\"uint256\"}],\"name\":\"listPoolsByProposerAndType\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"pools_\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"poolType_\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"offset_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"limit_\",\"type\":\"uint256\"}],\"name\":\"listPoolsByType\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"pools_\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"proposer_\",\"type\":\"address\"}],\"name\":\"poolCountByProposer\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"proposer_\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"poolType_\",\"type\":\"string\"}],\"name\":\"poolCountByProposerAndType\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"poolType_\",\"type\":\"string\"}],\"name\":\"poolCountByType\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"poolTypes_\",\"type\":\"string[]\"},{\"internalType\":\"address[]\",\"name\":\"newImplementations_\",\"type\":\"address[]\"}],\"name\":\"setNewImplementations\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\"}]",
}
VotingRegistryMetaData contains all meta data concerning the VotingRegistry contract.
Functions ¶
This section is empty.
Types ¶
type IBaseVerifierProveIdentityParams ¶
type IBaseVerifierProveIdentityParams struct { StatesMerkleData ILightweightStateStatesMerkleData Inputs []*big.Int A [2]*big.Int B [2][2]*big.Int C [2]*big.Int }
IBaseVerifierProveIdentityParams is an auto generated low-level Go binding around an user-defined struct.
type IBaseVerifierTransitStateParams ¶
type IBaseVerifierTransitStateParams struct { NewIdentitiesStatesRoot [32]byte GistData ILightweightStateGistRootData Proof []byte }
IBaseVerifierTransitStateParams is an auto generated low-level Go binding around an user-defined struct.
type ILightweightStateGistRootData ¶
ILightweightStateGistRootData is an auto generated low-level Go binding around an user-defined struct.
type ILightweightStateIdentitiesStatesRootData ¶ added in v0.3.0
ILightweightStateIdentitiesStatesRootData is an auto generated low-level Go binding around an user-defined struct.
type ILightweightStateStatesMerkleData ¶
type ILightweightStateStatesMerkleData struct { IssuerId *big.Int IssuerState *big.Int CreatedAtTimestamp *big.Int MerkleProof [][32]byte }
ILightweightStateStatesMerkleData is an auto generated low-level Go binding around an user-defined struct.
type IRegisterVerifierRegisterProofParams ¶
type IRegisterVerifierRegisterProofParams struct { IssuingAuthority *big.Int DocumentNullifier *big.Int Commitment [32]byte }
IRegisterVerifierRegisterProofParams is an auto generated low-level Go binding around an user-defined struct.
type IRegistrationRegistrationCounters ¶
IRegistrationRegistrationCounters is an auto generated low-level Go binding around an user-defined struct.
type IRegistrationRegistrationInfo ¶
type IRegistrationRegistrationInfo struct { Remark string Values IRegistrationRegistrationValues Counters IRegistrationRegistrationCounters }
IRegistrationRegistrationInfo is an auto generated low-level Go binding around an user-defined struct.
type IRegistrationRegistrationParams ¶
type IRegistrationRegistrationParams struct { Remark string CommitmentStart *big.Int CommitmentPeriod *big.Int }
IRegistrationRegistrationParams is an auto generated low-level Go binding around an user-defined struct.
type IRegistrationRegistrationValues ¶
type IRegistrationRegistrationValues struct { CommitmentStartTime *big.Int CommitmentEndTime *big.Int }
IRegistrationRegistrationValues is an auto generated low-level Go binding around an user-defined struct.
type IVotingVotingCounters ¶ added in v0.3.0
IVotingVotingCounters is an auto generated low-level Go binding around an user-defined struct.
type IVotingVotingParams ¶ added in v0.3.0
type IVotingVotingParams struct { Registration common.Address Remark string VotingStart *big.Int VotingPeriod *big.Int Candidates [][32]byte }
IVotingVotingParams is an auto generated low-level Go binding around an user-defined struct.
type IVotingVotingValues ¶ added in v0.3.0
type IVotingVotingValues struct { VotingStartTime *big.Int VotingEndTime *big.Int Candidates [][32]byte }
IVotingVotingValues is an auto generated low-level Go binding around an user-defined struct.
type LightweightState ¶ added in v0.3.0
type LightweightState struct { LightweightStateCaller // Read-only binding to the contract LightweightStateTransactor // Write-only binding to the contract LightweightStateFilterer // Log filterer for contract events }
LightweightState is an auto generated Go binding around an Ethereum contract.
func NewLightweightState ¶ added in v0.3.0
func NewLightweightState(address common.Address, backend bind.ContractBackend) (*LightweightState, error)
NewLightweightState creates a new instance of LightweightState, bound to a specific deployed contract.
type LightweightStateAdminChanged ¶ added in v0.3.0
type LightweightStateAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
LightweightStateAdminChanged represents a AdminChanged event raised by the LightweightState contract.
type LightweightStateAdminChangedIterator ¶ added in v0.3.0
type LightweightStateAdminChangedIterator struct { Event *LightweightStateAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightweightStateAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the LightweightState contract.
func (*LightweightStateAdminChangedIterator) Close ¶ added in v0.3.0
func (it *LightweightStateAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightweightStateAdminChangedIterator) Error ¶ added in v0.3.0
func (it *LightweightStateAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightweightStateAdminChangedIterator) Next ¶ added in v0.3.0
func (it *LightweightStateAdminChangedIterator) 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 LightweightStateBeaconUpgraded ¶ added in v0.3.0
type LightweightStateBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
LightweightStateBeaconUpgraded represents a BeaconUpgraded event raised by the LightweightState contract.
type LightweightStateBeaconUpgradedIterator ¶ added in v0.3.0
type LightweightStateBeaconUpgradedIterator struct { Event *LightweightStateBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightweightStateBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the LightweightState contract.
func (*LightweightStateBeaconUpgradedIterator) Close ¶ added in v0.3.0
func (it *LightweightStateBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightweightStateBeaconUpgradedIterator) Error ¶ added in v0.3.0
func (it *LightweightStateBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightweightStateBeaconUpgradedIterator) Next ¶ added in v0.3.0
func (it *LightweightStateBeaconUpgradedIterator) 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 LightweightStateCaller ¶ added in v0.3.0
type LightweightStateCaller struct {
// contains filtered or unexported fields
}
LightweightStateCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLightweightStateCaller ¶ added in v0.3.0
func NewLightweightStateCaller(address common.Address, caller bind.ContractCaller) (*LightweightStateCaller, error)
NewLightweightStateCaller creates a new read-only instance of LightweightState, bound to a specific deployed contract.
func (*LightweightStateCaller) ChainName ¶ added in v0.3.0
func (_LightweightState *LightweightStateCaller) 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 (*LightweightStateCaller) GeGISTRootData ¶ added in v0.3.0
func (_LightweightState *LightweightStateCaller) GeGISTRootData(opts *bind.CallOpts, root_ *big.Int) (ILightweightStateGistRootData, error)
GeGISTRootData is a free data retrieval call binding the contract method 0x0dd93b5d.
Solidity: function geGISTRootData(uint256 root_) view returns((uint256,uint256))
func (*LightweightStateCaller) GetCurrentGISTRootInfo ¶ added in v0.3.0
func (_LightweightState *LightweightStateCaller) GetCurrentGISTRootInfo(opts *bind.CallOpts) (ILightweightStateGistRootData, error)
GetCurrentGISTRootInfo is a free data retrieval call binding the contract method 0xaf7a3f59.
Solidity: function getCurrentGISTRootInfo() view returns((uint256,uint256))
func (*LightweightStateCaller) GetGISTRoot ¶ added in v0.3.0
GetGISTRoot is a free data retrieval call binding the contract method 0x2439e3a6.
Solidity: function getGISTRoot() view returns(uint256)
func (*LightweightStateCaller) GetIdentitiesStatesRootData ¶ added in v0.3.0
func (_LightweightState *LightweightStateCaller) GetIdentitiesStatesRootData(opts *bind.CallOpts, root_ [32]byte) (ILightweightStateIdentitiesStatesRootData, error)
GetIdentitiesStatesRootData is a free data retrieval call binding the contract method 0xa055a692.
Solidity: function getIdentitiesStatesRootData(bytes32 root_) view returns((bytes32,uint256))
func (*LightweightStateCaller) GetSigComponents ¶ added in v0.3.0
func (_LightweightState *LightweightStateCaller) 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 (*LightweightStateCaller) IdentitiesStatesRoot ¶ added in v0.3.0
func (_LightweightState *LightweightStateCaller) IdentitiesStatesRoot(opts *bind.CallOpts) ([32]byte, error)
IdentitiesStatesRoot is a free data retrieval call binding the contract method 0xe08e70bb.
Solidity: function identitiesStatesRoot() view returns(bytes32)
func (*LightweightStateCaller) IsIdentitiesStatesRootExists ¶ added in v0.3.0
func (_LightweightState *LightweightStateCaller) IsIdentitiesStatesRootExists(opts *bind.CallOpts, root_ [32]byte) (bool, error)
IsIdentitiesStatesRootExists is a free data retrieval call binding the contract method 0xbfd73455.
Solidity: function isIdentitiesStatesRootExists(bytes32 root_) view returns(bool)
func (*LightweightStateCaller) Nonces ¶ added in v0.3.0
func (_LightweightState *LightweightStateCaller) 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 (*LightweightStateCaller) P ¶ added in v0.3.0
P is a free data retrieval call binding the contract method 0x8b8fbd92.
Solidity: function P() view returns(uint256)
func (*LightweightStateCaller) ProxiableUUID ¶ added in v0.3.0
func (_LightweightState *LightweightStateCaller) 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 (*LightweightStateCaller) Signer ¶ added in v0.3.0
func (_LightweightState *LightweightStateCaller) 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 (*LightweightStateCaller) SourceChainName ¶ added in v0.3.0
func (_LightweightState *LightweightStateCaller) SourceChainName(opts *bind.CallOpts) (string, error)
SourceChainName is a free data retrieval call binding the contract method 0xe4ffd04a.
Solidity: function sourceChainName() view returns(string)
func (*LightweightStateCaller) SourceStateContract ¶ added in v0.3.0
func (_LightweightState *LightweightStateCaller) 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 (*LightweightStateCaller) VerifyStatesMerkleData ¶ added in v0.3.0
func (_LightweightState *LightweightStateCaller) VerifyStatesMerkleData(opts *bind.CallOpts, statesMerkleData_ ILightweightStateStatesMerkleData) (bool, [32]byte, error)
VerifyStatesMerkleData is a free data retrieval call binding the contract method 0xb0d46f2c.
Solidity: function verifyStatesMerkleData((uint256,uint256,uint256,bytes32[]) statesMerkleData_) view returns(bool, bytes32)
type LightweightStateCallerRaw ¶ added in v0.3.0
type LightweightStateCallerRaw struct {
Contract *LightweightStateCaller // Generic read-only contract binding to access the raw methods on
}
LightweightStateCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LightweightStateCallerRaw) Call ¶ added in v0.3.0
func (_LightweightState *LightweightStateCallerRaw) 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 LightweightStateCallerSession ¶ added in v0.3.0
type LightweightStateCallerSession struct { Contract *LightweightStateCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LightweightStateCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LightweightStateCallerSession) ChainName ¶ added in v0.3.0
func (_LightweightState *LightweightStateCallerSession) ChainName() (string, error)
ChainName is a free data retrieval call binding the contract method 0x1c93b03a.
Solidity: function chainName() view returns(string)
func (*LightweightStateCallerSession) GeGISTRootData ¶ added in v0.3.0
func (_LightweightState *LightweightStateCallerSession) GeGISTRootData(root_ *big.Int) (ILightweightStateGistRootData, error)
GeGISTRootData is a free data retrieval call binding the contract method 0x0dd93b5d.
Solidity: function geGISTRootData(uint256 root_) view returns((uint256,uint256))
func (*LightweightStateCallerSession) GetCurrentGISTRootInfo ¶ added in v0.3.0
func (_LightweightState *LightweightStateCallerSession) GetCurrentGISTRootInfo() (ILightweightStateGistRootData, error)
GetCurrentGISTRootInfo is a free data retrieval call binding the contract method 0xaf7a3f59.
Solidity: function getCurrentGISTRootInfo() view returns((uint256,uint256))
func (*LightweightStateCallerSession) GetGISTRoot ¶ added in v0.3.0
func (_LightweightState *LightweightStateCallerSession) GetGISTRoot() (*big.Int, error)
GetGISTRoot is a free data retrieval call binding the contract method 0x2439e3a6.
Solidity: function getGISTRoot() view returns(uint256)
func (*LightweightStateCallerSession) GetIdentitiesStatesRootData ¶ added in v0.3.0
func (_LightweightState *LightweightStateCallerSession) GetIdentitiesStatesRootData(root_ [32]byte) (ILightweightStateIdentitiesStatesRootData, error)
GetIdentitiesStatesRootData is a free data retrieval call binding the contract method 0xa055a692.
Solidity: function getIdentitiesStatesRootData(bytes32 root_) view returns((bytes32,uint256))
func (*LightweightStateCallerSession) GetSigComponents ¶ added in v0.3.0
func (_LightweightState *LightweightStateCallerSession) 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 (*LightweightStateCallerSession) IdentitiesStatesRoot ¶ added in v0.3.0
func (_LightweightState *LightweightStateCallerSession) IdentitiesStatesRoot() ([32]byte, error)
IdentitiesStatesRoot is a free data retrieval call binding the contract method 0xe08e70bb.
Solidity: function identitiesStatesRoot() view returns(bytes32)
func (*LightweightStateCallerSession) IsIdentitiesStatesRootExists ¶ added in v0.3.0
func (_LightweightState *LightweightStateCallerSession) IsIdentitiesStatesRootExists(root_ [32]byte) (bool, error)
IsIdentitiesStatesRootExists is a free data retrieval call binding the contract method 0xbfd73455.
Solidity: function isIdentitiesStatesRootExists(bytes32 root_) view returns(bool)
func (*LightweightStateCallerSession) Nonces ¶ added in v0.3.0
func (_LightweightState *LightweightStateCallerSession) 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 (*LightweightStateCallerSession) P ¶ added in v0.3.0
func (_LightweightState *LightweightStateCallerSession) P() (*big.Int, error)
P is a free data retrieval call binding the contract method 0x8b8fbd92.
Solidity: function P() view returns(uint256)
func (*LightweightStateCallerSession) ProxiableUUID ¶ added in v0.3.0
func (_LightweightState *LightweightStateCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*LightweightStateCallerSession) Signer ¶ added in v0.3.0
func (_LightweightState *LightweightStateCallerSession) Signer() (common.Address, error)
Signer is a free data retrieval call binding the contract method 0x238ac933.
Solidity: function signer() view returns(address)
func (*LightweightStateCallerSession) SourceChainName ¶ added in v0.3.0
func (_LightweightState *LightweightStateCallerSession) SourceChainName() (string, error)
SourceChainName is a free data retrieval call binding the contract method 0xe4ffd04a.
Solidity: function sourceChainName() view returns(string)
func (*LightweightStateCallerSession) SourceStateContract ¶ added in v0.3.0
func (_LightweightState *LightweightStateCallerSession) SourceStateContract() (common.Address, error)
SourceStateContract is a free data retrieval call binding the contract method 0xfc228319.
Solidity: function sourceStateContract() view returns(address)
func (*LightweightStateCallerSession) VerifyStatesMerkleData ¶ added in v0.3.0
func (_LightweightState *LightweightStateCallerSession) VerifyStatesMerkleData(statesMerkleData_ ILightweightStateStatesMerkleData) (bool, [32]byte, error)
VerifyStatesMerkleData is a free data retrieval call binding the contract method 0xb0d46f2c.
Solidity: function verifyStatesMerkleData((uint256,uint256,uint256,bytes32[]) statesMerkleData_) view returns(bool, bytes32)
type LightweightStateFilterer ¶ added in v0.3.0
type LightweightStateFilterer struct {
// contains filtered or unexported fields
}
LightweightStateFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLightweightStateFilterer ¶ added in v0.3.0
func NewLightweightStateFilterer(address common.Address, filterer bind.ContractFilterer) (*LightweightStateFilterer, error)
NewLightweightStateFilterer creates a new log filterer instance of LightweightState, bound to a specific deployed contract.
func (*LightweightStateFilterer) FilterAdminChanged ¶ added in v0.3.0
func (_LightweightState *LightweightStateFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*LightweightStateAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*LightweightStateFilterer) FilterBeaconUpgraded ¶ added in v0.3.0
func (_LightweightState *LightweightStateFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*LightweightStateBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*LightweightStateFilterer) FilterInitialized ¶ added in v0.3.0
func (_LightweightState *LightweightStateFilterer) FilterInitialized(opts *bind.FilterOpts) (*LightweightStateInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*LightweightStateFilterer) FilterSignedStateTransited ¶ added in v0.3.0
func (_LightweightState *LightweightStateFilterer) FilterSignedStateTransited(opts *bind.FilterOpts) (*LightweightStateSignedStateTransitedIterator, error)
FilterSignedStateTransited is a free log retrieval operation binding the contract event 0x8e8ff16553fbf4a457c08a5e07cc27c8aac14b9a1a8e1f546a6c1b9366304a56.
Solidity: event SignedStateTransited(uint256 newGistRoot, bytes32 newIdentitesStatesRoot)
func (*LightweightStateFilterer) FilterUpgraded ¶ added in v0.3.0
func (_LightweightState *LightweightStateFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*LightweightStateUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*LightweightStateFilterer) ParseAdminChanged ¶ added in v0.3.0
func (_LightweightState *LightweightStateFilterer) ParseAdminChanged(log types.Log) (*LightweightStateAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*LightweightStateFilterer) ParseBeaconUpgraded ¶ added in v0.3.0
func (_LightweightState *LightweightStateFilterer) ParseBeaconUpgraded(log types.Log) (*LightweightStateBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*LightweightStateFilterer) ParseInitialized ¶ added in v0.3.0
func (_LightweightState *LightweightStateFilterer) ParseInitialized(log types.Log) (*LightweightStateInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*LightweightStateFilterer) ParseSignedStateTransited ¶ added in v0.3.0
func (_LightweightState *LightweightStateFilterer) ParseSignedStateTransited(log types.Log) (*LightweightStateSignedStateTransited, error)
ParseSignedStateTransited is a log parse operation binding the contract event 0x8e8ff16553fbf4a457c08a5e07cc27c8aac14b9a1a8e1f546a6c1b9366304a56.
Solidity: event SignedStateTransited(uint256 newGistRoot, bytes32 newIdentitesStatesRoot)
func (*LightweightStateFilterer) ParseUpgraded ¶ added in v0.3.0
func (_LightweightState *LightweightStateFilterer) ParseUpgraded(log types.Log) (*LightweightStateUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*LightweightStateFilterer) WatchAdminChanged ¶ added in v0.3.0
func (_LightweightState *LightweightStateFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *LightweightStateAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*LightweightStateFilterer) WatchBeaconUpgraded ¶ added in v0.3.0
func (_LightweightState *LightweightStateFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *LightweightStateBeaconUpgraded, 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 (*LightweightStateFilterer) WatchInitialized ¶ added in v0.3.0
func (_LightweightState *LightweightStateFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *LightweightStateInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*LightweightStateFilterer) WatchSignedStateTransited ¶ added in v0.3.0
func (_LightweightState *LightweightStateFilterer) WatchSignedStateTransited(opts *bind.WatchOpts, sink chan<- *LightweightStateSignedStateTransited) (event.Subscription, error)
WatchSignedStateTransited is a free log subscription operation binding the contract event 0x8e8ff16553fbf4a457c08a5e07cc27c8aac14b9a1a8e1f546a6c1b9366304a56.
Solidity: event SignedStateTransited(uint256 newGistRoot, bytes32 newIdentitesStatesRoot)
func (*LightweightStateFilterer) WatchUpgraded ¶ added in v0.3.0
func (_LightweightState *LightweightStateFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *LightweightStateUpgraded, 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 LightweightStateInitialized ¶ added in v0.3.0
type LightweightStateInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
LightweightStateInitialized represents a Initialized event raised by the LightweightState contract.
type LightweightStateInitializedIterator ¶ added in v0.3.0
type LightweightStateInitializedIterator struct { Event *LightweightStateInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightweightStateInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the LightweightState contract.
func (*LightweightStateInitializedIterator) Close ¶ added in v0.3.0
func (it *LightweightStateInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightweightStateInitializedIterator) Error ¶ added in v0.3.0
func (it *LightweightStateInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightweightStateInitializedIterator) Next ¶ added in v0.3.0
func (it *LightweightStateInitializedIterator) 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 LightweightStateRaw ¶ added in v0.3.0
type LightweightStateRaw struct {
Contract *LightweightState // Generic contract binding to access the raw methods on
}
LightweightStateRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LightweightStateRaw) Call ¶ added in v0.3.0
func (_LightweightState *LightweightStateRaw) 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 (*LightweightStateRaw) Transact ¶ added in v0.3.0
func (_LightweightState *LightweightStateRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LightweightStateRaw) Transfer ¶ added in v0.3.0
func (_LightweightState *LightweightStateRaw) 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 LightweightStateSession ¶ added in v0.3.0
type LightweightStateSession struct { Contract *LightweightState // 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 }
LightweightStateSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LightweightStateSession) ChainName ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) ChainName() (string, error)
ChainName is a free data retrieval call binding the contract method 0x1c93b03a.
Solidity: function chainName() view returns(string)
func (*LightweightStateSession) ChangeSigner ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) 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 (*LightweightStateSession) ChangeSourceStateContract ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) 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 (*LightweightStateSession) CheckSignatureAndIncrementNonce ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) 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 (*LightweightStateSession) GeGISTRootData ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) GeGISTRootData(root_ *big.Int) (ILightweightStateGistRootData, error)
GeGISTRootData is a free data retrieval call binding the contract method 0x0dd93b5d.
Solidity: function geGISTRootData(uint256 root_) view returns((uint256,uint256))
func (*LightweightStateSession) GetCurrentGISTRootInfo ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) GetCurrentGISTRootInfo() (ILightweightStateGistRootData, error)
GetCurrentGISTRootInfo is a free data retrieval call binding the contract method 0xaf7a3f59.
Solidity: function getCurrentGISTRootInfo() view returns((uint256,uint256))
func (*LightweightStateSession) GetGISTRoot ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) GetGISTRoot() (*big.Int, error)
GetGISTRoot is a free data retrieval call binding the contract method 0x2439e3a6.
Solidity: function getGISTRoot() view returns(uint256)
func (*LightweightStateSession) GetIdentitiesStatesRootData ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) GetIdentitiesStatesRootData(root_ [32]byte) (ILightweightStateIdentitiesStatesRootData, error)
GetIdentitiesStatesRootData is a free data retrieval call binding the contract method 0xa055a692.
Solidity: function getIdentitiesStatesRootData(bytes32 root_) view returns((bytes32,uint256))
func (*LightweightStateSession) GetSigComponents ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) 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 (*LightweightStateSession) IdentitiesStatesRoot ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) IdentitiesStatesRoot() ([32]byte, error)
IdentitiesStatesRoot is a free data retrieval call binding the contract method 0xe08e70bb.
Solidity: function identitiesStatesRoot() view returns(bytes32)
func (*LightweightStateSession) IsIdentitiesStatesRootExists ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) IsIdentitiesStatesRootExists(root_ [32]byte) (bool, error)
IsIdentitiesStatesRootExists is a free data retrieval call binding the contract method 0xbfd73455.
Solidity: function isIdentitiesStatesRootExists(bytes32 root_) view returns(bool)
func (*LightweightStateSession) LightweightStateInit ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) LightweightStateInit(signer_ common.Address, sourceStateContract_ common.Address, sourceChainName_ string, chainName_ string) (*types.Transaction, error)
LightweightStateInit is a paid mutator transaction binding the contract method 0x27e25ecf.
Solidity: function __LightweightState_init(address signer_, address sourceStateContract_, string sourceChainName_, string chainName_) returns()
func (*LightweightStateSession) Nonces ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) 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 (*LightweightStateSession) P ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) P() (*big.Int, error)
P is a free data retrieval call binding the contract method 0x8b8fbd92.
Solidity: function P() view returns(uint256)
func (*LightweightStateSession) ProxiableUUID ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*LightweightStateSession) SignedTransitState ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) SignedTransitState(newIdentitiesStatesRoot_ [32]byte, gistData_ ILightweightStateGistRootData, proof_ []byte) (*types.Transaction, error)
SignedTransitState is a paid mutator transaction binding the contract method 0x189a5073.
Solidity: function signedTransitState(bytes32 newIdentitiesStatesRoot_, (uint256,uint256) gistData_, bytes proof_) returns()
func (*LightweightStateSession) Signer ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) Signer() (common.Address, error)
Signer is a free data retrieval call binding the contract method 0x238ac933.
Solidity: function signer() view returns(address)
func (*LightweightStateSession) SignersInit ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) 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 (*LightweightStateSession) SourceChainName ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) SourceChainName() (string, error)
SourceChainName is a free data retrieval call binding the contract method 0xe4ffd04a.
Solidity: function sourceChainName() view returns(string)
func (*LightweightStateSession) SourceStateContract ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) SourceStateContract() (common.Address, error)
SourceStateContract is a free data retrieval call binding the contract method 0xfc228319.
Solidity: function sourceStateContract() view returns(address)
func (*LightweightStateSession) UpgradeTo ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) 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 (*LightweightStateSession) UpgradeToAndCall ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) 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 (*LightweightStateSession) UpgradeToWithSig ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) 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 (*LightweightStateSession) ValidateChangeAddressSignature ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) 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()
func (*LightweightStateSession) VerifyStatesMerkleData ¶ added in v0.3.0
func (_LightweightState *LightweightStateSession) VerifyStatesMerkleData(statesMerkleData_ ILightweightStateStatesMerkleData) (bool, [32]byte, error)
VerifyStatesMerkleData is a free data retrieval call binding the contract method 0xb0d46f2c.
Solidity: function verifyStatesMerkleData((uint256,uint256,uint256,bytes32[]) statesMerkleData_) view returns(bool, bytes32)
type LightweightStateSignedStateTransited ¶ added in v0.3.0
type LightweightStateSignedStateTransited struct { NewGistRoot *big.Int NewIdentitesStatesRoot [32]byte Raw types.Log // Blockchain specific contextual infos }
LightweightStateSignedStateTransited represents a SignedStateTransited event raised by the LightweightState contract.
type LightweightStateSignedStateTransitedIterator ¶ added in v0.3.0
type LightweightStateSignedStateTransitedIterator struct { Event *LightweightStateSignedStateTransited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightweightStateSignedStateTransitedIterator is returned from FilterSignedStateTransited and is used to iterate over the raw logs and unpacked data for SignedStateTransited events raised by the LightweightState contract.
func (*LightweightStateSignedStateTransitedIterator) Close ¶ added in v0.3.0
func (it *LightweightStateSignedStateTransitedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightweightStateSignedStateTransitedIterator) Error ¶ added in v0.3.0
func (it *LightweightStateSignedStateTransitedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightweightStateSignedStateTransitedIterator) Next ¶ added in v0.3.0
func (it *LightweightStateSignedStateTransitedIterator) 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 LightweightStateTransactor ¶ added in v0.3.0
type LightweightStateTransactor struct {
// contains filtered or unexported fields
}
LightweightStateTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLightweightStateTransactor ¶ added in v0.3.0
func NewLightweightStateTransactor(address common.Address, transactor bind.ContractTransactor) (*LightweightStateTransactor, error)
NewLightweightStateTransactor creates a new write-only instance of LightweightState, bound to a specific deployed contract.
func (*LightweightStateTransactor) ChangeSigner ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactor) 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 (*LightweightStateTransactor) ChangeSourceStateContract ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactor) 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 (*LightweightStateTransactor) CheckSignatureAndIncrementNonce ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactor) 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 (*LightweightStateTransactor) LightweightStateInit ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactor) LightweightStateInit(opts *bind.TransactOpts, signer_ common.Address, sourceStateContract_ common.Address, sourceChainName_ string, chainName_ string) (*types.Transaction, error)
LightweightStateInit is a paid mutator transaction binding the contract method 0x27e25ecf.
Solidity: function __LightweightState_init(address signer_, address sourceStateContract_, string sourceChainName_, string chainName_) returns()
func (*LightweightStateTransactor) SignedTransitState ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactor) SignedTransitState(opts *bind.TransactOpts, newIdentitiesStatesRoot_ [32]byte, gistData_ ILightweightStateGistRootData, proof_ []byte) (*types.Transaction, error)
SignedTransitState is a paid mutator transaction binding the contract method 0x189a5073.
Solidity: function signedTransitState(bytes32 newIdentitiesStatesRoot_, (uint256,uint256) gistData_, bytes proof_) returns()
func (*LightweightStateTransactor) SignersInit ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactor) 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 (*LightweightStateTransactor) UpgradeTo ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactor) 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 (*LightweightStateTransactor) UpgradeToAndCall ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactor) 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 (*LightweightStateTransactor) UpgradeToWithSig ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactor) 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 (*LightweightStateTransactor) ValidateChangeAddressSignature ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactor) 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 LightweightStateTransactorRaw ¶ added in v0.3.0
type LightweightStateTransactorRaw struct {
Contract *LightweightStateTransactor // Generic write-only contract binding to access the raw methods on
}
LightweightStateTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LightweightStateTransactorRaw) Transact ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LightweightStateTransactorRaw) Transfer ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactorRaw) 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 LightweightStateTransactorSession ¶ added in v0.3.0
type LightweightStateTransactorSession struct { Contract *LightweightStateTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LightweightStateTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LightweightStateTransactorSession) ChangeSigner ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactorSession) 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 (*LightweightStateTransactorSession) ChangeSourceStateContract ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactorSession) 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 (*LightweightStateTransactorSession) CheckSignatureAndIncrementNonce ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactorSession) 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 (*LightweightStateTransactorSession) LightweightStateInit ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactorSession) LightweightStateInit(signer_ common.Address, sourceStateContract_ common.Address, sourceChainName_ string, chainName_ string) (*types.Transaction, error)
LightweightStateInit is a paid mutator transaction binding the contract method 0x27e25ecf.
Solidity: function __LightweightState_init(address signer_, address sourceStateContract_, string sourceChainName_, string chainName_) returns()
func (*LightweightStateTransactorSession) SignedTransitState ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactorSession) SignedTransitState(newIdentitiesStatesRoot_ [32]byte, gistData_ ILightweightStateGistRootData, proof_ []byte) (*types.Transaction, error)
SignedTransitState is a paid mutator transaction binding the contract method 0x189a5073.
Solidity: function signedTransitState(bytes32 newIdentitiesStatesRoot_, (uint256,uint256) gistData_, bytes proof_) returns()
func (*LightweightStateTransactorSession) SignersInit ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactorSession) 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 (*LightweightStateTransactorSession) UpgradeTo ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactorSession) 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 (*LightweightStateTransactorSession) UpgradeToAndCall ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactorSession) 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 (*LightweightStateTransactorSession) UpgradeToWithSig ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactorSession) 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 (*LightweightStateTransactorSession) ValidateChangeAddressSignature ¶ added in v0.3.0
func (_LightweightState *LightweightStateTransactorSession) 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 LightweightStateUpgraded ¶ added in v0.3.0
type LightweightStateUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
LightweightStateUpgraded represents a Upgraded event raised by the LightweightState contract.
type LightweightStateUpgradedIterator ¶ added in v0.3.0
type LightweightStateUpgradedIterator struct { Event *LightweightStateUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightweightStateUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the LightweightState contract.
func (*LightweightStateUpgradedIterator) Close ¶ added in v0.3.0
func (it *LightweightStateUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightweightStateUpgradedIterator) Error ¶ added in v0.3.0
func (it *LightweightStateUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightweightStateUpgradedIterator) Next ¶ added in v0.3.0
func (it *LightweightStateUpgradedIterator) 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 SparseMerkleTreeNode ¶
type SparseMerkleTreeNode struct { NodeType uint8 ChildLeft uint64 ChildRight uint64 NodeHash [32]byte Key [32]byte Value [32]byte }
SparseMerkleTreeNode is an auto generated low-level Go binding around an user-defined struct.
type SparseMerkleTreeProof ¶
type SparseMerkleTreeProof struct { Root [32]byte Siblings [][32]byte Existence bool Key [32]byte Value [32]byte AuxExistence bool AuxKey [32]byte AuxValue [32]byte }
SparseMerkleTreeProof is an auto generated low-level Go binding around an user-defined struct.
type VerifierHelperProofPoints ¶ added in v0.3.0
VerifierHelperProofPoints is an auto generated low-level Go binding around an user-defined struct.
type VoteVerifier ¶
type VoteVerifier struct { VoteVerifierCaller // Read-only binding to the contract VoteVerifierTransactor // Write-only binding to the contract VoteVerifierFilterer // Log filterer for contract events }
VoteVerifier is an auto generated Go binding around an Ethereum contract.
func NewVoteVerifier ¶
func NewVoteVerifier(address common.Address, backend bind.ContractBackend) (*VoteVerifier, error)
NewVoteVerifier creates a new instance of VoteVerifier, bound to a specific deployed contract.
type VoteVerifierCaller ¶
type VoteVerifierCaller struct {
// contains filtered or unexported fields
}
VoteVerifierCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewVoteVerifierCaller ¶
func NewVoteVerifierCaller(address common.Address, caller bind.ContractCaller) (*VoteVerifierCaller, error)
NewVoteVerifierCaller creates a new read-only instance of VoteVerifier, bound to a specific deployed contract.
func (*VoteVerifierCaller) Commitments ¶
func (_VoteVerifier *VoteVerifierCaller) Commitments(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
Commitments is a free data retrieval call binding the contract method 0x839df945.
Solidity: function commitments(bytes32 ) view returns(bool)
func (*VoteVerifierCaller) GetNodeByKey ¶
func (_VoteVerifier *VoteVerifierCaller) GetNodeByKey(opts *bind.CallOpts, key_ [32]byte) (SparseMerkleTreeNode, error)
GetNodeByKey is a free data retrieval call binding the contract method 0x083a8580.
Solidity: function getNodeByKey(bytes32 key_) view returns((uint8,uint64,uint64,bytes32,bytes32,bytes32))
func (*VoteVerifierCaller) GetProof ¶
func (_VoteVerifier *VoteVerifierCaller) GetProof(opts *bind.CallOpts, key_ [32]byte) (SparseMerkleTreeProof, error)
GetProof is a free data retrieval call binding the contract method 0x1b80bb3a.
Solidity: function getProof(bytes32 key_) view returns((bytes32,bytes32[],bool,bytes32,bytes32,bool,bytes32,bytes32))
func (*VoteVerifierCaller) GetRegistrationInfo ¶
func (_VoteVerifier *VoteVerifierCaller) GetRegistrationInfo(opts *bind.CallOpts) (IRegistrationRegistrationInfo, error)
GetRegistrationInfo is a free data retrieval call binding the contract method 0x9f2ec56a.
Solidity: function getRegistrationInfo() view returns((string,(uint256,uint256),(uint256)))
func (*VoteVerifierCaller) GetRegistrationStatus ¶
func (_VoteVerifier *VoteVerifierCaller) GetRegistrationStatus(opts *bind.CallOpts) (uint8, error)
GetRegistrationStatus is a free data retrieval call binding the contract method 0xe35fb241.
Solidity: function getRegistrationStatus() view returns(uint8)
func (*VoteVerifierCaller) GetRoot ¶
func (_VoteVerifier *VoteVerifierCaller) GetRoot(opts *bind.CallOpts) ([32]byte, error)
GetRoot is a free data retrieval call binding the contract method 0x5ca1e165.
Solidity: function getRoot() view returns(bytes32)
func (*VoteVerifierCaller) IsRootExists ¶
func (_VoteVerifier *VoteVerifierCaller) IsRootExists(opts *bind.CallOpts, root [32]byte) (bool, error)
IsRootExists is a free data retrieval call binding the contract method 0x74197dd5.
Solidity: function isRootExists(bytes32 root) view returns(bool)
func (*VoteVerifierCaller) IsUserRegistered ¶
func (_VoteVerifier *VoteVerifierCaller) IsUserRegistered(opts *bind.CallOpts, documentNullifier *big.Int) (bool, error)
IsUserRegistered is a free data retrieval call binding the contract method 0xe0a58ee1.
Solidity: function isUserRegistered(uint256 documentNullifier) view returns(bool)
func (*VoteVerifierCaller) RegisterVerifier ¶
func (_VoteVerifier *VoteVerifierCaller) RegisterVerifier(opts *bind.CallOpts) (common.Address, error)
RegisterVerifier is a free data retrieval call binding the contract method 0xea968a2d.
Solidity: function registerVerifier() view returns(address)
func (*VoteVerifierCaller) RegistrationInfo ¶
func (_VoteVerifier *VoteVerifierCaller) RegistrationInfo(opts *bind.CallOpts) (struct { Remark string Values IRegistrationRegistrationValues Counters IRegistrationRegistrationCounters }, error)
RegistrationInfo is a free data retrieval call binding the contract method 0xeb9f4937.
Solidity: function registrationInfo() view returns(string remark, (uint256,uint256) values, (uint256) counters)
func (*VoteVerifierCaller) RootsHistory ¶
func (_VoteVerifier *VoteVerifierCaller) RootsHistory(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
RootsHistory is a free data retrieval call binding the contract method 0x241e2cfe.
Solidity: function rootsHistory(bytes32 ) view returns(bool)
func (*VoteVerifierCaller) SmtTreeMaxDepth ¶
SmtTreeMaxDepth is a free data retrieval call binding the contract method 0xf975aa00.
Solidity: function smtTreeMaxDepth() view returns(uint256)
type VoteVerifierCallerRaw ¶
type VoteVerifierCallerRaw struct {
Contract *VoteVerifierCaller // Generic read-only contract binding to access the raw methods on
}
VoteVerifierCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*VoteVerifierCallerRaw) Call ¶
func (_VoteVerifier *VoteVerifierCallerRaw) 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 VoteVerifierCallerSession ¶
type VoteVerifierCallerSession struct { Contract *VoteVerifierCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
VoteVerifierCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*VoteVerifierCallerSession) Commitments ¶
func (_VoteVerifier *VoteVerifierCallerSession) Commitments(arg0 [32]byte) (bool, error)
Commitments is a free data retrieval call binding the contract method 0x839df945.
Solidity: function commitments(bytes32 ) view returns(bool)
func (*VoteVerifierCallerSession) GetNodeByKey ¶
func (_VoteVerifier *VoteVerifierCallerSession) GetNodeByKey(key_ [32]byte) (SparseMerkleTreeNode, error)
GetNodeByKey is a free data retrieval call binding the contract method 0x083a8580.
Solidity: function getNodeByKey(bytes32 key_) view returns((uint8,uint64,uint64,bytes32,bytes32,bytes32))
func (*VoteVerifierCallerSession) GetProof ¶
func (_VoteVerifier *VoteVerifierCallerSession) GetProof(key_ [32]byte) (SparseMerkleTreeProof, error)
GetProof is a free data retrieval call binding the contract method 0x1b80bb3a.
Solidity: function getProof(bytes32 key_) view returns((bytes32,bytes32[],bool,bytes32,bytes32,bool,bytes32,bytes32))
func (*VoteVerifierCallerSession) GetRegistrationInfo ¶
func (_VoteVerifier *VoteVerifierCallerSession) GetRegistrationInfo() (IRegistrationRegistrationInfo, error)
GetRegistrationInfo is a free data retrieval call binding the contract method 0x9f2ec56a.
Solidity: function getRegistrationInfo() view returns((string,(uint256,uint256),(uint256)))
func (*VoteVerifierCallerSession) GetRegistrationStatus ¶
func (_VoteVerifier *VoteVerifierCallerSession) GetRegistrationStatus() (uint8, error)
GetRegistrationStatus is a free data retrieval call binding the contract method 0xe35fb241.
Solidity: function getRegistrationStatus() view returns(uint8)
func (*VoteVerifierCallerSession) GetRoot ¶
func (_VoteVerifier *VoteVerifierCallerSession) GetRoot() ([32]byte, error)
GetRoot is a free data retrieval call binding the contract method 0x5ca1e165.
Solidity: function getRoot() view returns(bytes32)
func (*VoteVerifierCallerSession) IsRootExists ¶
func (_VoteVerifier *VoteVerifierCallerSession) IsRootExists(root [32]byte) (bool, error)
IsRootExists is a free data retrieval call binding the contract method 0x74197dd5.
Solidity: function isRootExists(bytes32 root) view returns(bool)
func (*VoteVerifierCallerSession) IsUserRegistered ¶
func (_VoteVerifier *VoteVerifierCallerSession) IsUserRegistered(documentNullifier *big.Int) (bool, error)
IsUserRegistered is a free data retrieval call binding the contract method 0xe0a58ee1.
Solidity: function isUserRegistered(uint256 documentNullifier) view returns(bool)
func (*VoteVerifierCallerSession) RegisterVerifier ¶
func (_VoteVerifier *VoteVerifierCallerSession) RegisterVerifier() (common.Address, error)
RegisterVerifier is a free data retrieval call binding the contract method 0xea968a2d.
Solidity: function registerVerifier() view returns(address)
func (*VoteVerifierCallerSession) RegistrationInfo ¶
func (_VoteVerifier *VoteVerifierCallerSession) RegistrationInfo() (struct { Remark string Values IRegistrationRegistrationValues Counters IRegistrationRegistrationCounters }, error)
RegistrationInfo is a free data retrieval call binding the contract method 0xeb9f4937.
Solidity: function registrationInfo() view returns(string remark, (uint256,uint256) values, (uint256) counters)
func (*VoteVerifierCallerSession) RootsHistory ¶
func (_VoteVerifier *VoteVerifierCallerSession) RootsHistory(arg0 [32]byte) (bool, error)
RootsHistory is a free data retrieval call binding the contract method 0x241e2cfe.
Solidity: function rootsHistory(bytes32 ) view returns(bool)
func (*VoteVerifierCallerSession) SmtTreeMaxDepth ¶
func (_VoteVerifier *VoteVerifierCallerSession) SmtTreeMaxDepth() (*big.Int, error)
SmtTreeMaxDepth is a free data retrieval call binding the contract method 0xf975aa00.
Solidity: function smtTreeMaxDepth() view returns(uint256)
type VoteVerifierFilterer ¶
type VoteVerifierFilterer struct {
// contains filtered or unexported fields
}
VoteVerifierFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewVoteVerifierFilterer ¶
func NewVoteVerifierFilterer(address common.Address, filterer bind.ContractFilterer) (*VoteVerifierFilterer, error)
NewVoteVerifierFilterer creates a new log filterer instance of VoteVerifier, bound to a specific deployed contract.
func (*VoteVerifierFilterer) FilterInitialized ¶
func (_VoteVerifier *VoteVerifierFilterer) FilterInitialized(opts *bind.FilterOpts) (*VoteVerifierInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*VoteVerifierFilterer) FilterRegistrationInitialized ¶
func (_VoteVerifier *VoteVerifierFilterer) FilterRegistrationInitialized(opts *bind.FilterOpts, proposer []common.Address) (*VoteVerifierRegistrationInitializedIterator, error)
FilterRegistrationInitialized is a free log retrieval operation binding the contract event 0xe5360f24c53a188e31370cfdddca9192dd7cef8a3f7e9e76e1a32f823bc01998.
Solidity: event RegistrationInitialized(address indexed proposer, (string,uint256,uint256) registrationParams)
func (*VoteVerifierFilterer) FilterUserRegistered ¶
func (_VoteVerifier *VoteVerifierFilterer) FilterUserRegistered(opts *bind.FilterOpts, user []common.Address) (*VoteVerifierUserRegisteredIterator, error)
FilterUserRegistered is a free log retrieval operation binding the contract event 0xb10c3702eaaf48572daf444c0bd6dd5e6746695f86b6cf3b73130dc94fcbcbba.
Solidity: event UserRegistered(address indexed user, ((uint256,uint256,uint256,bytes32[]),uint256[],uint256[2],uint256[2][2],uint256[2]) proveIdentityParams, (uint256,uint256,bytes32) registerProofParams)
func (*VoteVerifierFilterer) ParseInitialized ¶
func (_VoteVerifier *VoteVerifierFilterer) ParseInitialized(log types.Log) (*VoteVerifierInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*VoteVerifierFilterer) ParseRegistrationInitialized ¶
func (_VoteVerifier *VoteVerifierFilterer) ParseRegistrationInitialized(log types.Log) (*VoteVerifierRegistrationInitialized, error)
ParseRegistrationInitialized is a log parse operation binding the contract event 0xe5360f24c53a188e31370cfdddca9192dd7cef8a3f7e9e76e1a32f823bc01998.
Solidity: event RegistrationInitialized(address indexed proposer, (string,uint256,uint256) registrationParams)
func (*VoteVerifierFilterer) ParseUserRegistered ¶
func (_VoteVerifier *VoteVerifierFilterer) ParseUserRegistered(log types.Log) (*VoteVerifierUserRegistered, error)
ParseUserRegistered is a log parse operation binding the contract event 0xb10c3702eaaf48572daf444c0bd6dd5e6746695f86b6cf3b73130dc94fcbcbba.
Solidity: event UserRegistered(address indexed user, ((uint256,uint256,uint256,bytes32[]),uint256[],uint256[2],uint256[2][2],uint256[2]) proveIdentityParams, (uint256,uint256,bytes32) registerProofParams)
func (*VoteVerifierFilterer) WatchInitialized ¶
func (_VoteVerifier *VoteVerifierFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *VoteVerifierInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*VoteVerifierFilterer) WatchRegistrationInitialized ¶
func (_VoteVerifier *VoteVerifierFilterer) WatchRegistrationInitialized(opts *bind.WatchOpts, sink chan<- *VoteVerifierRegistrationInitialized, proposer []common.Address) (event.Subscription, error)
WatchRegistrationInitialized is a free log subscription operation binding the contract event 0xe5360f24c53a188e31370cfdddca9192dd7cef8a3f7e9e76e1a32f823bc01998.
Solidity: event RegistrationInitialized(address indexed proposer, (string,uint256,uint256) registrationParams)
func (*VoteVerifierFilterer) WatchUserRegistered ¶
func (_VoteVerifier *VoteVerifierFilterer) WatchUserRegistered(opts *bind.WatchOpts, sink chan<- *VoteVerifierUserRegistered, user []common.Address) (event.Subscription, error)
WatchUserRegistered is a free log subscription operation binding the contract event 0xb10c3702eaaf48572daf444c0bd6dd5e6746695f86b6cf3b73130dc94fcbcbba.
Solidity: event UserRegistered(address indexed user, ((uint256,uint256,uint256,bytes32[]),uint256[],uint256[2],uint256[2][2],uint256[2]) proveIdentityParams, (uint256,uint256,bytes32) registerProofParams)
type VoteVerifierInitialized ¶
type VoteVerifierInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
VoteVerifierInitialized represents a Initialized event raised by the VoteVerifier contract.
type VoteVerifierInitializedIterator ¶
type VoteVerifierInitializedIterator struct { Event *VoteVerifierInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VoteVerifierInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the VoteVerifier contract.
func (*VoteVerifierInitializedIterator) Close ¶
func (it *VoteVerifierInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VoteVerifierInitializedIterator) Error ¶
func (it *VoteVerifierInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VoteVerifierInitializedIterator) Next ¶
func (it *VoteVerifierInitializedIterator) 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 VoteVerifierRaw ¶
type VoteVerifierRaw struct {
Contract *VoteVerifier // Generic contract binding to access the raw methods on
}
VoteVerifierRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*VoteVerifierRaw) Call ¶
func (_VoteVerifier *VoteVerifierRaw) 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 (*VoteVerifierRaw) Transact ¶
func (_VoteVerifier *VoteVerifierRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VoteVerifierRaw) Transfer ¶
func (_VoteVerifier *VoteVerifierRaw) 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 VoteVerifierRegistrationInitialized ¶
type VoteVerifierRegistrationInitialized struct { Proposer common.Address RegistrationParams IRegistrationRegistrationParams Raw types.Log // Blockchain specific contextual infos }
VoteVerifierRegistrationInitialized represents a RegistrationInitialized event raised by the VoteVerifier contract.
type VoteVerifierRegistrationInitializedIterator ¶
type VoteVerifierRegistrationInitializedIterator struct { Event *VoteVerifierRegistrationInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VoteVerifierRegistrationInitializedIterator is returned from FilterRegistrationInitialized and is used to iterate over the raw logs and unpacked data for RegistrationInitialized events raised by the VoteVerifier contract.
func (*VoteVerifierRegistrationInitializedIterator) Close ¶
func (it *VoteVerifierRegistrationInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VoteVerifierRegistrationInitializedIterator) Error ¶
func (it *VoteVerifierRegistrationInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VoteVerifierRegistrationInitializedIterator) Next ¶
func (it *VoteVerifierRegistrationInitializedIterator) 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 VoteVerifierSession ¶
type VoteVerifierSession struct { Contract *VoteVerifier // 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 }
VoteVerifierSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*VoteVerifierSession) Commitments ¶
func (_VoteVerifier *VoteVerifierSession) Commitments(arg0 [32]byte) (bool, error)
Commitments is a free data retrieval call binding the contract method 0x839df945.
Solidity: function commitments(bytes32 ) view returns(bool)
func (*VoteVerifierSession) GetNodeByKey ¶
func (_VoteVerifier *VoteVerifierSession) GetNodeByKey(key_ [32]byte) (SparseMerkleTreeNode, error)
GetNodeByKey is a free data retrieval call binding the contract method 0x083a8580.
Solidity: function getNodeByKey(bytes32 key_) view returns((uint8,uint64,uint64,bytes32,bytes32,bytes32))
func (*VoteVerifierSession) GetProof ¶
func (_VoteVerifier *VoteVerifierSession) GetProof(key_ [32]byte) (SparseMerkleTreeProof, error)
GetProof is a free data retrieval call binding the contract method 0x1b80bb3a.
Solidity: function getProof(bytes32 key_) view returns((bytes32,bytes32[],bool,bytes32,bytes32,bool,bytes32,bytes32))
func (*VoteVerifierSession) GetRegistrationInfo ¶
func (_VoteVerifier *VoteVerifierSession) GetRegistrationInfo() (IRegistrationRegistrationInfo, error)
GetRegistrationInfo is a free data retrieval call binding the contract method 0x9f2ec56a.
Solidity: function getRegistrationInfo() view returns((string,(uint256,uint256),(uint256)))
func (*VoteVerifierSession) GetRegistrationStatus ¶
func (_VoteVerifier *VoteVerifierSession) GetRegistrationStatus() (uint8, error)
GetRegistrationStatus is a free data retrieval call binding the contract method 0xe35fb241.
Solidity: function getRegistrationStatus() view returns(uint8)
func (*VoteVerifierSession) GetRoot ¶
func (_VoteVerifier *VoteVerifierSession) GetRoot() ([32]byte, error)
GetRoot is a free data retrieval call binding the contract method 0x5ca1e165.
Solidity: function getRoot() view returns(bytes32)
func (*VoteVerifierSession) IsRootExists ¶
func (_VoteVerifier *VoteVerifierSession) IsRootExists(root [32]byte) (bool, error)
IsRootExists is a free data retrieval call binding the contract method 0x74197dd5.
Solidity: function isRootExists(bytes32 root) view returns(bool)
func (*VoteVerifierSession) IsUserRegistered ¶
func (_VoteVerifier *VoteVerifierSession) IsUserRegistered(documentNullifier *big.Int) (bool, error)
IsUserRegistered is a free data retrieval call binding the contract method 0xe0a58ee1.
Solidity: function isUserRegistered(uint256 documentNullifier) view returns(bool)
func (*VoteVerifierSession) Register ¶
func (_VoteVerifier *VoteVerifierSession) Register(proveIdentityParams_ IBaseVerifierProveIdentityParams, registerProofParams_ IRegisterVerifierRegisterProofParams, transitStateParams_ IBaseVerifierTransitStateParams, isTransitState_ bool) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x24a4831c.
Solidity: function register(((uint256,uint256,uint256,bytes32[]),uint256[],uint256[2],uint256[2][2],uint256[2]) proveIdentityParams_, (uint256,uint256,bytes32) registerProofParams_, (bytes32,(uint256,uint256),bytes) transitStateParams_, bool isTransitState_) returns()
func (*VoteVerifierSession) RegisterVerifier ¶
func (_VoteVerifier *VoteVerifierSession) RegisterVerifier() (common.Address, error)
RegisterVerifier is a free data retrieval call binding the contract method 0xea968a2d.
Solidity: function registerVerifier() view returns(address)
func (*VoteVerifierSession) RegistrationInfo ¶
func (_VoteVerifier *VoteVerifierSession) RegistrationInfo() (struct { Remark string Values IRegistrationRegistrationValues Counters IRegistrationRegistrationCounters }, error)
RegistrationInfo is a free data retrieval call binding the contract method 0xeb9f4937.
Solidity: function registrationInfo() view returns(string remark, (uint256,uint256) values, (uint256) counters)
func (*VoteVerifierSession) RegistrationInit ¶
func (_VoteVerifier *VoteVerifierSession) RegistrationInit(registrationParams_ IRegistrationRegistrationParams) (*types.Transaction, error)
RegistrationInit is a paid mutator transaction binding the contract method 0x2a8f67d5.
Solidity: function __Registration_init((string,uint256,uint256) registrationParams_) returns()
func (*VoteVerifierSession) RootsHistory ¶
func (_VoteVerifier *VoteVerifierSession) RootsHistory(arg0 [32]byte) (bool, error)
RootsHistory is a free data retrieval call binding the contract method 0x241e2cfe.
Solidity: function rootsHistory(bytes32 ) view returns(bool)
func (*VoteVerifierSession) SmtTreeMaxDepth ¶
func (_VoteVerifier *VoteVerifierSession) SmtTreeMaxDepth() (*big.Int, error)
SmtTreeMaxDepth is a free data retrieval call binding the contract method 0xf975aa00.
Solidity: function smtTreeMaxDepth() view returns(uint256)
type VoteVerifierTransactor ¶
type VoteVerifierTransactor struct {
// contains filtered or unexported fields
}
VoteVerifierTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewVoteVerifierTransactor ¶
func NewVoteVerifierTransactor(address common.Address, transactor bind.ContractTransactor) (*VoteVerifierTransactor, error)
NewVoteVerifierTransactor creates a new write-only instance of VoteVerifier, bound to a specific deployed contract.
func (*VoteVerifierTransactor) Register ¶
func (_VoteVerifier *VoteVerifierTransactor) Register(opts *bind.TransactOpts, proveIdentityParams_ IBaseVerifierProveIdentityParams, registerProofParams_ IRegisterVerifierRegisterProofParams, transitStateParams_ IBaseVerifierTransitStateParams, isTransitState_ bool) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x24a4831c.
Solidity: function register(((uint256,uint256,uint256,bytes32[]),uint256[],uint256[2],uint256[2][2],uint256[2]) proveIdentityParams_, (uint256,uint256,bytes32) registerProofParams_, (bytes32,(uint256,uint256),bytes) transitStateParams_, bool isTransitState_) returns()
func (*VoteVerifierTransactor) RegistrationInit ¶
func (_VoteVerifier *VoteVerifierTransactor) RegistrationInit(opts *bind.TransactOpts, registrationParams_ IRegistrationRegistrationParams) (*types.Transaction, error)
RegistrationInit is a paid mutator transaction binding the contract method 0x2a8f67d5.
Solidity: function __Registration_init((string,uint256,uint256) registrationParams_) returns()
type VoteVerifierTransactorRaw ¶
type VoteVerifierTransactorRaw struct {
Contract *VoteVerifierTransactor // Generic write-only contract binding to access the raw methods on
}
VoteVerifierTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*VoteVerifierTransactorRaw) Transact ¶
func (_VoteVerifier *VoteVerifierTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VoteVerifierTransactorRaw) Transfer ¶
func (_VoteVerifier *VoteVerifierTransactorRaw) 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 VoteVerifierTransactorSession ¶
type VoteVerifierTransactorSession struct { Contract *VoteVerifierTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VoteVerifierTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*VoteVerifierTransactorSession) Register ¶
func (_VoteVerifier *VoteVerifierTransactorSession) Register(proveIdentityParams_ IBaseVerifierProveIdentityParams, registerProofParams_ IRegisterVerifierRegisterProofParams, transitStateParams_ IBaseVerifierTransitStateParams, isTransitState_ bool) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x24a4831c.
Solidity: function register(((uint256,uint256,uint256,bytes32[]),uint256[],uint256[2],uint256[2][2],uint256[2]) proveIdentityParams_, (uint256,uint256,bytes32) registerProofParams_, (bytes32,(uint256,uint256),bytes) transitStateParams_, bool isTransitState_) returns()
func (*VoteVerifierTransactorSession) RegistrationInit ¶
func (_VoteVerifier *VoteVerifierTransactorSession) RegistrationInit(registrationParams_ IRegistrationRegistrationParams) (*types.Transaction, error)
RegistrationInit is a paid mutator transaction binding the contract method 0x2a8f67d5.
Solidity: function __Registration_init((string,uint256,uint256) registrationParams_) returns()
type VoteVerifierUserRegistered ¶
type VoteVerifierUserRegistered struct { User common.Address ProveIdentityParams IBaseVerifierProveIdentityParams RegisterProofParams IRegisterVerifierRegisterProofParams Raw types.Log // Blockchain specific contextual infos }
VoteVerifierUserRegistered represents a UserRegistered event raised by the VoteVerifier contract.
type VoteVerifierUserRegisteredIterator ¶
type VoteVerifierUserRegisteredIterator struct { Event *VoteVerifierUserRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VoteVerifierUserRegisteredIterator is returned from FilterUserRegistered and is used to iterate over the raw logs and unpacked data for UserRegistered events raised by the VoteVerifier contract.
func (*VoteVerifierUserRegisteredIterator) Close ¶
func (it *VoteVerifierUserRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VoteVerifierUserRegisteredIterator) Error ¶
func (it *VoteVerifierUserRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VoteVerifierUserRegisteredIterator) Next ¶
func (it *VoteVerifierUserRegisteredIterator) 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 Voting ¶ added in v0.3.0
type Voting struct { VotingCaller // Read-only binding to the contract VotingTransactor // Write-only binding to the contract VotingFilterer // Log filterer for contract events }
Voting is an auto generated Go binding around an Ethereum contract.
type VotingCaller ¶ added in v0.3.0
type VotingCaller struct {
// contains filtered or unexported fields
}
VotingCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewVotingCaller ¶ added in v0.3.0
func NewVotingCaller(address common.Address, caller bind.ContractCaller) (*VotingCaller, error)
NewVotingCaller creates a new read-only instance of Voting, bound to a specific deployed contract.
func (*VotingCaller) Candidates ¶ added in v0.3.0
Candidates is a free data retrieval call binding the contract method 0x1a0478d5.
Solidity: function candidates(bytes32 ) view returns(bool)
func (*VotingCaller) GetProposalStatus ¶ added in v0.3.0
func (_Voting *VotingCaller) GetProposalStatus(opts *bind.CallOpts) (uint8, error)
GetProposalStatus is a free data retrieval call binding the contract method 0xcfeb652e.
Solidity: function getProposalStatus() view returns(uint8)
func (*VotingCaller) GetRegistrationAddresses ¶ added in v0.3.0
func (_Voting *VotingCaller) GetRegistrationAddresses(opts *bind.CallOpts) ([]common.Address, error)
GetRegistrationAddresses is a free data retrieval call binding the contract method 0xe8188f97.
Solidity: function getRegistrationAddresses() view returns(address[])
func (*VotingCaller) MAXCANDIDATES ¶ added in v0.3.0
MAXCANDIDATES is a free data retrieval call binding the contract method 0xf0786096.
Solidity: function MAX_CANDIDATES() view returns(uint256)
func (*VotingCaller) Nullifiers ¶ added in v0.3.0
Nullifiers is a free data retrieval call binding the contract method 0x2997e86b.
Solidity: function nullifiers(bytes32 ) view returns(bool)
func (*VotingCaller) Registration ¶ added in v0.3.0
Registration is a free data retrieval call binding the contract method 0x443bd1d0.
Solidity: function registration() view returns(address)
func (*VotingCaller) SupportsInterface ¶ added in v0.3.0
func (_Voting *VotingCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*VotingCaller) VoteVerifier ¶ added in v0.3.0
VoteVerifier is a free data retrieval call binding the contract method 0x99d74c71.
Solidity: function voteVerifier() view returns(address)
func (*VotingCaller) VotesPerCandidate ¶ added in v0.3.0
func (_Voting *VotingCaller) VotesPerCandidate(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
VotesPerCandidate is a free data retrieval call binding the contract method 0xe0d38faf.
Solidity: function votesPerCandidate(bytes32 ) view returns(uint256)
func (*VotingCaller) VotingInfo ¶ added in v0.3.0
func (_Voting *VotingCaller) VotingInfo(opts *bind.CallOpts) (struct { Remark string Values IVotingVotingValues Counters IVotingVotingCounters }, error)
VotingInfo is a free data retrieval call binding the contract method 0x19e7998c.
Solidity: function votingInfo() view returns(string remark, (uint256,uint256,bytes32[]) values, (uint256) counters)
type VotingCallerRaw ¶ added in v0.3.0
type VotingCallerRaw struct {
Contract *VotingCaller // Generic read-only contract binding to access the raw methods on
}
VotingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*VotingCallerRaw) Call ¶ added in v0.3.0
func (_Voting *VotingCallerRaw) 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 VotingCallerSession ¶ added in v0.3.0
type VotingCallerSession struct { Contract *VotingCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
VotingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*VotingCallerSession) Candidates ¶ added in v0.3.0
func (_Voting *VotingCallerSession) Candidates(arg0 [32]byte) (bool, error)
Candidates is a free data retrieval call binding the contract method 0x1a0478d5.
Solidity: function candidates(bytes32 ) view returns(bool)
func (*VotingCallerSession) GetProposalStatus ¶ added in v0.3.0
func (_Voting *VotingCallerSession) GetProposalStatus() (uint8, error)
GetProposalStatus is a free data retrieval call binding the contract method 0xcfeb652e.
Solidity: function getProposalStatus() view returns(uint8)
func (*VotingCallerSession) GetRegistrationAddresses ¶ added in v0.3.0
func (_Voting *VotingCallerSession) GetRegistrationAddresses() ([]common.Address, error)
GetRegistrationAddresses is a free data retrieval call binding the contract method 0xe8188f97.
Solidity: function getRegistrationAddresses() view returns(address[])
func (*VotingCallerSession) MAXCANDIDATES ¶ added in v0.3.0
func (_Voting *VotingCallerSession) MAXCANDIDATES() (*big.Int, error)
MAXCANDIDATES is a free data retrieval call binding the contract method 0xf0786096.
Solidity: function MAX_CANDIDATES() view returns(uint256)
func (*VotingCallerSession) Nullifiers ¶ added in v0.3.0
func (_Voting *VotingCallerSession) Nullifiers(arg0 [32]byte) (bool, error)
Nullifiers is a free data retrieval call binding the contract method 0x2997e86b.
Solidity: function nullifiers(bytes32 ) view returns(bool)
func (*VotingCallerSession) Registration ¶ added in v0.3.0
func (_Voting *VotingCallerSession) Registration() (common.Address, error)
Registration is a free data retrieval call binding the contract method 0x443bd1d0.
Solidity: function registration() view returns(address)
func (*VotingCallerSession) SupportsInterface ¶ added in v0.3.0
func (_Voting *VotingCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*VotingCallerSession) VoteVerifier ¶ added in v0.3.0
func (_Voting *VotingCallerSession) VoteVerifier() (common.Address, error)
VoteVerifier is a free data retrieval call binding the contract method 0x99d74c71.
Solidity: function voteVerifier() view returns(address)
func (*VotingCallerSession) VotesPerCandidate ¶ added in v0.3.0
func (_Voting *VotingCallerSession) VotesPerCandidate(arg0 [32]byte) (*big.Int, error)
VotesPerCandidate is a free data retrieval call binding the contract method 0xe0d38faf.
Solidity: function votesPerCandidate(bytes32 ) view returns(uint256)
func (*VotingCallerSession) VotingInfo ¶ added in v0.3.0
func (_Voting *VotingCallerSession) VotingInfo() (struct { Remark string Values IVotingVotingValues Counters IVotingVotingCounters }, error)
VotingInfo is a free data retrieval call binding the contract method 0x19e7998c.
Solidity: function votingInfo() view returns(string remark, (uint256,uint256,bytes32[]) values, (uint256) counters)
type VotingFilterer ¶ added in v0.3.0
type VotingFilterer struct {
// contains filtered or unexported fields
}
VotingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewVotingFilterer ¶ added in v0.3.0
func NewVotingFilterer(address common.Address, filterer bind.ContractFilterer) (*VotingFilterer, error)
NewVotingFilterer creates a new log filterer instance of Voting, bound to a specific deployed contract.
func (*VotingFilterer) FilterInitialized ¶ added in v0.3.0
func (_Voting *VotingFilterer) FilterInitialized(opts *bind.FilterOpts) (*VotingInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*VotingFilterer) FilterUserVoted ¶ added in v0.3.0
func (_Voting *VotingFilterer) FilterUserVoted(opts *bind.FilterOpts, user []common.Address) (*VotingUserVotedIterator, error)
FilterUserVoted is a free log retrieval operation binding the contract event 0xd7b642ac96388fe3d629dbcf233cde0723967951c334d29a2b8db1c476182f30.
Solidity: event UserVoted(address indexed user, bytes32 root, bytes32 nullifierHash, bytes32 candidate)
func (*VotingFilterer) FilterVotingInitialized ¶ added in v0.3.0
func (_Voting *VotingFilterer) FilterVotingInitialized(opts *bind.FilterOpts, proposer []common.Address) (*VotingVotingInitializedIterator, error)
FilterVotingInitialized is a free log retrieval operation binding the contract event 0xb9bbd4e09a06db4d1f06fe2ebe360738047ec15a1f30d6daeb02b0241ebcd290.
Solidity: event VotingInitialized(address indexed proposer, (address,string,uint256,uint256,bytes32[]) votingParams)
func (*VotingFilterer) ParseInitialized ¶ added in v0.3.0
func (_Voting *VotingFilterer) ParseInitialized(log types.Log) (*VotingInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*VotingFilterer) ParseUserVoted ¶ added in v0.3.0
func (_Voting *VotingFilterer) ParseUserVoted(log types.Log) (*VotingUserVoted, error)
ParseUserVoted is a log parse operation binding the contract event 0xd7b642ac96388fe3d629dbcf233cde0723967951c334d29a2b8db1c476182f30.
Solidity: event UserVoted(address indexed user, bytes32 root, bytes32 nullifierHash, bytes32 candidate)
func (*VotingFilterer) ParseVotingInitialized ¶ added in v0.3.0
func (_Voting *VotingFilterer) ParseVotingInitialized(log types.Log) (*VotingVotingInitialized, error)
ParseVotingInitialized is a log parse operation binding the contract event 0xb9bbd4e09a06db4d1f06fe2ebe360738047ec15a1f30d6daeb02b0241ebcd290.
Solidity: event VotingInitialized(address indexed proposer, (address,string,uint256,uint256,bytes32[]) votingParams)
func (*VotingFilterer) WatchInitialized ¶ added in v0.3.0
func (_Voting *VotingFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *VotingInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*VotingFilterer) WatchUserVoted ¶ added in v0.3.0
func (_Voting *VotingFilterer) WatchUserVoted(opts *bind.WatchOpts, sink chan<- *VotingUserVoted, user []common.Address) (event.Subscription, error)
WatchUserVoted is a free log subscription operation binding the contract event 0xd7b642ac96388fe3d629dbcf233cde0723967951c334d29a2b8db1c476182f30.
Solidity: event UserVoted(address indexed user, bytes32 root, bytes32 nullifierHash, bytes32 candidate)
func (*VotingFilterer) WatchVotingInitialized ¶ added in v0.3.0
func (_Voting *VotingFilterer) WatchVotingInitialized(opts *bind.WatchOpts, sink chan<- *VotingVotingInitialized, proposer []common.Address) (event.Subscription, error)
WatchVotingInitialized is a free log subscription operation binding the contract event 0xb9bbd4e09a06db4d1f06fe2ebe360738047ec15a1f30d6daeb02b0241ebcd290.
Solidity: event VotingInitialized(address indexed proposer, (address,string,uint256,uint256,bytes32[]) votingParams)
type VotingInitialized ¶ added in v0.3.0
type VotingInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
VotingInitialized represents a Initialized event raised by the Voting contract.
type VotingInitializedIterator ¶ added in v0.3.0
type VotingInitializedIterator struct { Event *VotingInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VotingInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Voting contract.
func (*VotingInitializedIterator) Close ¶ added in v0.3.0
func (it *VotingInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VotingInitializedIterator) Error ¶ added in v0.3.0
func (it *VotingInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VotingInitializedIterator) Next ¶ added in v0.3.0
func (it *VotingInitializedIterator) 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 VotingRaw ¶ added in v0.3.0
type VotingRaw struct {
Contract *Voting // Generic contract binding to access the raw methods on
}
VotingRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*VotingRaw) Call ¶ added in v0.3.0
func (_Voting *VotingRaw) 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 (*VotingRaw) Transact ¶ added in v0.3.0
func (_Voting *VotingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VotingRaw) Transfer ¶ added in v0.3.0
func (_Voting *VotingRaw) 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 VotingRegistry ¶
type VotingRegistry struct { VotingRegistryCaller // Read-only binding to the contract VotingRegistryTransactor // Write-only binding to the contract VotingRegistryFilterer // Log filterer for contract events }
VotingRegistry is an auto generated Go binding around an Ethereum contract.
func NewVotingRegistry ¶
func NewVotingRegistry(address common.Address, backend bind.ContractBackend) (*VotingRegistry, error)
NewVotingRegistry creates a new instance of VotingRegistry, bound to a specific deployed contract.
type VotingRegistryAdminChanged ¶
type VotingRegistryAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
VotingRegistryAdminChanged represents a AdminChanged event raised by the VotingRegistry contract.
type VotingRegistryAdminChangedIterator ¶
type VotingRegistryAdminChangedIterator struct { Event *VotingRegistryAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VotingRegistryAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the VotingRegistry contract.
func (*VotingRegistryAdminChangedIterator) Close ¶
func (it *VotingRegistryAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VotingRegistryAdminChangedIterator) Error ¶
func (it *VotingRegistryAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VotingRegistryAdminChangedIterator) Next ¶
func (it *VotingRegistryAdminChangedIterator) 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 VotingRegistryBeaconUpgraded ¶
type VotingRegistryBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
VotingRegistryBeaconUpgraded represents a BeaconUpgraded event raised by the VotingRegistry contract.
type VotingRegistryBeaconUpgradedIterator ¶
type VotingRegistryBeaconUpgradedIterator struct { Event *VotingRegistryBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VotingRegistryBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the VotingRegistry contract.
func (*VotingRegistryBeaconUpgradedIterator) Close ¶
func (it *VotingRegistryBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VotingRegistryBeaconUpgradedIterator) Error ¶
func (it *VotingRegistryBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VotingRegistryBeaconUpgradedIterator) Next ¶
func (it *VotingRegistryBeaconUpgradedIterator) 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 VotingRegistryCaller ¶
type VotingRegistryCaller struct {
// contains filtered or unexported fields
}
VotingRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewVotingRegistryCaller ¶
func NewVotingRegistryCaller(address common.Address, caller bind.ContractCaller) (*VotingRegistryCaller, error)
NewVotingRegistryCaller creates a new read-only instance of VotingRegistry, bound to a specific deployed contract.
func (*VotingRegistryCaller) GetPoolImplementation ¶
func (_VotingRegistry *VotingRegistryCaller) GetPoolImplementation(opts *bind.CallOpts, poolType_ string) (common.Address, error)
GetPoolImplementation is a free data retrieval call binding the contract method 0x5fd2b459.
Solidity: function getPoolImplementation(string poolType_) view returns(address)
func (*VotingRegistryCaller) GetVotingForRegistration ¶
func (_VotingRegistry *VotingRegistryCaller) GetVotingForRegistration(opts *bind.CallOpts, proposer_ common.Address, registration_ common.Address) (common.Address, error)
GetVotingForRegistration is a free data retrieval call binding the contract method 0xa2daa62a.
Solidity: function getVotingForRegistration(address proposer_, address registration_) view returns(address)
func (*VotingRegistryCaller) IsPoolExistByProposer ¶
func (_VotingRegistry *VotingRegistryCaller) IsPoolExistByProposer(opts *bind.CallOpts, proposer_ common.Address, pool_ common.Address) (bool, error)
IsPoolExistByProposer is a free data retrieval call binding the contract method 0xd4ba209a.
Solidity: function isPoolExistByProposer(address proposer_, address pool_) view returns(bool)
func (*VotingRegistryCaller) IsPoolExistByProposerAndType ¶
func (_VotingRegistry *VotingRegistryCaller) IsPoolExistByProposerAndType(opts *bind.CallOpts, proposer_ common.Address, poolType_ string, pool_ common.Address) (bool, error)
IsPoolExistByProposerAndType is a free data retrieval call binding the contract method 0x581a9a47.
Solidity: function isPoolExistByProposerAndType(address proposer_, string poolType_, address pool_) view returns(bool)
func (*VotingRegistryCaller) IsPoolExistByType ¶
func (_VotingRegistry *VotingRegistryCaller) IsPoolExistByType(opts *bind.CallOpts, poolType_ string, pool_ common.Address) (bool, error)
IsPoolExistByType is a free data retrieval call binding the contract method 0xd9134bb6.
Solidity: function isPoolExistByType(string poolType_, address pool_) view returns(bool)
func (*VotingRegistryCaller) ListPoolsByProposer ¶
func (_VotingRegistry *VotingRegistryCaller) ListPoolsByProposer(opts *bind.CallOpts, proposer_ common.Address, offset_ *big.Int, limit_ *big.Int) ([]common.Address, error)
ListPoolsByProposer is a free data retrieval call binding the contract method 0x95c81529.
Solidity: function listPoolsByProposer(address proposer_, uint256 offset_, uint256 limit_) view returns(address[] pools_)
func (*VotingRegistryCaller) ListPoolsByProposerAndType ¶
func (_VotingRegistry *VotingRegistryCaller) ListPoolsByProposerAndType(opts *bind.CallOpts, proposer_ common.Address, poolType_ string, offset_ *big.Int, limit_ *big.Int) ([]common.Address, error)
ListPoolsByProposerAndType is a free data retrieval call binding the contract method 0xc4e09b63.
Solidity: function listPoolsByProposerAndType(address proposer_, string poolType_, uint256 offset_, uint256 limit_) view returns(address[] pools_)
func (*VotingRegistryCaller) ListPoolsByType ¶
func (_VotingRegistry *VotingRegistryCaller) ListPoolsByType(opts *bind.CallOpts, poolType_ string, offset_ *big.Int, limit_ *big.Int) ([]common.Address, error)
ListPoolsByType is a free data retrieval call binding the contract method 0x0eb64966.
Solidity: function listPoolsByType(string poolType_, uint256 offset_, uint256 limit_) view returns(address[] pools_)
func (*VotingRegistryCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*VotingRegistryCaller) PoolCountByProposer ¶
func (_VotingRegistry *VotingRegistryCaller) PoolCountByProposer(opts *bind.CallOpts, proposer_ common.Address) (*big.Int, error)
PoolCountByProposer is a free data retrieval call binding the contract method 0x74d3d2f7.
Solidity: function poolCountByProposer(address proposer_) view returns(uint256)
func (*VotingRegistryCaller) PoolCountByProposerAndType ¶
func (_VotingRegistry *VotingRegistryCaller) PoolCountByProposerAndType(opts *bind.CallOpts, proposer_ common.Address, poolType_ string) (*big.Int, error)
PoolCountByProposerAndType is a free data retrieval call binding the contract method 0xd978e638.
Solidity: function poolCountByProposerAndType(address proposer_, string poolType_) view returns(uint256)
func (*VotingRegistryCaller) PoolCountByType ¶
func (_VotingRegistry *VotingRegistryCaller) PoolCountByType(opts *bind.CallOpts, poolType_ string) (*big.Int, error)
PoolCountByType is a free data retrieval call binding the contract method 0x2b1d3489.
Solidity: function poolCountByType(string poolType_) view returns(uint256)
func (*VotingRegistryCaller) PoolFactory ¶
func (_VotingRegistry *VotingRegistryCaller) PoolFactory(opts *bind.CallOpts) (common.Address, error)
PoolFactory is a free data retrieval call binding the contract method 0x4219dc40.
Solidity: function poolFactory() view returns(address)
func (*VotingRegistryCaller) ProxiableUUID ¶
func (_VotingRegistry *VotingRegistryCaller) 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)
type VotingRegistryCallerRaw ¶
type VotingRegistryCallerRaw struct {
Contract *VotingRegistryCaller // Generic read-only contract binding to access the raw methods on
}
VotingRegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*VotingRegistryCallerRaw) Call ¶
func (_VotingRegistry *VotingRegistryCallerRaw) 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 VotingRegistryCallerSession ¶
type VotingRegistryCallerSession struct { Contract *VotingRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
VotingRegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*VotingRegistryCallerSession) GetPoolImplementation ¶
func (_VotingRegistry *VotingRegistryCallerSession) GetPoolImplementation(poolType_ string) (common.Address, error)
GetPoolImplementation is a free data retrieval call binding the contract method 0x5fd2b459.
Solidity: function getPoolImplementation(string poolType_) view returns(address)
func (*VotingRegistryCallerSession) GetVotingForRegistration ¶
func (_VotingRegistry *VotingRegistryCallerSession) GetVotingForRegistration(proposer_ common.Address, registration_ common.Address) (common.Address, error)
GetVotingForRegistration is a free data retrieval call binding the contract method 0xa2daa62a.
Solidity: function getVotingForRegistration(address proposer_, address registration_) view returns(address)
func (*VotingRegistryCallerSession) IsPoolExistByProposer ¶
func (_VotingRegistry *VotingRegistryCallerSession) IsPoolExistByProposer(proposer_ common.Address, pool_ common.Address) (bool, error)
IsPoolExistByProposer is a free data retrieval call binding the contract method 0xd4ba209a.
Solidity: function isPoolExistByProposer(address proposer_, address pool_) view returns(bool)
func (*VotingRegistryCallerSession) IsPoolExistByProposerAndType ¶
func (_VotingRegistry *VotingRegistryCallerSession) IsPoolExistByProposerAndType(proposer_ common.Address, poolType_ string, pool_ common.Address) (bool, error)
IsPoolExistByProposerAndType is a free data retrieval call binding the contract method 0x581a9a47.
Solidity: function isPoolExistByProposerAndType(address proposer_, string poolType_, address pool_) view returns(bool)
func (*VotingRegistryCallerSession) IsPoolExistByType ¶
func (_VotingRegistry *VotingRegistryCallerSession) IsPoolExistByType(poolType_ string, pool_ common.Address) (bool, error)
IsPoolExistByType is a free data retrieval call binding the contract method 0xd9134bb6.
Solidity: function isPoolExistByType(string poolType_, address pool_) view returns(bool)
func (*VotingRegistryCallerSession) ListPoolsByProposer ¶
func (_VotingRegistry *VotingRegistryCallerSession) ListPoolsByProposer(proposer_ common.Address, offset_ *big.Int, limit_ *big.Int) ([]common.Address, error)
ListPoolsByProposer is a free data retrieval call binding the contract method 0x95c81529.
Solidity: function listPoolsByProposer(address proposer_, uint256 offset_, uint256 limit_) view returns(address[] pools_)
func (*VotingRegistryCallerSession) ListPoolsByProposerAndType ¶
func (_VotingRegistry *VotingRegistryCallerSession) ListPoolsByProposerAndType(proposer_ common.Address, poolType_ string, offset_ *big.Int, limit_ *big.Int) ([]common.Address, error)
ListPoolsByProposerAndType is a free data retrieval call binding the contract method 0xc4e09b63.
Solidity: function listPoolsByProposerAndType(address proposer_, string poolType_, uint256 offset_, uint256 limit_) view returns(address[] pools_)
func (*VotingRegistryCallerSession) ListPoolsByType ¶
func (_VotingRegistry *VotingRegistryCallerSession) ListPoolsByType(poolType_ string, offset_ *big.Int, limit_ *big.Int) ([]common.Address, error)
ListPoolsByType is a free data retrieval call binding the contract method 0x0eb64966.
Solidity: function listPoolsByType(string poolType_, uint256 offset_, uint256 limit_) view returns(address[] pools_)
func (*VotingRegistryCallerSession) Owner ¶
func (_VotingRegistry *VotingRegistryCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*VotingRegistryCallerSession) PoolCountByProposer ¶
func (_VotingRegistry *VotingRegistryCallerSession) PoolCountByProposer(proposer_ common.Address) (*big.Int, error)
PoolCountByProposer is a free data retrieval call binding the contract method 0x74d3d2f7.
Solidity: function poolCountByProposer(address proposer_) view returns(uint256)
func (*VotingRegistryCallerSession) PoolCountByProposerAndType ¶
func (_VotingRegistry *VotingRegistryCallerSession) PoolCountByProposerAndType(proposer_ common.Address, poolType_ string) (*big.Int, error)
PoolCountByProposerAndType is a free data retrieval call binding the contract method 0xd978e638.
Solidity: function poolCountByProposerAndType(address proposer_, string poolType_) view returns(uint256)
func (*VotingRegistryCallerSession) PoolCountByType ¶
func (_VotingRegistry *VotingRegistryCallerSession) PoolCountByType(poolType_ string) (*big.Int, error)
PoolCountByType is a free data retrieval call binding the contract method 0x2b1d3489.
Solidity: function poolCountByType(string poolType_) view returns(uint256)
func (*VotingRegistryCallerSession) PoolFactory ¶
func (_VotingRegistry *VotingRegistryCallerSession) PoolFactory() (common.Address, error)
PoolFactory is a free data retrieval call binding the contract method 0x4219dc40.
Solidity: function poolFactory() view returns(address)
func (*VotingRegistryCallerSession) ProxiableUUID ¶
func (_VotingRegistry *VotingRegistryCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
type VotingRegistryFilterer ¶
type VotingRegistryFilterer struct {
// contains filtered or unexported fields
}
VotingRegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewVotingRegistryFilterer ¶
func NewVotingRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*VotingRegistryFilterer, error)
NewVotingRegistryFilterer creates a new log filterer instance of VotingRegistry, bound to a specific deployed contract.
func (*VotingRegistryFilterer) FilterAdminChanged ¶
func (_VotingRegistry *VotingRegistryFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*VotingRegistryAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*VotingRegistryFilterer) FilterBeaconUpgraded ¶
func (_VotingRegistry *VotingRegistryFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*VotingRegistryBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*VotingRegistryFilterer) FilterInitialized ¶
func (_VotingRegistry *VotingRegistryFilterer) FilterInitialized(opts *bind.FilterOpts) (*VotingRegistryInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*VotingRegistryFilterer) FilterOwnershipTransferred ¶
func (_VotingRegistry *VotingRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*VotingRegistryOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*VotingRegistryFilterer) FilterUpgraded ¶
func (_VotingRegistry *VotingRegistryFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*VotingRegistryUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*VotingRegistryFilterer) ParseAdminChanged ¶
func (_VotingRegistry *VotingRegistryFilterer) ParseAdminChanged(log types.Log) (*VotingRegistryAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*VotingRegistryFilterer) ParseBeaconUpgraded ¶
func (_VotingRegistry *VotingRegistryFilterer) ParseBeaconUpgraded(log types.Log) (*VotingRegistryBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*VotingRegistryFilterer) ParseInitialized ¶
func (_VotingRegistry *VotingRegistryFilterer) ParseInitialized(log types.Log) (*VotingRegistryInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*VotingRegistryFilterer) ParseOwnershipTransferred ¶
func (_VotingRegistry *VotingRegistryFilterer) ParseOwnershipTransferred(log types.Log) (*VotingRegistryOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*VotingRegistryFilterer) ParseUpgraded ¶
func (_VotingRegistry *VotingRegistryFilterer) ParseUpgraded(log types.Log) (*VotingRegistryUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*VotingRegistryFilterer) WatchAdminChanged ¶
func (_VotingRegistry *VotingRegistryFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *VotingRegistryAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*VotingRegistryFilterer) WatchBeaconUpgraded ¶
func (_VotingRegistry *VotingRegistryFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *VotingRegistryBeaconUpgraded, 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 (*VotingRegistryFilterer) WatchInitialized ¶
func (_VotingRegistry *VotingRegistryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *VotingRegistryInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*VotingRegistryFilterer) WatchOwnershipTransferred ¶
func (_VotingRegistry *VotingRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VotingRegistryOwnershipTransferred, 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)
func (*VotingRegistryFilterer) WatchUpgraded ¶
func (_VotingRegistry *VotingRegistryFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *VotingRegistryUpgraded, 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 VotingRegistryInitialized ¶
type VotingRegistryInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
VotingRegistryInitialized represents a Initialized event raised by the VotingRegistry contract.
type VotingRegistryInitializedIterator ¶
type VotingRegistryInitializedIterator struct { Event *VotingRegistryInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VotingRegistryInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the VotingRegistry contract.
func (*VotingRegistryInitializedIterator) Close ¶
func (it *VotingRegistryInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VotingRegistryInitializedIterator) Error ¶
func (it *VotingRegistryInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VotingRegistryInitializedIterator) Next ¶
func (it *VotingRegistryInitializedIterator) 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 VotingRegistryOwnershipTransferred ¶
type VotingRegistryOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
VotingRegistryOwnershipTransferred represents a OwnershipTransferred event raised by the VotingRegistry contract.
type VotingRegistryOwnershipTransferredIterator ¶
type VotingRegistryOwnershipTransferredIterator struct { Event *VotingRegistryOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VotingRegistryOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the VotingRegistry contract.
func (*VotingRegistryOwnershipTransferredIterator) Close ¶
func (it *VotingRegistryOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VotingRegistryOwnershipTransferredIterator) Error ¶
func (it *VotingRegistryOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VotingRegistryOwnershipTransferredIterator) Next ¶
func (it *VotingRegistryOwnershipTransferredIterator) 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 VotingRegistryRaw ¶
type VotingRegistryRaw struct {
Contract *VotingRegistry // Generic contract binding to access the raw methods on
}
VotingRegistryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*VotingRegistryRaw) Call ¶
func (_VotingRegistry *VotingRegistryRaw) 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 (*VotingRegistryRaw) Transact ¶
func (_VotingRegistry *VotingRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VotingRegistryRaw) Transfer ¶
func (_VotingRegistry *VotingRegistryRaw) 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 VotingRegistrySession ¶
type VotingRegistrySession struct { Contract *VotingRegistry // 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 }
VotingRegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*VotingRegistrySession) AddProxyPool ¶
func (_VotingRegistry *VotingRegistrySession) AddProxyPool(poolType_ string, proposer_ common.Address, pool_ common.Address) (*types.Transaction, error)
AddProxyPool is a paid mutator transaction binding the contract method 0xce41a736.
Solidity: function addProxyPool(string poolType_, address proposer_, address pool_) returns()
func (*VotingRegistrySession) BindVotingToRegistration ¶
func (_VotingRegistry *VotingRegistrySession) BindVotingToRegistration(proposer_ common.Address, voting_ common.Address, registration_ common.Address) (*types.Transaction, error)
BindVotingToRegistration is a paid mutator transaction binding the contract method 0x5f4999b8.
Solidity: function bindVotingToRegistration(address proposer_, address voting_, address registration_) returns()
func (*VotingRegistrySession) GetPoolImplementation ¶
func (_VotingRegistry *VotingRegistrySession) GetPoolImplementation(poolType_ string) (common.Address, error)
GetPoolImplementation is a free data retrieval call binding the contract method 0x5fd2b459.
Solidity: function getPoolImplementation(string poolType_) view returns(address)
func (*VotingRegistrySession) GetVotingForRegistration ¶
func (_VotingRegistry *VotingRegistrySession) GetVotingForRegistration(proposer_ common.Address, registration_ common.Address) (common.Address, error)
GetVotingForRegistration is a free data retrieval call binding the contract method 0xa2daa62a.
Solidity: function getVotingForRegistration(address proposer_, address registration_) view returns(address)
func (*VotingRegistrySession) IsPoolExistByProposer ¶
func (_VotingRegistry *VotingRegistrySession) IsPoolExistByProposer(proposer_ common.Address, pool_ common.Address) (bool, error)
IsPoolExistByProposer is a free data retrieval call binding the contract method 0xd4ba209a.
Solidity: function isPoolExistByProposer(address proposer_, address pool_) view returns(bool)
func (*VotingRegistrySession) IsPoolExistByProposerAndType ¶
func (_VotingRegistry *VotingRegistrySession) IsPoolExistByProposerAndType(proposer_ common.Address, poolType_ string, pool_ common.Address) (bool, error)
IsPoolExistByProposerAndType is a free data retrieval call binding the contract method 0x581a9a47.
Solidity: function isPoolExistByProposerAndType(address proposer_, string poolType_, address pool_) view returns(bool)
func (*VotingRegistrySession) IsPoolExistByType ¶
func (_VotingRegistry *VotingRegistrySession) IsPoolExistByType(poolType_ string, pool_ common.Address) (bool, error)
IsPoolExistByType is a free data retrieval call binding the contract method 0xd9134bb6.
Solidity: function isPoolExistByType(string poolType_, address pool_) view returns(bool)
func (*VotingRegistrySession) ListPoolsByProposer ¶
func (_VotingRegistry *VotingRegistrySession) ListPoolsByProposer(proposer_ common.Address, offset_ *big.Int, limit_ *big.Int) ([]common.Address, error)
ListPoolsByProposer is a free data retrieval call binding the contract method 0x95c81529.
Solidity: function listPoolsByProposer(address proposer_, uint256 offset_, uint256 limit_) view returns(address[] pools_)
func (*VotingRegistrySession) ListPoolsByProposerAndType ¶
func (_VotingRegistry *VotingRegistrySession) ListPoolsByProposerAndType(proposer_ common.Address, poolType_ string, offset_ *big.Int, limit_ *big.Int) ([]common.Address, error)
ListPoolsByProposerAndType is a free data retrieval call binding the contract method 0xc4e09b63.
Solidity: function listPoolsByProposerAndType(address proposer_, string poolType_, uint256 offset_, uint256 limit_) view returns(address[] pools_)
func (*VotingRegistrySession) ListPoolsByType ¶
func (_VotingRegistry *VotingRegistrySession) ListPoolsByType(poolType_ string, offset_ *big.Int, limit_ *big.Int) ([]common.Address, error)
ListPoolsByType is a free data retrieval call binding the contract method 0x0eb64966.
Solidity: function listPoolsByType(string poolType_, uint256 offset_, uint256 limit_) view returns(address[] pools_)
func (*VotingRegistrySession) Owner ¶
func (_VotingRegistry *VotingRegistrySession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*VotingRegistrySession) PoolCountByProposer ¶
func (_VotingRegistry *VotingRegistrySession) PoolCountByProposer(proposer_ common.Address) (*big.Int, error)
PoolCountByProposer is a free data retrieval call binding the contract method 0x74d3d2f7.
Solidity: function poolCountByProposer(address proposer_) view returns(uint256)
func (*VotingRegistrySession) PoolCountByProposerAndType ¶
func (_VotingRegistry *VotingRegistrySession) PoolCountByProposerAndType(proposer_ common.Address, poolType_ string) (*big.Int, error)
PoolCountByProposerAndType is a free data retrieval call binding the contract method 0xd978e638.
Solidity: function poolCountByProposerAndType(address proposer_, string poolType_) view returns(uint256)
func (*VotingRegistrySession) PoolCountByType ¶
func (_VotingRegistry *VotingRegistrySession) PoolCountByType(poolType_ string) (*big.Int, error)
PoolCountByType is a free data retrieval call binding the contract method 0x2b1d3489.
Solidity: function poolCountByType(string poolType_) view returns(uint256)
func (*VotingRegistrySession) PoolFactory ¶
func (_VotingRegistry *VotingRegistrySession) PoolFactory() (common.Address, error)
PoolFactory is a free data retrieval call binding the contract method 0x4219dc40.
Solidity: function poolFactory() view returns(address)
func (*VotingRegistrySession) ProxiableUUID ¶
func (_VotingRegistry *VotingRegistrySession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*VotingRegistrySession) RenounceOwnership ¶
func (_VotingRegistry *VotingRegistrySession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*VotingRegistrySession) SetNewImplementations ¶
func (_VotingRegistry *VotingRegistrySession) SetNewImplementations(poolTypes_ []string, newImplementations_ []common.Address) (*types.Transaction, error)
SetNewImplementations is a paid mutator transaction binding the contract method 0x05c05408.
Solidity: function setNewImplementations(string[] poolTypes_, address[] newImplementations_) returns()
func (*VotingRegistrySession) TransferOwnership ¶
func (_VotingRegistry *VotingRegistrySession) 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 (*VotingRegistrySession) UpgradeTo ¶
func (_VotingRegistry *VotingRegistrySession) 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 (*VotingRegistrySession) UpgradeToAndCall ¶
func (_VotingRegistry *VotingRegistrySession) 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 (*VotingRegistrySession) VotingRegistryInit ¶
func (_VotingRegistry *VotingRegistrySession) VotingRegistryInit(poolFactory_ common.Address) (*types.Transaction, error)
VotingRegistryInit is a paid mutator transaction binding the contract method 0x49f74dae.
Solidity: function __VotingRegistry_init(address poolFactory_) returns()
type VotingRegistryTransactor ¶
type VotingRegistryTransactor struct {
// contains filtered or unexported fields
}
VotingRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewVotingRegistryTransactor ¶
func NewVotingRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*VotingRegistryTransactor, error)
NewVotingRegistryTransactor creates a new write-only instance of VotingRegistry, bound to a specific deployed contract.
func (*VotingRegistryTransactor) AddProxyPool ¶
func (_VotingRegistry *VotingRegistryTransactor) AddProxyPool(opts *bind.TransactOpts, poolType_ string, proposer_ common.Address, pool_ common.Address) (*types.Transaction, error)
AddProxyPool is a paid mutator transaction binding the contract method 0xce41a736.
Solidity: function addProxyPool(string poolType_, address proposer_, address pool_) returns()
func (*VotingRegistryTransactor) BindVotingToRegistration ¶
func (_VotingRegistry *VotingRegistryTransactor) BindVotingToRegistration(opts *bind.TransactOpts, proposer_ common.Address, voting_ common.Address, registration_ common.Address) (*types.Transaction, error)
BindVotingToRegistration is a paid mutator transaction binding the contract method 0x5f4999b8.
Solidity: function bindVotingToRegistration(address proposer_, address voting_, address registration_) returns()
func (*VotingRegistryTransactor) RenounceOwnership ¶
func (_VotingRegistry *VotingRegistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*VotingRegistryTransactor) SetNewImplementations ¶
func (_VotingRegistry *VotingRegistryTransactor) SetNewImplementations(opts *bind.TransactOpts, poolTypes_ []string, newImplementations_ []common.Address) (*types.Transaction, error)
SetNewImplementations is a paid mutator transaction binding the contract method 0x05c05408.
Solidity: function setNewImplementations(string[] poolTypes_, address[] newImplementations_) returns()
func (*VotingRegistryTransactor) TransferOwnership ¶
func (_VotingRegistry *VotingRegistryTransactor) 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 (*VotingRegistryTransactor) UpgradeTo ¶
func (_VotingRegistry *VotingRegistryTransactor) 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 (*VotingRegistryTransactor) UpgradeToAndCall ¶
func (_VotingRegistry *VotingRegistryTransactor) 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 (*VotingRegistryTransactor) VotingRegistryInit ¶
func (_VotingRegistry *VotingRegistryTransactor) VotingRegistryInit(opts *bind.TransactOpts, poolFactory_ common.Address) (*types.Transaction, error)
VotingRegistryInit is a paid mutator transaction binding the contract method 0x49f74dae.
Solidity: function __VotingRegistry_init(address poolFactory_) returns()
type VotingRegistryTransactorRaw ¶
type VotingRegistryTransactorRaw struct {
Contract *VotingRegistryTransactor // Generic write-only contract binding to access the raw methods on
}
VotingRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*VotingRegistryTransactorRaw) Transact ¶
func (_VotingRegistry *VotingRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VotingRegistryTransactorRaw) Transfer ¶
func (_VotingRegistry *VotingRegistryTransactorRaw) 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 VotingRegistryTransactorSession ¶
type VotingRegistryTransactorSession struct { Contract *VotingRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VotingRegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*VotingRegistryTransactorSession) AddProxyPool ¶
func (_VotingRegistry *VotingRegistryTransactorSession) AddProxyPool(poolType_ string, proposer_ common.Address, pool_ common.Address) (*types.Transaction, error)
AddProxyPool is a paid mutator transaction binding the contract method 0xce41a736.
Solidity: function addProxyPool(string poolType_, address proposer_, address pool_) returns()
func (*VotingRegistryTransactorSession) BindVotingToRegistration ¶
func (_VotingRegistry *VotingRegistryTransactorSession) BindVotingToRegistration(proposer_ common.Address, voting_ common.Address, registration_ common.Address) (*types.Transaction, error)
BindVotingToRegistration is a paid mutator transaction binding the contract method 0x5f4999b8.
Solidity: function bindVotingToRegistration(address proposer_, address voting_, address registration_) returns()
func (*VotingRegistryTransactorSession) RenounceOwnership ¶
func (_VotingRegistry *VotingRegistryTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*VotingRegistryTransactorSession) SetNewImplementations ¶
func (_VotingRegistry *VotingRegistryTransactorSession) SetNewImplementations(poolTypes_ []string, newImplementations_ []common.Address) (*types.Transaction, error)
SetNewImplementations is a paid mutator transaction binding the contract method 0x05c05408.
Solidity: function setNewImplementations(string[] poolTypes_, address[] newImplementations_) returns()
func (*VotingRegistryTransactorSession) TransferOwnership ¶
func (_VotingRegistry *VotingRegistryTransactorSession) 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 (*VotingRegistryTransactorSession) UpgradeTo ¶
func (_VotingRegistry *VotingRegistryTransactorSession) 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 (*VotingRegistryTransactorSession) UpgradeToAndCall ¶
func (_VotingRegistry *VotingRegistryTransactorSession) 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 (*VotingRegistryTransactorSession) VotingRegistryInit ¶
func (_VotingRegistry *VotingRegistryTransactorSession) VotingRegistryInit(poolFactory_ common.Address) (*types.Transaction, error)
VotingRegistryInit is a paid mutator transaction binding the contract method 0x49f74dae.
Solidity: function __VotingRegistry_init(address poolFactory_) returns()
type VotingRegistryUpgraded ¶
type VotingRegistryUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
VotingRegistryUpgraded represents a Upgraded event raised by the VotingRegistry contract.
type VotingRegistryUpgradedIterator ¶
type VotingRegistryUpgradedIterator struct { Event *VotingRegistryUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VotingRegistryUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the VotingRegistry contract.
func (*VotingRegistryUpgradedIterator) Close ¶
func (it *VotingRegistryUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VotingRegistryUpgradedIterator) Error ¶
func (it *VotingRegistryUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VotingRegistryUpgradedIterator) Next ¶
func (it *VotingRegistryUpgradedIterator) 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 VotingSession ¶ added in v0.3.0
type VotingSession struct { Contract *Voting // 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 }
VotingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*VotingSession) Candidates ¶ added in v0.3.0
func (_Voting *VotingSession) Candidates(arg0 [32]byte) (bool, error)
Candidates is a free data retrieval call binding the contract method 0x1a0478d5.
Solidity: function candidates(bytes32 ) view returns(bool)
func (*VotingSession) GetProposalStatus ¶ added in v0.3.0
func (_Voting *VotingSession) GetProposalStatus() (uint8, error)
GetProposalStatus is a free data retrieval call binding the contract method 0xcfeb652e.
Solidity: function getProposalStatus() view returns(uint8)
func (*VotingSession) GetRegistrationAddresses ¶ added in v0.3.0
func (_Voting *VotingSession) GetRegistrationAddresses() ([]common.Address, error)
GetRegistrationAddresses is a free data retrieval call binding the contract method 0xe8188f97.
Solidity: function getRegistrationAddresses() view returns(address[])
func (*VotingSession) MAXCANDIDATES ¶ added in v0.3.0
func (_Voting *VotingSession) MAXCANDIDATES() (*big.Int, error)
MAXCANDIDATES is a free data retrieval call binding the contract method 0xf0786096.
Solidity: function MAX_CANDIDATES() view returns(uint256)
func (*VotingSession) Nullifiers ¶ added in v0.3.0
func (_Voting *VotingSession) Nullifiers(arg0 [32]byte) (bool, error)
Nullifiers is a free data retrieval call binding the contract method 0x2997e86b.
Solidity: function nullifiers(bytes32 ) view returns(bool)
func (*VotingSession) Registration ¶ added in v0.3.0
func (_Voting *VotingSession) Registration() (common.Address, error)
Registration is a free data retrieval call binding the contract method 0x443bd1d0.
Solidity: function registration() view returns(address)
func (*VotingSession) SupportsInterface ¶ added in v0.3.0
func (_Voting *VotingSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*VotingSession) Vote ¶ added in v0.3.0
func (_Voting *VotingSession) Vote(root_ [32]byte, nullifierHash_ [32]byte, candidate_ [32]byte, proof_ VerifierHelperProofPoints) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0x0d9eaa43.
Solidity: function vote(bytes32 root_, bytes32 nullifierHash_, bytes32 candidate_, (uint256[2],uint256[2][2],uint256[2]) proof_) returns()
func (*VotingSession) VoteVerifier ¶ added in v0.3.0
func (_Voting *VotingSession) VoteVerifier() (common.Address, error)
VoteVerifier is a free data retrieval call binding the contract method 0x99d74c71.
Solidity: function voteVerifier() view returns(address)
func (*VotingSession) VotesPerCandidate ¶ added in v0.3.0
func (_Voting *VotingSession) VotesPerCandidate(arg0 [32]byte) (*big.Int, error)
VotesPerCandidate is a free data retrieval call binding the contract method 0xe0d38faf.
Solidity: function votesPerCandidate(bytes32 ) view returns(uint256)
func (*VotingSession) VotingInfo ¶ added in v0.3.0
func (_Voting *VotingSession) VotingInfo() (struct { Remark string Values IVotingVotingValues Counters IVotingVotingCounters }, error)
VotingInfo is a free data retrieval call binding the contract method 0x19e7998c.
Solidity: function votingInfo() view returns(string remark, (uint256,uint256,bytes32[]) values, (uint256) counters)
func (*VotingSession) VotingInit ¶ added in v0.3.0
func (_Voting *VotingSession) VotingInit(votingParams_ IVotingVotingParams) (*types.Transaction, error)
VotingInit is a paid mutator transaction binding the contract method 0xf8bd2ace.
Solidity: function __Voting_init((address,string,uint256,uint256,bytes32[]) votingParams_) returns()
type VotingTransactor ¶ added in v0.3.0
type VotingTransactor struct {
// contains filtered or unexported fields
}
VotingTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewVotingTransactor ¶ added in v0.3.0
func NewVotingTransactor(address common.Address, transactor bind.ContractTransactor) (*VotingTransactor, error)
NewVotingTransactor creates a new write-only instance of Voting, bound to a specific deployed contract.
func (*VotingTransactor) Vote ¶ added in v0.3.0
func (_Voting *VotingTransactor) Vote(opts *bind.TransactOpts, root_ [32]byte, nullifierHash_ [32]byte, candidate_ [32]byte, proof_ VerifierHelperProofPoints) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0x0d9eaa43.
Solidity: function vote(bytes32 root_, bytes32 nullifierHash_, bytes32 candidate_, (uint256[2],uint256[2][2],uint256[2]) proof_) returns()
func (*VotingTransactor) VotingInit ¶ added in v0.3.0
func (_Voting *VotingTransactor) VotingInit(opts *bind.TransactOpts, votingParams_ IVotingVotingParams) (*types.Transaction, error)
VotingInit is a paid mutator transaction binding the contract method 0xf8bd2ace.
Solidity: function __Voting_init((address,string,uint256,uint256,bytes32[]) votingParams_) returns()
type VotingTransactorRaw ¶ added in v0.3.0
type VotingTransactorRaw struct {
Contract *VotingTransactor // Generic write-only contract binding to access the raw methods on
}
VotingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*VotingTransactorRaw) Transact ¶ added in v0.3.0
func (_Voting *VotingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VotingTransactorRaw) Transfer ¶ added in v0.3.0
func (_Voting *VotingTransactorRaw) 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 VotingTransactorSession ¶ added in v0.3.0
type VotingTransactorSession struct { Contract *VotingTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VotingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*VotingTransactorSession) Vote ¶ added in v0.3.0
func (_Voting *VotingTransactorSession) Vote(root_ [32]byte, nullifierHash_ [32]byte, candidate_ [32]byte, proof_ VerifierHelperProofPoints) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0x0d9eaa43.
Solidity: function vote(bytes32 root_, bytes32 nullifierHash_, bytes32 candidate_, (uint256[2],uint256[2][2],uint256[2]) proof_) returns()
func (*VotingTransactorSession) VotingInit ¶ added in v0.3.0
func (_Voting *VotingTransactorSession) VotingInit(votingParams_ IVotingVotingParams) (*types.Transaction, error)
VotingInit is a paid mutator transaction binding the contract method 0xf8bd2ace.
Solidity: function __Voting_init((address,string,uint256,uint256,bytes32[]) votingParams_) returns()
type VotingUserVoted ¶ added in v0.3.0
type VotingUserVoted struct { User common.Address Root [32]byte NullifierHash [32]byte Candidate [32]byte Raw types.Log // Blockchain specific contextual infos }
VotingUserVoted represents a UserVoted event raised by the Voting contract.
type VotingUserVotedIterator ¶ added in v0.3.0
type VotingUserVotedIterator struct { Event *VotingUserVoted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VotingUserVotedIterator is returned from FilterUserVoted and is used to iterate over the raw logs and unpacked data for UserVoted events raised by the Voting contract.
func (*VotingUserVotedIterator) Close ¶ added in v0.3.0
func (it *VotingUserVotedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VotingUserVotedIterator) Error ¶ added in v0.3.0
func (it *VotingUserVotedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VotingUserVotedIterator) Next ¶ added in v0.3.0
func (it *VotingUserVotedIterator) 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 VotingVotingInitialized ¶ added in v0.3.0
type VotingVotingInitialized struct { Proposer common.Address VotingParams IVotingVotingParams Raw types.Log // Blockchain specific contextual infos }
VotingVotingInitialized represents a VotingInitialized event raised by the Voting contract.
type VotingVotingInitializedIterator ¶ added in v0.3.0
type VotingVotingInitializedIterator struct { Event *VotingVotingInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VotingVotingInitializedIterator is returned from FilterVotingInitialized and is used to iterate over the raw logs and unpacked data for VotingInitialized events raised by the Voting contract.
func (*VotingVotingInitializedIterator) Close ¶ added in v0.3.0
func (it *VotingVotingInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VotingVotingInitializedIterator) Error ¶ added in v0.3.0
func (it *VotingVotingInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VotingVotingInitializedIterator) Next ¶ added in v0.3.0
func (it *VotingVotingInitializedIterator) 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.