biopassportvoting

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BioPassportVotingABI = BioPassportVotingMetaData.ABI

BioPassportVotingABI is the input ABI used to generate the binding from. Deprecated: Use BioPassportVotingMetaData.ABI instead.

View Source
var BioPassportVotingMetaData = &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\":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\":[],\"name\":\"IDENTITY_LIMIT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAGIC_ID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"P\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PROOF_SIGNALS_COUNT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SELECTOR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ZERO_DATE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer_\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"chainName_\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"registrationSMT_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"proposalsState_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"votingVerifier_\",\"type\":\"address\"}],\"name\":\"__BioPassportVoting_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\":\"uint8\",\"name\":\"methodId_\",\"type\":\"uint8\"}],\"name\":\"getNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proposalsState\",\"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\":\"registrationSMT\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"signer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"proof_\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"data_\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCallWithProof\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"proof_\",\"type\":\"bytes\"}],\"name\":\"upgradeToWithProof\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"registrationRoot_\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"currentDate_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"proposalId_\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"vote_\",\"type\":\"uint256[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"nullifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"citizenship\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"identityCreationTimestamp\",\"type\":\"uint256\"}],\"internalType\":\"structBaseVoting.UserData\",\"name\":\"userData_\",\"type\":\"tuple\"},{\"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\":\"zkPoints_\",\"type\":\"tuple\"}],\"name\":\"vote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"votingVerifier\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

BioPassportVotingMetaData contains all meta data concerning the BioPassportVoting contract.

Functions

This section is empty.

Types

type BaseVotingUserData

type BaseVotingUserData struct {
	Nullifier                 *big.Int
	Citizenship               *big.Int
	IdentityCreationTimestamp *big.Int
}

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

type BioPassportVoting

type BioPassportVoting struct {
	BioPassportVotingCaller     // Read-only binding to the contract
	BioPassportVotingTransactor // Write-only binding to the contract
	BioPassportVotingFilterer   // Log filterer for contract events
}

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

func NewBioPassportVoting

func NewBioPassportVoting(address common.Address, backend bind.ContractBackend) (*BioPassportVoting, error)

NewBioPassportVoting creates a new instance of BioPassportVoting, bound to a specific deployed contract.

type BioPassportVotingAdminChanged

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

BioPassportVotingAdminChanged represents a AdminChanged event raised by the BioPassportVoting contract.

type BioPassportVotingAdminChangedIterator

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

BioPassportVotingAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the BioPassportVoting contract.

func (*BioPassportVotingAdminChangedIterator) Close

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

func (*BioPassportVotingAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BioPassportVotingAdminChangedIterator) Next

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

type BioPassportVotingBeaconUpgraded

type BioPassportVotingBeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

BioPassportVotingBeaconUpgraded represents a BeaconUpgraded event raised by the BioPassportVoting contract.

type BioPassportVotingBeaconUpgradedIterator

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

BioPassportVotingBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the BioPassportVoting contract.

func (*BioPassportVotingBeaconUpgradedIterator) Close

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

func (*BioPassportVotingBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BioPassportVotingBeaconUpgradedIterator) Next

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

type BioPassportVotingCaller

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

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

func NewBioPassportVotingCaller

func NewBioPassportVotingCaller(address common.Address, caller bind.ContractCaller) (*BioPassportVotingCaller, error)

NewBioPassportVotingCaller creates a new read-only instance of BioPassportVoting, bound to a specific deployed contract.

func (*BioPassportVotingCaller) ChainName

func (_BioPassportVoting *BioPassportVotingCaller) 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 (*BioPassportVotingCaller) GetNonce

func (_BioPassportVoting *BioPassportVotingCaller) GetNonce(opts *bind.CallOpts, methodId_ uint8) (*big.Int, error)

GetNonce is a free data retrieval call binding the contract method 0xf4fc6341.

Solidity: function getNonce(uint8 methodId_) view returns(uint256)

func (*BioPassportVotingCaller) IDENTITYLIMIT

func (_BioPassportVoting *BioPassportVotingCaller) IDENTITYLIMIT(opts *bind.CallOpts) (*big.Int, error)

IDENTITYLIMIT is a free data retrieval call binding the contract method 0x7995c0f3.

Solidity: function IDENTITY_LIMIT() view returns(uint256)

func (*BioPassportVotingCaller) Implementation

func (_BioPassportVoting *BioPassportVotingCaller) Implementation(opts *bind.CallOpts) (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*BioPassportVotingCaller) MAGICID

func (_BioPassportVoting *BioPassportVotingCaller) MAGICID(opts *bind.CallOpts) (uint8, error)

MAGICID is a free data retrieval call binding the contract method 0xdf95574a.

Solidity: function MAGIC_ID() view returns(uint8)

func (*BioPassportVotingCaller) Owner

func (_BioPassportVoting *BioPassportVotingCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BioPassportVotingCaller) P

func (_BioPassportVoting *BioPassportVotingCaller) P(opts *bind.CallOpts) (*big.Int, error)

P is a free data retrieval call binding the contract method 0x8b8fbd92.

Solidity: function P() view returns(uint256)

func (*BioPassportVotingCaller) PROOFSIGNALSCOUNT

func (_BioPassportVoting *BioPassportVotingCaller) PROOFSIGNALSCOUNT(opts *bind.CallOpts) (*big.Int, error)

PROOFSIGNALSCOUNT is a free data retrieval call binding the contract method 0xbdb4017f.

Solidity: function PROOF_SIGNALS_COUNT() view returns(uint256)

func (*BioPassportVotingCaller) ProposalsState

func (_BioPassportVoting *BioPassportVotingCaller) ProposalsState(opts *bind.CallOpts) (common.Address, error)

ProposalsState is a free data retrieval call binding the contract method 0x3af4e407.

Solidity: function proposalsState() view returns(address)

func (*BioPassportVotingCaller) ProxiableUUID

func (_BioPassportVoting *BioPassportVotingCaller) 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 (*BioPassportVotingCaller) RegistrationSMT

func (_BioPassportVoting *BioPassportVotingCaller) RegistrationSMT(opts *bind.CallOpts) (common.Address, error)

RegistrationSMT is a free data retrieval call binding the contract method 0x24a518a5.

Solidity: function registrationSMT() view returns(address)

func (*BioPassportVotingCaller) SELECTOR

func (_BioPassportVoting *BioPassportVotingCaller) SELECTOR(opts *bind.CallOpts) (*big.Int, error)

SELECTOR is a free data retrieval call binding the contract method 0x053c238d.

Solidity: function SELECTOR() view returns(uint256)

func (*BioPassportVotingCaller) Signer

func (_BioPassportVoting *BioPassportVotingCaller) 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 (*BioPassportVotingCaller) VotingVerifier

func (_BioPassportVoting *BioPassportVotingCaller) VotingVerifier(opts *bind.CallOpts) (common.Address, error)

VotingVerifier is a free data retrieval call binding the contract method 0x1f2c317f.

Solidity: function votingVerifier() view returns(address)

func (*BioPassportVotingCaller) ZERODATE

func (_BioPassportVoting *BioPassportVotingCaller) ZERODATE(opts *bind.CallOpts) (*big.Int, error)

ZERODATE is a free data retrieval call binding the contract method 0x2c15be3c.

Solidity: function ZERO_DATE() view returns(uint256)

type BioPassportVotingCallerRaw

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

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

func (*BioPassportVotingCallerRaw) Call

func (_BioPassportVoting *BioPassportVotingCallerRaw) 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 BioPassportVotingCallerSession

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

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

func (*BioPassportVotingCallerSession) ChainName

func (_BioPassportVoting *BioPassportVotingCallerSession) ChainName() (string, error)

ChainName is a free data retrieval call binding the contract method 0x1c93b03a.

Solidity: function chainName() view returns(string)

func (*BioPassportVotingCallerSession) GetNonce

func (_BioPassportVoting *BioPassportVotingCallerSession) GetNonce(methodId_ uint8) (*big.Int, error)

GetNonce is a free data retrieval call binding the contract method 0xf4fc6341.

Solidity: function getNonce(uint8 methodId_) view returns(uint256)

func (*BioPassportVotingCallerSession) IDENTITYLIMIT

func (_BioPassportVoting *BioPassportVotingCallerSession) IDENTITYLIMIT() (*big.Int, error)

IDENTITYLIMIT is a free data retrieval call binding the contract method 0x7995c0f3.

Solidity: function IDENTITY_LIMIT() view returns(uint256)

func (*BioPassportVotingCallerSession) Implementation

func (_BioPassportVoting *BioPassportVotingCallerSession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*BioPassportVotingCallerSession) MAGICID

func (_BioPassportVoting *BioPassportVotingCallerSession) MAGICID() (uint8, error)

MAGICID is a free data retrieval call binding the contract method 0xdf95574a.

Solidity: function MAGIC_ID() view returns(uint8)

func (*BioPassportVotingCallerSession) Owner

func (_BioPassportVoting *BioPassportVotingCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BioPassportVotingCallerSession) P

func (_BioPassportVoting *BioPassportVotingCallerSession) P() (*big.Int, error)

P is a free data retrieval call binding the contract method 0x8b8fbd92.

Solidity: function P() view returns(uint256)

func (*BioPassportVotingCallerSession) PROOFSIGNALSCOUNT

func (_BioPassportVoting *BioPassportVotingCallerSession) PROOFSIGNALSCOUNT() (*big.Int, error)

PROOFSIGNALSCOUNT is a free data retrieval call binding the contract method 0xbdb4017f.

Solidity: function PROOF_SIGNALS_COUNT() view returns(uint256)

func (*BioPassportVotingCallerSession) ProposalsState

func (_BioPassportVoting *BioPassportVotingCallerSession) ProposalsState() (common.Address, error)

ProposalsState is a free data retrieval call binding the contract method 0x3af4e407.

Solidity: function proposalsState() view returns(address)

func (*BioPassportVotingCallerSession) ProxiableUUID

func (_BioPassportVoting *BioPassportVotingCallerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*BioPassportVotingCallerSession) RegistrationSMT

func (_BioPassportVoting *BioPassportVotingCallerSession) RegistrationSMT() (common.Address, error)

RegistrationSMT is a free data retrieval call binding the contract method 0x24a518a5.

Solidity: function registrationSMT() view returns(address)

func (*BioPassportVotingCallerSession) SELECTOR

func (_BioPassportVoting *BioPassportVotingCallerSession) SELECTOR() (*big.Int, error)

SELECTOR is a free data retrieval call binding the contract method 0x053c238d.

Solidity: function SELECTOR() view returns(uint256)

func (*BioPassportVotingCallerSession) Signer

func (_BioPassportVoting *BioPassportVotingCallerSession) Signer() (common.Address, error)

Signer is a free data retrieval call binding the contract method 0x238ac933.

Solidity: function signer() view returns(address)

func (*BioPassportVotingCallerSession) VotingVerifier

func (_BioPassportVoting *BioPassportVotingCallerSession) VotingVerifier() (common.Address, error)

VotingVerifier is a free data retrieval call binding the contract method 0x1f2c317f.

Solidity: function votingVerifier() view returns(address)

func (*BioPassportVotingCallerSession) ZERODATE

func (_BioPassportVoting *BioPassportVotingCallerSession) ZERODATE() (*big.Int, error)

ZERODATE is a free data retrieval call binding the contract method 0x2c15be3c.

Solidity: function ZERO_DATE() view returns(uint256)

type BioPassportVotingFilterer

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

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

func NewBioPassportVotingFilterer

func NewBioPassportVotingFilterer(address common.Address, filterer bind.ContractFilterer) (*BioPassportVotingFilterer, error)

NewBioPassportVotingFilterer creates a new log filterer instance of BioPassportVoting, bound to a specific deployed contract.

func (*BioPassportVotingFilterer) FilterAdminChanged

func (_BioPassportVoting *BioPassportVotingFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*BioPassportVotingAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*BioPassportVotingFilterer) FilterBeaconUpgraded

func (_BioPassportVoting *BioPassportVotingFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*BioPassportVotingBeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*BioPassportVotingFilterer) FilterInitialized

func (_BioPassportVoting *BioPassportVotingFilterer) FilterInitialized(opts *bind.FilterOpts) (*BioPassportVotingInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*BioPassportVotingFilterer) FilterOwnershipTransferred

func (_BioPassportVoting *BioPassportVotingFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BioPassportVotingOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BioPassportVotingFilterer) FilterUpgraded

func (_BioPassportVoting *BioPassportVotingFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*BioPassportVotingUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*BioPassportVotingFilterer) ParseAdminChanged

func (_BioPassportVoting *BioPassportVotingFilterer) ParseAdminChanged(log types.Log) (*BioPassportVotingAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*BioPassportVotingFilterer) ParseBeaconUpgraded

func (_BioPassportVoting *BioPassportVotingFilterer) ParseBeaconUpgraded(log types.Log) (*BioPassportVotingBeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*BioPassportVotingFilterer) ParseInitialized

func (_BioPassportVoting *BioPassportVotingFilterer) ParseInitialized(log types.Log) (*BioPassportVotingInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*BioPassportVotingFilterer) ParseOwnershipTransferred

func (_BioPassportVoting *BioPassportVotingFilterer) ParseOwnershipTransferred(log types.Log) (*BioPassportVotingOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BioPassportVotingFilterer) ParseUpgraded

func (_BioPassportVoting *BioPassportVotingFilterer) ParseUpgraded(log types.Log) (*BioPassportVotingUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*BioPassportVotingFilterer) WatchAdminChanged

func (_BioPassportVoting *BioPassportVotingFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *BioPassportVotingAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*BioPassportVotingFilterer) WatchBeaconUpgraded

func (_BioPassportVoting *BioPassportVotingFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *BioPassportVotingBeaconUpgraded, 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 (*BioPassportVotingFilterer) WatchInitialized

func (_BioPassportVoting *BioPassportVotingFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *BioPassportVotingInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*BioPassportVotingFilterer) WatchOwnershipTransferred

func (_BioPassportVoting *BioPassportVotingFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BioPassportVotingOwnershipTransferred, 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 (*BioPassportVotingFilterer) WatchUpgraded

func (_BioPassportVoting *BioPassportVotingFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *BioPassportVotingUpgraded, 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 BioPassportVotingInitialized

type BioPassportVotingInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

BioPassportVotingInitialized represents a Initialized event raised by the BioPassportVoting contract.

type BioPassportVotingInitializedIterator

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

BioPassportVotingInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the BioPassportVoting contract.

func (*BioPassportVotingInitializedIterator) Close

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

func (*BioPassportVotingInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BioPassportVotingInitializedIterator) Next

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

type BioPassportVotingOwnershipTransferred

type BioPassportVotingOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BioPassportVotingOwnershipTransferred represents a OwnershipTransferred event raised by the BioPassportVoting contract.

type BioPassportVotingOwnershipTransferredIterator

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

BioPassportVotingOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the BioPassportVoting contract.

func (*BioPassportVotingOwnershipTransferredIterator) Close

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

func (*BioPassportVotingOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BioPassportVotingOwnershipTransferredIterator) Next

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

type BioPassportVotingRaw

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

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

func (*BioPassportVotingRaw) Call

func (_BioPassportVoting *BioPassportVotingRaw) 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 (*BioPassportVotingRaw) Transact

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

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

func (*BioPassportVotingRaw) Transfer

func (_BioPassportVoting *BioPassportVotingRaw) 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 BioPassportVotingSession

type BioPassportVotingSession struct {
	Contract     *BioPassportVoting // 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
}

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

func (*BioPassportVotingSession) BioPassportVotingInit

func (_BioPassportVoting *BioPassportVotingSession) BioPassportVotingInit(signer_ common.Address, chainName_ string, registrationSMT_ common.Address, proposalsState_ common.Address, votingVerifier_ common.Address) (*types.Transaction, error)

BioPassportVotingInit is a paid mutator transaction binding the contract method 0x28986015.

Solidity: function __BioPassportVoting_init(address signer_, string chainName_, address registrationSMT_, address proposalsState_, address votingVerifier_) returns()

func (*BioPassportVotingSession) ChainName

func (_BioPassportVoting *BioPassportVotingSession) ChainName() (string, error)

ChainName is a free data retrieval call binding the contract method 0x1c93b03a.

Solidity: function chainName() view returns(string)

func (*BioPassportVotingSession) ChangeSigner

func (_BioPassportVoting *BioPassportVotingSession) 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 (*BioPassportVotingSession) GetNonce

func (_BioPassportVoting *BioPassportVotingSession) GetNonce(methodId_ uint8) (*big.Int, error)

GetNonce is a free data retrieval call binding the contract method 0xf4fc6341.

Solidity: function getNonce(uint8 methodId_) view returns(uint256)

func (*BioPassportVotingSession) IDENTITYLIMIT

func (_BioPassportVoting *BioPassportVotingSession) IDENTITYLIMIT() (*big.Int, error)

IDENTITYLIMIT is a free data retrieval call binding the contract method 0x7995c0f3.

Solidity: function IDENTITY_LIMIT() view returns(uint256)

func (*BioPassportVotingSession) Implementation

func (_BioPassportVoting *BioPassportVotingSession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*BioPassportVotingSession) MAGICID

func (_BioPassportVoting *BioPassportVotingSession) MAGICID() (uint8, error)

MAGICID is a free data retrieval call binding the contract method 0xdf95574a.

Solidity: function MAGIC_ID() view returns(uint8)

func (*BioPassportVotingSession) Owner

func (_BioPassportVoting *BioPassportVotingSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BioPassportVotingSession) P

func (_BioPassportVoting *BioPassportVotingSession) P() (*big.Int, error)

P is a free data retrieval call binding the contract method 0x8b8fbd92.

Solidity: function P() view returns(uint256)

func (*BioPassportVotingSession) PROOFSIGNALSCOUNT

func (_BioPassportVoting *BioPassportVotingSession) PROOFSIGNALSCOUNT() (*big.Int, error)

PROOFSIGNALSCOUNT is a free data retrieval call binding the contract method 0xbdb4017f.

Solidity: function PROOF_SIGNALS_COUNT() view returns(uint256)

func (*BioPassportVotingSession) ProposalsState

func (_BioPassportVoting *BioPassportVotingSession) ProposalsState() (common.Address, error)

ProposalsState is a free data retrieval call binding the contract method 0x3af4e407.

Solidity: function proposalsState() view returns(address)

func (*BioPassportVotingSession) ProxiableUUID

func (_BioPassportVoting *BioPassportVotingSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*BioPassportVotingSession) RegistrationSMT

func (_BioPassportVoting *BioPassportVotingSession) RegistrationSMT() (common.Address, error)

RegistrationSMT is a free data retrieval call binding the contract method 0x24a518a5.

Solidity: function registrationSMT() view returns(address)

func (*BioPassportVotingSession) RenounceOwnership

func (_BioPassportVoting *BioPassportVotingSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BioPassportVotingSession) SELECTOR

func (_BioPassportVoting *BioPassportVotingSession) SELECTOR() (*big.Int, error)

SELECTOR is a free data retrieval call binding the contract method 0x053c238d.

Solidity: function SELECTOR() view returns(uint256)

func (*BioPassportVotingSession) Signer

func (_BioPassportVoting *BioPassportVotingSession) Signer() (common.Address, error)

Signer is a free data retrieval call binding the contract method 0x238ac933.

Solidity: function signer() view returns(address)

func (*BioPassportVotingSession) TransferOwnership

func (_BioPassportVoting *BioPassportVotingSession) 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 (*BioPassportVotingSession) UpgradeTo

func (_BioPassportVoting *BioPassportVotingSession) 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 (*BioPassportVotingSession) UpgradeToAndCall

func (_BioPassportVoting *BioPassportVotingSession) 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 (*BioPassportVotingSession) UpgradeToAndCallWithProof

func (_BioPassportVoting *BioPassportVotingSession) UpgradeToAndCallWithProof(newImplementation_ common.Address, proof_ []byte, data_ []byte) (*types.Transaction, error)

UpgradeToAndCallWithProof is a paid mutator transaction binding the contract method 0xbf2c6db7.

Solidity: function upgradeToAndCallWithProof(address newImplementation_, bytes proof_, bytes data_) returns()

func (*BioPassportVotingSession) UpgradeToWithProof

func (_BioPassportVoting *BioPassportVotingSession) UpgradeToWithProof(newImplementation_ common.Address, proof_ []byte) (*types.Transaction, error)

UpgradeToWithProof is a paid mutator transaction binding the contract method 0x628543ab.

Solidity: function upgradeToWithProof(address newImplementation_, bytes proof_) returns()

func (*BioPassportVotingSession) Vote

func (_BioPassportVoting *BioPassportVotingSession) Vote(registrationRoot_ [32]byte, currentDate_ *big.Int, proposalId_ *big.Int, vote_ []*big.Int, userData_ BaseVotingUserData, zkPoints_ VerifierHelperProofPoints) (*types.Transaction, error)

Vote is a paid mutator transaction binding the contract method 0x11181976.

Solidity: function vote(bytes32 registrationRoot_, uint256 currentDate_, uint256 proposalId_, uint256[] vote_, (uint256,uint256,uint256) userData_, (uint256[2],uint256[2][2],uint256[2]) zkPoints_) returns()

func (*BioPassportVotingSession) VotingVerifier

func (_BioPassportVoting *BioPassportVotingSession) VotingVerifier() (common.Address, error)

VotingVerifier is a free data retrieval call binding the contract method 0x1f2c317f.

Solidity: function votingVerifier() view returns(address)

func (*BioPassportVotingSession) ZERODATE

func (_BioPassportVoting *BioPassportVotingSession) ZERODATE() (*big.Int, error)

ZERODATE is a free data retrieval call binding the contract method 0x2c15be3c.

Solidity: function ZERO_DATE() view returns(uint256)

type BioPassportVotingTransactor

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

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

func NewBioPassportVotingTransactor

func NewBioPassportVotingTransactor(address common.Address, transactor bind.ContractTransactor) (*BioPassportVotingTransactor, error)

NewBioPassportVotingTransactor creates a new write-only instance of BioPassportVoting, bound to a specific deployed contract.

func (*BioPassportVotingTransactor) BioPassportVotingInit

func (_BioPassportVoting *BioPassportVotingTransactor) BioPassportVotingInit(opts *bind.TransactOpts, signer_ common.Address, chainName_ string, registrationSMT_ common.Address, proposalsState_ common.Address, votingVerifier_ common.Address) (*types.Transaction, error)

BioPassportVotingInit is a paid mutator transaction binding the contract method 0x28986015.

Solidity: function __BioPassportVoting_init(address signer_, string chainName_, address registrationSMT_, address proposalsState_, address votingVerifier_) returns()

func (*BioPassportVotingTransactor) ChangeSigner

func (_BioPassportVoting *BioPassportVotingTransactor) 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 (*BioPassportVotingTransactor) RenounceOwnership

func (_BioPassportVoting *BioPassportVotingTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BioPassportVotingTransactor) TransferOwnership

func (_BioPassportVoting *BioPassportVotingTransactor) 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 (*BioPassportVotingTransactor) UpgradeTo

func (_BioPassportVoting *BioPassportVotingTransactor) 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 (*BioPassportVotingTransactor) UpgradeToAndCall

func (_BioPassportVoting *BioPassportVotingTransactor) 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 (*BioPassportVotingTransactor) UpgradeToAndCallWithProof

func (_BioPassportVoting *BioPassportVotingTransactor) UpgradeToAndCallWithProof(opts *bind.TransactOpts, newImplementation_ common.Address, proof_ []byte, data_ []byte) (*types.Transaction, error)

UpgradeToAndCallWithProof is a paid mutator transaction binding the contract method 0xbf2c6db7.

Solidity: function upgradeToAndCallWithProof(address newImplementation_, bytes proof_, bytes data_) returns()

func (*BioPassportVotingTransactor) UpgradeToWithProof

func (_BioPassportVoting *BioPassportVotingTransactor) UpgradeToWithProof(opts *bind.TransactOpts, newImplementation_ common.Address, proof_ []byte) (*types.Transaction, error)

UpgradeToWithProof is a paid mutator transaction binding the contract method 0x628543ab.

Solidity: function upgradeToWithProof(address newImplementation_, bytes proof_) returns()

func (*BioPassportVotingTransactor) Vote

func (_BioPassportVoting *BioPassportVotingTransactor) Vote(opts *bind.TransactOpts, registrationRoot_ [32]byte, currentDate_ *big.Int, proposalId_ *big.Int, vote_ []*big.Int, userData_ BaseVotingUserData, zkPoints_ VerifierHelperProofPoints) (*types.Transaction, error)

Vote is a paid mutator transaction binding the contract method 0x11181976.

Solidity: function vote(bytes32 registrationRoot_, uint256 currentDate_, uint256 proposalId_, uint256[] vote_, (uint256,uint256,uint256) userData_, (uint256[2],uint256[2][2],uint256[2]) zkPoints_) returns()

type BioPassportVotingTransactorRaw

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

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

func (*BioPassportVotingTransactorRaw) Transact

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

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

func (*BioPassportVotingTransactorRaw) Transfer

func (_BioPassportVoting *BioPassportVotingTransactorRaw) 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 BioPassportVotingTransactorSession

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

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

func (*BioPassportVotingTransactorSession) BioPassportVotingInit

func (_BioPassportVoting *BioPassportVotingTransactorSession) BioPassportVotingInit(signer_ common.Address, chainName_ string, registrationSMT_ common.Address, proposalsState_ common.Address, votingVerifier_ common.Address) (*types.Transaction, error)

BioPassportVotingInit is a paid mutator transaction binding the contract method 0x28986015.

Solidity: function __BioPassportVoting_init(address signer_, string chainName_, address registrationSMT_, address proposalsState_, address votingVerifier_) returns()

func (*BioPassportVotingTransactorSession) ChangeSigner

func (_BioPassportVoting *BioPassportVotingTransactorSession) 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 (*BioPassportVotingTransactorSession) RenounceOwnership

func (_BioPassportVoting *BioPassportVotingTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BioPassportVotingTransactorSession) TransferOwnership

func (_BioPassportVoting *BioPassportVotingTransactorSession) 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 (*BioPassportVotingTransactorSession) UpgradeTo

func (_BioPassportVoting *BioPassportVotingTransactorSession) 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 (*BioPassportVotingTransactorSession) UpgradeToAndCall

func (_BioPassportVoting *BioPassportVotingTransactorSession) 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 (*BioPassportVotingTransactorSession) UpgradeToAndCallWithProof

func (_BioPassportVoting *BioPassportVotingTransactorSession) UpgradeToAndCallWithProof(newImplementation_ common.Address, proof_ []byte, data_ []byte) (*types.Transaction, error)

UpgradeToAndCallWithProof is a paid mutator transaction binding the contract method 0xbf2c6db7.

Solidity: function upgradeToAndCallWithProof(address newImplementation_, bytes proof_, bytes data_) returns()

func (*BioPassportVotingTransactorSession) UpgradeToWithProof

func (_BioPassportVoting *BioPassportVotingTransactorSession) UpgradeToWithProof(newImplementation_ common.Address, proof_ []byte) (*types.Transaction, error)

UpgradeToWithProof is a paid mutator transaction binding the contract method 0x628543ab.

Solidity: function upgradeToWithProof(address newImplementation_, bytes proof_) returns()

func (*BioPassportVotingTransactorSession) Vote

func (_BioPassportVoting *BioPassportVotingTransactorSession) Vote(registrationRoot_ [32]byte, currentDate_ *big.Int, proposalId_ *big.Int, vote_ []*big.Int, userData_ BaseVotingUserData, zkPoints_ VerifierHelperProofPoints) (*types.Transaction, error)

Vote is a paid mutator transaction binding the contract method 0x11181976.

Solidity: function vote(bytes32 registrationRoot_, uint256 currentDate_, uint256 proposalId_, uint256[] vote_, (uint256,uint256,uint256) userData_, (uint256[2],uint256[2][2],uint256[2]) zkPoints_) returns()

type BioPassportVotingUpgraded

type BioPassportVotingUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

BioPassportVotingUpgraded represents a Upgraded event raised by the BioPassportVoting contract.

type BioPassportVotingUpgradedIterator

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

BioPassportVotingUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the BioPassportVoting contract.

func (*BioPassportVotingUpgradedIterator) Close

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

func (*BioPassportVotingUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BioPassportVotingUpgradedIterator) Next

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

type VerifierHelperProofPoints

type VerifierHelperProofPoints struct {
	A [2]*big.Int
	B [2][2]*big.Int
	C [2]*big.Int
}

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

Jump to

Keyboard shortcuts

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