Documentation
¶
Index ¶
- Constants
- func ParseAccountsABI() (*abi.ABI, error)
- func ParseElectionABI() (*abi.ABI, error)
- func ParseEpochRewardsABI() (*abi.ABI, error)
- func ParseGasPriceMinimumABI() (*abi.ABI, error)
- func ParseLockedGoldABI() (*abi.ABI, error)
- func ParseRegistryABI() (*abi.ABI, error)
- func ParseStableTokenABI() (*abi.ABI, error)
- func ParseValidatorsABI() (*abi.ABI, error)
- type Accounts
- type AccountsAccountCreated
- type AccountsAccountCreatedIterator
- type AccountsAccountDataEncryptionKeySet
- type AccountsAccountDataEncryptionKeySetIterator
- type AccountsAccountMetadataURLSet
- type AccountsAccountMetadataURLSetIterator
- type AccountsAccountNameSet
- type AccountsAccountNameSetIterator
- type AccountsAccountWalletAddressSet
- type AccountsAccountWalletAddressSetIterator
- type AccountsAttestationSignerAuthorized
- type AccountsAttestationSignerAuthorizedIterator
- type AccountsAttestationSignerRemoved
- type AccountsAttestationSignerRemovedIterator
- type AccountsCaller
- func (_Accounts *AccountsCaller) AttestationSignerToAccount(opts *bind.CallOpts, signer common.Address) (common.Address, error)
- func (_Accounts *AccountsCaller) AuthorizedBy(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)
- func (_Accounts *AccountsCaller) BatchGetMetadataURL(opts *bind.CallOpts, accountsToQuery []common.Address) ([]*big.Int, []byte, error)
- func (_Accounts *AccountsCaller) GetAttestationSigner(opts *bind.CallOpts, account common.Address) (common.Address, error)
- func (_Accounts *AccountsCaller) GetDataEncryptionKey(opts *bind.CallOpts, account common.Address) ([]byte, error)
- func (_Accounts *AccountsCaller) GetMetadataURL(opts *bind.CallOpts, account common.Address) (string, error)
- func (_Accounts *AccountsCaller) GetName(opts *bind.CallOpts, account common.Address) (string, error)
- func (_Accounts *AccountsCaller) GetValidatorSigner(opts *bind.CallOpts, account common.Address) (common.Address, error)
- func (_Accounts *AccountsCaller) GetVoteSigner(opts *bind.CallOpts, account common.Address) (common.Address, error)
- func (_Accounts *AccountsCaller) GetWalletAddress(opts *bind.CallOpts, account common.Address) (common.Address, error)
- func (_Accounts *AccountsCaller) HasAuthorizedAttestationSigner(opts *bind.CallOpts, account common.Address) (bool, error)
- func (_Accounts *AccountsCaller) HasAuthorizedValidatorSigner(opts *bind.CallOpts, account common.Address) (bool, error)
- func (_Accounts *AccountsCaller) HasAuthorizedVoteSigner(opts *bind.CallOpts, account common.Address) (bool, error)
- func (_Accounts *AccountsCaller) Initialized(opts *bind.CallOpts) (bool, error)
- func (_Accounts *AccountsCaller) IsAccount(opts *bind.CallOpts, account common.Address) (bool, error)
- func (_Accounts *AccountsCaller) IsAuthorizedSigner(opts *bind.CallOpts, signer common.Address) (bool, error)
- func (_Accounts *AccountsCaller) IsOwner(opts *bind.CallOpts) (bool, error)
- func (_Accounts *AccountsCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Accounts *AccountsCaller) Registry(opts *bind.CallOpts) (common.Address, error)
- func (_Accounts *AccountsCaller) SignerToAccount(opts *bind.CallOpts, signer common.Address) (common.Address, error)
- func (_Accounts *AccountsCaller) ValidatorSignerToAccount(opts *bind.CallOpts, signer common.Address) (common.Address, error)
- func (_Accounts *AccountsCaller) VoteSignerToAccount(opts *bind.CallOpts, signer common.Address) (common.Address, error)
- type AccountsCallerRaw
- type AccountsCallerSession
- func (_Accounts *AccountsCallerSession) AttestationSignerToAccount(signer common.Address) (common.Address, error)
- func (_Accounts *AccountsCallerSession) AuthorizedBy(arg0 common.Address) (common.Address, error)
- func (_Accounts *AccountsCallerSession) BatchGetMetadataURL(accountsToQuery []common.Address) ([]*big.Int, []byte, error)
- func (_Accounts *AccountsCallerSession) GetAttestationSigner(account common.Address) (common.Address, error)
- func (_Accounts *AccountsCallerSession) GetDataEncryptionKey(account common.Address) ([]byte, error)
- func (_Accounts *AccountsCallerSession) GetMetadataURL(account common.Address) (string, error)
- func (_Accounts *AccountsCallerSession) GetName(account common.Address) (string, error)
- func (_Accounts *AccountsCallerSession) GetValidatorSigner(account common.Address) (common.Address, error)
- func (_Accounts *AccountsCallerSession) GetVoteSigner(account common.Address) (common.Address, error)
- func (_Accounts *AccountsCallerSession) GetWalletAddress(account common.Address) (common.Address, error)
- func (_Accounts *AccountsCallerSession) HasAuthorizedAttestationSigner(account common.Address) (bool, error)
- func (_Accounts *AccountsCallerSession) HasAuthorizedValidatorSigner(account common.Address) (bool, error)
- func (_Accounts *AccountsCallerSession) HasAuthorizedVoteSigner(account common.Address) (bool, error)
- func (_Accounts *AccountsCallerSession) Initialized() (bool, error)
- func (_Accounts *AccountsCallerSession) IsAccount(account common.Address) (bool, error)
- func (_Accounts *AccountsCallerSession) IsAuthorizedSigner(signer common.Address) (bool, error)
- func (_Accounts *AccountsCallerSession) IsOwner() (bool, error)
- func (_Accounts *AccountsCallerSession) Owner() (common.Address, error)
- func (_Accounts *AccountsCallerSession) Registry() (common.Address, error)
- func (_Accounts *AccountsCallerSession) SignerToAccount(signer common.Address) (common.Address, error)
- func (_Accounts *AccountsCallerSession) ValidatorSignerToAccount(signer common.Address) (common.Address, error)
- func (_Accounts *AccountsCallerSession) VoteSignerToAccount(signer common.Address) (common.Address, error)
- type AccountsFilterer
- func (_Accounts *AccountsFilterer) FilterAccountCreated(opts *bind.FilterOpts, account []common.Address) (*AccountsAccountCreatedIterator, error)
- func (_Accounts *AccountsFilterer) FilterAccountDataEncryptionKeySet(opts *bind.FilterOpts, account []common.Address) (*AccountsAccountDataEncryptionKeySetIterator, error)
- func (_Accounts *AccountsFilterer) FilterAccountMetadataURLSet(opts *bind.FilterOpts, account []common.Address) (*AccountsAccountMetadataURLSetIterator, error)
- func (_Accounts *AccountsFilterer) FilterAccountNameSet(opts *bind.FilterOpts, account []common.Address) (*AccountsAccountNameSetIterator, error)
- func (_Accounts *AccountsFilterer) FilterAccountWalletAddressSet(opts *bind.FilterOpts, account []common.Address) (*AccountsAccountWalletAddressSetIterator, error)
- func (_Accounts *AccountsFilterer) FilterAttestationSignerAuthorized(opts *bind.FilterOpts, account []common.Address) (*AccountsAttestationSignerAuthorizedIterator, error)
- func (_Accounts *AccountsFilterer) FilterAttestationSignerRemoved(opts *bind.FilterOpts, account []common.Address) (*AccountsAttestationSignerRemovedIterator, error)
- func (_Accounts *AccountsFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*AccountsOwnershipTransferredIterator, error)
- func (_Accounts *AccountsFilterer) FilterRegistrySet(opts *bind.FilterOpts, registryAddress []common.Address) (*AccountsRegistrySetIterator, error)
- func (_Accounts *AccountsFilterer) FilterValidatorSignerAuthorized(opts *bind.FilterOpts, account []common.Address) (*AccountsValidatorSignerAuthorizedIterator, error)
- func (_Accounts *AccountsFilterer) FilterValidatorSignerRemoved(opts *bind.FilterOpts, account []common.Address) (*AccountsValidatorSignerRemovedIterator, error)
- func (_Accounts *AccountsFilterer) FilterVoteSignerAuthorized(opts *bind.FilterOpts, account []common.Address) (*AccountsVoteSignerAuthorizedIterator, error)
- func (_Accounts *AccountsFilterer) FilterVoteSignerRemoved(opts *bind.FilterOpts, account []common.Address) (*AccountsVoteSignerRemovedIterator, error)
- func (_Accounts *AccountsFilterer) ParseAccountCreated(log types.Log) (*AccountsAccountCreated, error)
- func (_Accounts *AccountsFilterer) ParseAccountDataEncryptionKeySet(log types.Log) (*AccountsAccountDataEncryptionKeySet, error)
- func (_Accounts *AccountsFilterer) ParseAccountMetadataURLSet(log types.Log) (*AccountsAccountMetadataURLSet, error)
- func (_Accounts *AccountsFilterer) ParseAccountNameSet(log types.Log) (*AccountsAccountNameSet, error)
- func (_Accounts *AccountsFilterer) ParseAccountWalletAddressSet(log types.Log) (*AccountsAccountWalletAddressSet, error)
- func (_Accounts *AccountsFilterer) ParseAttestationSignerAuthorized(log types.Log) (*AccountsAttestationSignerAuthorized, error)
- func (_Accounts *AccountsFilterer) ParseAttestationSignerRemoved(log types.Log) (*AccountsAttestationSignerRemoved, error)
- func (_Accounts *AccountsFilterer) ParseOwnershipTransferred(log types.Log) (*AccountsOwnershipTransferred, error)
- func (_Accounts *AccountsFilterer) ParseRegistrySet(log types.Log) (*AccountsRegistrySet, error)
- func (_Accounts *AccountsFilterer) ParseValidatorSignerAuthorized(log types.Log) (*AccountsValidatorSignerAuthorized, error)
- func (_Accounts *AccountsFilterer) ParseValidatorSignerRemoved(log types.Log) (*AccountsValidatorSignerRemoved, error)
- func (_Accounts *AccountsFilterer) ParseVoteSignerAuthorized(log types.Log) (*AccountsVoteSignerAuthorized, error)
- func (_Accounts *AccountsFilterer) ParseVoteSignerRemoved(log types.Log) (*AccountsVoteSignerRemoved, error)
- func (_Accounts *AccountsFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
- func (_Accounts *AccountsFilterer) WatchAccountCreated(opts *bind.WatchOpts, sink chan<- *AccountsAccountCreated, ...) (event.Subscription, error)
- func (_Accounts *AccountsFilterer) WatchAccountDataEncryptionKeySet(opts *bind.WatchOpts, sink chan<- *AccountsAccountDataEncryptionKeySet, ...) (event.Subscription, error)
- func (_Accounts *AccountsFilterer) WatchAccountMetadataURLSet(opts *bind.WatchOpts, sink chan<- *AccountsAccountMetadataURLSet, ...) (event.Subscription, error)
- func (_Accounts *AccountsFilterer) WatchAccountNameSet(opts *bind.WatchOpts, sink chan<- *AccountsAccountNameSet, ...) (event.Subscription, error)
- func (_Accounts *AccountsFilterer) WatchAccountWalletAddressSet(opts *bind.WatchOpts, sink chan<- *AccountsAccountWalletAddressSet, ...) (event.Subscription, error)
- func (_Accounts *AccountsFilterer) WatchAttestationSignerAuthorized(opts *bind.WatchOpts, sink chan<- *AccountsAttestationSignerAuthorized, ...) (event.Subscription, error)
- func (_Accounts *AccountsFilterer) WatchAttestationSignerRemoved(opts *bind.WatchOpts, sink chan<- *AccountsAttestationSignerRemoved, ...) (event.Subscription, error)
- func (_Accounts *AccountsFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AccountsOwnershipTransferred, ...) (event.Subscription, error)
- func (_Accounts *AccountsFilterer) WatchRegistrySet(opts *bind.WatchOpts, sink chan<- *AccountsRegistrySet, ...) (event.Subscription, error)
- func (_Accounts *AccountsFilterer) WatchValidatorSignerAuthorized(opts *bind.WatchOpts, sink chan<- *AccountsValidatorSignerAuthorized, ...) (event.Subscription, error)
- func (_Accounts *AccountsFilterer) WatchValidatorSignerRemoved(opts *bind.WatchOpts, sink chan<- *AccountsValidatorSignerRemoved, ...) (event.Subscription, error)
- func (_Accounts *AccountsFilterer) WatchVoteSignerAuthorized(opts *bind.WatchOpts, sink chan<- *AccountsVoteSignerAuthorized, ...) (event.Subscription, error)
- func (_Accounts *AccountsFilterer) WatchVoteSignerRemoved(opts *bind.WatchOpts, sink chan<- *AccountsVoteSignerRemoved, ...) (event.Subscription, error)
- type AccountsOwnershipTransferred
- type AccountsOwnershipTransferredIterator
- type AccountsRaw
- func (_Accounts *AccountsRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Accounts *AccountsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Accounts *AccountsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AccountsRegistrySet
- type AccountsRegistrySetIterator
- type AccountsSession
- func (_Accounts *AccountsSession) AttestationSignerToAccount(signer common.Address) (common.Address, error)
- func (_Accounts *AccountsSession) AuthorizeAttestationSigner(signer common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
- func (_Accounts *AccountsSession) AuthorizeValidatorSigner(signer common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
- func (_Accounts *AccountsSession) AuthorizeValidatorSignerWithKeys(signer common.Address, v uint8, r [32]byte, s [32]byte, ecdsaPublicKey []byte, ...) (*types.Transaction, error)
- func (_Accounts *AccountsSession) AuthorizeValidatorSignerWithPublicKey(signer common.Address, v uint8, r [32]byte, s [32]byte, ecdsaPublicKey []byte) (*types.Transaction, error)
- func (_Accounts *AccountsSession) AuthorizeVoteSigner(signer common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
- func (_Accounts *AccountsSession) AuthorizedBy(arg0 common.Address) (common.Address, error)
- func (_Accounts *AccountsSession) BatchGetMetadataURL(accountsToQuery []common.Address) ([]*big.Int, []byte, error)
- func (_Accounts *AccountsSession) CreateAccount() (*types.Transaction, error)
- func (_Accounts *AccountsSession) GetAttestationSigner(account common.Address) (common.Address, error)
- func (_Accounts *AccountsSession) GetDataEncryptionKey(account common.Address) ([]byte, error)
- func (_Accounts *AccountsSession) GetMetadataURL(account common.Address) (string, error)
- func (_Accounts *AccountsSession) GetName(account common.Address) (string, error)
- func (_Accounts *AccountsSession) GetValidatorSigner(account common.Address) (common.Address, error)
- func (_Accounts *AccountsSession) GetVoteSigner(account common.Address) (common.Address, error)
- func (_Accounts *AccountsSession) GetWalletAddress(account common.Address) (common.Address, error)
- func (_Accounts *AccountsSession) HasAuthorizedAttestationSigner(account common.Address) (bool, error)
- func (_Accounts *AccountsSession) HasAuthorizedValidatorSigner(account common.Address) (bool, error)
- func (_Accounts *AccountsSession) HasAuthorizedVoteSigner(account common.Address) (bool, error)
- func (_Accounts *AccountsSession) Initialize(registryAddress common.Address) (*types.Transaction, error)
- func (_Accounts *AccountsSession) Initialized() (bool, error)
- func (_Accounts *AccountsSession) IsAccount(account common.Address) (bool, error)
- func (_Accounts *AccountsSession) IsAuthorizedSigner(signer common.Address) (bool, error)
- func (_Accounts *AccountsSession) IsOwner() (bool, error)
- func (_Accounts *AccountsSession) Owner() (common.Address, error)
- func (_Accounts *AccountsSession) Registry() (common.Address, error)
- func (_Accounts *AccountsSession) RemoveAttestationSigner() (*types.Transaction, error)
- func (_Accounts *AccountsSession) RemoveValidatorSigner() (*types.Transaction, error)
- func (_Accounts *AccountsSession) RemoveVoteSigner() (*types.Transaction, error)
- func (_Accounts *AccountsSession) RenounceOwnership() (*types.Transaction, error)
- func (_Accounts *AccountsSession) SetAccount(name string, dataEncryptionKey []byte, walletAddress common.Address, v uint8, ...) (*types.Transaction, error)
- func (_Accounts *AccountsSession) SetAccountDataEncryptionKey(dataEncryptionKey []byte) (*types.Transaction, error)
- func (_Accounts *AccountsSession) SetMetadataURL(metadataURL string) (*types.Transaction, error)
- func (_Accounts *AccountsSession) SetName(name string) (*types.Transaction, error)
- func (_Accounts *AccountsSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
- func (_Accounts *AccountsSession) SetWalletAddress(walletAddress common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
- func (_Accounts *AccountsSession) SignerToAccount(signer common.Address) (common.Address, error)
- func (_Accounts *AccountsSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Accounts *AccountsSession) ValidatorSignerToAccount(signer common.Address) (common.Address, error)
- func (_Accounts *AccountsSession) VoteSignerToAccount(signer common.Address) (common.Address, error)
- type AccountsTransactor
- func (_Accounts *AccountsTransactor) AuthorizeAttestationSigner(opts *bind.TransactOpts, signer common.Address, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_Accounts *AccountsTransactor) AuthorizeValidatorSigner(opts *bind.TransactOpts, signer common.Address, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_Accounts *AccountsTransactor) AuthorizeValidatorSignerWithKeys(opts *bind.TransactOpts, signer common.Address, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_Accounts *AccountsTransactor) AuthorizeValidatorSignerWithPublicKey(opts *bind.TransactOpts, signer common.Address, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_Accounts *AccountsTransactor) AuthorizeVoteSigner(opts *bind.TransactOpts, signer common.Address, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_Accounts *AccountsTransactor) CreateAccount(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Accounts *AccountsTransactor) Initialize(opts *bind.TransactOpts, registryAddress common.Address) (*types.Transaction, error)
- func (_Accounts *AccountsTransactor) RemoveAttestationSigner(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Accounts *AccountsTransactor) RemoveValidatorSigner(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Accounts *AccountsTransactor) RemoveVoteSigner(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Accounts *AccountsTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Accounts *AccountsTransactor) SetAccount(opts *bind.TransactOpts, name string, dataEncryptionKey []byte, ...) (*types.Transaction, error)
- func (_Accounts *AccountsTransactor) SetAccountDataEncryptionKey(opts *bind.TransactOpts, dataEncryptionKey []byte) (*types.Transaction, error)
- func (_Accounts *AccountsTransactor) SetMetadataURL(opts *bind.TransactOpts, metadataURL string) (*types.Transaction, error)
- func (_Accounts *AccountsTransactor) SetName(opts *bind.TransactOpts, name string) (*types.Transaction, error)
- func (_Accounts *AccountsTransactor) SetRegistry(opts *bind.TransactOpts, registryAddress common.Address) (*types.Transaction, error)
- func (_Accounts *AccountsTransactor) SetWalletAddress(opts *bind.TransactOpts, walletAddress common.Address, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_Accounts *AccountsTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type AccountsTransactorRaw
- type AccountsTransactorSession
- func (_Accounts *AccountsTransactorSession) AuthorizeAttestationSigner(signer common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
- func (_Accounts *AccountsTransactorSession) AuthorizeValidatorSigner(signer common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
- func (_Accounts *AccountsTransactorSession) AuthorizeValidatorSignerWithKeys(signer common.Address, v uint8, r [32]byte, s [32]byte, ecdsaPublicKey []byte, ...) (*types.Transaction, error)
- func (_Accounts *AccountsTransactorSession) AuthorizeValidatorSignerWithPublicKey(signer common.Address, v uint8, r [32]byte, s [32]byte, ecdsaPublicKey []byte) (*types.Transaction, error)
- func (_Accounts *AccountsTransactorSession) AuthorizeVoteSigner(signer common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
- func (_Accounts *AccountsTransactorSession) CreateAccount() (*types.Transaction, error)
- func (_Accounts *AccountsTransactorSession) Initialize(registryAddress common.Address) (*types.Transaction, error)
- func (_Accounts *AccountsTransactorSession) RemoveAttestationSigner() (*types.Transaction, error)
- func (_Accounts *AccountsTransactorSession) RemoveValidatorSigner() (*types.Transaction, error)
- func (_Accounts *AccountsTransactorSession) RemoveVoteSigner() (*types.Transaction, error)
- func (_Accounts *AccountsTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Accounts *AccountsTransactorSession) SetAccount(name string, dataEncryptionKey []byte, walletAddress common.Address, v uint8, ...) (*types.Transaction, error)
- func (_Accounts *AccountsTransactorSession) SetAccountDataEncryptionKey(dataEncryptionKey []byte) (*types.Transaction, error)
- func (_Accounts *AccountsTransactorSession) SetMetadataURL(metadataURL string) (*types.Transaction, error)
- func (_Accounts *AccountsTransactorSession) SetName(name string) (*types.Transaction, error)
- func (_Accounts *AccountsTransactorSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
- func (_Accounts *AccountsTransactorSession) SetWalletAddress(walletAddress common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
- func (_Accounts *AccountsTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type AccountsValidatorSignerAuthorized
- type AccountsValidatorSignerAuthorizedIterator
- type AccountsValidatorSignerRemoved
- type AccountsValidatorSignerRemovedIterator
- type AccountsVoteSignerAuthorized
- type AccountsVoteSignerAuthorizedIterator
- type AccountsVoteSignerRemoved
- type AccountsVoteSignerRemovedIterator
- type Election
- type ElectionCaller
- func (_Election *ElectionCaller) CanReceiveVotes(opts *bind.CallOpts, group common.Address, value *big.Int) (bool, error)
- func (_Election *ElectionCaller) CheckProofOfPossession(opts *bind.CallOpts, sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
- func (_Election *ElectionCaller) ElectNValidatorSigners(opts *bind.CallOpts, minElectableValidators *big.Int, ...) ([]common.Address, error)
- func (_Election *ElectionCaller) ElectValidatorSigners(opts *bind.CallOpts) ([]common.Address, error)
- func (_Election *ElectionCaller) ElectabilityThreshold(opts *bind.CallOpts) (*big.Int, error)
- func (_Election *ElectionCaller) ElectableValidators(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Election *ElectionCaller) FractionMulExp(opts *bind.CallOpts, aNumerator *big.Int, aDenominator *big.Int, ...) (*big.Int, *big.Int, error)
- func (_Election *ElectionCaller) GetActiveVotes(opts *bind.CallOpts) (*big.Int, error)
- func (_Election *ElectionCaller) GetActiveVotesForGroup(opts *bind.CallOpts, group common.Address) (*big.Int, error)
- func (_Election *ElectionCaller) GetActiveVotesForGroupByAccount(opts *bind.CallOpts, group common.Address, account common.Address) (*big.Int, error)
- func (_Election *ElectionCaller) GetBlockNumberFromHeader(opts *bind.CallOpts, header []byte) (*big.Int, error)
- func (_Election *ElectionCaller) GetCurrentValidatorSigners(opts *bind.CallOpts) ([]common.Address, error)
- func (_Election *ElectionCaller) GetElectabilityThreshold(opts *bind.CallOpts) (*big.Int, error)
- func (_Election *ElectionCaller) GetElectableValidators(opts *bind.CallOpts) (*big.Int, *big.Int, error)
- func (_Election *ElectionCaller) GetEligibleValidatorGroups(opts *bind.CallOpts) ([]common.Address, error)
- func (_Election *ElectionCaller) GetEpochNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_Election *ElectionCaller) GetEpochNumberOfBlock(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
- func (_Election *ElectionCaller) GetEpochSize(opts *bind.CallOpts) (*big.Int, error)
- func (_Election *ElectionCaller) GetGroupEligibility(opts *bind.CallOpts, group common.Address) (bool, error)
- func (_Election *ElectionCaller) GetGroupEpochRewards(opts *bind.CallOpts, group common.Address, totalEpochRewards *big.Int, ...) (*big.Int, error)
- func (_Election *ElectionCaller) GetGroupsVotedForByAccount(opts *bind.CallOpts, account common.Address) ([]common.Address, error)
- func (_Election *ElectionCaller) GetNumVotesReceivable(opts *bind.CallOpts, group common.Address) (*big.Int, error)
- func (_Election *ElectionCaller) GetParentSealBitmap(opts *bind.CallOpts, blockNumber *big.Int) ([32]byte, error)
- func (_Election *ElectionCaller) GetPendingVotesForGroupByAccount(opts *bind.CallOpts, group common.Address, account common.Address) (*big.Int, error)
- func (_Election *ElectionCaller) GetTotalVotes(opts *bind.CallOpts) (*big.Int, error)
- func (_Election *ElectionCaller) GetTotalVotesByAccount(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Election *ElectionCaller) GetTotalVotesForEligibleValidatorGroups(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Election *ElectionCaller) GetTotalVotesForGroup(opts *bind.CallOpts, group common.Address) (*big.Int, error)
- func (_Election *ElectionCaller) GetTotalVotesForGroupByAccount(opts *bind.CallOpts, group common.Address, account common.Address) (*big.Int, error)
- func (_Election *ElectionCaller) GetVerifiedSealBitmapFromHeader(opts *bind.CallOpts, header []byte) ([32]byte, error)
- func (_Election *ElectionCaller) HasActivatablePendingVotes(opts *bind.CallOpts, account common.Address, group common.Address) (bool, error)
- func (_Election *ElectionCaller) HashHeader(opts *bind.CallOpts, header []byte) ([32]byte, error)
- func (_Election *ElectionCaller) Initialized(opts *bind.CallOpts) (bool, error)
- func (_Election *ElectionCaller) IsOwner(opts *bind.CallOpts) (bool, error)
- func (_Election *ElectionCaller) MaxNumGroupsVotedFor(opts *bind.CallOpts) (*big.Int, error)
- func (_Election *ElectionCaller) MinQuorumSize(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
- func (_Election *ElectionCaller) MinQuorumSizeInCurrentSet(opts *bind.CallOpts) (*big.Int, error)
- func (_Election *ElectionCaller) NumberValidatorsInCurrentSet(opts *bind.CallOpts) (*big.Int, error)
- func (_Election *ElectionCaller) NumberValidatorsInSet(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
- func (_Election *ElectionCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Election *ElectionCaller) Registry(opts *bind.CallOpts) (common.Address, error)
- func (_Election *ElectionCaller) ValidatorSignerAddressFromCurrentSet(opts *bind.CallOpts, index *big.Int) (common.Address, error)
- func (_Election *ElectionCaller) ValidatorSignerAddressFromSet(opts *bind.CallOpts, index *big.Int, blockNumber *big.Int) (common.Address, error)
- type ElectionCallerRaw
- type ElectionCallerSession
- func (_Election *ElectionCallerSession) CanReceiveVotes(group common.Address, value *big.Int) (bool, error)
- func (_Election *ElectionCallerSession) CheckProofOfPossession(sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
- func (_Election *ElectionCallerSession) ElectNValidatorSigners(minElectableValidators *big.Int, maxElectableValidators *big.Int) ([]common.Address, error)
- func (_Election *ElectionCallerSession) ElectValidatorSigners() ([]common.Address, error)
- func (_Election *ElectionCallerSession) ElectabilityThreshold() (*big.Int, error)
- func (_Election *ElectionCallerSession) ElectableValidators() (struct{ ... }, error)
- func (_Election *ElectionCallerSession) FractionMulExp(aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, ...) (*big.Int, *big.Int, error)
- func (_Election *ElectionCallerSession) GetActiveVotes() (*big.Int, error)
- func (_Election *ElectionCallerSession) GetActiveVotesForGroup(group common.Address) (*big.Int, error)
- func (_Election *ElectionCallerSession) GetActiveVotesForGroupByAccount(group common.Address, account common.Address) (*big.Int, error)
- func (_Election *ElectionCallerSession) GetBlockNumberFromHeader(header []byte) (*big.Int, error)
- func (_Election *ElectionCallerSession) GetCurrentValidatorSigners() ([]common.Address, error)
- func (_Election *ElectionCallerSession) GetElectabilityThreshold() (*big.Int, error)
- func (_Election *ElectionCallerSession) GetElectableValidators() (*big.Int, *big.Int, error)
- func (_Election *ElectionCallerSession) GetEligibleValidatorGroups() ([]common.Address, error)
- func (_Election *ElectionCallerSession) GetEpochNumber() (*big.Int, error)
- func (_Election *ElectionCallerSession) GetEpochNumberOfBlock(blockNumber *big.Int) (*big.Int, error)
- func (_Election *ElectionCallerSession) GetEpochSize() (*big.Int, error)
- func (_Election *ElectionCallerSession) GetGroupEligibility(group common.Address) (bool, error)
- func (_Election *ElectionCallerSession) GetGroupEpochRewards(group common.Address, totalEpochRewards *big.Int, uptimes []*big.Int) (*big.Int, error)
- func (_Election *ElectionCallerSession) GetGroupsVotedForByAccount(account common.Address) ([]common.Address, error)
- func (_Election *ElectionCallerSession) GetNumVotesReceivable(group common.Address) (*big.Int, error)
- func (_Election *ElectionCallerSession) GetParentSealBitmap(blockNumber *big.Int) ([32]byte, error)
- func (_Election *ElectionCallerSession) GetPendingVotesForGroupByAccount(group common.Address, account common.Address) (*big.Int, error)
- func (_Election *ElectionCallerSession) GetTotalVotes() (*big.Int, error)
- func (_Election *ElectionCallerSession) GetTotalVotesByAccount(account common.Address) (*big.Int, error)
- func (_Election *ElectionCallerSession) GetTotalVotesForEligibleValidatorGroups() (struct{ ... }, error)
- func (_Election *ElectionCallerSession) GetTotalVotesForGroup(group common.Address) (*big.Int, error)
- func (_Election *ElectionCallerSession) GetTotalVotesForGroupByAccount(group common.Address, account common.Address) (*big.Int, error)
- func (_Election *ElectionCallerSession) GetVerifiedSealBitmapFromHeader(header []byte) ([32]byte, error)
- func (_Election *ElectionCallerSession) HasActivatablePendingVotes(account common.Address, group common.Address) (bool, error)
- func (_Election *ElectionCallerSession) HashHeader(header []byte) ([32]byte, error)
- func (_Election *ElectionCallerSession) Initialized() (bool, error)
- func (_Election *ElectionCallerSession) IsOwner() (bool, error)
- func (_Election *ElectionCallerSession) MaxNumGroupsVotedFor() (*big.Int, error)
- func (_Election *ElectionCallerSession) MinQuorumSize(blockNumber *big.Int) (*big.Int, error)
- func (_Election *ElectionCallerSession) MinQuorumSizeInCurrentSet() (*big.Int, error)
- func (_Election *ElectionCallerSession) NumberValidatorsInCurrentSet() (*big.Int, error)
- func (_Election *ElectionCallerSession) NumberValidatorsInSet(blockNumber *big.Int) (*big.Int, error)
- func (_Election *ElectionCallerSession) Owner() (common.Address, error)
- func (_Election *ElectionCallerSession) Registry() (common.Address, error)
- func (_Election *ElectionCallerSession) ValidatorSignerAddressFromCurrentSet(index *big.Int) (common.Address, error)
- func (_Election *ElectionCallerSession) ValidatorSignerAddressFromSet(index *big.Int, blockNumber *big.Int) (common.Address, error)
- type ElectionElectabilityThresholdSet
- type ElectionElectabilityThresholdSetIterator
- type ElectionElectableValidatorsSet
- type ElectionElectableValidatorsSetIterator
- type ElectionEpochRewardsDistributedToVoters
- type ElectionEpochRewardsDistributedToVotersIterator
- type ElectionFilterer
- func (_Election *ElectionFilterer) FilterElectabilityThresholdSet(opts *bind.FilterOpts) (*ElectionElectabilityThresholdSetIterator, error)
- func (_Election *ElectionFilterer) FilterElectableValidatorsSet(opts *bind.FilterOpts) (*ElectionElectableValidatorsSetIterator, error)
- func (_Election *ElectionFilterer) FilterEpochRewardsDistributedToVoters(opts *bind.FilterOpts, group []common.Address) (*ElectionEpochRewardsDistributedToVotersIterator, error)
- func (_Election *ElectionFilterer) FilterMaxNumGroupsVotedForSet(opts *bind.FilterOpts) (*ElectionMaxNumGroupsVotedForSetIterator, error)
- func (_Election *ElectionFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ElectionOwnershipTransferredIterator, error)
- func (_Election *ElectionFilterer) FilterRegistrySet(opts *bind.FilterOpts, registryAddress []common.Address) (*ElectionRegistrySetIterator, error)
- func (_Election *ElectionFilterer) FilterValidatorGroupMarkedEligible(opts *bind.FilterOpts) (*ElectionValidatorGroupMarkedEligibleIterator, error)
- func (_Election *ElectionFilterer) FilterValidatorGroupMarkedIneligible(opts *bind.FilterOpts) (*ElectionValidatorGroupMarkedIneligibleIterator, error)
- func (_Election *ElectionFilterer) FilterValidatorGroupVoteActivated(opts *bind.FilterOpts, account []common.Address, group []common.Address) (*ElectionValidatorGroupVoteActivatedIterator, error)
- func (_Election *ElectionFilterer) FilterValidatorGroupVoteCast(opts *bind.FilterOpts, account []common.Address, group []common.Address) (*ElectionValidatorGroupVoteCastIterator, error)
- func (_Election *ElectionFilterer) FilterValidatorGroupVoteRevoked(opts *bind.FilterOpts, account []common.Address, group []common.Address) (*ElectionValidatorGroupVoteRevokedIterator, error)
- func (_Election *ElectionFilterer) ParseElectabilityThresholdSet(log types.Log) (*ElectionElectabilityThresholdSet, error)
- func (_Election *ElectionFilterer) ParseElectableValidatorsSet(log types.Log) (*ElectionElectableValidatorsSet, error)
- func (_Election *ElectionFilterer) ParseEpochRewardsDistributedToVoters(log types.Log) (*ElectionEpochRewardsDistributedToVoters, error)
- func (_Election *ElectionFilterer) ParseMaxNumGroupsVotedForSet(log types.Log) (*ElectionMaxNumGroupsVotedForSet, error)
- func (_Election *ElectionFilterer) ParseOwnershipTransferred(log types.Log) (*ElectionOwnershipTransferred, error)
- func (_Election *ElectionFilterer) ParseRegistrySet(log types.Log) (*ElectionRegistrySet, error)
- func (_Election *ElectionFilterer) ParseValidatorGroupMarkedEligible(log types.Log) (*ElectionValidatorGroupMarkedEligible, error)
- func (_Election *ElectionFilterer) ParseValidatorGroupMarkedIneligible(log types.Log) (*ElectionValidatorGroupMarkedIneligible, error)
- func (_Election *ElectionFilterer) ParseValidatorGroupVoteActivated(log types.Log) (*ElectionValidatorGroupVoteActivated, error)
- func (_Election *ElectionFilterer) ParseValidatorGroupVoteCast(log types.Log) (*ElectionValidatorGroupVoteCast, error)
- func (_Election *ElectionFilterer) ParseValidatorGroupVoteRevoked(log types.Log) (*ElectionValidatorGroupVoteRevoked, error)
- func (_Election *ElectionFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
- func (_Election *ElectionFilterer) WatchElectabilityThresholdSet(opts *bind.WatchOpts, sink chan<- *ElectionElectabilityThresholdSet) (event.Subscription, error)
- func (_Election *ElectionFilterer) WatchElectableValidatorsSet(opts *bind.WatchOpts, sink chan<- *ElectionElectableValidatorsSet) (event.Subscription, error)
- func (_Election *ElectionFilterer) WatchEpochRewardsDistributedToVoters(opts *bind.WatchOpts, sink chan<- *ElectionEpochRewardsDistributedToVoters, ...) (event.Subscription, error)
- func (_Election *ElectionFilterer) WatchMaxNumGroupsVotedForSet(opts *bind.WatchOpts, sink chan<- *ElectionMaxNumGroupsVotedForSet) (event.Subscription, error)
- func (_Election *ElectionFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ElectionOwnershipTransferred, ...) (event.Subscription, error)
- func (_Election *ElectionFilterer) WatchRegistrySet(opts *bind.WatchOpts, sink chan<- *ElectionRegistrySet, ...) (event.Subscription, error)
- func (_Election *ElectionFilterer) WatchValidatorGroupMarkedEligible(opts *bind.WatchOpts, sink chan<- *ElectionValidatorGroupMarkedEligible) (event.Subscription, error)
- func (_Election *ElectionFilterer) WatchValidatorGroupMarkedIneligible(opts *bind.WatchOpts, sink chan<- *ElectionValidatorGroupMarkedIneligible) (event.Subscription, error)
- func (_Election *ElectionFilterer) WatchValidatorGroupVoteActivated(opts *bind.WatchOpts, sink chan<- *ElectionValidatorGroupVoteActivated, ...) (event.Subscription, error)
- func (_Election *ElectionFilterer) WatchValidatorGroupVoteCast(opts *bind.WatchOpts, sink chan<- *ElectionValidatorGroupVoteCast, ...) (event.Subscription, error)
- func (_Election *ElectionFilterer) WatchValidatorGroupVoteRevoked(opts *bind.WatchOpts, sink chan<- *ElectionValidatorGroupVoteRevoked, ...) (event.Subscription, error)
- type ElectionMaxNumGroupsVotedForSet
- type ElectionMaxNumGroupsVotedForSetIterator
- type ElectionOwnershipTransferred
- type ElectionOwnershipTransferredIterator
- type ElectionRaw
- func (_Election *ElectionRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Election *ElectionRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Election *ElectionRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ElectionRegistrySet
- type ElectionRegistrySetIterator
- type ElectionSession
- func (_Election *ElectionSession) Activate(group common.Address) (*types.Transaction, error)
- func (_Election *ElectionSession) CanReceiveVotes(group common.Address, value *big.Int) (bool, error)
- func (_Election *ElectionSession) CheckProofOfPossession(sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
- func (_Election *ElectionSession) DistributeEpochRewards(group common.Address, value *big.Int, lesser common.Address, ...) (*types.Transaction, error)
- func (_Election *ElectionSession) ElectNValidatorSigners(minElectableValidators *big.Int, maxElectableValidators *big.Int) ([]common.Address, error)
- func (_Election *ElectionSession) ElectValidatorSigners() ([]common.Address, error)
- func (_Election *ElectionSession) ElectabilityThreshold() (*big.Int, error)
- func (_Election *ElectionSession) ElectableValidators() (struct{ ... }, error)
- func (_Election *ElectionSession) ForceDecrementVotes(account common.Address, value *big.Int, lessers []common.Address, ...) (*types.Transaction, error)
- func (_Election *ElectionSession) FractionMulExp(aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, ...) (*big.Int, *big.Int, error)
- func (_Election *ElectionSession) GetActiveVotes() (*big.Int, error)
- func (_Election *ElectionSession) GetActiveVotesForGroup(group common.Address) (*big.Int, error)
- func (_Election *ElectionSession) GetActiveVotesForGroupByAccount(group common.Address, account common.Address) (*big.Int, error)
- func (_Election *ElectionSession) GetBlockNumberFromHeader(header []byte) (*big.Int, error)
- func (_Election *ElectionSession) GetCurrentValidatorSigners() ([]common.Address, error)
- func (_Election *ElectionSession) GetElectabilityThreshold() (*big.Int, error)
- func (_Election *ElectionSession) GetElectableValidators() (*big.Int, *big.Int, error)
- func (_Election *ElectionSession) GetEligibleValidatorGroups() ([]common.Address, error)
- func (_Election *ElectionSession) GetEpochNumber() (*big.Int, error)
- func (_Election *ElectionSession) GetEpochNumberOfBlock(blockNumber *big.Int) (*big.Int, error)
- func (_Election *ElectionSession) GetEpochSize() (*big.Int, error)
- func (_Election *ElectionSession) GetGroupEligibility(group common.Address) (bool, error)
- func (_Election *ElectionSession) GetGroupEpochRewards(group common.Address, totalEpochRewards *big.Int, uptimes []*big.Int) (*big.Int, error)
- func (_Election *ElectionSession) GetGroupsVotedForByAccount(account common.Address) ([]common.Address, error)
- func (_Election *ElectionSession) GetNumVotesReceivable(group common.Address) (*big.Int, error)
- func (_Election *ElectionSession) GetParentSealBitmap(blockNumber *big.Int) ([32]byte, error)
- func (_Election *ElectionSession) GetPendingVotesForGroupByAccount(group common.Address, account common.Address) (*big.Int, error)
- func (_Election *ElectionSession) GetTotalVotes() (*big.Int, error)
- func (_Election *ElectionSession) GetTotalVotesByAccount(account common.Address) (*big.Int, error)
- func (_Election *ElectionSession) GetTotalVotesForEligibleValidatorGroups() (struct{ ... }, error)
- func (_Election *ElectionSession) GetTotalVotesForGroup(group common.Address) (*big.Int, error)
- func (_Election *ElectionSession) GetTotalVotesForGroupByAccount(group common.Address, account common.Address) (*big.Int, error)
- func (_Election *ElectionSession) GetVerifiedSealBitmapFromHeader(header []byte) ([32]byte, error)
- func (_Election *ElectionSession) HasActivatablePendingVotes(account common.Address, group common.Address) (bool, error)
- func (_Election *ElectionSession) HashHeader(header []byte) ([32]byte, error)
- func (_Election *ElectionSession) Initialize(registryAddress common.Address, minElectableValidators *big.Int, ...) (*types.Transaction, error)
- func (_Election *ElectionSession) Initialized() (bool, error)
- func (_Election *ElectionSession) IsOwner() (bool, error)
- func (_Election *ElectionSession) MarkGroupEligible(group common.Address, lesser common.Address, greater common.Address) (*types.Transaction, error)
- func (_Election *ElectionSession) MarkGroupIneligible(group common.Address) (*types.Transaction, error)
- func (_Election *ElectionSession) MaxNumGroupsVotedFor() (*big.Int, error)
- func (_Election *ElectionSession) MinQuorumSize(blockNumber *big.Int) (*big.Int, error)
- func (_Election *ElectionSession) MinQuorumSizeInCurrentSet() (*big.Int, error)
- func (_Election *ElectionSession) NumberValidatorsInCurrentSet() (*big.Int, error)
- func (_Election *ElectionSession) NumberValidatorsInSet(blockNumber *big.Int) (*big.Int, error)
- func (_Election *ElectionSession) Owner() (common.Address, error)
- func (_Election *ElectionSession) Registry() (common.Address, error)
- func (_Election *ElectionSession) RenounceOwnership() (*types.Transaction, error)
- func (_Election *ElectionSession) RevokeActive(group common.Address, value *big.Int, lesser common.Address, ...) (*types.Transaction, error)
- func (_Election *ElectionSession) RevokePending(group common.Address, value *big.Int, lesser common.Address, ...) (*types.Transaction, error)
- func (_Election *ElectionSession) SetElectabilityThreshold(threshold *big.Int) (*types.Transaction, error)
- func (_Election *ElectionSession) SetElectableValidators(min *big.Int, max *big.Int) (*types.Transaction, error)
- func (_Election *ElectionSession) SetMaxNumGroupsVotedFor(_maxNumGroupsVotedFor *big.Int) (*types.Transaction, error)
- func (_Election *ElectionSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
- func (_Election *ElectionSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Election *ElectionSession) ValidatorSignerAddressFromCurrentSet(index *big.Int) (common.Address, error)
- func (_Election *ElectionSession) ValidatorSignerAddressFromSet(index *big.Int, blockNumber *big.Int) (common.Address, error)
- func (_Election *ElectionSession) Vote(group common.Address, value *big.Int, lesser common.Address, ...) (*types.Transaction, error)
- type ElectionTransactor
- func (_Election *ElectionTransactor) Activate(opts *bind.TransactOpts, group common.Address) (*types.Transaction, error)
- func (_Election *ElectionTransactor) DistributeEpochRewards(opts *bind.TransactOpts, group common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_Election *ElectionTransactor) ForceDecrementVotes(opts *bind.TransactOpts, account common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_Election *ElectionTransactor) Initialize(opts *bind.TransactOpts, registryAddress common.Address, ...) (*types.Transaction, error)
- func (_Election *ElectionTransactor) MarkGroupEligible(opts *bind.TransactOpts, group common.Address, lesser common.Address, ...) (*types.Transaction, error)
- func (_Election *ElectionTransactor) MarkGroupIneligible(opts *bind.TransactOpts, group common.Address) (*types.Transaction, error)
- func (_Election *ElectionTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Election *ElectionTransactor) RevokeActive(opts *bind.TransactOpts, group common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_Election *ElectionTransactor) RevokePending(opts *bind.TransactOpts, group common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_Election *ElectionTransactor) SetElectabilityThreshold(opts *bind.TransactOpts, threshold *big.Int) (*types.Transaction, error)
- func (_Election *ElectionTransactor) SetElectableValidators(opts *bind.TransactOpts, min *big.Int, max *big.Int) (*types.Transaction, error)
- func (_Election *ElectionTransactor) SetMaxNumGroupsVotedFor(opts *bind.TransactOpts, _maxNumGroupsVotedFor *big.Int) (*types.Transaction, error)
- func (_Election *ElectionTransactor) SetRegistry(opts *bind.TransactOpts, registryAddress common.Address) (*types.Transaction, error)
- func (_Election *ElectionTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Election *ElectionTransactor) Vote(opts *bind.TransactOpts, group common.Address, value *big.Int, ...) (*types.Transaction, error)
- type ElectionTransactorRaw
- type ElectionTransactorSession
- func (_Election *ElectionTransactorSession) Activate(group common.Address) (*types.Transaction, error)
- func (_Election *ElectionTransactorSession) DistributeEpochRewards(group common.Address, value *big.Int, lesser common.Address, ...) (*types.Transaction, error)
- func (_Election *ElectionTransactorSession) ForceDecrementVotes(account common.Address, value *big.Int, lessers []common.Address, ...) (*types.Transaction, error)
- func (_Election *ElectionTransactorSession) Initialize(registryAddress common.Address, minElectableValidators *big.Int, ...) (*types.Transaction, error)
- func (_Election *ElectionTransactorSession) MarkGroupEligible(group common.Address, lesser common.Address, greater common.Address) (*types.Transaction, error)
- func (_Election *ElectionTransactorSession) MarkGroupIneligible(group common.Address) (*types.Transaction, error)
- func (_Election *ElectionTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Election *ElectionTransactorSession) RevokeActive(group common.Address, value *big.Int, lesser common.Address, ...) (*types.Transaction, error)
- func (_Election *ElectionTransactorSession) RevokePending(group common.Address, value *big.Int, lesser common.Address, ...) (*types.Transaction, error)
- func (_Election *ElectionTransactorSession) SetElectabilityThreshold(threshold *big.Int) (*types.Transaction, error)
- func (_Election *ElectionTransactorSession) SetElectableValidators(min *big.Int, max *big.Int) (*types.Transaction, error)
- func (_Election *ElectionTransactorSession) SetMaxNumGroupsVotedFor(_maxNumGroupsVotedFor *big.Int) (*types.Transaction, error)
- func (_Election *ElectionTransactorSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
- func (_Election *ElectionTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Election *ElectionTransactorSession) Vote(group common.Address, value *big.Int, lesser common.Address, ...) (*types.Transaction, error)
- type ElectionValidatorGroupMarkedEligible
- type ElectionValidatorGroupMarkedEligibleIterator
- type ElectionValidatorGroupMarkedIneligible
- type ElectionValidatorGroupMarkedIneligibleIterator
- type ElectionValidatorGroupVoteActivated
- type ElectionValidatorGroupVoteActivatedIterator
- type ElectionValidatorGroupVoteCast
- type ElectionValidatorGroupVoteCastIterator
- type ElectionValidatorGroupVoteRevoked
- type ElectionValidatorGroupVoteRevokedIterator
- type EpochRewards
- type EpochRewardsCaller
- func (_EpochRewards *EpochRewardsCaller) CalculateTargetEpochRewards(opts *bind.CallOpts) (*big.Int, *big.Int, *big.Int, *big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) CarbonOffsettingPartner(opts *bind.CallOpts) (common.Address, error)
- func (_EpochRewards *EpochRewardsCaller) CheckProofOfPossession(opts *bind.CallOpts, sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
- func (_EpochRewards *EpochRewardsCaller) FractionMulExp(opts *bind.CallOpts, aNumerator *big.Int, aDenominator *big.Int, ...) (*big.Int, *big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) GetBlockNumberFromHeader(opts *bind.CallOpts, header []byte) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) GetCarbonOffsettingFraction(opts *bind.CallOpts) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) GetCommunityRewardFraction(opts *bind.CallOpts) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) GetEpochNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) GetEpochNumberOfBlock(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) GetEpochSize(opts *bind.CallOpts) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) GetParentSealBitmap(opts *bind.CallOpts, blockNumber *big.Int) ([32]byte, error)
- func (_EpochRewards *EpochRewardsCaller) GetRewardsMultiplier(opts *bind.CallOpts) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) GetRewardsMultiplierParameters(opts *bind.CallOpts) (*big.Int, *big.Int, *big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) GetTargetGoldTotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) GetTargetTotalEpochPaymentsInGold(opts *bind.CallOpts) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) GetTargetVoterRewards(opts *bind.CallOpts) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) GetTargetVotingGoldFraction(opts *bind.CallOpts) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) GetTargetVotingYieldParameters(opts *bind.CallOpts) (*big.Int, *big.Int, *big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) GetVerifiedSealBitmapFromHeader(opts *bind.CallOpts, header []byte) ([32]byte, error)
- func (_EpochRewards *EpochRewardsCaller) GetVotingGoldFraction(opts *bind.CallOpts) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) HashHeader(opts *bind.CallOpts, header []byte) ([32]byte, error)
- func (_EpochRewards *EpochRewardsCaller) Initialized(opts *bind.CallOpts) (bool, error)
- func (_EpochRewards *EpochRewardsCaller) IsOwner(opts *bind.CallOpts) (bool, error)
- func (_EpochRewards *EpochRewardsCaller) IsReserveLow(opts *bind.CallOpts) (bool, error)
- func (_EpochRewards *EpochRewardsCaller) MinQuorumSize(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) MinQuorumSizeInCurrentSet(opts *bind.CallOpts) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) NumberValidatorsInCurrentSet(opts *bind.CallOpts) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) NumberValidatorsInSet(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_EpochRewards *EpochRewardsCaller) Registry(opts *bind.CallOpts) (common.Address, error)
- func (_EpochRewards *EpochRewardsCaller) StartTime(opts *bind.CallOpts) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) TargetValidatorEpochPayment(opts *bind.CallOpts) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCaller) ValidatorSignerAddressFromCurrentSet(opts *bind.CallOpts, index *big.Int) (common.Address, error)
- func (_EpochRewards *EpochRewardsCaller) ValidatorSignerAddressFromSet(opts *bind.CallOpts, index *big.Int, blockNumber *big.Int) (common.Address, error)
- type EpochRewardsCallerRaw
- type EpochRewardsCallerSession
- func (_EpochRewards *EpochRewardsCallerSession) CalculateTargetEpochRewards() (*big.Int, *big.Int, *big.Int, *big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) CarbonOffsettingPartner() (common.Address, error)
- func (_EpochRewards *EpochRewardsCallerSession) CheckProofOfPossession(sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
- func (_EpochRewards *EpochRewardsCallerSession) FractionMulExp(aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, ...) (*big.Int, *big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) GetBlockNumberFromHeader(header []byte) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) GetCarbonOffsettingFraction() (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) GetCommunityRewardFraction() (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) GetEpochNumber() (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) GetEpochNumberOfBlock(blockNumber *big.Int) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) GetEpochSize() (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) GetParentSealBitmap(blockNumber *big.Int) ([32]byte, error)
- func (_EpochRewards *EpochRewardsCallerSession) GetRewardsMultiplier() (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) GetRewardsMultiplierParameters() (*big.Int, *big.Int, *big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) GetTargetGoldTotalSupply() (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) GetTargetTotalEpochPaymentsInGold() (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) GetTargetVoterRewards() (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) GetTargetVotingGoldFraction() (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) GetTargetVotingYieldParameters() (*big.Int, *big.Int, *big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) GetVerifiedSealBitmapFromHeader(header []byte) ([32]byte, error)
- func (_EpochRewards *EpochRewardsCallerSession) GetVotingGoldFraction() (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) HashHeader(header []byte) ([32]byte, error)
- func (_EpochRewards *EpochRewardsCallerSession) Initialized() (bool, error)
- func (_EpochRewards *EpochRewardsCallerSession) IsOwner() (bool, error)
- func (_EpochRewards *EpochRewardsCallerSession) IsReserveLow() (bool, error)
- func (_EpochRewards *EpochRewardsCallerSession) MinQuorumSize(blockNumber *big.Int) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) MinQuorumSizeInCurrentSet() (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) NumberValidatorsInCurrentSet() (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) NumberValidatorsInSet(blockNumber *big.Int) (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) Owner() (common.Address, error)
- func (_EpochRewards *EpochRewardsCallerSession) Registry() (common.Address, error)
- func (_EpochRewards *EpochRewardsCallerSession) StartTime() (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) TargetValidatorEpochPayment() (*big.Int, error)
- func (_EpochRewards *EpochRewardsCallerSession) ValidatorSignerAddressFromCurrentSet(index *big.Int) (common.Address, error)
- func (_EpochRewards *EpochRewardsCallerSession) ValidatorSignerAddressFromSet(index *big.Int, blockNumber *big.Int) (common.Address, error)
- type EpochRewardsCarbonOffsettingFundSet
- type EpochRewardsCarbonOffsettingFundSetIterator
- type EpochRewardsCommunityRewardFractionSet
- type EpochRewardsCommunityRewardFractionSetIterator
- type EpochRewardsFilterer
- func (_EpochRewards *EpochRewardsFilterer) FilterCarbonOffsettingFundSet(opts *bind.FilterOpts) (*EpochRewardsCarbonOffsettingFundSetIterator, error)
- func (_EpochRewards *EpochRewardsFilterer) FilterCommunityRewardFractionSet(opts *bind.FilterOpts) (*EpochRewardsCommunityRewardFractionSetIterator, error)
- func (_EpochRewards *EpochRewardsFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*EpochRewardsOwnershipTransferredIterator, error)
- func (_EpochRewards *EpochRewardsFilterer) FilterRegistrySet(opts *bind.FilterOpts, registryAddress []common.Address) (*EpochRewardsRegistrySetIterator, error)
- func (_EpochRewards *EpochRewardsFilterer) FilterRewardsMultiplierParametersSet(opts *bind.FilterOpts) (*EpochRewardsRewardsMultiplierParametersSetIterator, error)
- func (_EpochRewards *EpochRewardsFilterer) FilterTargetValidatorEpochPaymentSet(opts *bind.FilterOpts) (*EpochRewardsTargetValidatorEpochPaymentSetIterator, error)
- func (_EpochRewards *EpochRewardsFilterer) FilterTargetVotingGoldFractionSet(opts *bind.FilterOpts) (*EpochRewardsTargetVotingGoldFractionSetIterator, error)
- func (_EpochRewards *EpochRewardsFilterer) FilterTargetVotingYieldParametersSet(opts *bind.FilterOpts) (*EpochRewardsTargetVotingYieldParametersSetIterator, error)
- func (_EpochRewards *EpochRewardsFilterer) FilterTargetVotingYieldUpdated(opts *bind.FilterOpts) (*EpochRewardsTargetVotingYieldUpdatedIterator, error)
- func (_EpochRewards *EpochRewardsFilterer) ParseCarbonOffsettingFundSet(log types.Log) (*EpochRewardsCarbonOffsettingFundSet, error)
- func (_EpochRewards *EpochRewardsFilterer) ParseCommunityRewardFractionSet(log types.Log) (*EpochRewardsCommunityRewardFractionSet, error)
- func (_EpochRewards *EpochRewardsFilterer) ParseOwnershipTransferred(log types.Log) (*EpochRewardsOwnershipTransferred, error)
- func (_EpochRewards *EpochRewardsFilterer) ParseRegistrySet(log types.Log) (*EpochRewardsRegistrySet, error)
- func (_EpochRewards *EpochRewardsFilterer) ParseRewardsMultiplierParametersSet(log types.Log) (*EpochRewardsRewardsMultiplierParametersSet, error)
- func (_EpochRewards *EpochRewardsFilterer) ParseTargetValidatorEpochPaymentSet(log types.Log) (*EpochRewardsTargetValidatorEpochPaymentSet, error)
- func (_EpochRewards *EpochRewardsFilterer) ParseTargetVotingGoldFractionSet(log types.Log) (*EpochRewardsTargetVotingGoldFractionSet, error)
- func (_EpochRewards *EpochRewardsFilterer) ParseTargetVotingYieldParametersSet(log types.Log) (*EpochRewardsTargetVotingYieldParametersSet, error)
- func (_EpochRewards *EpochRewardsFilterer) ParseTargetVotingYieldUpdated(log types.Log) (*EpochRewardsTargetVotingYieldUpdated, error)
- func (_EpochRewards *EpochRewardsFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
- func (_EpochRewards *EpochRewardsFilterer) WatchCarbonOffsettingFundSet(opts *bind.WatchOpts, sink chan<- *EpochRewardsCarbonOffsettingFundSet) (event.Subscription, error)
- func (_EpochRewards *EpochRewardsFilterer) WatchCommunityRewardFractionSet(opts *bind.WatchOpts, sink chan<- *EpochRewardsCommunityRewardFractionSet) (event.Subscription, error)
- func (_EpochRewards *EpochRewardsFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *EpochRewardsOwnershipTransferred, ...) (event.Subscription, error)
- func (_EpochRewards *EpochRewardsFilterer) WatchRegistrySet(opts *bind.WatchOpts, sink chan<- *EpochRewardsRegistrySet, ...) (event.Subscription, error)
- func (_EpochRewards *EpochRewardsFilterer) WatchRewardsMultiplierParametersSet(opts *bind.WatchOpts, sink chan<- *EpochRewardsRewardsMultiplierParametersSet) (event.Subscription, error)
- func (_EpochRewards *EpochRewardsFilterer) WatchTargetValidatorEpochPaymentSet(opts *bind.WatchOpts, sink chan<- *EpochRewardsTargetValidatorEpochPaymentSet) (event.Subscription, error)
- func (_EpochRewards *EpochRewardsFilterer) WatchTargetVotingGoldFractionSet(opts *bind.WatchOpts, sink chan<- *EpochRewardsTargetVotingGoldFractionSet) (event.Subscription, error)
- func (_EpochRewards *EpochRewardsFilterer) WatchTargetVotingYieldParametersSet(opts *bind.WatchOpts, sink chan<- *EpochRewardsTargetVotingYieldParametersSet) (event.Subscription, error)
- func (_EpochRewards *EpochRewardsFilterer) WatchTargetVotingYieldUpdated(opts *bind.WatchOpts, sink chan<- *EpochRewardsTargetVotingYieldUpdated) (event.Subscription, error)
- type EpochRewardsOwnershipTransferred
- type EpochRewardsOwnershipTransferredIterator
- type EpochRewardsRaw
- func (_EpochRewards *EpochRewardsRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_EpochRewards *EpochRewardsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type EpochRewardsRegistrySet
- type EpochRewardsRegistrySetIterator
- type EpochRewardsRewardsMultiplierParametersSet
- type EpochRewardsRewardsMultiplierParametersSetIterator
- type EpochRewardsSession
- func (_EpochRewards *EpochRewardsSession) CalculateTargetEpochRewards() (*big.Int, *big.Int, *big.Int, *big.Int, error)
- func (_EpochRewards *EpochRewardsSession) CarbonOffsettingPartner() (common.Address, error)
- func (_EpochRewards *EpochRewardsSession) CheckProofOfPossession(sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
- func (_EpochRewards *EpochRewardsSession) FractionMulExp(aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, ...) (*big.Int, *big.Int, error)
- func (_EpochRewards *EpochRewardsSession) GetBlockNumberFromHeader(header []byte) (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) GetCarbonOffsettingFraction() (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) GetCommunityRewardFraction() (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) GetEpochNumber() (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) GetEpochNumberOfBlock(blockNumber *big.Int) (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) GetEpochSize() (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) GetParentSealBitmap(blockNumber *big.Int) ([32]byte, error)
- func (_EpochRewards *EpochRewardsSession) GetRewardsMultiplier() (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) GetRewardsMultiplierParameters() (*big.Int, *big.Int, *big.Int, error)
- func (_EpochRewards *EpochRewardsSession) GetTargetGoldTotalSupply() (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) GetTargetTotalEpochPaymentsInGold() (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) GetTargetVoterRewards() (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) GetTargetVotingGoldFraction() (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) GetTargetVotingYieldParameters() (*big.Int, *big.Int, *big.Int, error)
- func (_EpochRewards *EpochRewardsSession) GetVerifiedSealBitmapFromHeader(header []byte) ([32]byte, error)
- func (_EpochRewards *EpochRewardsSession) GetVotingGoldFraction() (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) HashHeader(header []byte) ([32]byte, error)
- func (_EpochRewards *EpochRewardsSession) Initialize(registryAddress common.Address, targetVotingYieldInitial *big.Int, ...) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsSession) Initialized() (bool, error)
- func (_EpochRewards *EpochRewardsSession) IsOwner() (bool, error)
- func (_EpochRewards *EpochRewardsSession) IsReserveLow() (bool, error)
- func (_EpochRewards *EpochRewardsSession) MinQuorumSize(blockNumber *big.Int) (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) MinQuorumSizeInCurrentSet() (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) NumberValidatorsInCurrentSet() (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) NumberValidatorsInSet(blockNumber *big.Int) (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) Owner() (common.Address, error)
- func (_EpochRewards *EpochRewardsSession) Registry() (common.Address, error)
- func (_EpochRewards *EpochRewardsSession) RenounceOwnership() (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsSession) SetCarbonOffsettingFund(partner common.Address, value *big.Int) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsSession) SetCommunityRewardFraction(value *big.Int) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsSession) SetRewardsMultiplierParameters(max *big.Int, underspendAdjustmentFactor *big.Int, ...) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsSession) SetTargetValidatorEpochPayment(value *big.Int) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsSession) SetTargetVotingGoldFraction(value *big.Int) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsSession) SetTargetVotingYieldParameters(max *big.Int, adjustmentFactor *big.Int) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsSession) StartTime() (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) TargetValidatorEpochPayment() (*big.Int, error)
- func (_EpochRewards *EpochRewardsSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsSession) UpdateTargetVotingYield() (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsSession) ValidatorSignerAddressFromCurrentSet(index *big.Int) (common.Address, error)
- func (_EpochRewards *EpochRewardsSession) ValidatorSignerAddressFromSet(index *big.Int, blockNumber *big.Int) (common.Address, error)
- type EpochRewardsTargetValidatorEpochPaymentSet
- type EpochRewardsTargetValidatorEpochPaymentSetIterator
- type EpochRewardsTargetVotingGoldFractionSet
- type EpochRewardsTargetVotingGoldFractionSetIterator
- type EpochRewardsTargetVotingYieldParametersSet
- type EpochRewardsTargetVotingYieldParametersSetIterator
- type EpochRewardsTargetVotingYieldUpdated
- type EpochRewardsTargetVotingYieldUpdatedIterator
- type EpochRewardsTransactor
- func (_EpochRewards *EpochRewardsTransactor) Initialize(opts *bind.TransactOpts, registryAddress common.Address, ...) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactor) SetCarbonOffsettingFund(opts *bind.TransactOpts, partner common.Address, value *big.Int) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactor) SetCommunityRewardFraction(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactor) SetRegistry(opts *bind.TransactOpts, registryAddress common.Address) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactor) SetRewardsMultiplierParameters(opts *bind.TransactOpts, max *big.Int, underspendAdjustmentFactor *big.Int, ...) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactor) SetTargetValidatorEpochPayment(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactor) SetTargetVotingGoldFraction(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactor) SetTargetVotingYieldParameters(opts *bind.TransactOpts, max *big.Int, adjustmentFactor *big.Int) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactor) UpdateTargetVotingYield(opts *bind.TransactOpts) (*types.Transaction, error)
- type EpochRewardsTransactorRaw
- type EpochRewardsTransactorSession
- func (_EpochRewards *EpochRewardsTransactorSession) Initialize(registryAddress common.Address, targetVotingYieldInitial *big.Int, ...) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactorSession) SetCarbonOffsettingFund(partner common.Address, value *big.Int) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactorSession) SetCommunityRewardFraction(value *big.Int) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactorSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactorSession) SetRewardsMultiplierParameters(max *big.Int, underspendAdjustmentFactor *big.Int, ...) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactorSession) SetTargetValidatorEpochPayment(value *big.Int) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactorSession) SetTargetVotingGoldFraction(value *big.Int) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactorSession) SetTargetVotingYieldParameters(max *big.Int, adjustmentFactor *big.Int) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_EpochRewards *EpochRewardsTransactorSession) UpdateTargetVotingYield() (*types.Transaction, error)
- type GasPriceMinimum
- type GasPriceMinimumAdjustmentSpeedSet
- type GasPriceMinimumAdjustmentSpeedSetIterator
- type GasPriceMinimumCaller
- func (_GasPriceMinimum *GasPriceMinimumCaller) AdjustmentSpeed(opts *bind.CallOpts) (*big.Int, error)
- func (_GasPriceMinimum *GasPriceMinimumCaller) GasPriceMinimum(opts *bind.CallOpts) (*big.Int, error)
- func (_GasPriceMinimum *GasPriceMinimumCaller) GasPriceMinimumFloor(opts *bind.CallOpts) (*big.Int, error)
- func (_GasPriceMinimum *GasPriceMinimumCaller) GetGasPriceMinimum(opts *bind.CallOpts, tokenAddress common.Address) (*big.Int, error)
- func (_GasPriceMinimum *GasPriceMinimumCaller) GetUpdatedGasPriceMinimum(opts *bind.CallOpts, blockGasTotal *big.Int, blockGasLimit *big.Int) (*big.Int, error)
- func (_GasPriceMinimum *GasPriceMinimumCaller) Initialized(opts *bind.CallOpts) (bool, error)
- func (_GasPriceMinimum *GasPriceMinimumCaller) IsOwner(opts *bind.CallOpts) (bool, error)
- func (_GasPriceMinimum *GasPriceMinimumCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_GasPriceMinimum *GasPriceMinimumCaller) Registry(opts *bind.CallOpts) (common.Address, error)
- func (_GasPriceMinimum *GasPriceMinimumCaller) TargetDensity(opts *bind.CallOpts) (*big.Int, error)
- type GasPriceMinimumCallerRaw
- type GasPriceMinimumCallerSession
- func (_GasPriceMinimum *GasPriceMinimumCallerSession) AdjustmentSpeed() (*big.Int, error)
- func (_GasPriceMinimum *GasPriceMinimumCallerSession) GasPriceMinimum() (*big.Int, error)
- func (_GasPriceMinimum *GasPriceMinimumCallerSession) GasPriceMinimumFloor() (*big.Int, error)
- func (_GasPriceMinimum *GasPriceMinimumCallerSession) GetGasPriceMinimum(tokenAddress common.Address) (*big.Int, error)
- func (_GasPriceMinimum *GasPriceMinimumCallerSession) GetUpdatedGasPriceMinimum(blockGasTotal *big.Int, blockGasLimit *big.Int) (*big.Int, error)
- func (_GasPriceMinimum *GasPriceMinimumCallerSession) Initialized() (bool, error)
- func (_GasPriceMinimum *GasPriceMinimumCallerSession) IsOwner() (bool, error)
- func (_GasPriceMinimum *GasPriceMinimumCallerSession) Owner() (common.Address, error)
- func (_GasPriceMinimum *GasPriceMinimumCallerSession) Registry() (common.Address, error)
- func (_GasPriceMinimum *GasPriceMinimumCallerSession) TargetDensity() (*big.Int, error)
- type GasPriceMinimumFilterer
- func (_GasPriceMinimum *GasPriceMinimumFilterer) FilterAdjustmentSpeedSet(opts *bind.FilterOpts) (*GasPriceMinimumAdjustmentSpeedSetIterator, error)
- func (_GasPriceMinimum *GasPriceMinimumFilterer) FilterGasPriceMinimumFloorSet(opts *bind.FilterOpts) (*GasPriceMinimumGasPriceMinimumFloorSetIterator, error)
- func (_GasPriceMinimum *GasPriceMinimumFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*GasPriceMinimumOwnershipTransferredIterator, error)
- func (_GasPriceMinimum *GasPriceMinimumFilterer) FilterRegistrySet(opts *bind.FilterOpts, registryAddress []common.Address) (*GasPriceMinimumRegistrySetIterator, error)
- func (_GasPriceMinimum *GasPriceMinimumFilterer) FilterTargetDensitySet(opts *bind.FilterOpts) (*GasPriceMinimumTargetDensitySetIterator, error)
- func (_GasPriceMinimum *GasPriceMinimumFilterer) ParseAdjustmentSpeedSet(log types.Log) (*GasPriceMinimumAdjustmentSpeedSet, error)
- func (_GasPriceMinimum *GasPriceMinimumFilterer) ParseGasPriceMinimumFloorSet(log types.Log) (*GasPriceMinimumGasPriceMinimumFloorSet, error)
- func (_GasPriceMinimum *GasPriceMinimumFilterer) ParseOwnershipTransferred(log types.Log) (*GasPriceMinimumOwnershipTransferred, error)
- func (_GasPriceMinimum *GasPriceMinimumFilterer) ParseRegistrySet(log types.Log) (*GasPriceMinimumRegistrySet, error)
- func (_GasPriceMinimum *GasPriceMinimumFilterer) ParseTargetDensitySet(log types.Log) (*GasPriceMinimumTargetDensitySet, error)
- func (_GasPriceMinimum *GasPriceMinimumFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
- func (_GasPriceMinimum *GasPriceMinimumFilterer) WatchAdjustmentSpeedSet(opts *bind.WatchOpts, sink chan<- *GasPriceMinimumAdjustmentSpeedSet) (event.Subscription, error)
- func (_GasPriceMinimum *GasPriceMinimumFilterer) WatchGasPriceMinimumFloorSet(opts *bind.WatchOpts, sink chan<- *GasPriceMinimumGasPriceMinimumFloorSet) (event.Subscription, error)
- func (_GasPriceMinimum *GasPriceMinimumFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *GasPriceMinimumOwnershipTransferred, ...) (event.Subscription, error)
- func (_GasPriceMinimum *GasPriceMinimumFilterer) WatchRegistrySet(opts *bind.WatchOpts, sink chan<- *GasPriceMinimumRegistrySet, ...) (event.Subscription, error)
- func (_GasPriceMinimum *GasPriceMinimumFilterer) WatchTargetDensitySet(opts *bind.WatchOpts, sink chan<- *GasPriceMinimumTargetDensitySet) (event.Subscription, error)
- type GasPriceMinimumGasPriceMinimumFloorSet
- type GasPriceMinimumGasPriceMinimumFloorSetIterator
- type GasPriceMinimumOwnershipTransferred
- type GasPriceMinimumOwnershipTransferredIterator
- type GasPriceMinimumRaw
- func (_GasPriceMinimum *GasPriceMinimumRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_GasPriceMinimum *GasPriceMinimumRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GasPriceMinimumRegistrySet
- type GasPriceMinimumRegistrySetIterator
- type GasPriceMinimumSession
- func (_GasPriceMinimum *GasPriceMinimumSession) AdjustmentSpeed() (*big.Int, error)
- func (_GasPriceMinimum *GasPriceMinimumSession) GasPriceMinimum() (*big.Int, error)
- func (_GasPriceMinimum *GasPriceMinimumSession) GasPriceMinimumFloor() (*big.Int, error)
- func (_GasPriceMinimum *GasPriceMinimumSession) GetGasPriceMinimum(tokenAddress common.Address) (*big.Int, error)
- func (_GasPriceMinimum *GasPriceMinimumSession) GetUpdatedGasPriceMinimum(blockGasTotal *big.Int, blockGasLimit *big.Int) (*big.Int, error)
- func (_GasPriceMinimum *GasPriceMinimumSession) Initialize(_registryAddress common.Address, _gasPriceMinimumFloor *big.Int, ...) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumSession) Initialized() (bool, error)
- func (_GasPriceMinimum *GasPriceMinimumSession) IsOwner() (bool, error)
- func (_GasPriceMinimum *GasPriceMinimumSession) Owner() (common.Address, error)
- func (_GasPriceMinimum *GasPriceMinimumSession) Registry() (common.Address, error)
- func (_GasPriceMinimum *GasPriceMinimumSession) RenounceOwnership() (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumSession) SetAdjustmentSpeed(_adjustmentSpeed *big.Int) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumSession) SetGasPriceMinimumFloor(_gasPriceMinimumFloor *big.Int) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumSession) SetTargetDensity(_targetDensity *big.Int) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumSession) TargetDensity() (*big.Int, error)
- func (_GasPriceMinimum *GasPriceMinimumSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumSession) UpdateGasPriceMinimum(blockGasTotal *big.Int, blockGasLimit *big.Int) (*types.Transaction, error)
- type GasPriceMinimumTargetDensitySet
- type GasPriceMinimumTargetDensitySetIterator
- type GasPriceMinimumTransactor
- func (_GasPriceMinimum *GasPriceMinimumTransactor) Initialize(opts *bind.TransactOpts, _registryAddress common.Address, ...) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumTransactor) SetAdjustmentSpeed(opts *bind.TransactOpts, _adjustmentSpeed *big.Int) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumTransactor) SetGasPriceMinimumFloor(opts *bind.TransactOpts, _gasPriceMinimumFloor *big.Int) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumTransactor) SetRegistry(opts *bind.TransactOpts, registryAddress common.Address) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumTransactor) SetTargetDensity(opts *bind.TransactOpts, _targetDensity *big.Int) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumTransactor) UpdateGasPriceMinimum(opts *bind.TransactOpts, blockGasTotal *big.Int, blockGasLimit *big.Int) (*types.Transaction, error)
- type GasPriceMinimumTransactorRaw
- type GasPriceMinimumTransactorSession
- func (_GasPriceMinimum *GasPriceMinimumTransactorSession) Initialize(_registryAddress common.Address, _gasPriceMinimumFloor *big.Int, ...) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumTransactorSession) SetAdjustmentSpeed(_adjustmentSpeed *big.Int) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumTransactorSession) SetGasPriceMinimumFloor(_gasPriceMinimumFloor *big.Int) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumTransactorSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumTransactorSession) SetTargetDensity(_targetDensity *big.Int) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_GasPriceMinimum *GasPriceMinimumTransactorSession) UpdateGasPriceMinimum(blockGasTotal *big.Int, blockGasLimit *big.Int) (*types.Transaction, error)
- type LockedGold
- type LockedGoldAccountSlashed
- type LockedGoldAccountSlashedIterator
- type LockedGoldCaller
- func (_LockedGold *LockedGoldCaller) GetAccountNonvotingLockedGold(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_LockedGold *LockedGoldCaller) GetAccountTotalLockedGold(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_LockedGold *LockedGoldCaller) GetNonvotingLockedGold(opts *bind.CallOpts) (*big.Int, error)
- func (_LockedGold *LockedGoldCaller) GetPendingWithdrawals(opts *bind.CallOpts, account common.Address) ([]*big.Int, []*big.Int, error)
- func (_LockedGold *LockedGoldCaller) GetSlashingWhitelist(opts *bind.CallOpts) ([][32]byte, error)
- func (_LockedGold *LockedGoldCaller) GetTotalLockedGold(opts *bind.CallOpts) (*big.Int, error)
- func (_LockedGold *LockedGoldCaller) Initialized(opts *bind.CallOpts) (bool, error)
- func (_LockedGold *LockedGoldCaller) IsOwner(opts *bind.CallOpts) (bool, error)
- func (_LockedGold *LockedGoldCaller) IsSlasher(opts *bind.CallOpts, slasher common.Address) (bool, error)
- func (_LockedGold *LockedGoldCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_LockedGold *LockedGoldCaller) Registry(opts *bind.CallOpts) (common.Address, error)
- func (_LockedGold *LockedGoldCaller) SlashingWhitelist(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)
- func (_LockedGold *LockedGoldCaller) TotalNonvoting(opts *bind.CallOpts) (*big.Int, error)
- func (_LockedGold *LockedGoldCaller) UnlockingPeriod(opts *bind.CallOpts) (*big.Int, error)
- type LockedGoldCallerRaw
- type LockedGoldCallerSession
- func (_LockedGold *LockedGoldCallerSession) GetAccountNonvotingLockedGold(account common.Address) (*big.Int, error)
- func (_LockedGold *LockedGoldCallerSession) GetAccountTotalLockedGold(account common.Address) (*big.Int, error)
- func (_LockedGold *LockedGoldCallerSession) GetNonvotingLockedGold() (*big.Int, error)
- func (_LockedGold *LockedGoldCallerSession) GetPendingWithdrawals(account common.Address) ([]*big.Int, []*big.Int, error)
- func (_LockedGold *LockedGoldCallerSession) GetSlashingWhitelist() ([][32]byte, error)
- func (_LockedGold *LockedGoldCallerSession) GetTotalLockedGold() (*big.Int, error)
- func (_LockedGold *LockedGoldCallerSession) Initialized() (bool, error)
- func (_LockedGold *LockedGoldCallerSession) IsOwner() (bool, error)
- func (_LockedGold *LockedGoldCallerSession) IsSlasher(slasher common.Address) (bool, error)
- func (_LockedGold *LockedGoldCallerSession) Owner() (common.Address, error)
- func (_LockedGold *LockedGoldCallerSession) Registry() (common.Address, error)
- func (_LockedGold *LockedGoldCallerSession) SlashingWhitelist(arg0 *big.Int) ([32]byte, error)
- func (_LockedGold *LockedGoldCallerSession) TotalNonvoting() (*big.Int, error)
- func (_LockedGold *LockedGoldCallerSession) UnlockingPeriod() (*big.Int, error)
- type LockedGoldFilterer
- func (_LockedGold *LockedGoldFilterer) FilterAccountSlashed(opts *bind.FilterOpts, slashed []common.Address, reporter []common.Address) (*LockedGoldAccountSlashedIterator, error)
- func (_LockedGold *LockedGoldFilterer) FilterGoldLocked(opts *bind.FilterOpts, account []common.Address) (*LockedGoldGoldLockedIterator, error)
- func (_LockedGold *LockedGoldFilterer) FilterGoldUnlocked(opts *bind.FilterOpts, account []common.Address) (*LockedGoldGoldUnlockedIterator, error)
- func (_LockedGold *LockedGoldFilterer) FilterGoldWithdrawn(opts *bind.FilterOpts, account []common.Address) (*LockedGoldGoldWithdrawnIterator, error)
- func (_LockedGold *LockedGoldFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*LockedGoldOwnershipTransferredIterator, error)
- func (_LockedGold *LockedGoldFilterer) FilterRegistrySet(opts *bind.FilterOpts, registryAddress []common.Address) (*LockedGoldRegistrySetIterator, error)
- func (_LockedGold *LockedGoldFilterer) FilterSlasherWhitelistAdded(opts *bind.FilterOpts, slasherIdentifier []string) (*LockedGoldSlasherWhitelistAddedIterator, error)
- func (_LockedGold *LockedGoldFilterer) FilterSlasherWhitelistRemoved(opts *bind.FilterOpts, slasherIdentifier []string) (*LockedGoldSlasherWhitelistRemovedIterator, error)
- func (_LockedGold *LockedGoldFilterer) FilterUnlockingPeriodSet(opts *bind.FilterOpts) (*LockedGoldUnlockingPeriodSetIterator, error)
- func (_LockedGold *LockedGoldFilterer) ParseAccountSlashed(log types.Log) (*LockedGoldAccountSlashed, error)
- func (_LockedGold *LockedGoldFilterer) ParseGoldLocked(log types.Log) (*LockedGoldGoldLocked, error)
- func (_LockedGold *LockedGoldFilterer) ParseGoldUnlocked(log types.Log) (*LockedGoldGoldUnlocked, error)
- func (_LockedGold *LockedGoldFilterer) ParseGoldWithdrawn(log types.Log) (*LockedGoldGoldWithdrawn, error)
- func (_LockedGold *LockedGoldFilterer) ParseOwnershipTransferred(log types.Log) (*LockedGoldOwnershipTransferred, error)
- func (_LockedGold *LockedGoldFilterer) ParseRegistrySet(log types.Log) (*LockedGoldRegistrySet, error)
- func (_LockedGold *LockedGoldFilterer) ParseSlasherWhitelistAdded(log types.Log) (*LockedGoldSlasherWhitelistAdded, error)
- func (_LockedGold *LockedGoldFilterer) ParseSlasherWhitelistRemoved(log types.Log) (*LockedGoldSlasherWhitelistRemoved, error)
- func (_LockedGold *LockedGoldFilterer) ParseUnlockingPeriodSet(log types.Log) (*LockedGoldUnlockingPeriodSet, error)
- func (_LockedGold *LockedGoldFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
- func (_LockedGold *LockedGoldFilterer) WatchAccountSlashed(opts *bind.WatchOpts, sink chan<- *LockedGoldAccountSlashed, ...) (event.Subscription, error)
- func (_LockedGold *LockedGoldFilterer) WatchGoldLocked(opts *bind.WatchOpts, sink chan<- *LockedGoldGoldLocked, ...) (event.Subscription, error)
- func (_LockedGold *LockedGoldFilterer) WatchGoldUnlocked(opts *bind.WatchOpts, sink chan<- *LockedGoldGoldUnlocked, ...) (event.Subscription, error)
- func (_LockedGold *LockedGoldFilterer) WatchGoldWithdrawn(opts *bind.WatchOpts, sink chan<- *LockedGoldGoldWithdrawn, ...) (event.Subscription, error)
- func (_LockedGold *LockedGoldFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LockedGoldOwnershipTransferred, ...) (event.Subscription, error)
- func (_LockedGold *LockedGoldFilterer) WatchRegistrySet(opts *bind.WatchOpts, sink chan<- *LockedGoldRegistrySet, ...) (event.Subscription, error)
- func (_LockedGold *LockedGoldFilterer) WatchSlasherWhitelistAdded(opts *bind.WatchOpts, sink chan<- *LockedGoldSlasherWhitelistAdded, ...) (event.Subscription, error)
- func (_LockedGold *LockedGoldFilterer) WatchSlasherWhitelistRemoved(opts *bind.WatchOpts, sink chan<- *LockedGoldSlasherWhitelistRemoved, ...) (event.Subscription, error)
- func (_LockedGold *LockedGoldFilterer) WatchUnlockingPeriodSet(opts *bind.WatchOpts, sink chan<- *LockedGoldUnlockingPeriodSet) (event.Subscription, error)
- type LockedGoldGoldLocked
- type LockedGoldGoldLockedIterator
- type LockedGoldGoldUnlocked
- type LockedGoldGoldUnlockedIterator
- type LockedGoldGoldWithdrawn
- type LockedGoldGoldWithdrawnIterator
- type LockedGoldOwnershipTransferred
- type LockedGoldOwnershipTransferredIterator
- type LockedGoldRaw
- func (_LockedGold *LockedGoldRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_LockedGold *LockedGoldRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LockedGold *LockedGoldRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LockedGoldRegistrySet
- type LockedGoldRegistrySetIterator
- type LockedGoldSession
- func (_LockedGold *LockedGoldSession) AddSlasher(slasherIdentifier string) (*types.Transaction, error)
- func (_LockedGold *LockedGoldSession) DecrementNonvotingAccountBalance(account common.Address, value *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldSession) GetAccountNonvotingLockedGold(account common.Address) (*big.Int, error)
- func (_LockedGold *LockedGoldSession) GetAccountTotalLockedGold(account common.Address) (*big.Int, error)
- func (_LockedGold *LockedGoldSession) GetNonvotingLockedGold() (*big.Int, error)
- func (_LockedGold *LockedGoldSession) GetPendingWithdrawals(account common.Address) ([]*big.Int, []*big.Int, error)
- func (_LockedGold *LockedGoldSession) GetSlashingWhitelist() ([][32]byte, error)
- func (_LockedGold *LockedGoldSession) GetTotalLockedGold() (*big.Int, error)
- func (_LockedGold *LockedGoldSession) IncrementNonvotingAccountBalance(account common.Address, value *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldSession) Initialize(registryAddress common.Address, _unlockingPeriod *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldSession) Initialized() (bool, error)
- func (_LockedGold *LockedGoldSession) IsOwner() (bool, error)
- func (_LockedGold *LockedGoldSession) IsSlasher(slasher common.Address) (bool, error)
- func (_LockedGold *LockedGoldSession) Lock() (*types.Transaction, error)
- func (_LockedGold *LockedGoldSession) Owner() (common.Address, error)
- func (_LockedGold *LockedGoldSession) Registry() (common.Address, error)
- func (_LockedGold *LockedGoldSession) Relock(index *big.Int, value *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldSession) RemoveSlasher(slasherIdentifier string, index *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldSession) RenounceOwnership() (*types.Transaction, error)
- func (_LockedGold *LockedGoldSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
- func (_LockedGold *LockedGoldSession) SetUnlockingPeriod(value *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldSession) Slash(account common.Address, penalty *big.Int, reporter common.Address, ...) (*types.Transaction, error)
- func (_LockedGold *LockedGoldSession) SlashingWhitelist(arg0 *big.Int) ([32]byte, error)
- func (_LockedGold *LockedGoldSession) TotalNonvoting() (*big.Int, error)
- func (_LockedGold *LockedGoldSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_LockedGold *LockedGoldSession) Unlock(value *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldSession) UnlockingPeriod() (*big.Int, error)
- func (_LockedGold *LockedGoldSession) Withdraw(index *big.Int) (*types.Transaction, error)
- type LockedGoldSlasherWhitelistAdded
- type LockedGoldSlasherWhitelistAddedIterator
- type LockedGoldSlasherWhitelistRemoved
- type LockedGoldSlasherWhitelistRemovedIterator
- type LockedGoldTransactor
- func (_LockedGold *LockedGoldTransactor) AddSlasher(opts *bind.TransactOpts, slasherIdentifier string) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactor) DecrementNonvotingAccountBalance(opts *bind.TransactOpts, account common.Address, value *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactor) IncrementNonvotingAccountBalance(opts *bind.TransactOpts, account common.Address, value *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactor) Initialize(opts *bind.TransactOpts, registryAddress common.Address, ...) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactor) Lock(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactor) Relock(opts *bind.TransactOpts, index *big.Int, value *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactor) RemoveSlasher(opts *bind.TransactOpts, slasherIdentifier string, index *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactor) SetRegistry(opts *bind.TransactOpts, registryAddress common.Address) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactor) SetUnlockingPeriod(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactor) Slash(opts *bind.TransactOpts, account common.Address, penalty *big.Int, ...) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactor) Unlock(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactor) Withdraw(opts *bind.TransactOpts, index *big.Int) (*types.Transaction, error)
- type LockedGoldTransactorRaw
- type LockedGoldTransactorSession
- func (_LockedGold *LockedGoldTransactorSession) AddSlasher(slasherIdentifier string) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactorSession) DecrementNonvotingAccountBalance(account common.Address, value *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactorSession) IncrementNonvotingAccountBalance(account common.Address, value *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactorSession) Initialize(registryAddress common.Address, _unlockingPeriod *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactorSession) Lock() (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactorSession) Relock(index *big.Int, value *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactorSession) RemoveSlasher(slasherIdentifier string, index *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactorSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactorSession) SetUnlockingPeriod(value *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactorSession) Slash(account common.Address, penalty *big.Int, reporter common.Address, ...) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactorSession) Unlock(value *big.Int) (*types.Transaction, error)
- func (_LockedGold *LockedGoldTransactorSession) Withdraw(index *big.Int) (*types.Transaction, error)
- type LockedGoldUnlockingPeriodSet
- type LockedGoldUnlockingPeriodSetIterator
- type Registry
- type RegistryCaller
- func (_Registry *RegistryCaller) GetAddressFor(opts *bind.CallOpts, identifierHash [32]byte) (common.Address, error)
- func (_Registry *RegistryCaller) GetAddressForOrDie(opts *bind.CallOpts, identifierHash [32]byte) (common.Address, error)
- func (_Registry *RegistryCaller) GetAddressForString(opts *bind.CallOpts, identifier string) (common.Address, error)
- func (_Registry *RegistryCaller) GetAddressForStringOrDie(opts *bind.CallOpts, identifier string) (common.Address, error)
- func (_Registry *RegistryCaller) Initialized(opts *bind.CallOpts) (bool, error)
- func (_Registry *RegistryCaller) IsOneOf(opts *bind.CallOpts, identifierHashes [][32]byte, sender common.Address) (bool, error)
- func (_Registry *RegistryCaller) IsOwner(opts *bind.CallOpts) (bool, error)
- func (_Registry *RegistryCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Registry *RegistryCaller) Registry(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
- type RegistryCallerRaw
- type RegistryCallerSession
- func (_Registry *RegistryCallerSession) GetAddressFor(identifierHash [32]byte) (common.Address, error)
- func (_Registry *RegistryCallerSession) GetAddressForOrDie(identifierHash [32]byte) (common.Address, error)
- func (_Registry *RegistryCallerSession) GetAddressForString(identifier string) (common.Address, error)
- func (_Registry *RegistryCallerSession) GetAddressForStringOrDie(identifier string) (common.Address, error)
- func (_Registry *RegistryCallerSession) Initialized() (bool, error)
- func (_Registry *RegistryCallerSession) IsOneOf(identifierHashes [][32]byte, sender common.Address) (bool, error)
- func (_Registry *RegistryCallerSession) IsOwner() (bool, error)
- func (_Registry *RegistryCallerSession) Owner() (common.Address, error)
- func (_Registry *RegistryCallerSession) Registry(arg0 [32]byte) (common.Address, error)
- type RegistryFilterer
- func (_Registry *RegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*RegistryOwnershipTransferredIterator, error)
- func (_Registry *RegistryFilterer) FilterRegistryUpdated(opts *bind.FilterOpts, identifierHash [][32]byte) (*RegistryRegistryUpdatedIterator, error)
- func (_Registry *RegistryFilterer) ParseOwnershipTransferred(log types.Log) (*RegistryOwnershipTransferred, error)
- func (_Registry *RegistryFilterer) ParseRegistryUpdated(log types.Log) (*RegistryRegistryUpdated, error)
- func (_Registry *RegistryFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
- func (_Registry *RegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *RegistryOwnershipTransferred, ...) (event.Subscription, error)
- func (_Registry *RegistryFilterer) WatchRegistryUpdated(opts *bind.WatchOpts, sink chan<- *RegistryRegistryUpdated, ...) (event.Subscription, error)
- type RegistryOwnershipTransferred
- type RegistryOwnershipTransferredIterator
- type RegistryRaw
- func (_Registry *RegistryRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Registry *RegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Registry *RegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RegistryRegistryUpdated
- type RegistryRegistryUpdatedIterator
- type RegistrySession
- func (_Registry *RegistrySession) GetAddressFor(identifierHash [32]byte) (common.Address, error)
- func (_Registry *RegistrySession) GetAddressForOrDie(identifierHash [32]byte) (common.Address, error)
- func (_Registry *RegistrySession) GetAddressForString(identifier string) (common.Address, error)
- func (_Registry *RegistrySession) GetAddressForStringOrDie(identifier string) (common.Address, error)
- func (_Registry *RegistrySession) Initialize() (*types.Transaction, error)
- func (_Registry *RegistrySession) Initialized() (bool, error)
- func (_Registry *RegistrySession) IsOneOf(identifierHashes [][32]byte, sender common.Address) (bool, error)
- func (_Registry *RegistrySession) IsOwner() (bool, error)
- func (_Registry *RegistrySession) Owner() (common.Address, error)
- func (_Registry *RegistrySession) Registry(arg0 [32]byte) (common.Address, error)
- func (_Registry *RegistrySession) RenounceOwnership() (*types.Transaction, error)
- func (_Registry *RegistrySession) SetAddressFor(identifier string, addr common.Address) (*types.Transaction, error)
- func (_Registry *RegistrySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type RegistryTransactor
- func (_Registry *RegistryTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Registry *RegistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Registry *RegistryTransactor) SetAddressFor(opts *bind.TransactOpts, identifier string, addr common.Address) (*types.Transaction, error)
- func (_Registry *RegistryTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type RegistryTransactorRaw
- type RegistryTransactorSession
- func (_Registry *RegistryTransactorSession) Initialize() (*types.Transaction, error)
- func (_Registry *RegistryTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Registry *RegistryTransactorSession) SetAddressFor(identifier string, addr common.Address) (*types.Transaction, error)
- func (_Registry *RegistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type StableToken
- type StableTokenApproval
- type StableTokenApprovalIterator
- type StableTokenCaller
- func (_StableToken *StableTokenCaller) Allowance(opts *bind.CallOpts, accountOwner common.Address, spender common.Address) (*big.Int, error)
- func (_StableToken *StableTokenCaller) BalanceOf(opts *bind.CallOpts, accountOwner common.Address) (*big.Int, error)
- func (_StableToken *StableTokenCaller) CheckProofOfPossession(opts *bind.CallOpts, sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
- func (_StableToken *StableTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_StableToken *StableTokenCaller) FractionMulExp(opts *bind.CallOpts, aNumerator *big.Int, aDenominator *big.Int, ...) (*big.Int, *big.Int, error)
- func (_StableToken *StableTokenCaller) GetBlockNumberFromHeader(opts *bind.CallOpts, header []byte) (*big.Int, error)
- func (_StableToken *StableTokenCaller) GetEpochNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_StableToken *StableTokenCaller) GetEpochNumberOfBlock(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
- func (_StableToken *StableTokenCaller) GetEpochSize(opts *bind.CallOpts) (*big.Int, error)
- func (_StableToken *StableTokenCaller) GetInflationParameters(opts *bind.CallOpts) (*big.Int, *big.Int, *big.Int, *big.Int, error)
- func (_StableToken *StableTokenCaller) GetParentSealBitmap(opts *bind.CallOpts, blockNumber *big.Int) ([32]byte, error)
- func (_StableToken *StableTokenCaller) GetVerifiedSealBitmapFromHeader(opts *bind.CallOpts, header []byte) ([32]byte, error)
- func (_StableToken *StableTokenCaller) HashHeader(opts *bind.CallOpts, header []byte) ([32]byte, error)
- func (_StableToken *StableTokenCaller) Initialized(opts *bind.CallOpts) (bool, error)
- func (_StableToken *StableTokenCaller) IsOwner(opts *bind.CallOpts) (bool, error)
- func (_StableToken *StableTokenCaller) MinQuorumSize(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
- func (_StableToken *StableTokenCaller) MinQuorumSizeInCurrentSet(opts *bind.CallOpts) (*big.Int, error)
- func (_StableToken *StableTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_StableToken *StableTokenCaller) NumberValidatorsInCurrentSet(opts *bind.CallOpts) (*big.Int, error)
- func (_StableToken *StableTokenCaller) NumberValidatorsInSet(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
- func (_StableToken *StableTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_StableToken *StableTokenCaller) Registry(opts *bind.CallOpts) (common.Address, error)
- func (_StableToken *StableTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_StableToken *StableTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_StableToken *StableTokenCaller) UnitsToValue(opts *bind.CallOpts, units *big.Int) (*big.Int, error)
- func (_StableToken *StableTokenCaller) ValidatorSignerAddressFromCurrentSet(opts *bind.CallOpts, index *big.Int) (common.Address, error)
- func (_StableToken *StableTokenCaller) ValidatorSignerAddressFromSet(opts *bind.CallOpts, index *big.Int, blockNumber *big.Int) (common.Address, error)
- func (_StableToken *StableTokenCaller) ValueToUnits(opts *bind.CallOpts, value *big.Int) (*big.Int, error)
- type StableTokenCallerRaw
- type StableTokenCallerSession
- func (_StableToken *StableTokenCallerSession) Allowance(accountOwner common.Address, spender common.Address) (*big.Int, error)
- func (_StableToken *StableTokenCallerSession) BalanceOf(accountOwner common.Address) (*big.Int, error)
- func (_StableToken *StableTokenCallerSession) CheckProofOfPossession(sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
- func (_StableToken *StableTokenCallerSession) Decimals() (uint8, error)
- func (_StableToken *StableTokenCallerSession) FractionMulExp(aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, ...) (*big.Int, *big.Int, error)
- func (_StableToken *StableTokenCallerSession) GetBlockNumberFromHeader(header []byte) (*big.Int, error)
- func (_StableToken *StableTokenCallerSession) GetEpochNumber() (*big.Int, error)
- func (_StableToken *StableTokenCallerSession) GetEpochNumberOfBlock(blockNumber *big.Int) (*big.Int, error)
- func (_StableToken *StableTokenCallerSession) GetEpochSize() (*big.Int, error)
- func (_StableToken *StableTokenCallerSession) GetInflationParameters() (*big.Int, *big.Int, *big.Int, *big.Int, error)
- func (_StableToken *StableTokenCallerSession) GetParentSealBitmap(blockNumber *big.Int) ([32]byte, error)
- func (_StableToken *StableTokenCallerSession) GetVerifiedSealBitmapFromHeader(header []byte) ([32]byte, error)
- func (_StableToken *StableTokenCallerSession) HashHeader(header []byte) ([32]byte, error)
- func (_StableToken *StableTokenCallerSession) Initialized() (bool, error)
- func (_StableToken *StableTokenCallerSession) IsOwner() (bool, error)
- func (_StableToken *StableTokenCallerSession) MinQuorumSize(blockNumber *big.Int) (*big.Int, error)
- func (_StableToken *StableTokenCallerSession) MinQuorumSizeInCurrentSet() (*big.Int, error)
- func (_StableToken *StableTokenCallerSession) Name() (string, error)
- func (_StableToken *StableTokenCallerSession) NumberValidatorsInCurrentSet() (*big.Int, error)
- func (_StableToken *StableTokenCallerSession) NumberValidatorsInSet(blockNumber *big.Int) (*big.Int, error)
- func (_StableToken *StableTokenCallerSession) Owner() (common.Address, error)
- func (_StableToken *StableTokenCallerSession) Registry() (common.Address, error)
- func (_StableToken *StableTokenCallerSession) Symbol() (string, error)
- func (_StableToken *StableTokenCallerSession) TotalSupply() (*big.Int, error)
- func (_StableToken *StableTokenCallerSession) UnitsToValue(units *big.Int) (*big.Int, error)
- func (_StableToken *StableTokenCallerSession) ValidatorSignerAddressFromCurrentSet(index *big.Int) (common.Address, error)
- func (_StableToken *StableTokenCallerSession) ValidatorSignerAddressFromSet(index *big.Int, blockNumber *big.Int) (common.Address, error)
- func (_StableToken *StableTokenCallerSession) ValueToUnits(value *big.Int) (*big.Int, error)
- type StableTokenFilterer
- func (_StableToken *StableTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StableTokenApprovalIterator, error)
- func (_StableToken *StableTokenFilterer) FilterInflationFactorUpdated(opts *bind.FilterOpts) (*StableTokenInflationFactorUpdatedIterator, error)
- func (_StableToken *StableTokenFilterer) FilterInflationParametersUpdated(opts *bind.FilterOpts) (*StableTokenInflationParametersUpdatedIterator, error)
- func (_StableToken *StableTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*StableTokenOwnershipTransferredIterator, error)
- func (_StableToken *StableTokenFilterer) FilterRegistrySet(opts *bind.FilterOpts, registryAddress []common.Address) (*StableTokenRegistrySetIterator, error)
- func (_StableToken *StableTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StableTokenTransferIterator, error)
- func (_StableToken *StableTokenFilterer) FilterTransferComment(opts *bind.FilterOpts) (*StableTokenTransferCommentIterator, error)
- func (_StableToken *StableTokenFilterer) ParseApproval(log types.Log) (*StableTokenApproval, error)
- func (_StableToken *StableTokenFilterer) ParseInflationFactorUpdated(log types.Log) (*StableTokenInflationFactorUpdated, error)
- func (_StableToken *StableTokenFilterer) ParseInflationParametersUpdated(log types.Log) (*StableTokenInflationParametersUpdated, error)
- func (_StableToken *StableTokenFilterer) ParseOwnershipTransferred(log types.Log) (*StableTokenOwnershipTransferred, error)
- func (_StableToken *StableTokenFilterer) ParseRegistrySet(log types.Log) (*StableTokenRegistrySet, error)
- func (_StableToken *StableTokenFilterer) ParseTransfer(log types.Log) (*StableTokenTransfer, error)
- func (_StableToken *StableTokenFilterer) ParseTransferComment(log types.Log) (*StableTokenTransferComment, error)
- func (_StableToken *StableTokenFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
- func (_StableToken *StableTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *StableTokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_StableToken *StableTokenFilterer) WatchInflationFactorUpdated(opts *bind.WatchOpts, sink chan<- *StableTokenInflationFactorUpdated) (event.Subscription, error)
- func (_StableToken *StableTokenFilterer) WatchInflationParametersUpdated(opts *bind.WatchOpts, sink chan<- *StableTokenInflationParametersUpdated) (event.Subscription, error)
- func (_StableToken *StableTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *StableTokenOwnershipTransferred, ...) (event.Subscription, error)
- func (_StableToken *StableTokenFilterer) WatchRegistrySet(opts *bind.WatchOpts, sink chan<- *StableTokenRegistrySet, ...) (event.Subscription, error)
- func (_StableToken *StableTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StableTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_StableToken *StableTokenFilterer) WatchTransferComment(opts *bind.WatchOpts, sink chan<- *StableTokenTransferComment) (event.Subscription, error)
- type StableTokenInflationFactorUpdated
- type StableTokenInflationFactorUpdatedIterator
- type StableTokenInflationParametersUpdated
- type StableTokenInflationParametersUpdatedIterator
- type StableTokenOwnershipTransferred
- type StableTokenOwnershipTransferredIterator
- type StableTokenRaw
- func (_StableToken *StableTokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_StableToken *StableTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_StableToken *StableTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StableTokenRegistrySet
- type StableTokenRegistrySetIterator
- type StableTokenSession
- func (_StableToken *StableTokenSession) Allowance(accountOwner common.Address, spender common.Address) (*big.Int, error)
- func (_StableToken *StableTokenSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenSession) BalanceOf(accountOwner common.Address) (*big.Int, error)
- func (_StableToken *StableTokenSession) Burn(value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenSession) CheckProofOfPossession(sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
- func (_StableToken *StableTokenSession) CreditGasFees(from common.Address, feeRecipient common.Address, ...) (*types.Transaction, error)
- func (_StableToken *StableTokenSession) DebitGasFees(from common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenSession) Decimals() (uint8, error)
- func (_StableToken *StableTokenSession) DecreaseAllowance(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenSession) FractionMulExp(aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, ...) (*big.Int, *big.Int, error)
- func (_StableToken *StableTokenSession) GetBlockNumberFromHeader(header []byte) (*big.Int, error)
- func (_StableToken *StableTokenSession) GetEpochNumber() (*big.Int, error)
- func (_StableToken *StableTokenSession) GetEpochNumberOfBlock(blockNumber *big.Int) (*big.Int, error)
- func (_StableToken *StableTokenSession) GetEpochSize() (*big.Int, error)
- func (_StableToken *StableTokenSession) GetInflationParameters() (*big.Int, *big.Int, *big.Int, *big.Int, error)
- func (_StableToken *StableTokenSession) GetParentSealBitmap(blockNumber *big.Int) ([32]byte, error)
- func (_StableToken *StableTokenSession) GetVerifiedSealBitmapFromHeader(header []byte) ([32]byte, error)
- func (_StableToken *StableTokenSession) HashHeader(header []byte) ([32]byte, error)
- func (_StableToken *StableTokenSession) IncreaseAllowance(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenSession) Initialize(_name string, _symbol string, _decimals uint8, registryAddress common.Address, ...) (*types.Transaction, error)
- func (_StableToken *StableTokenSession) Initialized() (bool, error)
- func (_StableToken *StableTokenSession) IsOwner() (bool, error)
- func (_StableToken *StableTokenSession) MinQuorumSize(blockNumber *big.Int) (*big.Int, error)
- func (_StableToken *StableTokenSession) MinQuorumSizeInCurrentSet() (*big.Int, error)
- func (_StableToken *StableTokenSession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenSession) Name() (string, error)
- func (_StableToken *StableTokenSession) NumberValidatorsInCurrentSet() (*big.Int, error)
- func (_StableToken *StableTokenSession) NumberValidatorsInSet(blockNumber *big.Int) (*big.Int, error)
- func (_StableToken *StableTokenSession) Owner() (common.Address, error)
- func (_StableToken *StableTokenSession) Registry() (common.Address, error)
- func (_StableToken *StableTokenSession) RenounceOwnership() (*types.Transaction, error)
- func (_StableToken *StableTokenSession) SetInflationParameters(rate *big.Int, updatePeriod *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
- func (_StableToken *StableTokenSession) Symbol() (string, error)
- func (_StableToken *StableTokenSession) TotalSupply() (*big.Int, error)
- func (_StableToken *StableTokenSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_StableToken *StableTokenSession) TransferWithComment(to common.Address, value *big.Int, comment string) (*types.Transaction, error)
- func (_StableToken *StableTokenSession) UnitsToValue(units *big.Int) (*big.Int, error)
- func (_StableToken *StableTokenSession) ValidatorSignerAddressFromCurrentSet(index *big.Int) (common.Address, error)
- func (_StableToken *StableTokenSession) ValidatorSignerAddressFromSet(index *big.Int, blockNumber *big.Int) (common.Address, error)
- func (_StableToken *StableTokenSession) ValueToUnits(value *big.Int) (*big.Int, error)
- type StableTokenTransactor
- func (_StableToken *StableTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactor) Burn(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactor) CreditGasFees(opts *bind.TransactOpts, from common.Address, feeRecipient common.Address, ...) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactor) DebitGasFees(opts *bind.TransactOpts, from common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactor) Initialize(opts *bind.TransactOpts, _name string, _symbol string, _decimals uint8, ...) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactor) Mint(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactor) SetInflationParameters(opts *bind.TransactOpts, rate *big.Int, updatePeriod *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactor) SetRegistry(opts *bind.TransactOpts, registryAddress common.Address) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactor) TransferWithComment(opts *bind.TransactOpts, to common.Address, value *big.Int, comment string) (*types.Transaction, error)
- type StableTokenTransactorRaw
- type StableTokenTransactorSession
- func (_StableToken *StableTokenTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactorSession) Burn(value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactorSession) CreditGasFees(from common.Address, feeRecipient common.Address, ...) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactorSession) DebitGasFees(from common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactorSession) DecreaseAllowance(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactorSession) IncreaseAllowance(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactorSession) Initialize(_name string, _symbol string, _decimals uint8, registryAddress common.Address, ...) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactorSession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_StableToken *StableTokenTransactorSession) SetInflationParameters(rate *big.Int, updatePeriod *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactorSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_StableToken *StableTokenTransactorSession) TransferWithComment(to common.Address, value *big.Int, comment string) (*types.Transaction, error)
- type StableTokenTransfer
- type StableTokenTransferComment
- type StableTokenTransferCommentIterator
- type StableTokenTransferIterator
- type Validators
- type ValidatorsCaller
- func (_Validators *ValidatorsCaller) CalculateEpochScore(opts *bind.CallOpts, uptime *big.Int) (*big.Int, error)
- func (_Validators *ValidatorsCaller) CalculateGroupEpochScore(opts *bind.CallOpts, uptimes []*big.Int) (*big.Int, error)
- func (_Validators *ValidatorsCaller) CheckProofOfPossession(opts *bind.CallOpts, sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
- func (_Validators *ValidatorsCaller) CommissionUpdateDelay(opts *bind.CallOpts) (*big.Int, error)
- func (_Validators *ValidatorsCaller) FractionMulExp(opts *bind.CallOpts, aNumerator *big.Int, aDenominator *big.Int, ...) (*big.Int, *big.Int, error)
- func (_Validators *ValidatorsCaller) GetAccountLockedGoldRequirement(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Validators *ValidatorsCaller) GetBlockNumberFromHeader(opts *bind.CallOpts, header []byte) (*big.Int, error)
- func (_Validators *ValidatorsCaller) GetCommissionUpdateDelay(opts *bind.CallOpts) (*big.Int, error)
- func (_Validators *ValidatorsCaller) GetEpochNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_Validators *ValidatorsCaller) GetEpochNumberOfBlock(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
- func (_Validators *ValidatorsCaller) GetEpochSize(opts *bind.CallOpts) (*big.Int, error)
- func (_Validators *ValidatorsCaller) GetGroupLockedGoldRequirements(opts *bind.CallOpts) (*big.Int, *big.Int, error)
- func (_Validators *ValidatorsCaller) GetGroupNumMembers(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Validators *ValidatorsCaller) GetGroupsNumMembers(opts *bind.CallOpts, accounts []common.Address) ([]*big.Int, error)
- func (_Validators *ValidatorsCaller) GetMaxGroupSize(opts *bind.CallOpts) (*big.Int, error)
- func (_Validators *ValidatorsCaller) GetMembershipHistory(opts *bind.CallOpts, account common.Address) ([]*big.Int, []common.Address, *big.Int, *big.Int, error)
- func (_Validators *ValidatorsCaller) GetMembershipInLastEpoch(opts *bind.CallOpts, account common.Address) (common.Address, error)
- func (_Validators *ValidatorsCaller) GetMembershipInLastEpochFromSigner(opts *bind.CallOpts, signer common.Address) (common.Address, error)
- func (_Validators *ValidatorsCaller) GetNumRegisteredValidators(opts *bind.CallOpts) (*big.Int, error)
- func (_Validators *ValidatorsCaller) GetParentSealBitmap(opts *bind.CallOpts, blockNumber *big.Int) ([32]byte, error)
- func (_Validators *ValidatorsCaller) GetRegisteredValidatorGroups(opts *bind.CallOpts) ([]common.Address, error)
- func (_Validators *ValidatorsCaller) GetRegisteredValidatorSigners(opts *bind.CallOpts) ([]common.Address, error)
- func (_Validators *ValidatorsCaller) GetRegisteredValidators(opts *bind.CallOpts) ([]common.Address, error)
- func (_Validators *ValidatorsCaller) GetTopGroupValidators(opts *bind.CallOpts, account common.Address, n *big.Int) ([]common.Address, error)
- func (_Validators *ValidatorsCaller) GetValidator(opts *bind.CallOpts, account common.Address) (struct{ ... }, error)
- func (_Validators *ValidatorsCaller) GetValidatorBlsPublicKeyFromSigner(opts *bind.CallOpts, signer common.Address) ([]byte, error)
- func (_Validators *ValidatorsCaller) GetValidatorGroup(opts *bind.CallOpts, account common.Address) ([]common.Address, *big.Int, *big.Int, *big.Int, []*big.Int, *big.Int, *big.Int, ...)
- func (_Validators *ValidatorsCaller) GetValidatorGroupSlashingMultiplier(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Validators *ValidatorsCaller) GetValidatorLockedGoldRequirements(opts *bind.CallOpts) (*big.Int, *big.Int, error)
- func (_Validators *ValidatorsCaller) GetValidatorScoreParameters(opts *bind.CallOpts) (*big.Int, *big.Int, error)
- func (_Validators *ValidatorsCaller) GetVerifiedSealBitmapFromHeader(opts *bind.CallOpts, header []byte) ([32]byte, error)
- func (_Validators *ValidatorsCaller) GroupLockedGoldRequirements(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Validators *ValidatorsCaller) GroupMembershipInEpoch(opts *bind.CallOpts, account common.Address, epochNumber *big.Int, ...) (common.Address, error)
- func (_Validators *ValidatorsCaller) HashHeader(opts *bind.CallOpts, header []byte) ([32]byte, error)
- func (_Validators *ValidatorsCaller) Initialized(opts *bind.CallOpts) (bool, error)
- func (_Validators *ValidatorsCaller) IsOwner(opts *bind.CallOpts) (bool, error)
- func (_Validators *ValidatorsCaller) IsValidator(opts *bind.CallOpts, account common.Address) (bool, error)
- func (_Validators *ValidatorsCaller) IsValidatorGroup(opts *bind.CallOpts, account common.Address) (bool, error)
- func (_Validators *ValidatorsCaller) MaxGroupSize(opts *bind.CallOpts) (*big.Int, error)
- func (_Validators *ValidatorsCaller) MeetsAccountLockedGoldRequirements(opts *bind.CallOpts, account common.Address) (bool, error)
- func (_Validators *ValidatorsCaller) MembershipHistoryLength(opts *bind.CallOpts) (*big.Int, error)
- func (_Validators *ValidatorsCaller) MinQuorumSize(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
- func (_Validators *ValidatorsCaller) MinQuorumSizeInCurrentSet(opts *bind.CallOpts) (*big.Int, error)
- func (_Validators *ValidatorsCaller) NumberValidatorsInCurrentSet(opts *bind.CallOpts) (*big.Int, error)
- func (_Validators *ValidatorsCaller) NumberValidatorsInSet(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
- func (_Validators *ValidatorsCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Validators *ValidatorsCaller) Registry(opts *bind.CallOpts) (common.Address, error)
- func (_Validators *ValidatorsCaller) SlashingMultiplierResetPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_Validators *ValidatorsCaller) ValidatorLockedGoldRequirements(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Validators *ValidatorsCaller) ValidatorSignerAddressFromCurrentSet(opts *bind.CallOpts, index *big.Int) (common.Address, error)
- func (_Validators *ValidatorsCaller) ValidatorSignerAddressFromSet(opts *bind.CallOpts, index *big.Int, blockNumber *big.Int) (common.Address, error)
- type ValidatorsCallerRaw
- type ValidatorsCallerSession
- func (_Validators *ValidatorsCallerSession) CalculateEpochScore(uptime *big.Int) (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) CalculateGroupEpochScore(uptimes []*big.Int) (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) CheckProofOfPossession(sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
- func (_Validators *ValidatorsCallerSession) CommissionUpdateDelay() (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) FractionMulExp(aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, ...) (*big.Int, *big.Int, error)
- func (_Validators *ValidatorsCallerSession) GetAccountLockedGoldRequirement(account common.Address) (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) GetBlockNumberFromHeader(header []byte) (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) GetCommissionUpdateDelay() (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) GetEpochNumber() (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) GetEpochNumberOfBlock(blockNumber *big.Int) (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) GetEpochSize() (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) GetGroupLockedGoldRequirements() (*big.Int, *big.Int, error)
- func (_Validators *ValidatorsCallerSession) GetGroupNumMembers(account common.Address) (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) GetGroupsNumMembers(accounts []common.Address) ([]*big.Int, error)
- func (_Validators *ValidatorsCallerSession) GetMaxGroupSize() (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) GetMembershipHistory(account common.Address) ([]*big.Int, []common.Address, *big.Int, *big.Int, error)
- func (_Validators *ValidatorsCallerSession) GetMembershipInLastEpoch(account common.Address) (common.Address, error)
- func (_Validators *ValidatorsCallerSession) GetMembershipInLastEpochFromSigner(signer common.Address) (common.Address, error)
- func (_Validators *ValidatorsCallerSession) GetNumRegisteredValidators() (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) GetParentSealBitmap(blockNumber *big.Int) ([32]byte, error)
- func (_Validators *ValidatorsCallerSession) GetRegisteredValidatorGroups() ([]common.Address, error)
- func (_Validators *ValidatorsCallerSession) GetRegisteredValidatorSigners() ([]common.Address, error)
- func (_Validators *ValidatorsCallerSession) GetRegisteredValidators() ([]common.Address, error)
- func (_Validators *ValidatorsCallerSession) GetTopGroupValidators(account common.Address, n *big.Int) ([]common.Address, error)
- func (_Validators *ValidatorsCallerSession) GetValidator(account common.Address) (struct{ ... }, error)
- func (_Validators *ValidatorsCallerSession) GetValidatorBlsPublicKeyFromSigner(signer common.Address) ([]byte, error)
- func (_Validators *ValidatorsCallerSession) GetValidatorGroup(account common.Address) ([]common.Address, *big.Int, *big.Int, *big.Int, []*big.Int, *big.Int, *big.Int, ...)
- func (_Validators *ValidatorsCallerSession) GetValidatorGroupSlashingMultiplier(account common.Address) (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) GetValidatorLockedGoldRequirements() (*big.Int, *big.Int, error)
- func (_Validators *ValidatorsCallerSession) GetValidatorScoreParameters() (*big.Int, *big.Int, error)
- func (_Validators *ValidatorsCallerSession) GetVerifiedSealBitmapFromHeader(header []byte) ([32]byte, error)
- func (_Validators *ValidatorsCallerSession) GroupLockedGoldRequirements() (struct{ ... }, error)
- func (_Validators *ValidatorsCallerSession) GroupMembershipInEpoch(account common.Address, epochNumber *big.Int, index *big.Int) (common.Address, error)
- func (_Validators *ValidatorsCallerSession) HashHeader(header []byte) ([32]byte, error)
- func (_Validators *ValidatorsCallerSession) Initialized() (bool, error)
- func (_Validators *ValidatorsCallerSession) IsOwner() (bool, error)
- func (_Validators *ValidatorsCallerSession) IsValidator(account common.Address) (bool, error)
- func (_Validators *ValidatorsCallerSession) IsValidatorGroup(account common.Address) (bool, error)
- func (_Validators *ValidatorsCallerSession) MaxGroupSize() (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) MeetsAccountLockedGoldRequirements(account common.Address) (bool, error)
- func (_Validators *ValidatorsCallerSession) MembershipHistoryLength() (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) MinQuorumSize(blockNumber *big.Int) (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) MinQuorumSizeInCurrentSet() (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) NumberValidatorsInCurrentSet() (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) NumberValidatorsInSet(blockNumber *big.Int) (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) Owner() (common.Address, error)
- func (_Validators *ValidatorsCallerSession) Registry() (common.Address, error)
- func (_Validators *ValidatorsCallerSession) SlashingMultiplierResetPeriod() (*big.Int, error)
- func (_Validators *ValidatorsCallerSession) ValidatorLockedGoldRequirements() (struct{ ... }, error)
- func (_Validators *ValidatorsCallerSession) ValidatorSignerAddressFromCurrentSet(index *big.Int) (common.Address, error)
- func (_Validators *ValidatorsCallerSession) ValidatorSignerAddressFromSet(index *big.Int, blockNumber *big.Int) (common.Address, error)
- type ValidatorsCommissionUpdateDelaySet
- type ValidatorsCommissionUpdateDelaySetIterator
- type ValidatorsFilterer
- func (_Validators *ValidatorsFilterer) FilterCommissionUpdateDelaySet(opts *bind.FilterOpts) (*ValidatorsCommissionUpdateDelaySetIterator, error)
- func (_Validators *ValidatorsFilterer) FilterGroupLockedGoldRequirementsSet(opts *bind.FilterOpts) (*ValidatorsGroupLockedGoldRequirementsSetIterator, error)
- func (_Validators *ValidatorsFilterer) FilterMaxGroupSizeSet(opts *bind.FilterOpts) (*ValidatorsMaxGroupSizeSetIterator, error)
- func (_Validators *ValidatorsFilterer) FilterMembershipHistoryLengthSet(opts *bind.FilterOpts) (*ValidatorsMembershipHistoryLengthSetIterator, error)
- func (_Validators *ValidatorsFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ValidatorsOwnershipTransferredIterator, error)
- func (_Validators *ValidatorsFilterer) FilterRegistrySet(opts *bind.FilterOpts, registryAddress []common.Address) (*ValidatorsRegistrySetIterator, error)
- func (_Validators *ValidatorsFilterer) FilterValidatorAffiliated(opts *bind.FilterOpts, validator []common.Address, group []common.Address) (*ValidatorsValidatorAffiliatedIterator, error)
- func (_Validators *ValidatorsFilterer) FilterValidatorBlsPublicKeyUpdated(opts *bind.FilterOpts, validator []common.Address) (*ValidatorsValidatorBlsPublicKeyUpdatedIterator, error)
- func (_Validators *ValidatorsFilterer) FilterValidatorDeaffiliated(opts *bind.FilterOpts, validator []common.Address, group []common.Address) (*ValidatorsValidatorDeaffiliatedIterator, error)
- func (_Validators *ValidatorsFilterer) FilterValidatorDeregistered(opts *bind.FilterOpts, validator []common.Address) (*ValidatorsValidatorDeregisteredIterator, error)
- func (_Validators *ValidatorsFilterer) FilterValidatorEcdsaPublicKeyUpdated(opts *bind.FilterOpts, validator []common.Address) (*ValidatorsValidatorEcdsaPublicKeyUpdatedIterator, error)
- func (_Validators *ValidatorsFilterer) FilterValidatorEpochPaymentDistributed(opts *bind.FilterOpts, validator []common.Address, group []common.Address) (*ValidatorsValidatorEpochPaymentDistributedIterator, error)
- func (_Validators *ValidatorsFilterer) FilterValidatorGroupCommissionUpdateQueued(opts *bind.FilterOpts, group []common.Address) (*ValidatorsValidatorGroupCommissionUpdateQueuedIterator, error)
- func (_Validators *ValidatorsFilterer) FilterValidatorGroupCommissionUpdated(opts *bind.FilterOpts, group []common.Address) (*ValidatorsValidatorGroupCommissionUpdatedIterator, error)
- func (_Validators *ValidatorsFilterer) FilterValidatorGroupDeregistered(opts *bind.FilterOpts, group []common.Address) (*ValidatorsValidatorGroupDeregisteredIterator, error)
- func (_Validators *ValidatorsFilterer) FilterValidatorGroupMemberAdded(opts *bind.FilterOpts, group []common.Address, validator []common.Address) (*ValidatorsValidatorGroupMemberAddedIterator, error)
- func (_Validators *ValidatorsFilterer) FilterValidatorGroupMemberRemoved(opts *bind.FilterOpts, group []common.Address, validator []common.Address) (*ValidatorsValidatorGroupMemberRemovedIterator, error)
- func (_Validators *ValidatorsFilterer) FilterValidatorGroupMemberReordered(opts *bind.FilterOpts, group []common.Address, validator []common.Address) (*ValidatorsValidatorGroupMemberReorderedIterator, error)
- func (_Validators *ValidatorsFilterer) FilterValidatorGroupRegistered(opts *bind.FilterOpts, group []common.Address) (*ValidatorsValidatorGroupRegisteredIterator, error)
- func (_Validators *ValidatorsFilterer) FilterValidatorLockedGoldRequirementsSet(opts *bind.FilterOpts) (*ValidatorsValidatorLockedGoldRequirementsSetIterator, error)
- func (_Validators *ValidatorsFilterer) FilterValidatorRegistered(opts *bind.FilterOpts, validator []common.Address) (*ValidatorsValidatorRegisteredIterator, error)
- func (_Validators *ValidatorsFilterer) FilterValidatorScoreParametersSet(opts *bind.FilterOpts) (*ValidatorsValidatorScoreParametersSetIterator, error)
- func (_Validators *ValidatorsFilterer) FilterValidatorScoreUpdated(opts *bind.FilterOpts, validator []common.Address) (*ValidatorsValidatorScoreUpdatedIterator, error)
- func (_Validators *ValidatorsFilterer) ParseCommissionUpdateDelaySet(log types.Log) (*ValidatorsCommissionUpdateDelaySet, error)
- func (_Validators *ValidatorsFilterer) ParseGroupLockedGoldRequirementsSet(log types.Log) (*ValidatorsGroupLockedGoldRequirementsSet, error)
- func (_Validators *ValidatorsFilterer) ParseMaxGroupSizeSet(log types.Log) (*ValidatorsMaxGroupSizeSet, error)
- func (_Validators *ValidatorsFilterer) ParseMembershipHistoryLengthSet(log types.Log) (*ValidatorsMembershipHistoryLengthSet, error)
- func (_Validators *ValidatorsFilterer) ParseOwnershipTransferred(log types.Log) (*ValidatorsOwnershipTransferred, error)
- func (_Validators *ValidatorsFilterer) ParseRegistrySet(log types.Log) (*ValidatorsRegistrySet, error)
- func (_Validators *ValidatorsFilterer) ParseValidatorAffiliated(log types.Log) (*ValidatorsValidatorAffiliated, error)
- func (_Validators *ValidatorsFilterer) ParseValidatorBlsPublicKeyUpdated(log types.Log) (*ValidatorsValidatorBlsPublicKeyUpdated, error)
- func (_Validators *ValidatorsFilterer) ParseValidatorDeaffiliated(log types.Log) (*ValidatorsValidatorDeaffiliated, error)
- func (_Validators *ValidatorsFilterer) ParseValidatorDeregistered(log types.Log) (*ValidatorsValidatorDeregistered, error)
- func (_Validators *ValidatorsFilterer) ParseValidatorEcdsaPublicKeyUpdated(log types.Log) (*ValidatorsValidatorEcdsaPublicKeyUpdated, error)
- func (_Validators *ValidatorsFilterer) ParseValidatorEpochPaymentDistributed(log types.Log) (*ValidatorsValidatorEpochPaymentDistributed, error)
- func (_Validators *ValidatorsFilterer) ParseValidatorGroupCommissionUpdateQueued(log types.Log) (*ValidatorsValidatorGroupCommissionUpdateQueued, error)
- func (_Validators *ValidatorsFilterer) ParseValidatorGroupCommissionUpdated(log types.Log) (*ValidatorsValidatorGroupCommissionUpdated, error)
- func (_Validators *ValidatorsFilterer) ParseValidatorGroupDeregistered(log types.Log) (*ValidatorsValidatorGroupDeregistered, error)
- func (_Validators *ValidatorsFilterer) ParseValidatorGroupMemberAdded(log types.Log) (*ValidatorsValidatorGroupMemberAdded, error)
- func (_Validators *ValidatorsFilterer) ParseValidatorGroupMemberRemoved(log types.Log) (*ValidatorsValidatorGroupMemberRemoved, error)
- func (_Validators *ValidatorsFilterer) ParseValidatorGroupMemberReordered(log types.Log) (*ValidatorsValidatorGroupMemberReordered, error)
- func (_Validators *ValidatorsFilterer) ParseValidatorGroupRegistered(log types.Log) (*ValidatorsValidatorGroupRegistered, error)
- func (_Validators *ValidatorsFilterer) ParseValidatorLockedGoldRequirementsSet(log types.Log) (*ValidatorsValidatorLockedGoldRequirementsSet, error)
- func (_Validators *ValidatorsFilterer) ParseValidatorRegistered(log types.Log) (*ValidatorsValidatorRegistered, error)
- func (_Validators *ValidatorsFilterer) ParseValidatorScoreParametersSet(log types.Log) (*ValidatorsValidatorScoreParametersSet, error)
- func (_Validators *ValidatorsFilterer) ParseValidatorScoreUpdated(log types.Log) (*ValidatorsValidatorScoreUpdated, error)
- func (_Validators *ValidatorsFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
- func (_Validators *ValidatorsFilterer) WatchCommissionUpdateDelaySet(opts *bind.WatchOpts, sink chan<- *ValidatorsCommissionUpdateDelaySet) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchGroupLockedGoldRequirementsSet(opts *bind.WatchOpts, sink chan<- *ValidatorsGroupLockedGoldRequirementsSet) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchMaxGroupSizeSet(opts *bind.WatchOpts, sink chan<- *ValidatorsMaxGroupSizeSet) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchMembershipHistoryLengthSet(opts *bind.WatchOpts, sink chan<- *ValidatorsMembershipHistoryLengthSet) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ValidatorsOwnershipTransferred, ...) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchRegistrySet(opts *bind.WatchOpts, sink chan<- *ValidatorsRegistrySet, ...) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchValidatorAffiliated(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorAffiliated, ...) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchValidatorBlsPublicKeyUpdated(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorBlsPublicKeyUpdated, ...) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchValidatorDeaffiliated(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorDeaffiliated, ...) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchValidatorDeregistered(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorDeregistered, ...) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchValidatorEcdsaPublicKeyUpdated(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorEcdsaPublicKeyUpdated, ...) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchValidatorEpochPaymentDistributed(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorEpochPaymentDistributed, ...) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchValidatorGroupCommissionUpdateQueued(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchValidatorGroupCommissionUpdated(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorGroupCommissionUpdated, ...) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchValidatorGroupDeregistered(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorGroupDeregistered, ...) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchValidatorGroupMemberAdded(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorGroupMemberAdded, ...) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchValidatorGroupMemberRemoved(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorGroupMemberRemoved, ...) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchValidatorGroupMemberReordered(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorGroupMemberReordered, ...) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchValidatorGroupRegistered(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorGroupRegistered, ...) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchValidatorLockedGoldRequirementsSet(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchValidatorRegistered(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorRegistered, ...) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchValidatorScoreParametersSet(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorScoreParametersSet) (event.Subscription, error)
- func (_Validators *ValidatorsFilterer) WatchValidatorScoreUpdated(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorScoreUpdated, ...) (event.Subscription, error)
- type ValidatorsGroupLockedGoldRequirementsSet
- type ValidatorsGroupLockedGoldRequirementsSetIterator
- type ValidatorsMaxGroupSizeSet
- type ValidatorsMaxGroupSizeSetIterator
- type ValidatorsMembershipHistoryLengthSet
- type ValidatorsMembershipHistoryLengthSetIterator
- type ValidatorsOwnershipTransferred
- type ValidatorsOwnershipTransferredIterator
- type ValidatorsRaw
- func (_Validators *ValidatorsRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Validators *ValidatorsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Validators *ValidatorsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ValidatorsRegistrySet
- type ValidatorsRegistrySetIterator
- type ValidatorsSession
- func (_Validators *ValidatorsSession) AddFirstMember(validator common.Address, lesser common.Address, greater common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) AddMember(validator common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) Affiliate(group common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) CalculateEpochScore(uptime *big.Int) (*big.Int, error)
- func (_Validators *ValidatorsSession) CalculateGroupEpochScore(uptimes []*big.Int) (*big.Int, error)
- func (_Validators *ValidatorsSession) CheckProofOfPossession(sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
- func (_Validators *ValidatorsSession) CommissionUpdateDelay() (*big.Int, error)
- func (_Validators *ValidatorsSession) Deaffiliate() (*types.Transaction, error)
- func (_Validators *ValidatorsSession) DeregisterValidator(index *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) DeregisterValidatorGroup(index *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) DistributeEpochPaymentsFromSigner(signer common.Address, maxPayment *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) ForceDeaffiliateIfValidator(validatorAccount common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) FractionMulExp(aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, ...) (*big.Int, *big.Int, error)
- func (_Validators *ValidatorsSession) GetAccountLockedGoldRequirement(account common.Address) (*big.Int, error)
- func (_Validators *ValidatorsSession) GetBlockNumberFromHeader(header []byte) (*big.Int, error)
- func (_Validators *ValidatorsSession) GetCommissionUpdateDelay() (*big.Int, error)
- func (_Validators *ValidatorsSession) GetEpochNumber() (*big.Int, error)
- func (_Validators *ValidatorsSession) GetEpochNumberOfBlock(blockNumber *big.Int) (*big.Int, error)
- func (_Validators *ValidatorsSession) GetEpochSize() (*big.Int, error)
- func (_Validators *ValidatorsSession) GetGroupLockedGoldRequirements() (*big.Int, *big.Int, error)
- func (_Validators *ValidatorsSession) GetGroupNumMembers(account common.Address) (*big.Int, error)
- func (_Validators *ValidatorsSession) GetGroupsNumMembers(accounts []common.Address) ([]*big.Int, error)
- func (_Validators *ValidatorsSession) GetMaxGroupSize() (*big.Int, error)
- func (_Validators *ValidatorsSession) GetMembershipHistory(account common.Address) ([]*big.Int, []common.Address, *big.Int, *big.Int, error)
- func (_Validators *ValidatorsSession) GetMembershipInLastEpoch(account common.Address) (common.Address, error)
- func (_Validators *ValidatorsSession) GetMembershipInLastEpochFromSigner(signer common.Address) (common.Address, error)
- func (_Validators *ValidatorsSession) GetNumRegisteredValidators() (*big.Int, error)
- func (_Validators *ValidatorsSession) GetParentSealBitmap(blockNumber *big.Int) ([32]byte, error)
- func (_Validators *ValidatorsSession) GetRegisteredValidatorGroups() ([]common.Address, error)
- func (_Validators *ValidatorsSession) GetRegisteredValidatorSigners() ([]common.Address, error)
- func (_Validators *ValidatorsSession) GetRegisteredValidators() ([]common.Address, error)
- func (_Validators *ValidatorsSession) GetTopGroupValidators(account common.Address, n *big.Int) ([]common.Address, error)
- func (_Validators *ValidatorsSession) GetValidator(account common.Address) (struct{ ... }, error)
- func (_Validators *ValidatorsSession) GetValidatorBlsPublicKeyFromSigner(signer common.Address) ([]byte, error)
- func (_Validators *ValidatorsSession) GetValidatorGroup(account common.Address) ([]common.Address, *big.Int, *big.Int, *big.Int, []*big.Int, *big.Int, *big.Int, ...)
- func (_Validators *ValidatorsSession) GetValidatorGroupSlashingMultiplier(account common.Address) (*big.Int, error)
- func (_Validators *ValidatorsSession) GetValidatorLockedGoldRequirements() (*big.Int, *big.Int, error)
- func (_Validators *ValidatorsSession) GetValidatorScoreParameters() (*big.Int, *big.Int, error)
- func (_Validators *ValidatorsSession) GetVerifiedSealBitmapFromHeader(header []byte) ([32]byte, error)
- func (_Validators *ValidatorsSession) GroupLockedGoldRequirements() (struct{ ... }, error)
- func (_Validators *ValidatorsSession) GroupMembershipInEpoch(account common.Address, epochNumber *big.Int, index *big.Int) (common.Address, error)
- func (_Validators *ValidatorsSession) HalveSlashingMultiplier(account common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) HashHeader(header []byte) ([32]byte, error)
- func (_Validators *ValidatorsSession) Initialize(registryAddress common.Address, groupRequirementValue *big.Int, ...) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) Initialized() (bool, error)
- func (_Validators *ValidatorsSession) IsOwner() (bool, error)
- func (_Validators *ValidatorsSession) IsValidator(account common.Address) (bool, error)
- func (_Validators *ValidatorsSession) IsValidatorGroup(account common.Address) (bool, error)
- func (_Validators *ValidatorsSession) MaxGroupSize() (*big.Int, error)
- func (_Validators *ValidatorsSession) MeetsAccountLockedGoldRequirements(account common.Address) (bool, error)
- func (_Validators *ValidatorsSession) MembershipHistoryLength() (*big.Int, error)
- func (_Validators *ValidatorsSession) MinQuorumSize(blockNumber *big.Int) (*big.Int, error)
- func (_Validators *ValidatorsSession) MinQuorumSizeInCurrentSet() (*big.Int, error)
- func (_Validators *ValidatorsSession) NumberValidatorsInCurrentSet() (*big.Int, error)
- func (_Validators *ValidatorsSession) NumberValidatorsInSet(blockNumber *big.Int) (*big.Int, error)
- func (_Validators *ValidatorsSession) Owner() (common.Address, error)
- func (_Validators *ValidatorsSession) QueueCommissionUpdate(commission *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) RegisterValidator(ecdsaPublicKey []byte, blsPublicKey []byte, blsPop []byte) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) RegisterValidatorGroup(commission *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) Registry() (common.Address, error)
- func (_Validators *ValidatorsSession) RemoveMember(validator common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) RenounceOwnership() (*types.Transaction, error)
- func (_Validators *ValidatorsSession) ReorderMember(validator common.Address, lesserMember common.Address, ...) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) ResetSlashingMultiplier() (*types.Transaction, error)
- func (_Validators *ValidatorsSession) SetCommissionUpdateDelay(delay *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) SetGroupLockedGoldRequirements(value *big.Int, duration *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) SetMaxGroupSize(size *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) SetMembershipHistoryLength(length *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) SetSlashingMultiplierResetPeriod(value *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) SetValidatorLockedGoldRequirements(value *big.Int, duration *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) SetValidatorScoreParameters(exponent *big.Int, adjustmentSpeed *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) SlashingMultiplierResetPeriod() (*big.Int, error)
- func (_Validators *ValidatorsSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) UpdateBlsPublicKey(blsPublicKey []byte, blsPop []byte) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) UpdateCommission() (*types.Transaction, error)
- func (_Validators *ValidatorsSession) UpdateEcdsaPublicKey(account common.Address, signer common.Address, ecdsaPublicKey []byte) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) UpdatePublicKeys(account common.Address, signer common.Address, ecdsaPublicKey []byte, ...) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) UpdateValidatorScoreFromSigner(signer common.Address, uptime *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsSession) ValidatorLockedGoldRequirements() (struct{ ... }, error)
- func (_Validators *ValidatorsSession) ValidatorSignerAddressFromCurrentSet(index *big.Int) (common.Address, error)
- func (_Validators *ValidatorsSession) ValidatorSignerAddressFromSet(index *big.Int, blockNumber *big.Int) (common.Address, error)
- type ValidatorsTransactor
- func (_Validators *ValidatorsTransactor) AddFirstMember(opts *bind.TransactOpts, validator common.Address, lesser common.Address, ...) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) AddMember(opts *bind.TransactOpts, validator common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) Affiliate(opts *bind.TransactOpts, group common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) Deaffiliate(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) DeregisterValidator(opts *bind.TransactOpts, index *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) DeregisterValidatorGroup(opts *bind.TransactOpts, index *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) DistributeEpochPaymentsFromSigner(opts *bind.TransactOpts, signer common.Address, maxPayment *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) ForceDeaffiliateIfValidator(opts *bind.TransactOpts, validatorAccount common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) HalveSlashingMultiplier(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) Initialize(opts *bind.TransactOpts, registryAddress common.Address, ...) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) QueueCommissionUpdate(opts *bind.TransactOpts, commission *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) RegisterValidator(opts *bind.TransactOpts, ecdsaPublicKey []byte, blsPublicKey []byte, ...) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) RegisterValidatorGroup(opts *bind.TransactOpts, commission *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) RemoveMember(opts *bind.TransactOpts, validator common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) ReorderMember(opts *bind.TransactOpts, validator common.Address, lesserMember common.Address, ...) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) ResetSlashingMultiplier(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) SetCommissionUpdateDelay(opts *bind.TransactOpts, delay *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) SetGroupLockedGoldRequirements(opts *bind.TransactOpts, value *big.Int, duration *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) SetMaxGroupSize(opts *bind.TransactOpts, size *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) SetMembershipHistoryLength(opts *bind.TransactOpts, length *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) SetRegistry(opts *bind.TransactOpts, registryAddress common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) SetSlashingMultiplierResetPeriod(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) SetValidatorLockedGoldRequirements(opts *bind.TransactOpts, value *big.Int, duration *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) SetValidatorScoreParameters(opts *bind.TransactOpts, exponent *big.Int, adjustmentSpeed *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) UpdateBlsPublicKey(opts *bind.TransactOpts, blsPublicKey []byte, blsPop []byte) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) UpdateCommission(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) UpdateEcdsaPublicKey(opts *bind.TransactOpts, account common.Address, signer common.Address, ...) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) UpdatePublicKeys(opts *bind.TransactOpts, account common.Address, signer common.Address, ...) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactor) UpdateValidatorScoreFromSigner(opts *bind.TransactOpts, signer common.Address, uptime *big.Int) (*types.Transaction, error)
- type ValidatorsTransactorRaw
- type ValidatorsTransactorSession
- func (_Validators *ValidatorsTransactorSession) AddFirstMember(validator common.Address, lesser common.Address, greater common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) AddMember(validator common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) Affiliate(group common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) Deaffiliate() (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) DeregisterValidator(index *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) DeregisterValidatorGroup(index *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) DistributeEpochPaymentsFromSigner(signer common.Address, maxPayment *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) ForceDeaffiliateIfValidator(validatorAccount common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) HalveSlashingMultiplier(account common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) Initialize(registryAddress common.Address, groupRequirementValue *big.Int, ...) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) QueueCommissionUpdate(commission *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) RegisterValidator(ecdsaPublicKey []byte, blsPublicKey []byte, blsPop []byte) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) RegisterValidatorGroup(commission *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) RemoveMember(validator common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) ReorderMember(validator common.Address, lesserMember common.Address, ...) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) ResetSlashingMultiplier() (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) SetCommissionUpdateDelay(delay *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) SetGroupLockedGoldRequirements(value *big.Int, duration *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) SetMaxGroupSize(size *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) SetMembershipHistoryLength(length *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) SetSlashingMultiplierResetPeriod(value *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) SetValidatorLockedGoldRequirements(value *big.Int, duration *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) SetValidatorScoreParameters(exponent *big.Int, adjustmentSpeed *big.Int) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) UpdateBlsPublicKey(blsPublicKey []byte, blsPop []byte) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) UpdateCommission() (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) UpdateEcdsaPublicKey(account common.Address, signer common.Address, ecdsaPublicKey []byte) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) UpdatePublicKeys(account common.Address, signer common.Address, ecdsaPublicKey []byte, ...) (*types.Transaction, error)
- func (_Validators *ValidatorsTransactorSession) UpdateValidatorScoreFromSigner(signer common.Address, uptime *big.Int) (*types.Transaction, error)
- type ValidatorsValidatorAffiliated
- type ValidatorsValidatorAffiliatedIterator
- type ValidatorsValidatorBlsPublicKeyUpdated
- type ValidatorsValidatorBlsPublicKeyUpdatedIterator
- type ValidatorsValidatorDeaffiliated
- type ValidatorsValidatorDeaffiliatedIterator
- type ValidatorsValidatorDeregistered
- type ValidatorsValidatorDeregisteredIterator
- type ValidatorsValidatorEcdsaPublicKeyUpdated
- type ValidatorsValidatorEcdsaPublicKeyUpdatedIterator
- type ValidatorsValidatorEpochPaymentDistributed
- type ValidatorsValidatorEpochPaymentDistributedIterator
- type ValidatorsValidatorGroupCommissionUpdateQueued
- type ValidatorsValidatorGroupCommissionUpdateQueuedIterator
- type ValidatorsValidatorGroupCommissionUpdated
- type ValidatorsValidatorGroupCommissionUpdatedIterator
- type ValidatorsValidatorGroupDeregistered
- type ValidatorsValidatorGroupDeregisteredIterator
- type ValidatorsValidatorGroupMemberAdded
- type ValidatorsValidatorGroupMemberAddedIterator
- type ValidatorsValidatorGroupMemberRemoved
- type ValidatorsValidatorGroupMemberRemovedIterator
- type ValidatorsValidatorGroupMemberReordered
- type ValidatorsValidatorGroupMemberReorderedIterator
- type ValidatorsValidatorGroupRegistered
- type ValidatorsValidatorGroupRegisteredIterator
- type ValidatorsValidatorLockedGoldRequirementsSet
- type ValidatorsValidatorLockedGoldRequirementsSetIterator
- type ValidatorsValidatorRegistered
- type ValidatorsValidatorRegisteredIterator
- type ValidatorsValidatorScoreParametersSet
- type ValidatorsValidatorScoreParametersSetIterator
- type ValidatorsValidatorScoreUpdated
- type ValidatorsValidatorScoreUpdatedIterator
Constants ¶
const AccountsABI = "" /* 12024-byte string literal not displayed */
AccountsABI is the input ABI used to generate the binding from.
const ElectionABI = "" /* 16674-byte string literal not displayed */
ElectionABI is the input ABI used to generate the binding from.
const EpochRewardsABI = "" /* 12599-byte string literal not displayed */
EpochRewardsABI is the input ABI used to generate the binding from.
const GasPriceMinimumABI = "" /* 4656-byte string literal not displayed */
GasPriceMinimumABI is the input ABI used to generate the binding from.
const LockedGoldABI = "" /* 7808-byte string literal not displayed */
LockedGoldABI is the input ABI used to generate the binding from.
const RegistryABI = "" /* 3173-byte string literal not displayed */
RegistryABI is the input ABI used to generate the binding from.
const StableTokenABI = "" /* 12162-byte string literal not displayed */
StableTokenABI is the input ABI used to generate the binding from.
const ValidatorsABI = "" /* 25325-byte string literal not displayed */
ValidatorsABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
func ParseEpochRewardsABI ¶
ParseEpochRewardsABI parses the ABI
func ParseGasPriceMinimumABI ¶
ParseGasPriceMinimumABI parses the ABI
func ParseLockedGoldABI ¶
ParseLockedGoldABI parses the ABI
func ParseStableTokenABI ¶
ParseStableTokenABI parses the ABI
func ParseValidatorsABI ¶
ParseValidatorsABI parses the ABI
Types ¶
type Accounts ¶
type Accounts struct {
AccountsCaller // Read-only binding to the contract
AccountsTransactor // Write-only binding to the contract
AccountsFilterer // Log filterer for contract events
}
Accounts is an auto generated Go binding around an Ethereum contract.
func NewAccounts ¶
NewAccounts creates a new instance of Accounts, bound to a specific deployed contract.
type AccountsAccountCreated ¶
type AccountsAccountCreated struct {
Account common.Address
Raw types.Log // Blockchain specific contextual infos
}
AccountsAccountCreated represents a AccountCreated event raised by the Accounts contract.
type AccountsAccountCreatedIterator ¶
type AccountsAccountCreatedIterator struct {
Event *AccountsAccountCreated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
AccountsAccountCreatedIterator is returned from FilterAccountCreated and is used to iterate over the raw logs and unpacked data for AccountCreated events raised by the Accounts contract.
func (*AccountsAccountCreatedIterator) Close ¶
func (it *AccountsAccountCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccountsAccountCreatedIterator) Error ¶
func (it *AccountsAccountCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccountsAccountCreatedIterator) Next ¶
func (it *AccountsAccountCreatedIterator) 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 AccountsAccountDataEncryptionKeySet ¶
type AccountsAccountDataEncryptionKeySet struct {
Account common.Address
DataEncryptionKey []byte
Raw types.Log // Blockchain specific contextual infos
}
AccountsAccountDataEncryptionKeySet represents a AccountDataEncryptionKeySet event raised by the Accounts contract.
type AccountsAccountDataEncryptionKeySetIterator ¶
type AccountsAccountDataEncryptionKeySetIterator struct {
Event *AccountsAccountDataEncryptionKeySet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
AccountsAccountDataEncryptionKeySetIterator is returned from FilterAccountDataEncryptionKeySet and is used to iterate over the raw logs and unpacked data for AccountDataEncryptionKeySet events raised by the Accounts contract.
func (*AccountsAccountDataEncryptionKeySetIterator) Close ¶
func (it *AccountsAccountDataEncryptionKeySetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccountsAccountDataEncryptionKeySetIterator) Error ¶
func (it *AccountsAccountDataEncryptionKeySetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccountsAccountDataEncryptionKeySetIterator) Next ¶
func (it *AccountsAccountDataEncryptionKeySetIterator) 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 AccountsAccountMetadataURLSet ¶
type AccountsAccountMetadataURLSet struct {
Account common.Address
MetadataURL string
Raw types.Log // Blockchain specific contextual infos
}
AccountsAccountMetadataURLSet represents a AccountMetadataURLSet event raised by the Accounts contract.
type AccountsAccountMetadataURLSetIterator ¶
type AccountsAccountMetadataURLSetIterator struct {
Event *AccountsAccountMetadataURLSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
AccountsAccountMetadataURLSetIterator is returned from FilterAccountMetadataURLSet and is used to iterate over the raw logs and unpacked data for AccountMetadataURLSet events raised by the Accounts contract.
func (*AccountsAccountMetadataURLSetIterator) Close ¶
func (it *AccountsAccountMetadataURLSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccountsAccountMetadataURLSetIterator) Error ¶
func (it *AccountsAccountMetadataURLSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccountsAccountMetadataURLSetIterator) Next ¶
func (it *AccountsAccountMetadataURLSetIterator) 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 AccountsAccountNameSet ¶
type AccountsAccountNameSet struct {
Account common.Address
Name string
Raw types.Log // Blockchain specific contextual infos
}
AccountsAccountNameSet represents a AccountNameSet event raised by the Accounts contract.
type AccountsAccountNameSetIterator ¶
type AccountsAccountNameSetIterator struct {
Event *AccountsAccountNameSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
AccountsAccountNameSetIterator is returned from FilterAccountNameSet and is used to iterate over the raw logs and unpacked data for AccountNameSet events raised by the Accounts contract.
func (*AccountsAccountNameSetIterator) Close ¶
func (it *AccountsAccountNameSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccountsAccountNameSetIterator) Error ¶
func (it *AccountsAccountNameSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccountsAccountNameSetIterator) Next ¶
func (it *AccountsAccountNameSetIterator) 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 AccountsAccountWalletAddressSet ¶
type AccountsAccountWalletAddressSet struct {
Account common.Address
WalletAddress common.Address
Raw types.Log // Blockchain specific contextual infos
}
AccountsAccountWalletAddressSet represents a AccountWalletAddressSet event raised by the Accounts contract.
type AccountsAccountWalletAddressSetIterator ¶
type AccountsAccountWalletAddressSetIterator struct {
Event *AccountsAccountWalletAddressSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
AccountsAccountWalletAddressSetIterator is returned from FilterAccountWalletAddressSet and is used to iterate over the raw logs and unpacked data for AccountWalletAddressSet events raised by the Accounts contract.
func (*AccountsAccountWalletAddressSetIterator) Close ¶
func (it *AccountsAccountWalletAddressSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccountsAccountWalletAddressSetIterator) Error ¶
func (it *AccountsAccountWalletAddressSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccountsAccountWalletAddressSetIterator) Next ¶
func (it *AccountsAccountWalletAddressSetIterator) 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 AccountsAttestationSignerAuthorized ¶
type AccountsAttestationSignerAuthorized struct {
Account common.Address
Signer common.Address
Raw types.Log // Blockchain specific contextual infos
}
AccountsAttestationSignerAuthorized represents a AttestationSignerAuthorized event raised by the Accounts contract.
type AccountsAttestationSignerAuthorizedIterator ¶
type AccountsAttestationSignerAuthorizedIterator struct {
Event *AccountsAttestationSignerAuthorized // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
AccountsAttestationSignerAuthorizedIterator is returned from FilterAttestationSignerAuthorized and is used to iterate over the raw logs and unpacked data for AttestationSignerAuthorized events raised by the Accounts contract.
func (*AccountsAttestationSignerAuthorizedIterator) Close ¶
func (it *AccountsAttestationSignerAuthorizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccountsAttestationSignerAuthorizedIterator) Error ¶
func (it *AccountsAttestationSignerAuthorizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccountsAttestationSignerAuthorizedIterator) Next ¶
func (it *AccountsAttestationSignerAuthorizedIterator) 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 AccountsAttestationSignerRemoved ¶
type AccountsAttestationSignerRemoved struct {
Account common.Address
OldSigner common.Address
Raw types.Log // Blockchain specific contextual infos
}
AccountsAttestationSignerRemoved represents a AttestationSignerRemoved event raised by the Accounts contract.
type AccountsAttestationSignerRemovedIterator ¶
type AccountsAttestationSignerRemovedIterator struct {
Event *AccountsAttestationSignerRemoved // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
AccountsAttestationSignerRemovedIterator is returned from FilterAttestationSignerRemoved and is used to iterate over the raw logs and unpacked data for AttestationSignerRemoved events raised by the Accounts contract.
func (*AccountsAttestationSignerRemovedIterator) Close ¶
func (it *AccountsAttestationSignerRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccountsAttestationSignerRemovedIterator) Error ¶
func (it *AccountsAttestationSignerRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccountsAttestationSignerRemovedIterator) Next ¶
func (it *AccountsAttestationSignerRemovedIterator) 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 AccountsCaller ¶
type AccountsCaller struct {
// contains filtered or unexported fields
}
AccountsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAccountsCaller ¶
func NewAccountsCaller(address common.Address, caller bind.ContractCaller) (*AccountsCaller, error)
NewAccountsCaller creates a new read-only instance of Accounts, bound to a specific deployed contract.
func (*AccountsCaller) AttestationSignerToAccount ¶
func (_Accounts *AccountsCaller) AttestationSignerToAccount(opts *bind.CallOpts, signer common.Address) (common.Address, error)
AttestationSignerToAccount is a free data retrieval call binding the contract method 0x7b2434cb.
Solidity: function attestationSignerToAccount(address signer) constant returns(address)
func (*AccountsCaller) AuthorizedBy ¶
func (_Accounts *AccountsCaller) AuthorizedBy(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)
AuthorizedBy is a free data retrieval call binding the contract method 0xb5a664c2.
Solidity: function authorizedBy(address ) constant returns(address)
func (*AccountsCaller) BatchGetMetadataURL ¶
func (_Accounts *AccountsCaller) BatchGetMetadataURL(opts *bind.CallOpts, accountsToQuery []common.Address) ([]*big.Int, []byte, error)
BatchGetMetadataURL is a free data retrieval call binding the contract method 0x8adaf96f.
Solidity: function batchGetMetadataURL(address[] accountsToQuery) constant returns(uint256[], bytes)
func (*AccountsCaller) GetAttestationSigner ¶
func (_Accounts *AccountsCaller) GetAttestationSigner(opts *bind.CallOpts, account common.Address) (common.Address, error)
GetAttestationSigner is a free data retrieval call binding the contract method 0x61bab1ae.
Solidity: function getAttestationSigner(address account) constant returns(address)
func (*AccountsCaller) GetDataEncryptionKey ¶
func (_Accounts *AccountsCaller) GetDataEncryptionKey(opts *bind.CallOpts, account common.Address) ([]byte, error)
GetDataEncryptionKey is a free data retrieval call binding the contract method 0xae32fa0e.
Solidity: function getDataEncryptionKey(address account) constant returns(bytes)
func (*AccountsCaller) GetMetadataURL ¶
func (_Accounts *AccountsCaller) GetMetadataURL(opts *bind.CallOpts, account common.Address) (string, error)
GetMetadataURL is a free data retrieval call binding the contract method 0xa8ae1a3d.
Solidity: function getMetadataURL(address account) constant returns(string)
func (*AccountsCaller) GetName ¶
func (_Accounts *AccountsCaller) GetName(opts *bind.CallOpts, account common.Address) (string, error)
GetName is a free data retrieval call binding the contract method 0x5fd4b08a.
Solidity: function getName(address account) constant returns(string)
func (*AccountsCaller) GetValidatorSigner ¶
func (_Accounts *AccountsCaller) GetValidatorSigner(opts *bind.CallOpts, account common.Address) (common.Address, error)
GetValidatorSigner is a free data retrieval call binding the contract method 0x4ce38b5f.
Solidity: function getValidatorSigner(address account) constant returns(address)
func (*AccountsCaller) GetVoteSigner ¶
func (_Accounts *AccountsCaller) GetVoteSigner(opts *bind.CallOpts, account common.Address) (common.Address, error)
GetVoteSigner is a free data retrieval call binding the contract method 0x41ddd880.
Solidity: function getVoteSigner(address account) constant returns(address)
func (*AccountsCaller) GetWalletAddress ¶
func (_Accounts *AccountsCaller) GetWalletAddress(opts *bind.CallOpts, account common.Address) (common.Address, error)
GetWalletAddress is a free data retrieval call binding the contract method 0x1fd9afa5.
Solidity: function getWalletAddress(address account) constant returns(address)
func (*AccountsCaller) HasAuthorizedAttestationSigner ¶
func (_Accounts *AccountsCaller) HasAuthorizedAttestationSigner(opts *bind.CallOpts, account common.Address) (bool, error)
HasAuthorizedAttestationSigner is a free data retrieval call binding the contract method 0xc2e0ee20.
Solidity: function hasAuthorizedAttestationSigner(address account) constant returns(bool)
func (*AccountsCaller) HasAuthorizedValidatorSigner ¶
func (_Accounts *AccountsCaller) HasAuthorizedValidatorSigner(opts *bind.CallOpts, account common.Address) (bool, error)
HasAuthorizedValidatorSigner is a free data retrieval call binding the contract method 0x0127dbed.
Solidity: function hasAuthorizedValidatorSigner(address account) constant returns(bool)
func (*AccountsCaller) HasAuthorizedVoteSigner ¶
func (_Accounts *AccountsCaller) HasAuthorizedVoteSigner(opts *bind.CallOpts, account common.Address) (bool, error)
HasAuthorizedVoteSigner is a free data retrieval call binding the contract method 0x614ed493.
Solidity: function hasAuthorizedVoteSigner(address account) constant returns(bool)
func (*AccountsCaller) Initialized ¶
func (_Accounts *AccountsCaller) Initialized(opts *bind.CallOpts) (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*AccountsCaller) IsAccount ¶
func (_Accounts *AccountsCaller) IsAccount(opts *bind.CallOpts, account common.Address) (bool, error)
IsAccount is a free data retrieval call binding the contract method 0x25ca4c9c.
Solidity: function isAccount(address account) constant returns(bool)
func (*AccountsCaller) IsAuthorizedSigner ¶
func (_Accounts *AccountsCaller) IsAuthorizedSigner(opts *bind.CallOpts, signer common.Address) (bool, error)
IsAuthorizedSigner is a free data retrieval call binding the contract method 0x49045e16.
Solidity: function isAuthorizedSigner(address signer) constant returns(bool)
func (*AccountsCaller) IsOwner ¶
func (_Accounts *AccountsCaller) IsOwner(opts *bind.CallOpts) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*AccountsCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*AccountsCaller) Registry ¶
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*AccountsCaller) SignerToAccount ¶
func (_Accounts *AccountsCaller) SignerToAccount(opts *bind.CallOpts, signer common.Address) (common.Address, error)
SignerToAccount is a free data retrieval call binding the contract method 0x93c5c487.
Solidity: function signerToAccount(address signer) constant returns(address)
func (*AccountsCaller) ValidatorSignerToAccount ¶
func (_Accounts *AccountsCaller) ValidatorSignerToAccount(opts *bind.CallOpts, signer common.Address) (common.Address, error)
ValidatorSignerToAccount is a free data retrieval call binding the contract method 0x64439b43.
Solidity: function validatorSignerToAccount(address signer) constant returns(address)
func (*AccountsCaller) VoteSignerToAccount ¶
func (_Accounts *AccountsCaller) VoteSignerToAccount(opts *bind.CallOpts, signer common.Address) (common.Address, error)
VoteSignerToAccount is a free data retrieval call binding the contract method 0x6642d594.
Solidity: function voteSignerToAccount(address signer) constant returns(address)
type AccountsCallerRaw ¶
type AccountsCallerRaw struct {
Contract *AccountsCaller // Generic read-only contract binding to access the raw methods on
}
AccountsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AccountsCallerRaw) Call ¶
func (_Accounts *AccountsCallerRaw) 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 AccountsCallerSession ¶
type AccountsCallerSession struct {
Contract *AccountsCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
AccountsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AccountsCallerSession) AttestationSignerToAccount ¶
func (_Accounts *AccountsCallerSession) AttestationSignerToAccount(signer common.Address) (common.Address, error)
AttestationSignerToAccount is a free data retrieval call binding the contract method 0x7b2434cb.
Solidity: function attestationSignerToAccount(address signer) constant returns(address)
func (*AccountsCallerSession) AuthorizedBy ¶
AuthorizedBy is a free data retrieval call binding the contract method 0xb5a664c2.
Solidity: function authorizedBy(address ) constant returns(address)
func (*AccountsCallerSession) BatchGetMetadataURL ¶
func (_Accounts *AccountsCallerSession) BatchGetMetadataURL(accountsToQuery []common.Address) ([]*big.Int, []byte, error)
BatchGetMetadataURL is a free data retrieval call binding the contract method 0x8adaf96f.
Solidity: function batchGetMetadataURL(address[] accountsToQuery) constant returns(uint256[], bytes)
func (*AccountsCallerSession) GetAttestationSigner ¶
func (_Accounts *AccountsCallerSession) GetAttestationSigner(account common.Address) (common.Address, error)
GetAttestationSigner is a free data retrieval call binding the contract method 0x61bab1ae.
Solidity: function getAttestationSigner(address account) constant returns(address)
func (*AccountsCallerSession) GetDataEncryptionKey ¶
func (_Accounts *AccountsCallerSession) GetDataEncryptionKey(account common.Address) ([]byte, error)
GetDataEncryptionKey is a free data retrieval call binding the contract method 0xae32fa0e.
Solidity: function getDataEncryptionKey(address account) constant returns(bytes)
func (*AccountsCallerSession) GetMetadataURL ¶
func (_Accounts *AccountsCallerSession) GetMetadataURL(account common.Address) (string, error)
GetMetadataURL is a free data retrieval call binding the contract method 0xa8ae1a3d.
Solidity: function getMetadataURL(address account) constant returns(string)
func (*AccountsCallerSession) GetName ¶
func (_Accounts *AccountsCallerSession) GetName(account common.Address) (string, error)
GetName is a free data retrieval call binding the contract method 0x5fd4b08a.
Solidity: function getName(address account) constant returns(string)
func (*AccountsCallerSession) GetValidatorSigner ¶
func (_Accounts *AccountsCallerSession) GetValidatorSigner(account common.Address) (common.Address, error)
GetValidatorSigner is a free data retrieval call binding the contract method 0x4ce38b5f.
Solidity: function getValidatorSigner(address account) constant returns(address)
func (*AccountsCallerSession) GetVoteSigner ¶
func (_Accounts *AccountsCallerSession) GetVoteSigner(account common.Address) (common.Address, error)
GetVoteSigner is a free data retrieval call binding the contract method 0x41ddd880.
Solidity: function getVoteSigner(address account) constant returns(address)
func (*AccountsCallerSession) GetWalletAddress ¶
func (_Accounts *AccountsCallerSession) GetWalletAddress(account common.Address) (common.Address, error)
GetWalletAddress is a free data retrieval call binding the contract method 0x1fd9afa5.
Solidity: function getWalletAddress(address account) constant returns(address)
func (*AccountsCallerSession) HasAuthorizedAttestationSigner ¶
func (_Accounts *AccountsCallerSession) HasAuthorizedAttestationSigner(account common.Address) (bool, error)
HasAuthorizedAttestationSigner is a free data retrieval call binding the contract method 0xc2e0ee20.
Solidity: function hasAuthorizedAttestationSigner(address account) constant returns(bool)
func (*AccountsCallerSession) HasAuthorizedValidatorSigner ¶
func (_Accounts *AccountsCallerSession) HasAuthorizedValidatorSigner(account common.Address) (bool, error)
HasAuthorizedValidatorSigner is a free data retrieval call binding the contract method 0x0127dbed.
Solidity: function hasAuthorizedValidatorSigner(address account) constant returns(bool)
func (*AccountsCallerSession) HasAuthorizedVoteSigner ¶
func (_Accounts *AccountsCallerSession) HasAuthorizedVoteSigner(account common.Address) (bool, error)
HasAuthorizedVoteSigner is a free data retrieval call binding the contract method 0x614ed493.
Solidity: function hasAuthorizedVoteSigner(address account) constant returns(bool)
func (*AccountsCallerSession) Initialized ¶
func (_Accounts *AccountsCallerSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*AccountsCallerSession) IsAccount ¶
func (_Accounts *AccountsCallerSession) IsAccount(account common.Address) (bool, error)
IsAccount is a free data retrieval call binding the contract method 0x25ca4c9c.
Solidity: function isAccount(address account) constant returns(bool)
func (*AccountsCallerSession) IsAuthorizedSigner ¶
func (_Accounts *AccountsCallerSession) IsAuthorizedSigner(signer common.Address) (bool, error)
IsAuthorizedSigner is a free data retrieval call binding the contract method 0x49045e16.
Solidity: function isAuthorizedSigner(address signer) constant returns(bool)
func (*AccountsCallerSession) IsOwner ¶
func (_Accounts *AccountsCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*AccountsCallerSession) Owner ¶
func (_Accounts *AccountsCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*AccountsCallerSession) Registry ¶
func (_Accounts *AccountsCallerSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*AccountsCallerSession) SignerToAccount ¶
func (_Accounts *AccountsCallerSession) SignerToAccount(signer common.Address) (common.Address, error)
SignerToAccount is a free data retrieval call binding the contract method 0x93c5c487.
Solidity: function signerToAccount(address signer) constant returns(address)
func (*AccountsCallerSession) ValidatorSignerToAccount ¶
func (_Accounts *AccountsCallerSession) ValidatorSignerToAccount(signer common.Address) (common.Address, error)
ValidatorSignerToAccount is a free data retrieval call binding the contract method 0x64439b43.
Solidity: function validatorSignerToAccount(address signer) constant returns(address)
func (*AccountsCallerSession) VoteSignerToAccount ¶
func (_Accounts *AccountsCallerSession) VoteSignerToAccount(signer common.Address) (common.Address, error)
VoteSignerToAccount is a free data retrieval call binding the contract method 0x6642d594.
Solidity: function voteSignerToAccount(address signer) constant returns(address)
type AccountsFilterer ¶
type AccountsFilterer struct {
// contains filtered or unexported fields
}
AccountsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAccountsFilterer ¶
func NewAccountsFilterer(address common.Address, filterer bind.ContractFilterer) (*AccountsFilterer, error)
NewAccountsFilterer creates a new log filterer instance of Accounts, bound to a specific deployed contract.
func (*AccountsFilterer) FilterAccountCreated ¶
func (_Accounts *AccountsFilterer) FilterAccountCreated(opts *bind.FilterOpts, account []common.Address) (*AccountsAccountCreatedIterator, error)
FilterAccountCreated is a free log retrieval operation binding the contract event 0x805996f252884581e2f74cf3d2b03564d5ec26ccc90850ae12653dc1b72d1fa2.
Solidity: event AccountCreated(address indexed account)
func (*AccountsFilterer) FilterAccountDataEncryptionKeySet ¶
func (_Accounts *AccountsFilterer) FilterAccountDataEncryptionKeySet(opts *bind.FilterOpts, account []common.Address) (*AccountsAccountDataEncryptionKeySetIterator, error)
FilterAccountDataEncryptionKeySet is a free log retrieval operation binding the contract event 0x43fdefe0a824cb0e3bbaf9c4bc97669187996136fe9282382baf10787f0d808d.
Solidity: event AccountDataEncryptionKeySet(address indexed account, bytes dataEncryptionKey)
func (*AccountsFilterer) FilterAccountMetadataURLSet ¶
func (_Accounts *AccountsFilterer) FilterAccountMetadataURLSet(opts *bind.FilterOpts, account []common.Address) (*AccountsAccountMetadataURLSetIterator, error)
FilterAccountMetadataURLSet is a free log retrieval operation binding the contract event 0x0b5629fec5b6b5a1c2cfe0de7495111627a8cf297dced72e0669527425d3f01b.
Solidity: event AccountMetadataURLSet(address indexed account, string metadataURL)
func (*AccountsFilterer) FilterAccountNameSet ¶
func (_Accounts *AccountsFilterer) FilterAccountNameSet(opts *bind.FilterOpts, account []common.Address) (*AccountsAccountNameSetIterator, error)
FilterAccountNameSet is a free log retrieval operation binding the contract event 0xa6e2c5a23bb917ba0a584c4b250257ddad698685829b66a8813c004b39934fe4.
Solidity: event AccountNameSet(address indexed account, string name)
func (*AccountsFilterer) FilterAccountWalletAddressSet ¶
func (_Accounts *AccountsFilterer) FilterAccountWalletAddressSet(opts *bind.FilterOpts, account []common.Address) (*AccountsAccountWalletAddressSetIterator, error)
FilterAccountWalletAddressSet is a free log retrieval operation binding the contract event 0xf81d74398fd47e35c36b714019df15f200f623dde569b5b531d6a0b4da5c5f26.
Solidity: event AccountWalletAddressSet(address indexed account, address walletAddress)
func (*AccountsFilterer) FilterAttestationSignerAuthorized ¶
func (_Accounts *AccountsFilterer) FilterAttestationSignerAuthorized(opts *bind.FilterOpts, account []common.Address) (*AccountsAttestationSignerAuthorizedIterator, error)
FilterAttestationSignerAuthorized is a free log retrieval operation binding the contract event 0x9dfbc5a621c3e2d0d83beee687a17dfc796bbce2118793e5e254409bb265ca0b.
Solidity: event AttestationSignerAuthorized(address indexed account, address signer)
func (*AccountsFilterer) FilterAttestationSignerRemoved ¶
func (_Accounts *AccountsFilterer) FilterAttestationSignerRemoved(opts *bind.FilterOpts, account []common.Address) (*AccountsAttestationSignerRemovedIterator, error)
FilterAttestationSignerRemoved is a free log retrieval operation binding the contract event 0x14670729407debb6ed03d885f8ba57155de89ce39bf17127ae4900ec7c2ad103.
Solidity: event AttestationSignerRemoved(address indexed account, address oldSigner)
func (*AccountsFilterer) FilterOwnershipTransferred ¶
func (_Accounts *AccountsFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AccountsOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AccountsFilterer) FilterRegistrySet ¶
func (_Accounts *AccountsFilterer) FilterRegistrySet(opts *bind.FilterOpts, registryAddress []common.Address) (*AccountsRegistrySetIterator, error)
FilterRegistrySet is a free log retrieval operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*AccountsFilterer) FilterValidatorSignerAuthorized ¶
func (_Accounts *AccountsFilterer) FilterValidatorSignerAuthorized(opts *bind.FilterOpts, account []common.Address) (*AccountsValidatorSignerAuthorizedIterator, error)
FilterValidatorSignerAuthorized is a free log retrieval operation binding the contract event 0x16e382723fb40543364faf68863212ba253a099607bf6d3a5b47e50a8bf94943.
Solidity: event ValidatorSignerAuthorized(address indexed account, address signer)
func (*AccountsFilterer) FilterValidatorSignerRemoved ¶
func (_Accounts *AccountsFilterer) FilterValidatorSignerRemoved(opts *bind.FilterOpts, account []common.Address) (*AccountsValidatorSignerRemovedIterator, error)
FilterValidatorSignerRemoved is a free log retrieval operation binding the contract event 0xa54764c62865ff0cd3f271fb1d4635662bff10f0878694f1654fb7fbdecb830d.
Solidity: event ValidatorSignerRemoved(address indexed account, address oldSigner)
func (*AccountsFilterer) FilterVoteSignerAuthorized ¶
func (_Accounts *AccountsFilterer) FilterVoteSignerAuthorized(opts *bind.FilterOpts, account []common.Address) (*AccountsVoteSignerAuthorizedIterator, error)
FilterVoteSignerAuthorized is a free log retrieval operation binding the contract event 0xaab5f8a189373aaa290f42ae65ea5d7971b732366ca5bf66556e76263944af28.
Solidity: event VoteSignerAuthorized(address indexed account, address signer)
func (*AccountsFilterer) FilterVoteSignerRemoved ¶
func (_Accounts *AccountsFilterer) FilterVoteSignerRemoved(opts *bind.FilterOpts, account []common.Address) (*AccountsVoteSignerRemovedIterator, error)
FilterVoteSignerRemoved is a free log retrieval operation binding the contract event 0xa197481f404d8a8082368ad7445380f01e75f27dea6b7aef234a4ce071127fae.
Solidity: event VoteSignerRemoved(address indexed account, address oldSigner)
func (*AccountsFilterer) ParseAccountCreated ¶
func (_Accounts *AccountsFilterer) ParseAccountCreated(log types.Log) (*AccountsAccountCreated, error)
ParseAccountCreated is a log parse operation binding the contract event 0x805996f252884581e2f74cf3d2b03564d5ec26ccc90850ae12653dc1b72d1fa2.
Solidity: event AccountCreated(address indexed account)
func (*AccountsFilterer) ParseAccountDataEncryptionKeySet ¶
func (_Accounts *AccountsFilterer) ParseAccountDataEncryptionKeySet(log types.Log) (*AccountsAccountDataEncryptionKeySet, error)
ParseAccountDataEncryptionKeySet is a log parse operation binding the contract event 0x43fdefe0a824cb0e3bbaf9c4bc97669187996136fe9282382baf10787f0d808d.
Solidity: event AccountDataEncryptionKeySet(address indexed account, bytes dataEncryptionKey)
func (*AccountsFilterer) ParseAccountMetadataURLSet ¶
func (_Accounts *AccountsFilterer) ParseAccountMetadataURLSet(log types.Log) (*AccountsAccountMetadataURLSet, error)
ParseAccountMetadataURLSet is a log parse operation binding the contract event 0x0b5629fec5b6b5a1c2cfe0de7495111627a8cf297dced72e0669527425d3f01b.
Solidity: event AccountMetadataURLSet(address indexed account, string metadataURL)
func (*AccountsFilterer) ParseAccountNameSet ¶
func (_Accounts *AccountsFilterer) ParseAccountNameSet(log types.Log) (*AccountsAccountNameSet, error)
ParseAccountNameSet is a log parse operation binding the contract event 0xa6e2c5a23bb917ba0a584c4b250257ddad698685829b66a8813c004b39934fe4.
Solidity: event AccountNameSet(address indexed account, string name)
func (*AccountsFilterer) ParseAccountWalletAddressSet ¶
func (_Accounts *AccountsFilterer) ParseAccountWalletAddressSet(log types.Log) (*AccountsAccountWalletAddressSet, error)
ParseAccountWalletAddressSet is a log parse operation binding the contract event 0xf81d74398fd47e35c36b714019df15f200f623dde569b5b531d6a0b4da5c5f26.
Solidity: event AccountWalletAddressSet(address indexed account, address walletAddress)
func (*AccountsFilterer) ParseAttestationSignerAuthorized ¶
func (_Accounts *AccountsFilterer) ParseAttestationSignerAuthorized(log types.Log) (*AccountsAttestationSignerAuthorized, error)
ParseAttestationSignerAuthorized is a log parse operation binding the contract event 0x9dfbc5a621c3e2d0d83beee687a17dfc796bbce2118793e5e254409bb265ca0b.
Solidity: event AttestationSignerAuthorized(address indexed account, address signer)
func (*AccountsFilterer) ParseAttestationSignerRemoved ¶
func (_Accounts *AccountsFilterer) ParseAttestationSignerRemoved(log types.Log) (*AccountsAttestationSignerRemoved, error)
ParseAttestationSignerRemoved is a log parse operation binding the contract event 0x14670729407debb6ed03d885f8ba57155de89ce39bf17127ae4900ec7c2ad103.
Solidity: event AttestationSignerRemoved(address indexed account, address oldSigner)
func (*AccountsFilterer) ParseOwnershipTransferred ¶
func (_Accounts *AccountsFilterer) ParseOwnershipTransferred(log types.Log) (*AccountsOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AccountsFilterer) ParseRegistrySet ¶
func (_Accounts *AccountsFilterer) ParseRegistrySet(log types.Log) (*AccountsRegistrySet, error)
ParseRegistrySet is a log parse operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*AccountsFilterer) ParseValidatorSignerAuthorized ¶
func (_Accounts *AccountsFilterer) ParseValidatorSignerAuthorized(log types.Log) (*AccountsValidatorSignerAuthorized, error)
ParseValidatorSignerAuthorized is a log parse operation binding the contract event 0x16e382723fb40543364faf68863212ba253a099607bf6d3a5b47e50a8bf94943.
Solidity: event ValidatorSignerAuthorized(address indexed account, address signer)
func (*AccountsFilterer) ParseValidatorSignerRemoved ¶
func (_Accounts *AccountsFilterer) ParseValidatorSignerRemoved(log types.Log) (*AccountsValidatorSignerRemoved, error)
ParseValidatorSignerRemoved is a log parse operation binding the contract event 0xa54764c62865ff0cd3f271fb1d4635662bff10f0878694f1654fb7fbdecb830d.
Solidity: event ValidatorSignerRemoved(address indexed account, address oldSigner)
func (*AccountsFilterer) ParseVoteSignerAuthorized ¶
func (_Accounts *AccountsFilterer) ParseVoteSignerAuthorized(log types.Log) (*AccountsVoteSignerAuthorized, error)
ParseVoteSignerAuthorized is a log parse operation binding the contract event 0xaab5f8a189373aaa290f42ae65ea5d7971b732366ca5bf66556e76263944af28.
Solidity: event VoteSignerAuthorized(address indexed account, address signer)
func (*AccountsFilterer) ParseVoteSignerRemoved ¶
func (_Accounts *AccountsFilterer) ParseVoteSignerRemoved(log types.Log) (*AccountsVoteSignerRemoved, error)
ParseVoteSignerRemoved is a log parse operation binding the contract event 0xa197481f404d8a8082368ad7445380f01e75f27dea6b7aef234a4ce071127fae.
Solidity: event VoteSignerRemoved(address indexed account, address oldSigner)
func (*AccountsFilterer) TryParseLog ¶
func (_Accounts *AccountsFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
TryParseLog attempts to parse a log. Returns the parsed log, eventName and whether it was successful
func (*AccountsFilterer) WatchAccountCreated ¶
func (_Accounts *AccountsFilterer) WatchAccountCreated(opts *bind.WatchOpts, sink chan<- *AccountsAccountCreated, account []common.Address) (event.Subscription, error)
WatchAccountCreated is a free log subscription operation binding the contract event 0x805996f252884581e2f74cf3d2b03564d5ec26ccc90850ae12653dc1b72d1fa2.
Solidity: event AccountCreated(address indexed account)
func (*AccountsFilterer) WatchAccountDataEncryptionKeySet ¶
func (_Accounts *AccountsFilterer) WatchAccountDataEncryptionKeySet(opts *bind.WatchOpts, sink chan<- *AccountsAccountDataEncryptionKeySet, account []common.Address) (event.Subscription, error)
WatchAccountDataEncryptionKeySet is a free log subscription operation binding the contract event 0x43fdefe0a824cb0e3bbaf9c4bc97669187996136fe9282382baf10787f0d808d.
Solidity: event AccountDataEncryptionKeySet(address indexed account, bytes dataEncryptionKey)
func (*AccountsFilterer) WatchAccountMetadataURLSet ¶
func (_Accounts *AccountsFilterer) WatchAccountMetadataURLSet(opts *bind.WatchOpts, sink chan<- *AccountsAccountMetadataURLSet, account []common.Address) (event.Subscription, error)
WatchAccountMetadataURLSet is a free log subscription operation binding the contract event 0x0b5629fec5b6b5a1c2cfe0de7495111627a8cf297dced72e0669527425d3f01b.
Solidity: event AccountMetadataURLSet(address indexed account, string metadataURL)
func (*AccountsFilterer) WatchAccountNameSet ¶
func (_Accounts *AccountsFilterer) WatchAccountNameSet(opts *bind.WatchOpts, sink chan<- *AccountsAccountNameSet, account []common.Address) (event.Subscription, error)
WatchAccountNameSet is a free log subscription operation binding the contract event 0xa6e2c5a23bb917ba0a584c4b250257ddad698685829b66a8813c004b39934fe4.
Solidity: event AccountNameSet(address indexed account, string name)
func (*AccountsFilterer) WatchAccountWalletAddressSet ¶
func (_Accounts *AccountsFilterer) WatchAccountWalletAddressSet(opts *bind.WatchOpts, sink chan<- *AccountsAccountWalletAddressSet, account []common.Address) (event.Subscription, error)
WatchAccountWalletAddressSet is a free log subscription operation binding the contract event 0xf81d74398fd47e35c36b714019df15f200f623dde569b5b531d6a0b4da5c5f26.
Solidity: event AccountWalletAddressSet(address indexed account, address walletAddress)
func (*AccountsFilterer) WatchAttestationSignerAuthorized ¶
func (_Accounts *AccountsFilterer) WatchAttestationSignerAuthorized(opts *bind.WatchOpts, sink chan<- *AccountsAttestationSignerAuthorized, account []common.Address) (event.Subscription, error)
WatchAttestationSignerAuthorized is a free log subscription operation binding the contract event 0x9dfbc5a621c3e2d0d83beee687a17dfc796bbce2118793e5e254409bb265ca0b.
Solidity: event AttestationSignerAuthorized(address indexed account, address signer)
func (*AccountsFilterer) WatchAttestationSignerRemoved ¶
func (_Accounts *AccountsFilterer) WatchAttestationSignerRemoved(opts *bind.WatchOpts, sink chan<- *AccountsAttestationSignerRemoved, account []common.Address) (event.Subscription, error)
WatchAttestationSignerRemoved is a free log subscription operation binding the contract event 0x14670729407debb6ed03d885f8ba57155de89ce39bf17127ae4900ec7c2ad103.
Solidity: event AttestationSignerRemoved(address indexed account, address oldSigner)
func (*AccountsFilterer) WatchOwnershipTransferred ¶
func (_Accounts *AccountsFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AccountsOwnershipTransferred, 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 (*AccountsFilterer) WatchRegistrySet ¶
func (_Accounts *AccountsFilterer) WatchRegistrySet(opts *bind.WatchOpts, sink chan<- *AccountsRegistrySet, registryAddress []common.Address) (event.Subscription, error)
WatchRegistrySet is a free log subscription operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*AccountsFilterer) WatchValidatorSignerAuthorized ¶
func (_Accounts *AccountsFilterer) WatchValidatorSignerAuthorized(opts *bind.WatchOpts, sink chan<- *AccountsValidatorSignerAuthorized, account []common.Address) (event.Subscription, error)
WatchValidatorSignerAuthorized is a free log subscription operation binding the contract event 0x16e382723fb40543364faf68863212ba253a099607bf6d3a5b47e50a8bf94943.
Solidity: event ValidatorSignerAuthorized(address indexed account, address signer)
func (*AccountsFilterer) WatchValidatorSignerRemoved ¶
func (_Accounts *AccountsFilterer) WatchValidatorSignerRemoved(opts *bind.WatchOpts, sink chan<- *AccountsValidatorSignerRemoved, account []common.Address) (event.Subscription, error)
WatchValidatorSignerRemoved is a free log subscription operation binding the contract event 0xa54764c62865ff0cd3f271fb1d4635662bff10f0878694f1654fb7fbdecb830d.
Solidity: event ValidatorSignerRemoved(address indexed account, address oldSigner)
func (*AccountsFilterer) WatchVoteSignerAuthorized ¶
func (_Accounts *AccountsFilterer) WatchVoteSignerAuthorized(opts *bind.WatchOpts, sink chan<- *AccountsVoteSignerAuthorized, account []common.Address) (event.Subscription, error)
WatchVoteSignerAuthorized is a free log subscription operation binding the contract event 0xaab5f8a189373aaa290f42ae65ea5d7971b732366ca5bf66556e76263944af28.
Solidity: event VoteSignerAuthorized(address indexed account, address signer)
func (*AccountsFilterer) WatchVoteSignerRemoved ¶
func (_Accounts *AccountsFilterer) WatchVoteSignerRemoved(opts *bind.WatchOpts, sink chan<- *AccountsVoteSignerRemoved, account []common.Address) (event.Subscription, error)
WatchVoteSignerRemoved is a free log subscription operation binding the contract event 0xa197481f404d8a8082368ad7445380f01e75f27dea6b7aef234a4ce071127fae.
Solidity: event VoteSignerRemoved(address indexed account, address oldSigner)
type AccountsOwnershipTransferred ¶
type AccountsOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
AccountsOwnershipTransferred represents a OwnershipTransferred event raised by the Accounts contract.
type AccountsOwnershipTransferredIterator ¶
type AccountsOwnershipTransferredIterator struct {
Event *AccountsOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
AccountsOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Accounts contract.
func (*AccountsOwnershipTransferredIterator) Close ¶
func (it *AccountsOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccountsOwnershipTransferredIterator) Error ¶
func (it *AccountsOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccountsOwnershipTransferredIterator) Next ¶
func (it *AccountsOwnershipTransferredIterator) 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 AccountsRaw ¶
type AccountsRaw struct {
Contract *Accounts // Generic contract binding to access the raw methods on
}
AccountsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AccountsRaw) Call ¶
func (_Accounts *AccountsRaw) 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 (*AccountsRaw) Transact ¶
func (_Accounts *AccountsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AccountsRaw) Transfer ¶
func (_Accounts *AccountsRaw) 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 AccountsRegistrySet ¶
type AccountsRegistrySet struct {
RegistryAddress common.Address
Raw types.Log // Blockchain specific contextual infos
}
AccountsRegistrySet represents a RegistrySet event raised by the Accounts contract.
type AccountsRegistrySetIterator ¶
type AccountsRegistrySetIterator struct {
Event *AccountsRegistrySet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
AccountsRegistrySetIterator is returned from FilterRegistrySet and is used to iterate over the raw logs and unpacked data for RegistrySet events raised by the Accounts contract.
func (*AccountsRegistrySetIterator) Close ¶
func (it *AccountsRegistrySetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccountsRegistrySetIterator) Error ¶
func (it *AccountsRegistrySetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccountsRegistrySetIterator) Next ¶
func (it *AccountsRegistrySetIterator) 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 AccountsSession ¶
type AccountsSession struct {
Contract *Accounts // 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
}
AccountsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AccountsSession) AttestationSignerToAccount ¶
func (_Accounts *AccountsSession) AttestationSignerToAccount(signer common.Address) (common.Address, error)
AttestationSignerToAccount is a free data retrieval call binding the contract method 0x7b2434cb.
Solidity: function attestationSignerToAccount(address signer) constant returns(address)
func (*AccountsSession) AuthorizeAttestationSigner ¶
func (_Accounts *AccountsSession) AuthorizeAttestationSigner(signer common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
AuthorizeAttestationSigner is a paid mutator transaction binding the contract method 0x76afa04c.
Solidity: function authorizeAttestationSigner(address signer, uint8 v, bytes32 r, bytes32 s) returns()
func (*AccountsSession) AuthorizeValidatorSigner ¶
func (_Accounts *AccountsSession) AuthorizeValidatorSigner(signer common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
AuthorizeValidatorSigner is a paid mutator transaction binding the contract method 0xbaf7ef0f.
Solidity: function authorizeValidatorSigner(address signer, uint8 v, bytes32 r, bytes32 s) returns()
func (*AccountsSession) AuthorizeValidatorSignerWithKeys ¶
func (_Accounts *AccountsSession) AuthorizeValidatorSignerWithKeys(signer common.Address, v uint8, r [32]byte, s [32]byte, ecdsaPublicKey []byte, blsPublicKey []byte, blsPop []byte) (*types.Transaction, error)
AuthorizeValidatorSignerWithKeys is a paid mutator transaction binding the contract method 0x1465b923.
Solidity: function authorizeValidatorSignerWithKeys(address signer, uint8 v, bytes32 r, bytes32 s, bytes ecdsaPublicKey, bytes blsPublicKey, bytes blsPop) returns()
func (*AccountsSession) AuthorizeValidatorSignerWithPublicKey ¶
func (_Accounts *AccountsSession) AuthorizeValidatorSignerWithPublicKey(signer common.Address, v uint8, r [32]byte, s [32]byte, ecdsaPublicKey []byte) (*types.Transaction, error)
AuthorizeValidatorSignerWithPublicKey is a paid mutator transaction binding the contract method 0x0fa750d2.
Solidity: function authorizeValidatorSignerWithPublicKey(address signer, uint8 v, bytes32 r, bytes32 s, bytes ecdsaPublicKey) returns()
func (*AccountsSession) AuthorizeVoteSigner ¶
func (_Accounts *AccountsSession) AuthorizeVoteSigner(signer common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
AuthorizeVoteSigner is a paid mutator transaction binding the contract method 0x4282ee6d.
Solidity: function authorizeVoteSigner(address signer, uint8 v, bytes32 r, bytes32 s) returns()
func (*AccountsSession) AuthorizedBy ¶
AuthorizedBy is a free data retrieval call binding the contract method 0xb5a664c2.
Solidity: function authorizedBy(address ) constant returns(address)
func (*AccountsSession) BatchGetMetadataURL ¶
func (_Accounts *AccountsSession) BatchGetMetadataURL(accountsToQuery []common.Address) ([]*big.Int, []byte, error)
BatchGetMetadataURL is a free data retrieval call binding the contract method 0x8adaf96f.
Solidity: function batchGetMetadataURL(address[] accountsToQuery) constant returns(uint256[], bytes)
func (*AccountsSession) CreateAccount ¶
func (_Accounts *AccountsSession) CreateAccount() (*types.Transaction, error)
CreateAccount is a paid mutator transaction binding the contract method 0x9dca362f.
Solidity: function createAccount() returns(bool)
func (*AccountsSession) GetAttestationSigner ¶
func (_Accounts *AccountsSession) GetAttestationSigner(account common.Address) (common.Address, error)
GetAttestationSigner is a free data retrieval call binding the contract method 0x61bab1ae.
Solidity: function getAttestationSigner(address account) constant returns(address)
func (*AccountsSession) GetDataEncryptionKey ¶
func (_Accounts *AccountsSession) GetDataEncryptionKey(account common.Address) ([]byte, error)
GetDataEncryptionKey is a free data retrieval call binding the contract method 0xae32fa0e.
Solidity: function getDataEncryptionKey(address account) constant returns(bytes)
func (*AccountsSession) GetMetadataURL ¶
func (_Accounts *AccountsSession) GetMetadataURL(account common.Address) (string, error)
GetMetadataURL is a free data retrieval call binding the contract method 0xa8ae1a3d.
Solidity: function getMetadataURL(address account) constant returns(string)
func (*AccountsSession) GetName ¶
func (_Accounts *AccountsSession) GetName(account common.Address) (string, error)
GetName is a free data retrieval call binding the contract method 0x5fd4b08a.
Solidity: function getName(address account) constant returns(string)
func (*AccountsSession) GetValidatorSigner ¶
func (_Accounts *AccountsSession) GetValidatorSigner(account common.Address) (common.Address, error)
GetValidatorSigner is a free data retrieval call binding the contract method 0x4ce38b5f.
Solidity: function getValidatorSigner(address account) constant returns(address)
func (*AccountsSession) GetVoteSigner ¶
GetVoteSigner is a free data retrieval call binding the contract method 0x41ddd880.
Solidity: function getVoteSigner(address account) constant returns(address)
func (*AccountsSession) GetWalletAddress ¶
GetWalletAddress is a free data retrieval call binding the contract method 0x1fd9afa5.
Solidity: function getWalletAddress(address account) constant returns(address)
func (*AccountsSession) HasAuthorizedAttestationSigner ¶
func (_Accounts *AccountsSession) HasAuthorizedAttestationSigner(account common.Address) (bool, error)
HasAuthorizedAttestationSigner is a free data retrieval call binding the contract method 0xc2e0ee20.
Solidity: function hasAuthorizedAttestationSigner(address account) constant returns(bool)
func (*AccountsSession) HasAuthorizedValidatorSigner ¶
func (_Accounts *AccountsSession) HasAuthorizedValidatorSigner(account common.Address) (bool, error)
HasAuthorizedValidatorSigner is a free data retrieval call binding the contract method 0x0127dbed.
Solidity: function hasAuthorizedValidatorSigner(address account) constant returns(bool)
func (*AccountsSession) HasAuthorizedVoteSigner ¶
func (_Accounts *AccountsSession) HasAuthorizedVoteSigner(account common.Address) (bool, error)
HasAuthorizedVoteSigner is a free data retrieval call binding the contract method 0x614ed493.
Solidity: function hasAuthorizedVoteSigner(address account) constant returns(bool)
func (*AccountsSession) Initialize ¶
func (_Accounts *AccountsSession) Initialize(registryAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address registryAddress) returns()
func (*AccountsSession) Initialized ¶
func (_Accounts *AccountsSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*AccountsSession) IsAccount ¶
func (_Accounts *AccountsSession) IsAccount(account common.Address) (bool, error)
IsAccount is a free data retrieval call binding the contract method 0x25ca4c9c.
Solidity: function isAccount(address account) constant returns(bool)
func (*AccountsSession) IsAuthorizedSigner ¶
func (_Accounts *AccountsSession) IsAuthorizedSigner(signer common.Address) (bool, error)
IsAuthorizedSigner is a free data retrieval call binding the contract method 0x49045e16.
Solidity: function isAuthorizedSigner(address signer) constant returns(bool)
func (*AccountsSession) IsOwner ¶
func (_Accounts *AccountsSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*AccountsSession) Owner ¶
func (_Accounts *AccountsSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*AccountsSession) Registry ¶
func (_Accounts *AccountsSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*AccountsSession) RemoveAttestationSigner ¶
func (_Accounts *AccountsSession) RemoveAttestationSigner() (*types.Transaction, error)
RemoveAttestationSigner is a paid mutator transaction binding the contract method 0x760fbbb2.
Solidity: function removeAttestationSigner() returns()
func (*AccountsSession) RemoveValidatorSigner ¶
func (_Accounts *AccountsSession) RemoveValidatorSigner() (*types.Transaction, error)
RemoveValidatorSigner is a paid mutator transaction binding the contract method 0xa5ec94f9.
Solidity: function removeValidatorSigner() returns()
func (*AccountsSession) RemoveVoteSigner ¶
func (_Accounts *AccountsSession) RemoveVoteSigner() (*types.Transaction, error)
RemoveVoteSigner is a paid mutator transaction binding the contract method 0x10c504b5.
Solidity: function removeVoteSigner() returns()
func (*AccountsSession) RenounceOwnership ¶
func (_Accounts *AccountsSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AccountsSession) SetAccount ¶
func (_Accounts *AccountsSession) SetAccount(name string, dataEncryptionKey []byte, walletAddress common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SetAccount is a paid mutator transaction binding the contract method 0x90b12b47.
Solidity: function setAccount(string name, bytes dataEncryptionKey, address walletAddress, uint8 v, bytes32 r, bytes32 s) returns()
func (*AccountsSession) SetAccountDataEncryptionKey ¶
func (_Accounts *AccountsSession) SetAccountDataEncryptionKey(dataEncryptionKey []byte) (*types.Transaction, error)
SetAccountDataEncryptionKey is a paid mutator transaction binding the contract method 0x0fe7abab.
Solidity: function setAccountDataEncryptionKey(bytes dataEncryptionKey) returns()
func (*AccountsSession) SetMetadataURL ¶
func (_Accounts *AccountsSession) SetMetadataURL(metadataURL string) (*types.Transaction, error)
SetMetadataURL is a paid mutator transaction binding the contract method 0x747daec5.
Solidity: function setMetadataURL(string metadataURL) returns()
func (*AccountsSession) SetName ¶
func (_Accounts *AccountsSession) SetName(name string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0xc47f0027.
Solidity: function setName(string name) returns()
func (*AccountsSession) SetRegistry ¶
func (_Accounts *AccountsSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*AccountsSession) SetWalletAddress ¶
func (_Accounts *AccountsSession) SetWalletAddress(walletAddress common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SetWalletAddress is a paid mutator transaction binding the contract method 0x9cafb2a1.
Solidity: function setWalletAddress(address walletAddress, uint8 v, bytes32 r, bytes32 s) returns()
func (*AccountsSession) SignerToAccount ¶
SignerToAccount is a free data retrieval call binding the contract method 0x93c5c487.
Solidity: function signerToAccount(address signer) constant returns(address)
func (*AccountsSession) TransferOwnership ¶
func (_Accounts *AccountsSession) 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 (*AccountsSession) ValidatorSignerToAccount ¶
func (_Accounts *AccountsSession) ValidatorSignerToAccount(signer common.Address) (common.Address, error)
ValidatorSignerToAccount is a free data retrieval call binding the contract method 0x64439b43.
Solidity: function validatorSignerToAccount(address signer) constant returns(address)
func (*AccountsSession) VoteSignerToAccount ¶
func (_Accounts *AccountsSession) VoteSignerToAccount(signer common.Address) (common.Address, error)
VoteSignerToAccount is a free data retrieval call binding the contract method 0x6642d594.
Solidity: function voteSignerToAccount(address signer) constant returns(address)
type AccountsTransactor ¶
type AccountsTransactor struct {
// contains filtered or unexported fields
}
AccountsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAccountsTransactor ¶
func NewAccountsTransactor(address common.Address, transactor bind.ContractTransactor) (*AccountsTransactor, error)
NewAccountsTransactor creates a new write-only instance of Accounts, bound to a specific deployed contract.
func (*AccountsTransactor) AuthorizeAttestationSigner ¶
func (_Accounts *AccountsTransactor) AuthorizeAttestationSigner(opts *bind.TransactOpts, signer common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
AuthorizeAttestationSigner is a paid mutator transaction binding the contract method 0x76afa04c.
Solidity: function authorizeAttestationSigner(address signer, uint8 v, bytes32 r, bytes32 s) returns()
func (*AccountsTransactor) AuthorizeValidatorSigner ¶
func (_Accounts *AccountsTransactor) AuthorizeValidatorSigner(opts *bind.TransactOpts, signer common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
AuthorizeValidatorSigner is a paid mutator transaction binding the contract method 0xbaf7ef0f.
Solidity: function authorizeValidatorSigner(address signer, uint8 v, bytes32 r, bytes32 s) returns()
func (*AccountsTransactor) AuthorizeValidatorSignerWithKeys ¶
func (_Accounts *AccountsTransactor) AuthorizeValidatorSignerWithKeys(opts *bind.TransactOpts, signer common.Address, v uint8, r [32]byte, s [32]byte, ecdsaPublicKey []byte, blsPublicKey []byte, blsPop []byte) (*types.Transaction, error)
AuthorizeValidatorSignerWithKeys is a paid mutator transaction binding the contract method 0x1465b923.
Solidity: function authorizeValidatorSignerWithKeys(address signer, uint8 v, bytes32 r, bytes32 s, bytes ecdsaPublicKey, bytes blsPublicKey, bytes blsPop) returns()
func (*AccountsTransactor) AuthorizeValidatorSignerWithPublicKey ¶
func (_Accounts *AccountsTransactor) AuthorizeValidatorSignerWithPublicKey(opts *bind.TransactOpts, signer common.Address, v uint8, r [32]byte, s [32]byte, ecdsaPublicKey []byte) (*types.Transaction, error)
AuthorizeValidatorSignerWithPublicKey is a paid mutator transaction binding the contract method 0x0fa750d2.
Solidity: function authorizeValidatorSignerWithPublicKey(address signer, uint8 v, bytes32 r, bytes32 s, bytes ecdsaPublicKey) returns()
func (*AccountsTransactor) AuthorizeVoteSigner ¶
func (_Accounts *AccountsTransactor) AuthorizeVoteSigner(opts *bind.TransactOpts, signer common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
AuthorizeVoteSigner is a paid mutator transaction binding the contract method 0x4282ee6d.
Solidity: function authorizeVoteSigner(address signer, uint8 v, bytes32 r, bytes32 s) returns()
func (*AccountsTransactor) CreateAccount ¶
func (_Accounts *AccountsTransactor) CreateAccount(opts *bind.TransactOpts) (*types.Transaction, error)
CreateAccount is a paid mutator transaction binding the contract method 0x9dca362f.
Solidity: function createAccount() returns(bool)
func (*AccountsTransactor) Initialize ¶
func (_Accounts *AccountsTransactor) Initialize(opts *bind.TransactOpts, registryAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address registryAddress) returns()
func (*AccountsTransactor) RemoveAttestationSigner ¶
func (_Accounts *AccountsTransactor) RemoveAttestationSigner(opts *bind.TransactOpts) (*types.Transaction, error)
RemoveAttestationSigner is a paid mutator transaction binding the contract method 0x760fbbb2.
Solidity: function removeAttestationSigner() returns()
func (*AccountsTransactor) RemoveValidatorSigner ¶
func (_Accounts *AccountsTransactor) RemoveValidatorSigner(opts *bind.TransactOpts) (*types.Transaction, error)
RemoveValidatorSigner is a paid mutator transaction binding the contract method 0xa5ec94f9.
Solidity: function removeValidatorSigner() returns()
func (*AccountsTransactor) RemoveVoteSigner ¶
func (_Accounts *AccountsTransactor) RemoveVoteSigner(opts *bind.TransactOpts) (*types.Transaction, error)
RemoveVoteSigner is a paid mutator transaction binding the contract method 0x10c504b5.
Solidity: function removeVoteSigner() returns()
func (*AccountsTransactor) RenounceOwnership ¶
func (_Accounts *AccountsTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AccountsTransactor) SetAccount ¶
func (_Accounts *AccountsTransactor) SetAccount(opts *bind.TransactOpts, name string, dataEncryptionKey []byte, walletAddress common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SetAccount is a paid mutator transaction binding the contract method 0x90b12b47.
Solidity: function setAccount(string name, bytes dataEncryptionKey, address walletAddress, uint8 v, bytes32 r, bytes32 s) returns()
func (*AccountsTransactor) SetAccountDataEncryptionKey ¶
func (_Accounts *AccountsTransactor) SetAccountDataEncryptionKey(opts *bind.TransactOpts, dataEncryptionKey []byte) (*types.Transaction, error)
SetAccountDataEncryptionKey is a paid mutator transaction binding the contract method 0x0fe7abab.
Solidity: function setAccountDataEncryptionKey(bytes dataEncryptionKey) returns()
func (*AccountsTransactor) SetMetadataURL ¶
func (_Accounts *AccountsTransactor) SetMetadataURL(opts *bind.TransactOpts, metadataURL string) (*types.Transaction, error)
SetMetadataURL is a paid mutator transaction binding the contract method 0x747daec5.
Solidity: function setMetadataURL(string metadataURL) returns()
func (*AccountsTransactor) SetName ¶
func (_Accounts *AccountsTransactor) SetName(opts *bind.TransactOpts, name string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0xc47f0027.
Solidity: function setName(string name) returns()
func (*AccountsTransactor) SetRegistry ¶
func (_Accounts *AccountsTransactor) SetRegistry(opts *bind.TransactOpts, registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*AccountsTransactor) SetWalletAddress ¶
func (_Accounts *AccountsTransactor) SetWalletAddress(opts *bind.TransactOpts, walletAddress common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SetWalletAddress is a paid mutator transaction binding the contract method 0x9cafb2a1.
Solidity: function setWalletAddress(address walletAddress, uint8 v, bytes32 r, bytes32 s) returns()
func (*AccountsTransactor) TransferOwnership ¶
func (_Accounts *AccountsTransactor) 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()
type AccountsTransactorRaw ¶
type AccountsTransactorRaw struct {
Contract *AccountsTransactor // Generic write-only contract binding to access the raw methods on
}
AccountsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AccountsTransactorRaw) Transact ¶
func (_Accounts *AccountsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AccountsTransactorRaw) Transfer ¶
func (_Accounts *AccountsTransactorRaw) 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 AccountsTransactorSession ¶
type AccountsTransactorSession struct {
Contract *AccountsTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
AccountsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AccountsTransactorSession) AuthorizeAttestationSigner ¶
func (_Accounts *AccountsTransactorSession) AuthorizeAttestationSigner(signer common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
AuthorizeAttestationSigner is a paid mutator transaction binding the contract method 0x76afa04c.
Solidity: function authorizeAttestationSigner(address signer, uint8 v, bytes32 r, bytes32 s) returns()
func (*AccountsTransactorSession) AuthorizeValidatorSigner ¶
func (_Accounts *AccountsTransactorSession) AuthorizeValidatorSigner(signer common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
AuthorizeValidatorSigner is a paid mutator transaction binding the contract method 0xbaf7ef0f.
Solidity: function authorizeValidatorSigner(address signer, uint8 v, bytes32 r, bytes32 s) returns()
func (*AccountsTransactorSession) AuthorizeValidatorSignerWithKeys ¶
func (_Accounts *AccountsTransactorSession) AuthorizeValidatorSignerWithKeys(signer common.Address, v uint8, r [32]byte, s [32]byte, ecdsaPublicKey []byte, blsPublicKey []byte, blsPop []byte) (*types.Transaction, error)
AuthorizeValidatorSignerWithKeys is a paid mutator transaction binding the contract method 0x1465b923.
Solidity: function authorizeValidatorSignerWithKeys(address signer, uint8 v, bytes32 r, bytes32 s, bytes ecdsaPublicKey, bytes blsPublicKey, bytes blsPop) returns()
func (*AccountsTransactorSession) AuthorizeValidatorSignerWithPublicKey ¶
func (_Accounts *AccountsTransactorSession) AuthorizeValidatorSignerWithPublicKey(signer common.Address, v uint8, r [32]byte, s [32]byte, ecdsaPublicKey []byte) (*types.Transaction, error)
AuthorizeValidatorSignerWithPublicKey is a paid mutator transaction binding the contract method 0x0fa750d2.
Solidity: function authorizeValidatorSignerWithPublicKey(address signer, uint8 v, bytes32 r, bytes32 s, bytes ecdsaPublicKey) returns()
func (*AccountsTransactorSession) AuthorizeVoteSigner ¶
func (_Accounts *AccountsTransactorSession) AuthorizeVoteSigner(signer common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
AuthorizeVoteSigner is a paid mutator transaction binding the contract method 0x4282ee6d.
Solidity: function authorizeVoteSigner(address signer, uint8 v, bytes32 r, bytes32 s) returns()
func (*AccountsTransactorSession) CreateAccount ¶
func (_Accounts *AccountsTransactorSession) CreateAccount() (*types.Transaction, error)
CreateAccount is a paid mutator transaction binding the contract method 0x9dca362f.
Solidity: function createAccount() returns(bool)
func (*AccountsTransactorSession) Initialize ¶
func (_Accounts *AccountsTransactorSession) Initialize(registryAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address registryAddress) returns()
func (*AccountsTransactorSession) RemoveAttestationSigner ¶
func (_Accounts *AccountsTransactorSession) RemoveAttestationSigner() (*types.Transaction, error)
RemoveAttestationSigner is a paid mutator transaction binding the contract method 0x760fbbb2.
Solidity: function removeAttestationSigner() returns()
func (*AccountsTransactorSession) RemoveValidatorSigner ¶
func (_Accounts *AccountsTransactorSession) RemoveValidatorSigner() (*types.Transaction, error)
RemoveValidatorSigner is a paid mutator transaction binding the contract method 0xa5ec94f9.
Solidity: function removeValidatorSigner() returns()
func (*AccountsTransactorSession) RemoveVoteSigner ¶
func (_Accounts *AccountsTransactorSession) RemoveVoteSigner() (*types.Transaction, error)
RemoveVoteSigner is a paid mutator transaction binding the contract method 0x10c504b5.
Solidity: function removeVoteSigner() returns()
func (*AccountsTransactorSession) RenounceOwnership ¶
func (_Accounts *AccountsTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AccountsTransactorSession) SetAccount ¶
func (_Accounts *AccountsTransactorSession) SetAccount(name string, dataEncryptionKey []byte, walletAddress common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SetAccount is a paid mutator transaction binding the contract method 0x90b12b47.
Solidity: function setAccount(string name, bytes dataEncryptionKey, address walletAddress, uint8 v, bytes32 r, bytes32 s) returns()
func (*AccountsTransactorSession) SetAccountDataEncryptionKey ¶
func (_Accounts *AccountsTransactorSession) SetAccountDataEncryptionKey(dataEncryptionKey []byte) (*types.Transaction, error)
SetAccountDataEncryptionKey is a paid mutator transaction binding the contract method 0x0fe7abab.
Solidity: function setAccountDataEncryptionKey(bytes dataEncryptionKey) returns()
func (*AccountsTransactorSession) SetMetadataURL ¶
func (_Accounts *AccountsTransactorSession) SetMetadataURL(metadataURL string) (*types.Transaction, error)
SetMetadataURL is a paid mutator transaction binding the contract method 0x747daec5.
Solidity: function setMetadataURL(string metadataURL) returns()
func (*AccountsTransactorSession) SetName ¶
func (_Accounts *AccountsTransactorSession) SetName(name string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0xc47f0027.
Solidity: function setName(string name) returns()
func (*AccountsTransactorSession) SetRegistry ¶
func (_Accounts *AccountsTransactorSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*AccountsTransactorSession) SetWalletAddress ¶
func (_Accounts *AccountsTransactorSession) SetWalletAddress(walletAddress common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SetWalletAddress is a paid mutator transaction binding the contract method 0x9cafb2a1.
Solidity: function setWalletAddress(address walletAddress, uint8 v, bytes32 r, bytes32 s) returns()
func (*AccountsTransactorSession) TransferOwnership ¶
func (_Accounts *AccountsTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type AccountsValidatorSignerAuthorized ¶
type AccountsValidatorSignerAuthorized struct {
Account common.Address
Signer common.Address
Raw types.Log // Blockchain specific contextual infos
}
AccountsValidatorSignerAuthorized represents a ValidatorSignerAuthorized event raised by the Accounts contract.
type AccountsValidatorSignerAuthorizedIterator ¶
type AccountsValidatorSignerAuthorizedIterator struct {
Event *AccountsValidatorSignerAuthorized // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
AccountsValidatorSignerAuthorizedIterator is returned from FilterValidatorSignerAuthorized and is used to iterate over the raw logs and unpacked data for ValidatorSignerAuthorized events raised by the Accounts contract.
func (*AccountsValidatorSignerAuthorizedIterator) Close ¶
func (it *AccountsValidatorSignerAuthorizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccountsValidatorSignerAuthorizedIterator) Error ¶
func (it *AccountsValidatorSignerAuthorizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccountsValidatorSignerAuthorizedIterator) Next ¶
func (it *AccountsValidatorSignerAuthorizedIterator) 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 AccountsValidatorSignerRemoved ¶
type AccountsValidatorSignerRemoved struct {
Account common.Address
OldSigner common.Address
Raw types.Log // Blockchain specific contextual infos
}
AccountsValidatorSignerRemoved represents a ValidatorSignerRemoved event raised by the Accounts contract.
type AccountsValidatorSignerRemovedIterator ¶
type AccountsValidatorSignerRemovedIterator struct {
Event *AccountsValidatorSignerRemoved // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
AccountsValidatorSignerRemovedIterator is returned from FilterValidatorSignerRemoved and is used to iterate over the raw logs and unpacked data for ValidatorSignerRemoved events raised by the Accounts contract.
func (*AccountsValidatorSignerRemovedIterator) Close ¶
func (it *AccountsValidatorSignerRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccountsValidatorSignerRemovedIterator) Error ¶
func (it *AccountsValidatorSignerRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccountsValidatorSignerRemovedIterator) Next ¶
func (it *AccountsValidatorSignerRemovedIterator) 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 AccountsVoteSignerAuthorized ¶
type AccountsVoteSignerAuthorized struct {
Account common.Address
Signer common.Address
Raw types.Log // Blockchain specific contextual infos
}
AccountsVoteSignerAuthorized represents a VoteSignerAuthorized event raised by the Accounts contract.
type AccountsVoteSignerAuthorizedIterator ¶
type AccountsVoteSignerAuthorizedIterator struct {
Event *AccountsVoteSignerAuthorized // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
AccountsVoteSignerAuthorizedIterator is returned from FilterVoteSignerAuthorized and is used to iterate over the raw logs and unpacked data for VoteSignerAuthorized events raised by the Accounts contract.
func (*AccountsVoteSignerAuthorizedIterator) Close ¶
func (it *AccountsVoteSignerAuthorizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccountsVoteSignerAuthorizedIterator) Error ¶
func (it *AccountsVoteSignerAuthorizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccountsVoteSignerAuthorizedIterator) Next ¶
func (it *AccountsVoteSignerAuthorizedIterator) 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 AccountsVoteSignerRemoved ¶
type AccountsVoteSignerRemoved struct {
Account common.Address
OldSigner common.Address
Raw types.Log // Blockchain specific contextual infos
}
AccountsVoteSignerRemoved represents a VoteSignerRemoved event raised by the Accounts contract.
type AccountsVoteSignerRemovedIterator ¶
type AccountsVoteSignerRemovedIterator struct {
Event *AccountsVoteSignerRemoved // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
AccountsVoteSignerRemovedIterator is returned from FilterVoteSignerRemoved and is used to iterate over the raw logs and unpacked data for VoteSignerRemoved events raised by the Accounts contract.
func (*AccountsVoteSignerRemovedIterator) Close ¶
func (it *AccountsVoteSignerRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccountsVoteSignerRemovedIterator) Error ¶
func (it *AccountsVoteSignerRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccountsVoteSignerRemovedIterator) Next ¶
func (it *AccountsVoteSignerRemovedIterator) 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 Election ¶
type Election struct {
ElectionCaller // Read-only binding to the contract
ElectionTransactor // Write-only binding to the contract
ElectionFilterer // Log filterer for contract events
}
Election is an auto generated Go binding around an Ethereum contract.
func NewElection ¶
NewElection creates a new instance of Election, bound to a specific deployed contract.
type ElectionCaller ¶
type ElectionCaller struct {
// contains filtered or unexported fields
}
ElectionCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewElectionCaller ¶
func NewElectionCaller(address common.Address, caller bind.ContractCaller) (*ElectionCaller, error)
NewElectionCaller creates a new read-only instance of Election, bound to a specific deployed contract.
func (*ElectionCaller) CanReceiveVotes ¶
func (_Election *ElectionCaller) CanReceiveVotes(opts *bind.CallOpts, group common.Address, value *big.Int) (bool, error)
CanReceiveVotes is a free data retrieval call binding the contract method 0xe59ea3e8.
Solidity: function canReceiveVotes(address group, uint256 value) constant returns(bool)
func (*ElectionCaller) CheckProofOfPossession ¶
func (_Election *ElectionCaller) CheckProofOfPossession(opts *bind.CallOpts, sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
CheckProofOfPossession is a free data retrieval call binding the contract method 0x23f0ab65.
Solidity: function checkProofOfPossession(address sender, bytes blsKey, bytes blsPop) constant returns(bool)
func (*ElectionCaller) ElectNValidatorSigners ¶
func (_Election *ElectionCaller) ElectNValidatorSigners(opts *bind.CallOpts, minElectableValidators *big.Int, maxElectableValidators *big.Int) ([]common.Address, error)
ElectNValidatorSigners is a free data retrieval call binding the contract method 0x90a4dd5c.
Solidity: function electNValidatorSigners(uint256 minElectableValidators, uint256 maxElectableValidators) constant returns(address[])
func (*ElectionCaller) ElectValidatorSigners ¶
func (_Election *ElectionCaller) ElectValidatorSigners(opts *bind.CallOpts) ([]common.Address, error)
ElectValidatorSigners is a free data retrieval call binding the contract method 0x2ba38e69.
Solidity: function electValidatorSigners() constant returns(address[])
func (*ElectionCaller) ElectabilityThreshold ¶
ElectabilityThreshold is a free data retrieval call binding the contract method 0x4be8843b.
Solidity: function electabilityThreshold() constant returns(uint256 value)
func (*ElectionCaller) ElectableValidators ¶
func (_Election *ElectionCaller) ElectableValidators(opts *bind.CallOpts) (struct { Min *big.Int Max *big.Int }, error)
ElectableValidators is a free data retrieval call binding the contract method 0xf9d7daae.
Solidity: function electableValidators() constant returns(uint256 min, uint256 max)
func (*ElectionCaller) FractionMulExp ¶
func (_Election *ElectionCaller) FractionMulExp(opts *bind.CallOpts, aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, bDenominator *big.Int, exponent *big.Int, _decimals *big.Int) (*big.Int, *big.Int, error)
FractionMulExp is a free data retrieval call binding the contract method 0xec683072.
Solidity: function fractionMulExp(uint256 aNumerator, uint256 aDenominator, uint256 bNumerator, uint256 bDenominator, uint256 exponent, uint256 _decimals) constant returns(uint256, uint256)
func (*ElectionCaller) GetActiveVotes ¶
GetActiveVotes is a free data retrieval call binding the contract method 0x1f604243.
Solidity: function getActiveVotes() constant returns(uint256)
func (*ElectionCaller) GetActiveVotesForGroup ¶
func (_Election *ElectionCaller) GetActiveVotesForGroup(opts *bind.CallOpts, group common.Address) (*big.Int, error)
GetActiveVotesForGroup is a free data retrieval call binding the contract method 0x926d00ca.
Solidity: function getActiveVotesForGroup(address group) constant returns(uint256)
func (*ElectionCaller) GetActiveVotesForGroupByAccount ¶
func (_Election *ElectionCaller) GetActiveVotesForGroupByAccount(opts *bind.CallOpts, group common.Address, account common.Address) (*big.Int, error)
GetActiveVotesForGroupByAccount is a free data retrieval call binding the contract method 0xd3e242a4.
Solidity: function getActiveVotesForGroupByAccount(address group, address account) constant returns(uint256)
func (*ElectionCaller) GetBlockNumberFromHeader ¶
func (_Election *ElectionCaller) GetBlockNumberFromHeader(opts *bind.CallOpts, header []byte) (*big.Int, error)
GetBlockNumberFromHeader is a free data retrieval call binding the contract method 0x8a883626.
Solidity: function getBlockNumberFromHeader(bytes header) constant returns(uint256)
func (*ElectionCaller) GetCurrentValidatorSigners ¶
func (_Election *ElectionCaller) GetCurrentValidatorSigners(opts *bind.CallOpts) ([]common.Address, error)
GetCurrentValidatorSigners is a free data retrieval call binding the contract method 0x448144c8.
Solidity: function getCurrentValidatorSigners() constant returns(address[])
func (*ElectionCaller) GetElectabilityThreshold ¶
GetElectabilityThreshold is a free data retrieval call binding the contract method 0xbdd14318.
Solidity: function getElectabilityThreshold() constant returns(uint256)
func (*ElectionCaller) GetElectableValidators ¶
func (_Election *ElectionCaller) GetElectableValidators(opts *bind.CallOpts) (*big.Int, *big.Int, error)
GetElectableValidators is a free data retrieval call binding the contract method 0xf9f41a7a.
Solidity: function getElectableValidators() constant returns(uint256, uint256)
func (*ElectionCaller) GetEligibleValidatorGroups ¶
func (_Election *ElectionCaller) GetEligibleValidatorGroups(opts *bind.CallOpts) ([]common.Address, error)
GetEligibleValidatorGroups is a free data retrieval call binding the contract method 0xa5826ab2.
Solidity: function getEligibleValidatorGroups() constant returns(address[])
func (*ElectionCaller) GetEpochNumber ¶
GetEpochNumber is a free data retrieval call binding the contract method 0x9a7b3be7.
Solidity: function getEpochNumber() constant returns(uint256)
func (*ElectionCaller) GetEpochNumberOfBlock ¶
func (_Election *ElectionCaller) GetEpochNumberOfBlock(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
GetEpochNumberOfBlock is a free data retrieval call binding the contract method 0x3b1eb4bf.
Solidity: function getEpochNumberOfBlock(uint256 blockNumber) constant returns(uint256)
func (*ElectionCaller) GetEpochSize ¶
GetEpochSize is a free data retrieval call binding the contract method 0xdf4da461.
Solidity: function getEpochSize() constant returns(uint256)
func (*ElectionCaller) GetGroupEligibility ¶
func (_Election *ElectionCaller) GetGroupEligibility(opts *bind.CallOpts, group common.Address) (bool, error)
GetGroupEligibility is a free data retrieval call binding the contract method 0x8c666775.
Solidity: function getGroupEligibility(address group) constant returns(bool)
func (*ElectionCaller) GetGroupEpochRewards ¶
func (_Election *ElectionCaller) GetGroupEpochRewards(opts *bind.CallOpts, group common.Address, totalEpochRewards *big.Int, uptimes []*big.Int) (*big.Int, error)
GetGroupEpochRewards is a free data retrieval call binding the contract method 0xf23263f9.
Solidity: function getGroupEpochRewards(address group, uint256 totalEpochRewards, uint256[] uptimes) constant returns(uint256)
func (*ElectionCaller) GetGroupsVotedForByAccount ¶
func (_Election *ElectionCaller) GetGroupsVotedForByAccount(opts *bind.CallOpts, account common.Address) ([]common.Address, error)
GetGroupsVotedForByAccount is a free data retrieval call binding the contract method 0x457578a3.
Solidity: function getGroupsVotedForByAccount(address account) constant returns(address[])
func (*ElectionCaller) GetNumVotesReceivable ¶
func (_Election *ElectionCaller) GetNumVotesReceivable(opts *bind.CallOpts, group common.Address) (*big.Int, error)
GetNumVotesReceivable is a free data retrieval call binding the contract method 0x2c3b7916.
Solidity: function getNumVotesReceivable(address group) constant returns(uint256)
func (*ElectionCaller) GetParentSealBitmap ¶
func (_Election *ElectionCaller) GetParentSealBitmap(opts *bind.CallOpts, blockNumber *big.Int) ([32]byte, error)
GetParentSealBitmap is a free data retrieval call binding the contract method 0xfae8db0a.
Solidity: function getParentSealBitmap(uint256 blockNumber) constant returns(bytes32)
func (*ElectionCaller) GetPendingVotesForGroupByAccount ¶
func (_Election *ElectionCaller) GetPendingVotesForGroupByAccount(opts *bind.CallOpts, group common.Address, account common.Address) (*big.Int, error)
GetPendingVotesForGroupByAccount is a free data retrieval call binding the contract method 0x9b95975f.
Solidity: function getPendingVotesForGroupByAccount(address group, address account) constant returns(uint256)
func (*ElectionCaller) GetTotalVotes ¶
GetTotalVotes is a free data retrieval call binding the contract method 0x9a0e7d66.
Solidity: function getTotalVotes() constant returns(uint256)
func (*ElectionCaller) GetTotalVotesByAccount ¶
func (_Election *ElectionCaller) GetTotalVotesByAccount(opts *bind.CallOpts, account common.Address) (*big.Int, error)
GetTotalVotesByAccount is a free data retrieval call binding the contract method 0x6c781a2c.
Solidity: function getTotalVotesByAccount(address account) constant returns(uint256)
func (*ElectionCaller) GetTotalVotesForEligibleValidatorGroups ¶
func (_Election *ElectionCaller) GetTotalVotesForEligibleValidatorGroups(opts *bind.CallOpts) (struct { Groups []common.Address Values []*big.Int }, error)
GetTotalVotesForEligibleValidatorGroups is a free data retrieval call binding the contract method 0x7046c96b.
Solidity: function getTotalVotesForEligibleValidatorGroups() constant returns(address[] groups, uint256[] values)
func (*ElectionCaller) GetTotalVotesForGroup ¶
func (_Election *ElectionCaller) GetTotalVotesForGroup(opts *bind.CallOpts, group common.Address) (*big.Int, error)
GetTotalVotesForGroup is a free data retrieval call binding the contract method 0xdedafeae.
Solidity: function getTotalVotesForGroup(address group) constant returns(uint256)
func (*ElectionCaller) GetTotalVotesForGroupByAccount ¶
func (_Election *ElectionCaller) GetTotalVotesForGroupByAccount(opts *bind.CallOpts, group common.Address, account common.Address) (*big.Int, error)
GetTotalVotesForGroupByAccount is a free data retrieval call binding the contract method 0x38617272.
Solidity: function getTotalVotesForGroupByAccount(address group, address account) constant returns(uint256)
func (*ElectionCaller) GetVerifiedSealBitmapFromHeader ¶
func (_Election *ElectionCaller) GetVerifiedSealBitmapFromHeader(opts *bind.CallOpts, header []byte) ([32]byte, error)
GetVerifiedSealBitmapFromHeader is a free data retrieval call binding the contract method 0x4b2c2f44.
Solidity: function getVerifiedSealBitmapFromHeader(bytes header) constant returns(bytes32)
func (*ElectionCaller) HasActivatablePendingVotes ¶
func (_Election *ElectionCaller) HasActivatablePendingVotes(opts *bind.CallOpts, account common.Address, group common.Address) (bool, error)
HasActivatablePendingVotes is a free data retrieval call binding the contract method 0x263ecf74.
Solidity: function hasActivatablePendingVotes(address account, address group) constant returns(bool)
func (*ElectionCaller) HashHeader ¶
HashHeader is a free data retrieval call binding the contract method 0x67960e91.
Solidity: function hashHeader(bytes header) constant returns(bytes32)
func (*ElectionCaller) Initialized ¶
func (_Election *ElectionCaller) Initialized(opts *bind.CallOpts) (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*ElectionCaller) IsOwner ¶
func (_Election *ElectionCaller) IsOwner(opts *bind.CallOpts) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*ElectionCaller) MaxNumGroupsVotedFor ¶
MaxNumGroupsVotedFor is a free data retrieval call binding the contract method 0xac839d69.
Solidity: function maxNumGroupsVotedFor() constant returns(uint256)
func (*ElectionCaller) MinQuorumSize ¶
func (_Election *ElectionCaller) MinQuorumSize(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
MinQuorumSize is a free data retrieval call binding the contract method 0xe50e652d.
Solidity: function minQuorumSize(uint256 blockNumber) constant returns(uint256)
func (*ElectionCaller) MinQuorumSizeInCurrentSet ¶
MinQuorumSizeInCurrentSet is a free data retrieval call binding the contract method 0x7385e5da.
Solidity: function minQuorumSizeInCurrentSet() constant returns(uint256)
func (*ElectionCaller) NumberValidatorsInCurrentSet ¶
func (_Election *ElectionCaller) NumberValidatorsInCurrentSet(opts *bind.CallOpts) (*big.Int, error)
NumberValidatorsInCurrentSet is a free data retrieval call binding the contract method 0x87ee8a0f.
Solidity: function numberValidatorsInCurrentSet() constant returns(uint256)
func (*ElectionCaller) NumberValidatorsInSet ¶
func (_Election *ElectionCaller) NumberValidatorsInSet(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
NumberValidatorsInSet is a free data retrieval call binding the contract method 0x9b2b592f.
Solidity: function numberValidatorsInSet(uint256 blockNumber) constant returns(uint256)
func (*ElectionCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*ElectionCaller) Registry ¶
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*ElectionCaller) ValidatorSignerAddressFromCurrentSet ¶
func (_Election *ElectionCaller) ValidatorSignerAddressFromCurrentSet(opts *bind.CallOpts, index *big.Int) (common.Address, error)
ValidatorSignerAddressFromCurrentSet is a free data retrieval call binding the contract method 0x123633ea.
Solidity: function validatorSignerAddressFromCurrentSet(uint256 index) constant returns(address)
func (*ElectionCaller) ValidatorSignerAddressFromSet ¶
func (_Election *ElectionCaller) ValidatorSignerAddressFromSet(opts *bind.CallOpts, index *big.Int, blockNumber *big.Int) (common.Address, error)
ValidatorSignerAddressFromSet is a free data retrieval call binding the contract method 0x5d180adb.
Solidity: function validatorSignerAddressFromSet(uint256 index, uint256 blockNumber) constant returns(address)
type ElectionCallerRaw ¶
type ElectionCallerRaw struct {
Contract *ElectionCaller // Generic read-only contract binding to access the raw methods on
}
ElectionCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ElectionCallerRaw) Call ¶
func (_Election *ElectionCallerRaw) 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 ElectionCallerSession ¶
type ElectionCallerSession struct {
Contract *ElectionCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
ElectionCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ElectionCallerSession) CanReceiveVotes ¶
func (_Election *ElectionCallerSession) CanReceiveVotes(group common.Address, value *big.Int) (bool, error)
CanReceiveVotes is a free data retrieval call binding the contract method 0xe59ea3e8.
Solidity: function canReceiveVotes(address group, uint256 value) constant returns(bool)
func (*ElectionCallerSession) CheckProofOfPossession ¶
func (_Election *ElectionCallerSession) CheckProofOfPossession(sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
CheckProofOfPossession is a free data retrieval call binding the contract method 0x23f0ab65.
Solidity: function checkProofOfPossession(address sender, bytes blsKey, bytes blsPop) constant returns(bool)
func (*ElectionCallerSession) ElectNValidatorSigners ¶
func (_Election *ElectionCallerSession) ElectNValidatorSigners(minElectableValidators *big.Int, maxElectableValidators *big.Int) ([]common.Address, error)
ElectNValidatorSigners is a free data retrieval call binding the contract method 0x90a4dd5c.
Solidity: function electNValidatorSigners(uint256 minElectableValidators, uint256 maxElectableValidators) constant returns(address[])
func (*ElectionCallerSession) ElectValidatorSigners ¶
func (_Election *ElectionCallerSession) ElectValidatorSigners() ([]common.Address, error)
ElectValidatorSigners is a free data retrieval call binding the contract method 0x2ba38e69.
Solidity: function electValidatorSigners() constant returns(address[])
func (*ElectionCallerSession) ElectabilityThreshold ¶
func (_Election *ElectionCallerSession) ElectabilityThreshold() (*big.Int, error)
ElectabilityThreshold is a free data retrieval call binding the contract method 0x4be8843b.
Solidity: function electabilityThreshold() constant returns(uint256 value)
func (*ElectionCallerSession) ElectableValidators ¶
func (_Election *ElectionCallerSession) ElectableValidators() (struct { Min *big.Int Max *big.Int }, error)
ElectableValidators is a free data retrieval call binding the contract method 0xf9d7daae.
Solidity: function electableValidators() constant returns(uint256 min, uint256 max)
func (*ElectionCallerSession) FractionMulExp ¶
func (_Election *ElectionCallerSession) FractionMulExp(aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, bDenominator *big.Int, exponent *big.Int, _decimals *big.Int) (*big.Int, *big.Int, error)
FractionMulExp is a free data retrieval call binding the contract method 0xec683072.
Solidity: function fractionMulExp(uint256 aNumerator, uint256 aDenominator, uint256 bNumerator, uint256 bDenominator, uint256 exponent, uint256 _decimals) constant returns(uint256, uint256)
func (*ElectionCallerSession) GetActiveVotes ¶
func (_Election *ElectionCallerSession) GetActiveVotes() (*big.Int, error)
GetActiveVotes is a free data retrieval call binding the contract method 0x1f604243.
Solidity: function getActiveVotes() constant returns(uint256)
func (*ElectionCallerSession) GetActiveVotesForGroup ¶
func (_Election *ElectionCallerSession) GetActiveVotesForGroup(group common.Address) (*big.Int, error)
GetActiveVotesForGroup is a free data retrieval call binding the contract method 0x926d00ca.
Solidity: function getActiveVotesForGroup(address group) constant returns(uint256)
func (*ElectionCallerSession) GetActiveVotesForGroupByAccount ¶
func (_Election *ElectionCallerSession) GetActiveVotesForGroupByAccount(group common.Address, account common.Address) (*big.Int, error)
GetActiveVotesForGroupByAccount is a free data retrieval call binding the contract method 0xd3e242a4.
Solidity: function getActiveVotesForGroupByAccount(address group, address account) constant returns(uint256)
func (*ElectionCallerSession) GetBlockNumberFromHeader ¶
func (_Election *ElectionCallerSession) GetBlockNumberFromHeader(header []byte) (*big.Int, error)
GetBlockNumberFromHeader is a free data retrieval call binding the contract method 0x8a883626.
Solidity: function getBlockNumberFromHeader(bytes header) constant returns(uint256)
func (*ElectionCallerSession) GetCurrentValidatorSigners ¶
func (_Election *ElectionCallerSession) GetCurrentValidatorSigners() ([]common.Address, error)
GetCurrentValidatorSigners is a free data retrieval call binding the contract method 0x448144c8.
Solidity: function getCurrentValidatorSigners() constant returns(address[])
func (*ElectionCallerSession) GetElectabilityThreshold ¶
func (_Election *ElectionCallerSession) GetElectabilityThreshold() (*big.Int, error)
GetElectabilityThreshold is a free data retrieval call binding the contract method 0xbdd14318.
Solidity: function getElectabilityThreshold() constant returns(uint256)
func (*ElectionCallerSession) GetElectableValidators ¶
GetElectableValidators is a free data retrieval call binding the contract method 0xf9f41a7a.
Solidity: function getElectableValidators() constant returns(uint256, uint256)
func (*ElectionCallerSession) GetEligibleValidatorGroups ¶
func (_Election *ElectionCallerSession) GetEligibleValidatorGroups() ([]common.Address, error)
GetEligibleValidatorGroups is a free data retrieval call binding the contract method 0xa5826ab2.
Solidity: function getEligibleValidatorGroups() constant returns(address[])
func (*ElectionCallerSession) GetEpochNumber ¶
func (_Election *ElectionCallerSession) GetEpochNumber() (*big.Int, error)
GetEpochNumber is a free data retrieval call binding the contract method 0x9a7b3be7.
Solidity: function getEpochNumber() constant returns(uint256)
func (*ElectionCallerSession) GetEpochNumberOfBlock ¶
func (_Election *ElectionCallerSession) GetEpochNumberOfBlock(blockNumber *big.Int) (*big.Int, error)
GetEpochNumberOfBlock is a free data retrieval call binding the contract method 0x3b1eb4bf.
Solidity: function getEpochNumberOfBlock(uint256 blockNumber) constant returns(uint256)
func (*ElectionCallerSession) GetEpochSize ¶
func (_Election *ElectionCallerSession) GetEpochSize() (*big.Int, error)
GetEpochSize is a free data retrieval call binding the contract method 0xdf4da461.
Solidity: function getEpochSize() constant returns(uint256)
func (*ElectionCallerSession) GetGroupEligibility ¶
func (_Election *ElectionCallerSession) GetGroupEligibility(group common.Address) (bool, error)
GetGroupEligibility is a free data retrieval call binding the contract method 0x8c666775.
Solidity: function getGroupEligibility(address group) constant returns(bool)
func (*ElectionCallerSession) GetGroupEpochRewards ¶
func (_Election *ElectionCallerSession) GetGroupEpochRewards(group common.Address, totalEpochRewards *big.Int, uptimes []*big.Int) (*big.Int, error)
GetGroupEpochRewards is a free data retrieval call binding the contract method 0xf23263f9.
Solidity: function getGroupEpochRewards(address group, uint256 totalEpochRewards, uint256[] uptimes) constant returns(uint256)
func (*ElectionCallerSession) GetGroupsVotedForByAccount ¶
func (_Election *ElectionCallerSession) GetGroupsVotedForByAccount(account common.Address) ([]common.Address, error)
GetGroupsVotedForByAccount is a free data retrieval call binding the contract method 0x457578a3.
Solidity: function getGroupsVotedForByAccount(address account) constant returns(address[])
func (*ElectionCallerSession) GetNumVotesReceivable ¶
func (_Election *ElectionCallerSession) GetNumVotesReceivable(group common.Address) (*big.Int, error)
GetNumVotesReceivable is a free data retrieval call binding the contract method 0x2c3b7916.
Solidity: function getNumVotesReceivable(address group) constant returns(uint256)
func (*ElectionCallerSession) GetParentSealBitmap ¶
func (_Election *ElectionCallerSession) GetParentSealBitmap(blockNumber *big.Int) ([32]byte, error)
GetParentSealBitmap is a free data retrieval call binding the contract method 0xfae8db0a.
Solidity: function getParentSealBitmap(uint256 blockNumber) constant returns(bytes32)
func (*ElectionCallerSession) GetPendingVotesForGroupByAccount ¶
func (_Election *ElectionCallerSession) GetPendingVotesForGroupByAccount(group common.Address, account common.Address) (*big.Int, error)
GetPendingVotesForGroupByAccount is a free data retrieval call binding the contract method 0x9b95975f.
Solidity: function getPendingVotesForGroupByAccount(address group, address account) constant returns(uint256)
func (*ElectionCallerSession) GetTotalVotes ¶
func (_Election *ElectionCallerSession) GetTotalVotes() (*big.Int, error)
GetTotalVotes is a free data retrieval call binding the contract method 0x9a0e7d66.
Solidity: function getTotalVotes() constant returns(uint256)
func (*ElectionCallerSession) GetTotalVotesByAccount ¶
func (_Election *ElectionCallerSession) GetTotalVotesByAccount(account common.Address) (*big.Int, error)
GetTotalVotesByAccount is a free data retrieval call binding the contract method 0x6c781a2c.
Solidity: function getTotalVotesByAccount(address account) constant returns(uint256)
func (*ElectionCallerSession) GetTotalVotesForEligibleValidatorGroups ¶
func (_Election *ElectionCallerSession) GetTotalVotesForEligibleValidatorGroups() (struct { Groups []common.Address Values []*big.Int }, error)
GetTotalVotesForEligibleValidatorGroups is a free data retrieval call binding the contract method 0x7046c96b.
Solidity: function getTotalVotesForEligibleValidatorGroups() constant returns(address[] groups, uint256[] values)
func (*ElectionCallerSession) GetTotalVotesForGroup ¶
func (_Election *ElectionCallerSession) GetTotalVotesForGroup(group common.Address) (*big.Int, error)
GetTotalVotesForGroup is a free data retrieval call binding the contract method 0xdedafeae.
Solidity: function getTotalVotesForGroup(address group) constant returns(uint256)
func (*ElectionCallerSession) GetTotalVotesForGroupByAccount ¶
func (_Election *ElectionCallerSession) GetTotalVotesForGroupByAccount(group common.Address, account common.Address) (*big.Int, error)
GetTotalVotesForGroupByAccount is a free data retrieval call binding the contract method 0x38617272.
Solidity: function getTotalVotesForGroupByAccount(address group, address account) constant returns(uint256)
func (*ElectionCallerSession) GetVerifiedSealBitmapFromHeader ¶
func (_Election *ElectionCallerSession) GetVerifiedSealBitmapFromHeader(header []byte) ([32]byte, error)
GetVerifiedSealBitmapFromHeader is a free data retrieval call binding the contract method 0x4b2c2f44.
Solidity: function getVerifiedSealBitmapFromHeader(bytes header) constant returns(bytes32)
func (*ElectionCallerSession) HasActivatablePendingVotes ¶
func (_Election *ElectionCallerSession) HasActivatablePendingVotes(account common.Address, group common.Address) (bool, error)
HasActivatablePendingVotes is a free data retrieval call binding the contract method 0x263ecf74.
Solidity: function hasActivatablePendingVotes(address account, address group) constant returns(bool)
func (*ElectionCallerSession) HashHeader ¶
func (_Election *ElectionCallerSession) HashHeader(header []byte) ([32]byte, error)
HashHeader is a free data retrieval call binding the contract method 0x67960e91.
Solidity: function hashHeader(bytes header) constant returns(bytes32)
func (*ElectionCallerSession) Initialized ¶
func (_Election *ElectionCallerSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*ElectionCallerSession) IsOwner ¶
func (_Election *ElectionCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*ElectionCallerSession) MaxNumGroupsVotedFor ¶
func (_Election *ElectionCallerSession) MaxNumGroupsVotedFor() (*big.Int, error)
MaxNumGroupsVotedFor is a free data retrieval call binding the contract method 0xac839d69.
Solidity: function maxNumGroupsVotedFor() constant returns(uint256)
func (*ElectionCallerSession) MinQuorumSize ¶
MinQuorumSize is a free data retrieval call binding the contract method 0xe50e652d.
Solidity: function minQuorumSize(uint256 blockNumber) constant returns(uint256)
func (*ElectionCallerSession) MinQuorumSizeInCurrentSet ¶
func (_Election *ElectionCallerSession) MinQuorumSizeInCurrentSet() (*big.Int, error)
MinQuorumSizeInCurrentSet is a free data retrieval call binding the contract method 0x7385e5da.
Solidity: function minQuorumSizeInCurrentSet() constant returns(uint256)
func (*ElectionCallerSession) NumberValidatorsInCurrentSet ¶
func (_Election *ElectionCallerSession) NumberValidatorsInCurrentSet() (*big.Int, error)
NumberValidatorsInCurrentSet is a free data retrieval call binding the contract method 0x87ee8a0f.
Solidity: function numberValidatorsInCurrentSet() constant returns(uint256)
func (*ElectionCallerSession) NumberValidatorsInSet ¶
func (_Election *ElectionCallerSession) NumberValidatorsInSet(blockNumber *big.Int) (*big.Int, error)
NumberValidatorsInSet is a free data retrieval call binding the contract method 0x9b2b592f.
Solidity: function numberValidatorsInSet(uint256 blockNumber) constant returns(uint256)
func (*ElectionCallerSession) Owner ¶
func (_Election *ElectionCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*ElectionCallerSession) Registry ¶
func (_Election *ElectionCallerSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*ElectionCallerSession) ValidatorSignerAddressFromCurrentSet ¶
func (_Election *ElectionCallerSession) ValidatorSignerAddressFromCurrentSet(index *big.Int) (common.Address, error)
ValidatorSignerAddressFromCurrentSet is a free data retrieval call binding the contract method 0x123633ea.
Solidity: function validatorSignerAddressFromCurrentSet(uint256 index) constant returns(address)
func (*ElectionCallerSession) ValidatorSignerAddressFromSet ¶
func (_Election *ElectionCallerSession) ValidatorSignerAddressFromSet(index *big.Int, blockNumber *big.Int) (common.Address, error)
ValidatorSignerAddressFromSet is a free data retrieval call binding the contract method 0x5d180adb.
Solidity: function validatorSignerAddressFromSet(uint256 index, uint256 blockNumber) constant returns(address)
type ElectionElectabilityThresholdSet ¶
type ElectionElectabilityThresholdSet struct {
ElectabilityThreshold *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ElectionElectabilityThresholdSet represents a ElectabilityThresholdSet event raised by the Election contract.
type ElectionElectabilityThresholdSetIterator ¶
type ElectionElectabilityThresholdSetIterator struct {
Event *ElectionElectabilityThresholdSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ElectionElectabilityThresholdSetIterator is returned from FilterElectabilityThresholdSet and is used to iterate over the raw logs and unpacked data for ElectabilityThresholdSet events raised by the Election contract.
func (*ElectionElectabilityThresholdSetIterator) Close ¶
func (it *ElectionElectabilityThresholdSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ElectionElectabilityThresholdSetIterator) Error ¶
func (it *ElectionElectabilityThresholdSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ElectionElectabilityThresholdSetIterator) Next ¶
func (it *ElectionElectabilityThresholdSetIterator) 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 ElectionElectableValidatorsSet ¶
type ElectionElectableValidatorsSet struct {
Min *big.Int
Max *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ElectionElectableValidatorsSet represents a ElectableValidatorsSet event raised by the Election contract.
type ElectionElectableValidatorsSetIterator ¶
type ElectionElectableValidatorsSetIterator struct {
Event *ElectionElectableValidatorsSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ElectionElectableValidatorsSetIterator is returned from FilterElectableValidatorsSet and is used to iterate over the raw logs and unpacked data for ElectableValidatorsSet events raised by the Election contract.
func (*ElectionElectableValidatorsSetIterator) Close ¶
func (it *ElectionElectableValidatorsSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ElectionElectableValidatorsSetIterator) Error ¶
func (it *ElectionElectableValidatorsSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ElectionElectableValidatorsSetIterator) Next ¶
func (it *ElectionElectableValidatorsSetIterator) 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 ElectionEpochRewardsDistributedToVoters ¶
type ElectionEpochRewardsDistributedToVoters struct {
Group common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ElectionEpochRewardsDistributedToVoters represents a EpochRewardsDistributedToVoters event raised by the Election contract.
type ElectionEpochRewardsDistributedToVotersIterator ¶
type ElectionEpochRewardsDistributedToVotersIterator struct {
Event *ElectionEpochRewardsDistributedToVoters // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ElectionEpochRewardsDistributedToVotersIterator is returned from FilterEpochRewardsDistributedToVoters and is used to iterate over the raw logs and unpacked data for EpochRewardsDistributedToVoters events raised by the Election contract.
func (*ElectionEpochRewardsDistributedToVotersIterator) Close ¶
func (it *ElectionEpochRewardsDistributedToVotersIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ElectionEpochRewardsDistributedToVotersIterator) Error ¶
func (it *ElectionEpochRewardsDistributedToVotersIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ElectionEpochRewardsDistributedToVotersIterator) Next ¶
func (it *ElectionEpochRewardsDistributedToVotersIterator) 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 ElectionFilterer ¶
type ElectionFilterer struct {
// contains filtered or unexported fields
}
ElectionFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewElectionFilterer ¶
func NewElectionFilterer(address common.Address, filterer bind.ContractFilterer) (*ElectionFilterer, error)
NewElectionFilterer creates a new log filterer instance of Election, bound to a specific deployed contract.
func (*ElectionFilterer) FilterElectabilityThresholdSet ¶
func (_Election *ElectionFilterer) FilterElectabilityThresholdSet(opts *bind.FilterOpts) (*ElectionElectabilityThresholdSetIterator, error)
FilterElectabilityThresholdSet is a free log retrieval operation binding the contract event 0x9854be03126e38f9c318d8aabe1b150d09cb3a57059b21855b1e11d44e082c1a.
Solidity: event ElectabilityThresholdSet(uint256 electabilityThreshold)
func (*ElectionFilterer) FilterElectableValidatorsSet ¶
func (_Election *ElectionFilterer) FilterElectableValidatorsSet(opts *bind.FilterOpts) (*ElectionElectableValidatorsSetIterator, error)
FilterElectableValidatorsSet is a free log retrieval operation binding the contract event 0xb3ae64819ff89f6136eb58b8563cb32c6550f17eaf97f9ecc32f23783229f6de.
Solidity: event ElectableValidatorsSet(uint256 min, uint256 max)
func (*ElectionFilterer) FilterEpochRewardsDistributedToVoters ¶
func (_Election *ElectionFilterer) FilterEpochRewardsDistributedToVoters(opts *bind.FilterOpts, group []common.Address) (*ElectionEpochRewardsDistributedToVotersIterator, error)
FilterEpochRewardsDistributedToVoters is a free log retrieval operation binding the contract event 0x91ba34d62474c14d6c623cd322f4256666c7a45b7fdaa3378e009d39dfcec2a7.
Solidity: event EpochRewardsDistributedToVoters(address indexed group, uint256 value)
func (*ElectionFilterer) FilterMaxNumGroupsVotedForSet ¶
func (_Election *ElectionFilterer) FilterMaxNumGroupsVotedForSet(opts *bind.FilterOpts) (*ElectionMaxNumGroupsVotedForSetIterator, error)
FilterMaxNumGroupsVotedForSet is a free log retrieval operation binding the contract event 0x1993a3864c31265ef86eec51d147eff697dee0466c92ac9abddcc4c4c6829348.
Solidity: event MaxNumGroupsVotedForSet(uint256 maxNumGroupsVotedFor)
func (*ElectionFilterer) FilterOwnershipTransferred ¶
func (_Election *ElectionFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ElectionOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ElectionFilterer) FilterRegistrySet ¶
func (_Election *ElectionFilterer) FilterRegistrySet(opts *bind.FilterOpts, registryAddress []common.Address) (*ElectionRegistrySetIterator, error)
FilterRegistrySet is a free log retrieval operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*ElectionFilterer) FilterValidatorGroupMarkedEligible ¶
func (_Election *ElectionFilterer) FilterValidatorGroupMarkedEligible(opts *bind.FilterOpts) (*ElectionValidatorGroupMarkedEligibleIterator, error)
FilterValidatorGroupMarkedEligible is a free log retrieval operation binding the contract event 0x8f21dc7ff6f55d73e4fca52a4ef4fcc14fbda43ac338d24922519d51455d39c1.
Solidity: event ValidatorGroupMarkedEligible(address group)
func (*ElectionFilterer) FilterValidatorGroupMarkedIneligible ¶
func (_Election *ElectionFilterer) FilterValidatorGroupMarkedIneligible(opts *bind.FilterOpts) (*ElectionValidatorGroupMarkedIneligibleIterator, error)
FilterValidatorGroupMarkedIneligible is a free log retrieval operation binding the contract event 0x5c8cd4e832f3a7d79f9208c2acf25a412143aa3f751cfd3728c42a0fea4921a8.
Solidity: event ValidatorGroupMarkedIneligible(address group)
func (*ElectionFilterer) FilterValidatorGroupVoteActivated ¶
func (_Election *ElectionFilterer) FilterValidatorGroupVoteActivated(opts *bind.FilterOpts, account []common.Address, group []common.Address) (*ElectionValidatorGroupVoteActivatedIterator, error)
FilterValidatorGroupVoteActivated is a free log retrieval operation binding the contract event 0x50363f7a646042bcb294d6afdef2d53f4122379845e67627b6db367f31934f16.
Solidity: event ValidatorGroupVoteActivated(address indexed account, address indexed group, uint256 value)
func (*ElectionFilterer) FilterValidatorGroupVoteCast ¶
func (_Election *ElectionFilterer) FilterValidatorGroupVoteCast(opts *bind.FilterOpts, account []common.Address, group []common.Address) (*ElectionValidatorGroupVoteCastIterator, error)
FilterValidatorGroupVoteCast is a free log retrieval operation binding the contract event 0xd3532f70444893db82221041edb4dc26c94593aeb364b0b14dfc77d5ee905152.
Solidity: event ValidatorGroupVoteCast(address indexed account, address indexed group, uint256 value)
func (*ElectionFilterer) FilterValidatorGroupVoteRevoked ¶
func (_Election *ElectionFilterer) FilterValidatorGroupVoteRevoked(opts *bind.FilterOpts, account []common.Address, group []common.Address) (*ElectionValidatorGroupVoteRevokedIterator, error)
FilterValidatorGroupVoteRevoked is a free log retrieval operation binding the contract event 0xa06c722f7d446349fdd811f3d539bc91c7b11df8a2f4e012685712a30068f668.
Solidity: event ValidatorGroupVoteRevoked(address indexed account, address indexed group, uint256 value)
func (*ElectionFilterer) ParseElectabilityThresholdSet ¶
func (_Election *ElectionFilterer) ParseElectabilityThresholdSet(log types.Log) (*ElectionElectabilityThresholdSet, error)
ParseElectabilityThresholdSet is a log parse operation binding the contract event 0x9854be03126e38f9c318d8aabe1b150d09cb3a57059b21855b1e11d44e082c1a.
Solidity: event ElectabilityThresholdSet(uint256 electabilityThreshold)
func (*ElectionFilterer) ParseElectableValidatorsSet ¶
func (_Election *ElectionFilterer) ParseElectableValidatorsSet(log types.Log) (*ElectionElectableValidatorsSet, error)
ParseElectableValidatorsSet is a log parse operation binding the contract event 0xb3ae64819ff89f6136eb58b8563cb32c6550f17eaf97f9ecc32f23783229f6de.
Solidity: event ElectableValidatorsSet(uint256 min, uint256 max)
func (*ElectionFilterer) ParseEpochRewardsDistributedToVoters ¶
func (_Election *ElectionFilterer) ParseEpochRewardsDistributedToVoters(log types.Log) (*ElectionEpochRewardsDistributedToVoters, error)
ParseEpochRewardsDistributedToVoters is a log parse operation binding the contract event 0x91ba34d62474c14d6c623cd322f4256666c7a45b7fdaa3378e009d39dfcec2a7.
Solidity: event EpochRewardsDistributedToVoters(address indexed group, uint256 value)
func (*ElectionFilterer) ParseMaxNumGroupsVotedForSet ¶
func (_Election *ElectionFilterer) ParseMaxNumGroupsVotedForSet(log types.Log) (*ElectionMaxNumGroupsVotedForSet, error)
ParseMaxNumGroupsVotedForSet is a log parse operation binding the contract event 0x1993a3864c31265ef86eec51d147eff697dee0466c92ac9abddcc4c4c6829348.
Solidity: event MaxNumGroupsVotedForSet(uint256 maxNumGroupsVotedFor)
func (*ElectionFilterer) ParseOwnershipTransferred ¶
func (_Election *ElectionFilterer) ParseOwnershipTransferred(log types.Log) (*ElectionOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ElectionFilterer) ParseRegistrySet ¶
func (_Election *ElectionFilterer) ParseRegistrySet(log types.Log) (*ElectionRegistrySet, error)
ParseRegistrySet is a log parse operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*ElectionFilterer) ParseValidatorGroupMarkedEligible ¶
func (_Election *ElectionFilterer) ParseValidatorGroupMarkedEligible(log types.Log) (*ElectionValidatorGroupMarkedEligible, error)
ParseValidatorGroupMarkedEligible is a log parse operation binding the contract event 0x8f21dc7ff6f55d73e4fca52a4ef4fcc14fbda43ac338d24922519d51455d39c1.
Solidity: event ValidatorGroupMarkedEligible(address group)
func (*ElectionFilterer) ParseValidatorGroupMarkedIneligible ¶
func (_Election *ElectionFilterer) ParseValidatorGroupMarkedIneligible(log types.Log) (*ElectionValidatorGroupMarkedIneligible, error)
ParseValidatorGroupMarkedIneligible is a log parse operation binding the contract event 0x5c8cd4e832f3a7d79f9208c2acf25a412143aa3f751cfd3728c42a0fea4921a8.
Solidity: event ValidatorGroupMarkedIneligible(address group)
func (*ElectionFilterer) ParseValidatorGroupVoteActivated ¶
func (_Election *ElectionFilterer) ParseValidatorGroupVoteActivated(log types.Log) (*ElectionValidatorGroupVoteActivated, error)
ParseValidatorGroupVoteActivated is a log parse operation binding the contract event 0x50363f7a646042bcb294d6afdef2d53f4122379845e67627b6db367f31934f16.
Solidity: event ValidatorGroupVoteActivated(address indexed account, address indexed group, uint256 value)
func (*ElectionFilterer) ParseValidatorGroupVoteCast ¶
func (_Election *ElectionFilterer) ParseValidatorGroupVoteCast(log types.Log) (*ElectionValidatorGroupVoteCast, error)
ParseValidatorGroupVoteCast is a log parse operation binding the contract event 0xd3532f70444893db82221041edb4dc26c94593aeb364b0b14dfc77d5ee905152.
Solidity: event ValidatorGroupVoteCast(address indexed account, address indexed group, uint256 value)
func (*ElectionFilterer) ParseValidatorGroupVoteRevoked ¶
func (_Election *ElectionFilterer) ParseValidatorGroupVoteRevoked(log types.Log) (*ElectionValidatorGroupVoteRevoked, error)
ParseValidatorGroupVoteRevoked is a log parse operation binding the contract event 0xa06c722f7d446349fdd811f3d539bc91c7b11df8a2f4e012685712a30068f668.
Solidity: event ValidatorGroupVoteRevoked(address indexed account, address indexed group, uint256 value)
func (*ElectionFilterer) TryParseLog ¶
func (_Election *ElectionFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
TryParseLog attempts to parse a log. Returns the parsed log, eventName and whether it was successful
func (*ElectionFilterer) WatchElectabilityThresholdSet ¶
func (_Election *ElectionFilterer) WatchElectabilityThresholdSet(opts *bind.WatchOpts, sink chan<- *ElectionElectabilityThresholdSet) (event.Subscription, error)
WatchElectabilityThresholdSet is a free log subscription operation binding the contract event 0x9854be03126e38f9c318d8aabe1b150d09cb3a57059b21855b1e11d44e082c1a.
Solidity: event ElectabilityThresholdSet(uint256 electabilityThreshold)
func (*ElectionFilterer) WatchElectableValidatorsSet ¶
func (_Election *ElectionFilterer) WatchElectableValidatorsSet(opts *bind.WatchOpts, sink chan<- *ElectionElectableValidatorsSet) (event.Subscription, error)
WatchElectableValidatorsSet is a free log subscription operation binding the contract event 0xb3ae64819ff89f6136eb58b8563cb32c6550f17eaf97f9ecc32f23783229f6de.
Solidity: event ElectableValidatorsSet(uint256 min, uint256 max)
func (*ElectionFilterer) WatchEpochRewardsDistributedToVoters ¶
func (_Election *ElectionFilterer) WatchEpochRewardsDistributedToVoters(opts *bind.WatchOpts, sink chan<- *ElectionEpochRewardsDistributedToVoters, group []common.Address) (event.Subscription, error)
WatchEpochRewardsDistributedToVoters is a free log subscription operation binding the contract event 0x91ba34d62474c14d6c623cd322f4256666c7a45b7fdaa3378e009d39dfcec2a7.
Solidity: event EpochRewardsDistributedToVoters(address indexed group, uint256 value)
func (*ElectionFilterer) WatchMaxNumGroupsVotedForSet ¶
func (_Election *ElectionFilterer) WatchMaxNumGroupsVotedForSet(opts *bind.WatchOpts, sink chan<- *ElectionMaxNumGroupsVotedForSet) (event.Subscription, error)
WatchMaxNumGroupsVotedForSet is a free log subscription operation binding the contract event 0x1993a3864c31265ef86eec51d147eff697dee0466c92ac9abddcc4c4c6829348.
Solidity: event MaxNumGroupsVotedForSet(uint256 maxNumGroupsVotedFor)
func (*ElectionFilterer) WatchOwnershipTransferred ¶
func (_Election *ElectionFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ElectionOwnershipTransferred, 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 (*ElectionFilterer) WatchRegistrySet ¶
func (_Election *ElectionFilterer) WatchRegistrySet(opts *bind.WatchOpts, sink chan<- *ElectionRegistrySet, registryAddress []common.Address) (event.Subscription, error)
WatchRegistrySet is a free log subscription operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*ElectionFilterer) WatchValidatorGroupMarkedEligible ¶
func (_Election *ElectionFilterer) WatchValidatorGroupMarkedEligible(opts *bind.WatchOpts, sink chan<- *ElectionValidatorGroupMarkedEligible) (event.Subscription, error)
WatchValidatorGroupMarkedEligible is a free log subscription operation binding the contract event 0x8f21dc7ff6f55d73e4fca52a4ef4fcc14fbda43ac338d24922519d51455d39c1.
Solidity: event ValidatorGroupMarkedEligible(address group)
func (*ElectionFilterer) WatchValidatorGroupMarkedIneligible ¶
func (_Election *ElectionFilterer) WatchValidatorGroupMarkedIneligible(opts *bind.WatchOpts, sink chan<- *ElectionValidatorGroupMarkedIneligible) (event.Subscription, error)
WatchValidatorGroupMarkedIneligible is a free log subscription operation binding the contract event 0x5c8cd4e832f3a7d79f9208c2acf25a412143aa3f751cfd3728c42a0fea4921a8.
Solidity: event ValidatorGroupMarkedIneligible(address group)
func (*ElectionFilterer) WatchValidatorGroupVoteActivated ¶
func (_Election *ElectionFilterer) WatchValidatorGroupVoteActivated(opts *bind.WatchOpts, sink chan<- *ElectionValidatorGroupVoteActivated, account []common.Address, group []common.Address) (event.Subscription, error)
WatchValidatorGroupVoteActivated is a free log subscription operation binding the contract event 0x50363f7a646042bcb294d6afdef2d53f4122379845e67627b6db367f31934f16.
Solidity: event ValidatorGroupVoteActivated(address indexed account, address indexed group, uint256 value)
func (*ElectionFilterer) WatchValidatorGroupVoteCast ¶
func (_Election *ElectionFilterer) WatchValidatorGroupVoteCast(opts *bind.WatchOpts, sink chan<- *ElectionValidatorGroupVoteCast, account []common.Address, group []common.Address) (event.Subscription, error)
WatchValidatorGroupVoteCast is a free log subscription operation binding the contract event 0xd3532f70444893db82221041edb4dc26c94593aeb364b0b14dfc77d5ee905152.
Solidity: event ValidatorGroupVoteCast(address indexed account, address indexed group, uint256 value)
func (*ElectionFilterer) WatchValidatorGroupVoteRevoked ¶
func (_Election *ElectionFilterer) WatchValidatorGroupVoteRevoked(opts *bind.WatchOpts, sink chan<- *ElectionValidatorGroupVoteRevoked, account []common.Address, group []common.Address) (event.Subscription, error)
WatchValidatorGroupVoteRevoked is a free log subscription operation binding the contract event 0xa06c722f7d446349fdd811f3d539bc91c7b11df8a2f4e012685712a30068f668.
Solidity: event ValidatorGroupVoteRevoked(address indexed account, address indexed group, uint256 value)
type ElectionMaxNumGroupsVotedForSet ¶
type ElectionMaxNumGroupsVotedForSet struct {
MaxNumGroupsVotedFor *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ElectionMaxNumGroupsVotedForSet represents a MaxNumGroupsVotedForSet event raised by the Election contract.
type ElectionMaxNumGroupsVotedForSetIterator ¶
type ElectionMaxNumGroupsVotedForSetIterator struct {
Event *ElectionMaxNumGroupsVotedForSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ElectionMaxNumGroupsVotedForSetIterator is returned from FilterMaxNumGroupsVotedForSet and is used to iterate over the raw logs and unpacked data for MaxNumGroupsVotedForSet events raised by the Election contract.
func (*ElectionMaxNumGroupsVotedForSetIterator) Close ¶
func (it *ElectionMaxNumGroupsVotedForSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ElectionMaxNumGroupsVotedForSetIterator) Error ¶
func (it *ElectionMaxNumGroupsVotedForSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ElectionMaxNumGroupsVotedForSetIterator) Next ¶
func (it *ElectionMaxNumGroupsVotedForSetIterator) 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 ElectionOwnershipTransferred ¶
type ElectionOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
ElectionOwnershipTransferred represents a OwnershipTransferred event raised by the Election contract.
type ElectionOwnershipTransferredIterator ¶
type ElectionOwnershipTransferredIterator struct {
Event *ElectionOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ElectionOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Election contract.
func (*ElectionOwnershipTransferredIterator) Close ¶
func (it *ElectionOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ElectionOwnershipTransferredIterator) Error ¶
func (it *ElectionOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ElectionOwnershipTransferredIterator) Next ¶
func (it *ElectionOwnershipTransferredIterator) 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 ElectionRaw ¶
type ElectionRaw struct {
Contract *Election // Generic contract binding to access the raw methods on
}
ElectionRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ElectionRaw) Call ¶
func (_Election *ElectionRaw) 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 (*ElectionRaw) Transact ¶
func (_Election *ElectionRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ElectionRaw) Transfer ¶
func (_Election *ElectionRaw) 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 ElectionRegistrySet ¶
type ElectionRegistrySet struct {
RegistryAddress common.Address
Raw types.Log // Blockchain specific contextual infos
}
ElectionRegistrySet represents a RegistrySet event raised by the Election contract.
type ElectionRegistrySetIterator ¶
type ElectionRegistrySetIterator struct {
Event *ElectionRegistrySet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ElectionRegistrySetIterator is returned from FilterRegistrySet and is used to iterate over the raw logs and unpacked data for RegistrySet events raised by the Election contract.
func (*ElectionRegistrySetIterator) Close ¶
func (it *ElectionRegistrySetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ElectionRegistrySetIterator) Error ¶
func (it *ElectionRegistrySetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ElectionRegistrySetIterator) Next ¶
func (it *ElectionRegistrySetIterator) 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 ElectionSession ¶
type ElectionSession struct {
Contract *Election // 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
}
ElectionSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ElectionSession) Activate ¶
func (_Election *ElectionSession) Activate(group common.Address) (*types.Transaction, error)
Activate is a paid mutator transaction binding the contract method 0x1c5a9d9c.
Solidity: function activate(address group) returns(bool)
func (*ElectionSession) CanReceiveVotes ¶
func (_Election *ElectionSession) CanReceiveVotes(group common.Address, value *big.Int) (bool, error)
CanReceiveVotes is a free data retrieval call binding the contract method 0xe59ea3e8.
Solidity: function canReceiveVotes(address group, uint256 value) constant returns(bool)
func (*ElectionSession) CheckProofOfPossession ¶
func (_Election *ElectionSession) CheckProofOfPossession(sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
CheckProofOfPossession is a free data retrieval call binding the contract method 0x23f0ab65.
Solidity: function checkProofOfPossession(address sender, bytes blsKey, bytes blsPop) constant returns(bool)
func (*ElectionSession) DistributeEpochRewards ¶
func (_Election *ElectionSession) DistributeEpochRewards(group common.Address, value *big.Int, lesser common.Address, greater common.Address) (*types.Transaction, error)
DistributeEpochRewards is a paid mutator transaction binding the contract method 0x12541a6b.
Solidity: function distributeEpochRewards(address group, uint256 value, address lesser, address greater) returns()
func (*ElectionSession) ElectNValidatorSigners ¶
func (_Election *ElectionSession) ElectNValidatorSigners(minElectableValidators *big.Int, maxElectableValidators *big.Int) ([]common.Address, error)
ElectNValidatorSigners is a free data retrieval call binding the contract method 0x90a4dd5c.
Solidity: function electNValidatorSigners(uint256 minElectableValidators, uint256 maxElectableValidators) constant returns(address[])
func (*ElectionSession) ElectValidatorSigners ¶
func (_Election *ElectionSession) ElectValidatorSigners() ([]common.Address, error)
ElectValidatorSigners is a free data retrieval call binding the contract method 0x2ba38e69.
Solidity: function electValidatorSigners() constant returns(address[])
func (*ElectionSession) ElectabilityThreshold ¶
func (_Election *ElectionSession) ElectabilityThreshold() (*big.Int, error)
ElectabilityThreshold is a free data retrieval call binding the contract method 0x4be8843b.
Solidity: function electabilityThreshold() constant returns(uint256 value)
func (*ElectionSession) ElectableValidators ¶
func (_Election *ElectionSession) ElectableValidators() (struct { Min *big.Int Max *big.Int }, error)
ElectableValidators is a free data retrieval call binding the contract method 0xf9d7daae.
Solidity: function electableValidators() constant returns(uint256 min, uint256 max)
func (*ElectionSession) ForceDecrementVotes ¶
func (_Election *ElectionSession) ForceDecrementVotes(account common.Address, value *big.Int, lessers []common.Address, greaters []common.Address, indices []*big.Int) (*types.Transaction, error)
ForceDecrementVotes is a paid mutator transaction binding the contract method 0x8ef01def.
Solidity: function forceDecrementVotes(address account, uint256 value, address[] lessers, address[] greaters, uint256[] indices) returns(uint256)
func (*ElectionSession) FractionMulExp ¶
func (_Election *ElectionSession) FractionMulExp(aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, bDenominator *big.Int, exponent *big.Int, _decimals *big.Int) (*big.Int, *big.Int, error)
FractionMulExp is a free data retrieval call binding the contract method 0xec683072.
Solidity: function fractionMulExp(uint256 aNumerator, uint256 aDenominator, uint256 bNumerator, uint256 bDenominator, uint256 exponent, uint256 _decimals) constant returns(uint256, uint256)
func (*ElectionSession) GetActiveVotes ¶
func (_Election *ElectionSession) GetActiveVotes() (*big.Int, error)
GetActiveVotes is a free data retrieval call binding the contract method 0x1f604243.
Solidity: function getActiveVotes() constant returns(uint256)
func (*ElectionSession) GetActiveVotesForGroup ¶
GetActiveVotesForGroup is a free data retrieval call binding the contract method 0x926d00ca.
Solidity: function getActiveVotesForGroup(address group) constant returns(uint256)
func (*ElectionSession) GetActiveVotesForGroupByAccount ¶
func (_Election *ElectionSession) GetActiveVotesForGroupByAccount(group common.Address, account common.Address) (*big.Int, error)
GetActiveVotesForGroupByAccount is a free data retrieval call binding the contract method 0xd3e242a4.
Solidity: function getActiveVotesForGroupByAccount(address group, address account) constant returns(uint256)
func (*ElectionSession) GetBlockNumberFromHeader ¶
func (_Election *ElectionSession) GetBlockNumberFromHeader(header []byte) (*big.Int, error)
GetBlockNumberFromHeader is a free data retrieval call binding the contract method 0x8a883626.
Solidity: function getBlockNumberFromHeader(bytes header) constant returns(uint256)
func (*ElectionSession) GetCurrentValidatorSigners ¶
func (_Election *ElectionSession) GetCurrentValidatorSigners() ([]common.Address, error)
GetCurrentValidatorSigners is a free data retrieval call binding the contract method 0x448144c8.
Solidity: function getCurrentValidatorSigners() constant returns(address[])
func (*ElectionSession) GetElectabilityThreshold ¶
func (_Election *ElectionSession) GetElectabilityThreshold() (*big.Int, error)
GetElectabilityThreshold is a free data retrieval call binding the contract method 0xbdd14318.
Solidity: function getElectabilityThreshold() constant returns(uint256)
func (*ElectionSession) GetElectableValidators ¶
GetElectableValidators is a free data retrieval call binding the contract method 0xf9f41a7a.
Solidity: function getElectableValidators() constant returns(uint256, uint256)
func (*ElectionSession) GetEligibleValidatorGroups ¶
func (_Election *ElectionSession) GetEligibleValidatorGroups() ([]common.Address, error)
GetEligibleValidatorGroups is a free data retrieval call binding the contract method 0xa5826ab2.
Solidity: function getEligibleValidatorGroups() constant returns(address[])
func (*ElectionSession) GetEpochNumber ¶
func (_Election *ElectionSession) GetEpochNumber() (*big.Int, error)
GetEpochNumber is a free data retrieval call binding the contract method 0x9a7b3be7.
Solidity: function getEpochNumber() constant returns(uint256)
func (*ElectionSession) GetEpochNumberOfBlock ¶
GetEpochNumberOfBlock is a free data retrieval call binding the contract method 0x3b1eb4bf.
Solidity: function getEpochNumberOfBlock(uint256 blockNumber) constant returns(uint256)
func (*ElectionSession) GetEpochSize ¶
func (_Election *ElectionSession) GetEpochSize() (*big.Int, error)
GetEpochSize is a free data retrieval call binding the contract method 0xdf4da461.
Solidity: function getEpochSize() constant returns(uint256)
func (*ElectionSession) GetGroupEligibility ¶
func (_Election *ElectionSession) GetGroupEligibility(group common.Address) (bool, error)
GetGroupEligibility is a free data retrieval call binding the contract method 0x8c666775.
Solidity: function getGroupEligibility(address group) constant returns(bool)
func (*ElectionSession) GetGroupEpochRewards ¶
func (_Election *ElectionSession) GetGroupEpochRewards(group common.Address, totalEpochRewards *big.Int, uptimes []*big.Int) (*big.Int, error)
GetGroupEpochRewards is a free data retrieval call binding the contract method 0xf23263f9.
Solidity: function getGroupEpochRewards(address group, uint256 totalEpochRewards, uint256[] uptimes) constant returns(uint256)
func (*ElectionSession) GetGroupsVotedForByAccount ¶
func (_Election *ElectionSession) GetGroupsVotedForByAccount(account common.Address) ([]common.Address, error)
GetGroupsVotedForByAccount is a free data retrieval call binding the contract method 0x457578a3.
Solidity: function getGroupsVotedForByAccount(address account) constant returns(address[])
func (*ElectionSession) GetNumVotesReceivable ¶
GetNumVotesReceivable is a free data retrieval call binding the contract method 0x2c3b7916.
Solidity: function getNumVotesReceivable(address group) constant returns(uint256)
func (*ElectionSession) GetParentSealBitmap ¶
func (_Election *ElectionSession) GetParentSealBitmap(blockNumber *big.Int) ([32]byte, error)
GetParentSealBitmap is a free data retrieval call binding the contract method 0xfae8db0a.
Solidity: function getParentSealBitmap(uint256 blockNumber) constant returns(bytes32)
func (*ElectionSession) GetPendingVotesForGroupByAccount ¶
func (_Election *ElectionSession) GetPendingVotesForGroupByAccount(group common.Address, account common.Address) (*big.Int, error)
GetPendingVotesForGroupByAccount is a free data retrieval call binding the contract method 0x9b95975f.
Solidity: function getPendingVotesForGroupByAccount(address group, address account) constant returns(uint256)
func (*ElectionSession) GetTotalVotes ¶
func (_Election *ElectionSession) GetTotalVotes() (*big.Int, error)
GetTotalVotes is a free data retrieval call binding the contract method 0x9a0e7d66.
Solidity: function getTotalVotes() constant returns(uint256)
func (*ElectionSession) GetTotalVotesByAccount ¶
GetTotalVotesByAccount is a free data retrieval call binding the contract method 0x6c781a2c.
Solidity: function getTotalVotesByAccount(address account) constant returns(uint256)
func (*ElectionSession) GetTotalVotesForEligibleValidatorGroups ¶
func (_Election *ElectionSession) GetTotalVotesForEligibleValidatorGroups() (struct { Groups []common.Address Values []*big.Int }, error)
GetTotalVotesForEligibleValidatorGroups is a free data retrieval call binding the contract method 0x7046c96b.
Solidity: function getTotalVotesForEligibleValidatorGroups() constant returns(address[] groups, uint256[] values)
func (*ElectionSession) GetTotalVotesForGroup ¶
GetTotalVotesForGroup is a free data retrieval call binding the contract method 0xdedafeae.
Solidity: function getTotalVotesForGroup(address group) constant returns(uint256)
func (*ElectionSession) GetTotalVotesForGroupByAccount ¶
func (_Election *ElectionSession) GetTotalVotesForGroupByAccount(group common.Address, account common.Address) (*big.Int, error)
GetTotalVotesForGroupByAccount is a free data retrieval call binding the contract method 0x38617272.
Solidity: function getTotalVotesForGroupByAccount(address group, address account) constant returns(uint256)
func (*ElectionSession) GetVerifiedSealBitmapFromHeader ¶
func (_Election *ElectionSession) GetVerifiedSealBitmapFromHeader(header []byte) ([32]byte, error)
GetVerifiedSealBitmapFromHeader is a free data retrieval call binding the contract method 0x4b2c2f44.
Solidity: function getVerifiedSealBitmapFromHeader(bytes header) constant returns(bytes32)
func (*ElectionSession) HasActivatablePendingVotes ¶
func (_Election *ElectionSession) HasActivatablePendingVotes(account common.Address, group common.Address) (bool, error)
HasActivatablePendingVotes is a free data retrieval call binding the contract method 0x263ecf74.
Solidity: function hasActivatablePendingVotes(address account, address group) constant returns(bool)
func (*ElectionSession) HashHeader ¶
func (_Election *ElectionSession) HashHeader(header []byte) ([32]byte, error)
HashHeader is a free data retrieval call binding the contract method 0x67960e91.
Solidity: function hashHeader(bytes header) constant returns(bytes32)
func (*ElectionSession) Initialize ¶
func (_Election *ElectionSession) Initialize(registryAddress common.Address, minElectableValidators *big.Int, maxElectableValidators *big.Int, _maxNumGroupsVotedFor *big.Int, _electabilityThreshold *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xf92ad219.
Solidity: function initialize(address registryAddress, uint256 minElectableValidators, uint256 maxElectableValidators, uint256 _maxNumGroupsVotedFor, uint256 _electabilityThreshold) returns()
func (*ElectionSession) Initialized ¶
func (_Election *ElectionSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*ElectionSession) IsOwner ¶
func (_Election *ElectionSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*ElectionSession) MarkGroupEligible ¶
func (_Election *ElectionSession) MarkGroupEligible(group common.Address, lesser common.Address, greater common.Address) (*types.Transaction, error)
MarkGroupEligible is a paid mutator transaction binding the contract method 0xa18fb2db.
Solidity: function markGroupEligible(address group, address lesser, address greater) returns()
func (*ElectionSession) MarkGroupIneligible ¶
func (_Election *ElectionSession) MarkGroupIneligible(group common.Address) (*types.Transaction, error)
MarkGroupIneligible is a paid mutator transaction binding the contract method 0xa8e45871.
Solidity: function markGroupIneligible(address group) returns()
func (*ElectionSession) MaxNumGroupsVotedFor ¶
func (_Election *ElectionSession) MaxNumGroupsVotedFor() (*big.Int, error)
MaxNumGroupsVotedFor is a free data retrieval call binding the contract method 0xac839d69.
Solidity: function maxNumGroupsVotedFor() constant returns(uint256)
func (*ElectionSession) MinQuorumSize ¶
MinQuorumSize is a free data retrieval call binding the contract method 0xe50e652d.
Solidity: function minQuorumSize(uint256 blockNumber) constant returns(uint256)
func (*ElectionSession) MinQuorumSizeInCurrentSet ¶
func (_Election *ElectionSession) MinQuorumSizeInCurrentSet() (*big.Int, error)
MinQuorumSizeInCurrentSet is a free data retrieval call binding the contract method 0x7385e5da.
Solidity: function minQuorumSizeInCurrentSet() constant returns(uint256)
func (*ElectionSession) NumberValidatorsInCurrentSet ¶
func (_Election *ElectionSession) NumberValidatorsInCurrentSet() (*big.Int, error)
NumberValidatorsInCurrentSet is a free data retrieval call binding the contract method 0x87ee8a0f.
Solidity: function numberValidatorsInCurrentSet() constant returns(uint256)
func (*ElectionSession) NumberValidatorsInSet ¶
NumberValidatorsInSet is a free data retrieval call binding the contract method 0x9b2b592f.
Solidity: function numberValidatorsInSet(uint256 blockNumber) constant returns(uint256)
func (*ElectionSession) Owner ¶
func (_Election *ElectionSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*ElectionSession) Registry ¶
func (_Election *ElectionSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*ElectionSession) RenounceOwnership ¶
func (_Election *ElectionSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ElectionSession) RevokeActive ¶
func (_Election *ElectionSession) RevokeActive(group common.Address, value *big.Int, lesser common.Address, greater common.Address, index *big.Int) (*types.Transaction, error)
RevokeActive is a paid mutator transaction binding the contract method 0x6e198475.
Solidity: function revokeActive(address group, uint256 value, address lesser, address greater, uint256 index) returns(bool)
func (*ElectionSession) RevokePending ¶
func (_Election *ElectionSession) RevokePending(group common.Address, value *big.Int, lesser common.Address, greater common.Address, index *big.Int) (*types.Transaction, error)
RevokePending is a paid mutator transaction binding the contract method 0x9dfb6081.
Solidity: function revokePending(address group, uint256 value, address lesser, address greater, uint256 index) returns(bool)
func (*ElectionSession) SetElectabilityThreshold ¶
func (_Election *ElectionSession) SetElectabilityThreshold(threshold *big.Int) (*types.Transaction, error)
SetElectabilityThreshold is a paid mutator transaction binding the contract method 0x631db7e7.
Solidity: function setElectabilityThreshold(uint256 threshold) returns(bool)
func (*ElectionSession) SetElectableValidators ¶
func (_Election *ElectionSession) SetElectableValidators(min *big.Int, max *big.Int) (*types.Transaction, error)
SetElectableValidators is a paid mutator transaction binding the contract method 0xf911f0b7.
Solidity: function setElectableValidators(uint256 min, uint256 max) returns(bool)
func (*ElectionSession) SetMaxNumGroupsVotedFor ¶
func (_Election *ElectionSession) SetMaxNumGroupsVotedFor(_maxNumGroupsVotedFor *big.Int) (*types.Transaction, error)
SetMaxNumGroupsVotedFor is a paid mutator transaction binding the contract method 0x3c55a73c.
Solidity: function setMaxNumGroupsVotedFor(uint256 _maxNumGroupsVotedFor) returns(bool)
func (*ElectionSession) SetRegistry ¶
func (_Election *ElectionSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*ElectionSession) TransferOwnership ¶
func (_Election *ElectionSession) 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 (*ElectionSession) ValidatorSignerAddressFromCurrentSet ¶
func (_Election *ElectionSession) ValidatorSignerAddressFromCurrentSet(index *big.Int) (common.Address, error)
ValidatorSignerAddressFromCurrentSet is a free data retrieval call binding the contract method 0x123633ea.
Solidity: function validatorSignerAddressFromCurrentSet(uint256 index) constant returns(address)
func (*ElectionSession) ValidatorSignerAddressFromSet ¶
func (_Election *ElectionSession) ValidatorSignerAddressFromSet(index *big.Int, blockNumber *big.Int) (common.Address, error)
ValidatorSignerAddressFromSet is a free data retrieval call binding the contract method 0x5d180adb.
Solidity: function validatorSignerAddressFromSet(uint256 index, uint256 blockNumber) constant returns(address)
func (*ElectionSession) Vote ¶
func (_Election *ElectionSession) Vote(group common.Address, value *big.Int, lesser common.Address, greater common.Address) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0x580d747a.
Solidity: function vote(address group, uint256 value, address lesser, address greater) returns(bool)
type ElectionTransactor ¶
type ElectionTransactor struct {
// contains filtered or unexported fields
}
ElectionTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewElectionTransactor ¶
func NewElectionTransactor(address common.Address, transactor bind.ContractTransactor) (*ElectionTransactor, error)
NewElectionTransactor creates a new write-only instance of Election, bound to a specific deployed contract.
func (*ElectionTransactor) Activate ¶
func (_Election *ElectionTransactor) Activate(opts *bind.TransactOpts, group common.Address) (*types.Transaction, error)
Activate is a paid mutator transaction binding the contract method 0x1c5a9d9c.
Solidity: function activate(address group) returns(bool)
func (*ElectionTransactor) DistributeEpochRewards ¶
func (_Election *ElectionTransactor) DistributeEpochRewards(opts *bind.TransactOpts, group common.Address, value *big.Int, lesser common.Address, greater common.Address) (*types.Transaction, error)
DistributeEpochRewards is a paid mutator transaction binding the contract method 0x12541a6b.
Solidity: function distributeEpochRewards(address group, uint256 value, address lesser, address greater) returns()
func (*ElectionTransactor) ForceDecrementVotes ¶
func (_Election *ElectionTransactor) ForceDecrementVotes(opts *bind.TransactOpts, account common.Address, value *big.Int, lessers []common.Address, greaters []common.Address, indices []*big.Int) (*types.Transaction, error)
ForceDecrementVotes is a paid mutator transaction binding the contract method 0x8ef01def.
Solidity: function forceDecrementVotes(address account, uint256 value, address[] lessers, address[] greaters, uint256[] indices) returns(uint256)
func (*ElectionTransactor) Initialize ¶
func (_Election *ElectionTransactor) Initialize(opts *bind.TransactOpts, registryAddress common.Address, minElectableValidators *big.Int, maxElectableValidators *big.Int, _maxNumGroupsVotedFor *big.Int, _electabilityThreshold *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xf92ad219.
Solidity: function initialize(address registryAddress, uint256 minElectableValidators, uint256 maxElectableValidators, uint256 _maxNumGroupsVotedFor, uint256 _electabilityThreshold) returns()
func (*ElectionTransactor) MarkGroupEligible ¶
func (_Election *ElectionTransactor) MarkGroupEligible(opts *bind.TransactOpts, group common.Address, lesser common.Address, greater common.Address) (*types.Transaction, error)
MarkGroupEligible is a paid mutator transaction binding the contract method 0xa18fb2db.
Solidity: function markGroupEligible(address group, address lesser, address greater) returns()
func (*ElectionTransactor) MarkGroupIneligible ¶
func (_Election *ElectionTransactor) MarkGroupIneligible(opts *bind.TransactOpts, group common.Address) (*types.Transaction, error)
MarkGroupIneligible is a paid mutator transaction binding the contract method 0xa8e45871.
Solidity: function markGroupIneligible(address group) returns()
func (*ElectionTransactor) RenounceOwnership ¶
func (_Election *ElectionTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ElectionTransactor) RevokeActive ¶
func (_Election *ElectionTransactor) RevokeActive(opts *bind.TransactOpts, group common.Address, value *big.Int, lesser common.Address, greater common.Address, index *big.Int) (*types.Transaction, error)
RevokeActive is a paid mutator transaction binding the contract method 0x6e198475.
Solidity: function revokeActive(address group, uint256 value, address lesser, address greater, uint256 index) returns(bool)
func (*ElectionTransactor) RevokePending ¶
func (_Election *ElectionTransactor) RevokePending(opts *bind.TransactOpts, group common.Address, value *big.Int, lesser common.Address, greater common.Address, index *big.Int) (*types.Transaction, error)
RevokePending is a paid mutator transaction binding the contract method 0x9dfb6081.
Solidity: function revokePending(address group, uint256 value, address lesser, address greater, uint256 index) returns(bool)
func (*ElectionTransactor) SetElectabilityThreshold ¶
func (_Election *ElectionTransactor) SetElectabilityThreshold(opts *bind.TransactOpts, threshold *big.Int) (*types.Transaction, error)
SetElectabilityThreshold is a paid mutator transaction binding the contract method 0x631db7e7.
Solidity: function setElectabilityThreshold(uint256 threshold) returns(bool)
func (*ElectionTransactor) SetElectableValidators ¶
func (_Election *ElectionTransactor) SetElectableValidators(opts *bind.TransactOpts, min *big.Int, max *big.Int) (*types.Transaction, error)
SetElectableValidators is a paid mutator transaction binding the contract method 0xf911f0b7.
Solidity: function setElectableValidators(uint256 min, uint256 max) returns(bool)
func (*ElectionTransactor) SetMaxNumGroupsVotedFor ¶
func (_Election *ElectionTransactor) SetMaxNumGroupsVotedFor(opts *bind.TransactOpts, _maxNumGroupsVotedFor *big.Int) (*types.Transaction, error)
SetMaxNumGroupsVotedFor is a paid mutator transaction binding the contract method 0x3c55a73c.
Solidity: function setMaxNumGroupsVotedFor(uint256 _maxNumGroupsVotedFor) returns(bool)
func (*ElectionTransactor) SetRegistry ¶
func (_Election *ElectionTransactor) SetRegistry(opts *bind.TransactOpts, registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*ElectionTransactor) TransferOwnership ¶
func (_Election *ElectionTransactor) 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 (*ElectionTransactor) Vote ¶
func (_Election *ElectionTransactor) Vote(opts *bind.TransactOpts, group common.Address, value *big.Int, lesser common.Address, greater common.Address) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0x580d747a.
Solidity: function vote(address group, uint256 value, address lesser, address greater) returns(bool)
type ElectionTransactorRaw ¶
type ElectionTransactorRaw struct {
Contract *ElectionTransactor // Generic write-only contract binding to access the raw methods on
}
ElectionTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ElectionTransactorRaw) Transact ¶
func (_Election *ElectionTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ElectionTransactorRaw) Transfer ¶
func (_Election *ElectionTransactorRaw) 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 ElectionTransactorSession ¶
type ElectionTransactorSession struct {
Contract *ElectionTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
ElectionTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ElectionTransactorSession) Activate ¶
func (_Election *ElectionTransactorSession) Activate(group common.Address) (*types.Transaction, error)
Activate is a paid mutator transaction binding the contract method 0x1c5a9d9c.
Solidity: function activate(address group) returns(bool)
func (*ElectionTransactorSession) DistributeEpochRewards ¶
func (_Election *ElectionTransactorSession) DistributeEpochRewards(group common.Address, value *big.Int, lesser common.Address, greater common.Address) (*types.Transaction, error)
DistributeEpochRewards is a paid mutator transaction binding the contract method 0x12541a6b.
Solidity: function distributeEpochRewards(address group, uint256 value, address lesser, address greater) returns()
func (*ElectionTransactorSession) ForceDecrementVotes ¶
func (_Election *ElectionTransactorSession) ForceDecrementVotes(account common.Address, value *big.Int, lessers []common.Address, greaters []common.Address, indices []*big.Int) (*types.Transaction, error)
ForceDecrementVotes is a paid mutator transaction binding the contract method 0x8ef01def.
Solidity: function forceDecrementVotes(address account, uint256 value, address[] lessers, address[] greaters, uint256[] indices) returns(uint256)
func (*ElectionTransactorSession) Initialize ¶
func (_Election *ElectionTransactorSession) Initialize(registryAddress common.Address, minElectableValidators *big.Int, maxElectableValidators *big.Int, _maxNumGroupsVotedFor *big.Int, _electabilityThreshold *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xf92ad219.
Solidity: function initialize(address registryAddress, uint256 minElectableValidators, uint256 maxElectableValidators, uint256 _maxNumGroupsVotedFor, uint256 _electabilityThreshold) returns()
func (*ElectionTransactorSession) MarkGroupEligible ¶
func (_Election *ElectionTransactorSession) MarkGroupEligible(group common.Address, lesser common.Address, greater common.Address) (*types.Transaction, error)
MarkGroupEligible is a paid mutator transaction binding the contract method 0xa18fb2db.
Solidity: function markGroupEligible(address group, address lesser, address greater) returns()
func (*ElectionTransactorSession) MarkGroupIneligible ¶
func (_Election *ElectionTransactorSession) MarkGroupIneligible(group common.Address) (*types.Transaction, error)
MarkGroupIneligible is a paid mutator transaction binding the contract method 0xa8e45871.
Solidity: function markGroupIneligible(address group) returns()
func (*ElectionTransactorSession) RenounceOwnership ¶
func (_Election *ElectionTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ElectionTransactorSession) RevokeActive ¶
func (_Election *ElectionTransactorSession) RevokeActive(group common.Address, value *big.Int, lesser common.Address, greater common.Address, index *big.Int) (*types.Transaction, error)
RevokeActive is a paid mutator transaction binding the contract method 0x6e198475.
Solidity: function revokeActive(address group, uint256 value, address lesser, address greater, uint256 index) returns(bool)
func (*ElectionTransactorSession) RevokePending ¶
func (_Election *ElectionTransactorSession) RevokePending(group common.Address, value *big.Int, lesser common.Address, greater common.Address, index *big.Int) (*types.Transaction, error)
RevokePending is a paid mutator transaction binding the contract method 0x9dfb6081.
Solidity: function revokePending(address group, uint256 value, address lesser, address greater, uint256 index) returns(bool)
func (*ElectionTransactorSession) SetElectabilityThreshold ¶
func (_Election *ElectionTransactorSession) SetElectabilityThreshold(threshold *big.Int) (*types.Transaction, error)
SetElectabilityThreshold is a paid mutator transaction binding the contract method 0x631db7e7.
Solidity: function setElectabilityThreshold(uint256 threshold) returns(bool)
func (*ElectionTransactorSession) SetElectableValidators ¶
func (_Election *ElectionTransactorSession) SetElectableValidators(min *big.Int, max *big.Int) (*types.Transaction, error)
SetElectableValidators is a paid mutator transaction binding the contract method 0xf911f0b7.
Solidity: function setElectableValidators(uint256 min, uint256 max) returns(bool)
func (*ElectionTransactorSession) SetMaxNumGroupsVotedFor ¶
func (_Election *ElectionTransactorSession) SetMaxNumGroupsVotedFor(_maxNumGroupsVotedFor *big.Int) (*types.Transaction, error)
SetMaxNumGroupsVotedFor is a paid mutator transaction binding the contract method 0x3c55a73c.
Solidity: function setMaxNumGroupsVotedFor(uint256 _maxNumGroupsVotedFor) returns(bool)
func (*ElectionTransactorSession) SetRegistry ¶
func (_Election *ElectionTransactorSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*ElectionTransactorSession) TransferOwnership ¶
func (_Election *ElectionTransactorSession) 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 (*ElectionTransactorSession) Vote ¶
func (_Election *ElectionTransactorSession) Vote(group common.Address, value *big.Int, lesser common.Address, greater common.Address) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0x580d747a.
Solidity: function vote(address group, uint256 value, address lesser, address greater) returns(bool)
type ElectionValidatorGroupMarkedEligible ¶
type ElectionValidatorGroupMarkedEligible struct {
Group common.Address
Raw types.Log // Blockchain specific contextual infos
}
ElectionValidatorGroupMarkedEligible represents a ValidatorGroupMarkedEligible event raised by the Election contract.
type ElectionValidatorGroupMarkedEligibleIterator ¶
type ElectionValidatorGroupMarkedEligibleIterator struct {
Event *ElectionValidatorGroupMarkedEligible // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ElectionValidatorGroupMarkedEligibleIterator is returned from FilterValidatorGroupMarkedEligible and is used to iterate over the raw logs and unpacked data for ValidatorGroupMarkedEligible events raised by the Election contract.
func (*ElectionValidatorGroupMarkedEligibleIterator) Close ¶
func (it *ElectionValidatorGroupMarkedEligibleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ElectionValidatorGroupMarkedEligibleIterator) Error ¶
func (it *ElectionValidatorGroupMarkedEligibleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ElectionValidatorGroupMarkedEligibleIterator) Next ¶
func (it *ElectionValidatorGroupMarkedEligibleIterator) 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 ElectionValidatorGroupMarkedIneligible ¶
type ElectionValidatorGroupMarkedIneligible struct {
Group common.Address
Raw types.Log // Blockchain specific contextual infos
}
ElectionValidatorGroupMarkedIneligible represents a ValidatorGroupMarkedIneligible event raised by the Election contract.
type ElectionValidatorGroupMarkedIneligibleIterator ¶
type ElectionValidatorGroupMarkedIneligibleIterator struct {
Event *ElectionValidatorGroupMarkedIneligible // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ElectionValidatorGroupMarkedIneligibleIterator is returned from FilterValidatorGroupMarkedIneligible and is used to iterate over the raw logs and unpacked data for ValidatorGroupMarkedIneligible events raised by the Election contract.
func (*ElectionValidatorGroupMarkedIneligibleIterator) Close ¶
func (it *ElectionValidatorGroupMarkedIneligibleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ElectionValidatorGroupMarkedIneligibleIterator) Error ¶
func (it *ElectionValidatorGroupMarkedIneligibleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ElectionValidatorGroupMarkedIneligibleIterator) Next ¶
func (it *ElectionValidatorGroupMarkedIneligibleIterator) 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 ElectionValidatorGroupVoteActivated ¶
type ElectionValidatorGroupVoteActivated struct {
Account common.Address
Group common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ElectionValidatorGroupVoteActivated represents a ValidatorGroupVoteActivated event raised by the Election contract.
type ElectionValidatorGroupVoteActivatedIterator ¶
type ElectionValidatorGroupVoteActivatedIterator struct {
Event *ElectionValidatorGroupVoteActivated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ElectionValidatorGroupVoteActivatedIterator is returned from FilterValidatorGroupVoteActivated and is used to iterate over the raw logs and unpacked data for ValidatorGroupVoteActivated events raised by the Election contract.
func (*ElectionValidatorGroupVoteActivatedIterator) Close ¶
func (it *ElectionValidatorGroupVoteActivatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ElectionValidatorGroupVoteActivatedIterator) Error ¶
func (it *ElectionValidatorGroupVoteActivatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ElectionValidatorGroupVoteActivatedIterator) Next ¶
func (it *ElectionValidatorGroupVoteActivatedIterator) 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 ElectionValidatorGroupVoteCast ¶
type ElectionValidatorGroupVoteCast struct {
Account common.Address
Group common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ElectionValidatorGroupVoteCast represents a ValidatorGroupVoteCast event raised by the Election contract.
type ElectionValidatorGroupVoteCastIterator ¶
type ElectionValidatorGroupVoteCastIterator struct {
Event *ElectionValidatorGroupVoteCast // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ElectionValidatorGroupVoteCastIterator is returned from FilterValidatorGroupVoteCast and is used to iterate over the raw logs and unpacked data for ValidatorGroupVoteCast events raised by the Election contract.
func (*ElectionValidatorGroupVoteCastIterator) Close ¶
func (it *ElectionValidatorGroupVoteCastIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ElectionValidatorGroupVoteCastIterator) Error ¶
func (it *ElectionValidatorGroupVoteCastIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ElectionValidatorGroupVoteCastIterator) Next ¶
func (it *ElectionValidatorGroupVoteCastIterator) 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 ElectionValidatorGroupVoteRevoked ¶
type ElectionValidatorGroupVoteRevoked struct {
Account common.Address
Group common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ElectionValidatorGroupVoteRevoked represents a ValidatorGroupVoteRevoked event raised by the Election contract.
type ElectionValidatorGroupVoteRevokedIterator ¶
type ElectionValidatorGroupVoteRevokedIterator struct {
Event *ElectionValidatorGroupVoteRevoked // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ElectionValidatorGroupVoteRevokedIterator is returned from FilterValidatorGroupVoteRevoked and is used to iterate over the raw logs and unpacked data for ValidatorGroupVoteRevoked events raised by the Election contract.
func (*ElectionValidatorGroupVoteRevokedIterator) Close ¶
func (it *ElectionValidatorGroupVoteRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ElectionValidatorGroupVoteRevokedIterator) Error ¶
func (it *ElectionValidatorGroupVoteRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ElectionValidatorGroupVoteRevokedIterator) Next ¶
func (it *ElectionValidatorGroupVoteRevokedIterator) 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 EpochRewards ¶
type EpochRewards struct {
EpochRewardsCaller // Read-only binding to the contract
EpochRewardsTransactor // Write-only binding to the contract
EpochRewardsFilterer // Log filterer for contract events
}
EpochRewards is an auto generated Go binding around an Ethereum contract.
func NewEpochRewards ¶
func NewEpochRewards(address common.Address, backend bind.ContractBackend) (*EpochRewards, error)
NewEpochRewards creates a new instance of EpochRewards, bound to a specific deployed contract.
type EpochRewardsCaller ¶
type EpochRewardsCaller struct {
// contains filtered or unexported fields
}
EpochRewardsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewEpochRewardsCaller ¶
func NewEpochRewardsCaller(address common.Address, caller bind.ContractCaller) (*EpochRewardsCaller, error)
NewEpochRewardsCaller creates a new read-only instance of EpochRewards, bound to a specific deployed contract.
func (*EpochRewardsCaller) CalculateTargetEpochRewards ¶
func (_EpochRewards *EpochRewardsCaller) CalculateTargetEpochRewards(opts *bind.CallOpts) (*big.Int, *big.Int, *big.Int, *big.Int, error)
CalculateTargetEpochRewards is a free data retrieval call binding the contract method 0x64347043.
Solidity: function calculateTargetEpochRewards() constant returns(uint256, uint256, uint256, uint256)
func (*EpochRewardsCaller) CarbonOffsettingPartner ¶
func (_EpochRewards *EpochRewardsCaller) CarbonOffsettingPartner(opts *bind.CallOpts) (common.Address, error)
CarbonOffsettingPartner is a free data retrieval call binding the contract method 0x22dae21f.
Solidity: function carbonOffsettingPartner() constant returns(address)
func (*EpochRewardsCaller) CheckProofOfPossession ¶
func (_EpochRewards *EpochRewardsCaller) CheckProofOfPossession(opts *bind.CallOpts, sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
CheckProofOfPossession is a free data retrieval call binding the contract method 0x23f0ab65.
Solidity: function checkProofOfPossession(address sender, bytes blsKey, bytes blsPop) constant returns(bool)
func (*EpochRewardsCaller) FractionMulExp ¶
func (_EpochRewards *EpochRewardsCaller) FractionMulExp(opts *bind.CallOpts, aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, bDenominator *big.Int, exponent *big.Int, _decimals *big.Int) (*big.Int, *big.Int, error)
FractionMulExp is a free data retrieval call binding the contract method 0xec683072.
Solidity: function fractionMulExp(uint256 aNumerator, uint256 aDenominator, uint256 bNumerator, uint256 bDenominator, uint256 exponent, uint256 _decimals) constant returns(uint256, uint256)
func (*EpochRewardsCaller) GetBlockNumberFromHeader ¶
func (_EpochRewards *EpochRewardsCaller) GetBlockNumberFromHeader(opts *bind.CallOpts, header []byte) (*big.Int, error)
GetBlockNumberFromHeader is a free data retrieval call binding the contract method 0x8a883626.
Solidity: function getBlockNumberFromHeader(bytes header) constant returns(uint256)
func (*EpochRewardsCaller) GetCarbonOffsettingFraction ¶
func (_EpochRewards *EpochRewardsCaller) GetCarbonOffsettingFraction(opts *bind.CallOpts) (*big.Int, error)
GetCarbonOffsettingFraction is a free data retrieval call binding the contract method 0x7d164125.
Solidity: function getCarbonOffsettingFraction() constant returns(uint256)
func (*EpochRewardsCaller) GetCommunityRewardFraction ¶
func (_EpochRewards *EpochRewardsCaller) GetCommunityRewardFraction(opts *bind.CallOpts) (*big.Int, error)
GetCommunityRewardFraction is a free data retrieval call binding the contract method 0x9917907f.
Solidity: function getCommunityRewardFraction() constant returns(uint256)
func (*EpochRewardsCaller) GetEpochNumber ¶
GetEpochNumber is a free data retrieval call binding the contract method 0x9a7b3be7.
Solidity: function getEpochNumber() constant returns(uint256)
func (*EpochRewardsCaller) GetEpochNumberOfBlock ¶
func (_EpochRewards *EpochRewardsCaller) GetEpochNumberOfBlock(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
GetEpochNumberOfBlock is a free data retrieval call binding the contract method 0x3b1eb4bf.
Solidity: function getEpochNumberOfBlock(uint256 blockNumber) constant returns(uint256)
func (*EpochRewardsCaller) GetEpochSize ¶
GetEpochSize is a free data retrieval call binding the contract method 0xdf4da461.
Solidity: function getEpochSize() constant returns(uint256)
func (*EpochRewardsCaller) GetParentSealBitmap ¶
func (_EpochRewards *EpochRewardsCaller) GetParentSealBitmap(opts *bind.CallOpts, blockNumber *big.Int) ([32]byte, error)
GetParentSealBitmap is a free data retrieval call binding the contract method 0xfae8db0a.
Solidity: function getParentSealBitmap(uint256 blockNumber) constant returns(bytes32)
func (*EpochRewardsCaller) GetRewardsMultiplier ¶
func (_EpochRewards *EpochRewardsCaller) GetRewardsMultiplier(opts *bind.CallOpts) (*big.Int, error)
GetRewardsMultiplier is a free data retrieval call binding the contract method 0x0203ab24.
Solidity: function getRewardsMultiplier() constant returns(uint256)
func (*EpochRewardsCaller) GetRewardsMultiplierParameters ¶
func (_EpochRewards *EpochRewardsCaller) GetRewardsMultiplierParameters(opts *bind.CallOpts) (*big.Int, *big.Int, *big.Int, error)
GetRewardsMultiplierParameters is a free data retrieval call binding the contract method 0x5f396e48.
Solidity: function getRewardsMultiplierParameters() constant returns(uint256, uint256, uint256)
func (*EpochRewardsCaller) GetTargetGoldTotalSupply ¶
func (_EpochRewards *EpochRewardsCaller) GetTargetGoldTotalSupply(opts *bind.CallOpts) (*big.Int, error)
GetTargetGoldTotalSupply is a free data retrieval call binding the contract method 0x5049890f.
Solidity: function getTargetGoldTotalSupply() constant returns(uint256)
func (*EpochRewardsCaller) GetTargetTotalEpochPaymentsInGold ¶
func (_EpochRewards *EpochRewardsCaller) GetTargetTotalEpochPaymentsInGold(opts *bind.CallOpts) (*big.Int, error)
GetTargetTotalEpochPaymentsInGold is a free data retrieval call binding the contract method 0x4901c725.
Solidity: function getTargetTotalEpochPaymentsInGold() constant returns(uint256)
func (*EpochRewardsCaller) GetTargetVoterRewards ¶
func (_EpochRewards *EpochRewardsCaller) GetTargetVoterRewards(opts *bind.CallOpts) (*big.Int, error)
GetTargetVoterRewards is a free data retrieval call binding the contract method 0x2848f9e3.
Solidity: function getTargetVoterRewards() constant returns(uint256)
func (*EpochRewardsCaller) GetTargetVotingGoldFraction ¶
func (_EpochRewards *EpochRewardsCaller) GetTargetVotingGoldFraction(opts *bind.CallOpts) (*big.Int, error)
GetTargetVotingGoldFraction is a free data retrieval call binding the contract method 0xae098de2.
Solidity: function getTargetVotingGoldFraction() constant returns(uint256)
func (*EpochRewardsCaller) GetTargetVotingYieldParameters ¶
func (_EpochRewards *EpochRewardsCaller) GetTargetVotingYieldParameters(opts *bind.CallOpts) (*big.Int, *big.Int, *big.Int, error)
GetTargetVotingYieldParameters is a free data retrieval call binding the contract method 0x171af90f.
Solidity: function getTargetVotingYieldParameters() constant returns(uint256, uint256, uint256)
func (*EpochRewardsCaller) GetVerifiedSealBitmapFromHeader ¶
func (_EpochRewards *EpochRewardsCaller) GetVerifiedSealBitmapFromHeader(opts *bind.CallOpts, header []byte) ([32]byte, error)
GetVerifiedSealBitmapFromHeader is a free data retrieval call binding the contract method 0x4b2c2f44.
Solidity: function getVerifiedSealBitmapFromHeader(bytes header) constant returns(bytes32)
func (*EpochRewardsCaller) GetVotingGoldFraction ¶
func (_EpochRewards *EpochRewardsCaller) GetVotingGoldFraction(opts *bind.CallOpts) (*big.Int, error)
GetVotingGoldFraction is a free data retrieval call binding the contract method 0xa1b95962.
Solidity: function getVotingGoldFraction() constant returns(uint256)
func (*EpochRewardsCaller) HashHeader ¶
func (_EpochRewards *EpochRewardsCaller) HashHeader(opts *bind.CallOpts, header []byte) ([32]byte, error)
HashHeader is a free data retrieval call binding the contract method 0x67960e91.
Solidity: function hashHeader(bytes header) constant returns(bytes32)
func (*EpochRewardsCaller) Initialized ¶
func (_EpochRewards *EpochRewardsCaller) Initialized(opts *bind.CallOpts) (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*EpochRewardsCaller) IsOwner ¶
func (_EpochRewards *EpochRewardsCaller) IsOwner(opts *bind.CallOpts) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*EpochRewardsCaller) IsReserveLow ¶
func (_EpochRewards *EpochRewardsCaller) IsReserveLow(opts *bind.CallOpts) (bool, error)
IsReserveLow is a free data retrieval call binding the contract method 0x9ad0cce7.
Solidity: function isReserveLow() constant returns(bool)
func (*EpochRewardsCaller) MinQuorumSize ¶
func (_EpochRewards *EpochRewardsCaller) MinQuorumSize(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
MinQuorumSize is a free data retrieval call binding the contract method 0xe50e652d.
Solidity: function minQuorumSize(uint256 blockNumber) constant returns(uint256)
func (*EpochRewardsCaller) MinQuorumSizeInCurrentSet ¶
func (_EpochRewards *EpochRewardsCaller) MinQuorumSizeInCurrentSet(opts *bind.CallOpts) (*big.Int, error)
MinQuorumSizeInCurrentSet is a free data retrieval call binding the contract method 0x7385e5da.
Solidity: function minQuorumSizeInCurrentSet() constant returns(uint256)
func (*EpochRewardsCaller) NumberValidatorsInCurrentSet ¶
func (_EpochRewards *EpochRewardsCaller) NumberValidatorsInCurrentSet(opts *bind.CallOpts) (*big.Int, error)
NumberValidatorsInCurrentSet is a free data retrieval call binding the contract method 0x87ee8a0f.
Solidity: function numberValidatorsInCurrentSet() constant returns(uint256)
func (*EpochRewardsCaller) NumberValidatorsInSet ¶
func (_EpochRewards *EpochRewardsCaller) NumberValidatorsInSet(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
NumberValidatorsInSet is a free data retrieval call binding the contract method 0x9b2b592f.
Solidity: function numberValidatorsInSet(uint256 blockNumber) constant returns(uint256)
func (*EpochRewardsCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*EpochRewardsCaller) Registry ¶
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*EpochRewardsCaller) StartTime ¶
StartTime is a free data retrieval call binding the contract method 0x78e97925.
Solidity: function startTime() constant returns(uint256)
func (*EpochRewardsCaller) TargetValidatorEpochPayment ¶
func (_EpochRewards *EpochRewardsCaller) TargetValidatorEpochPayment(opts *bind.CallOpts) (*big.Int, error)
TargetValidatorEpochPayment is a free data retrieval call binding the contract method 0xe185aaa8.
Solidity: function targetValidatorEpochPayment() constant returns(uint256)
func (*EpochRewardsCaller) ValidatorSignerAddressFromCurrentSet ¶
func (_EpochRewards *EpochRewardsCaller) ValidatorSignerAddressFromCurrentSet(opts *bind.CallOpts, index *big.Int) (common.Address, error)
ValidatorSignerAddressFromCurrentSet is a free data retrieval call binding the contract method 0x123633ea.
Solidity: function validatorSignerAddressFromCurrentSet(uint256 index) constant returns(address)
func (*EpochRewardsCaller) ValidatorSignerAddressFromSet ¶
func (_EpochRewards *EpochRewardsCaller) ValidatorSignerAddressFromSet(opts *bind.CallOpts, index *big.Int, blockNumber *big.Int) (common.Address, error)
ValidatorSignerAddressFromSet is a free data retrieval call binding the contract method 0x5d180adb.
Solidity: function validatorSignerAddressFromSet(uint256 index, uint256 blockNumber) constant returns(address)
type EpochRewardsCallerRaw ¶
type EpochRewardsCallerRaw struct {
Contract *EpochRewardsCaller // Generic read-only contract binding to access the raw methods on
}
EpochRewardsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*EpochRewardsCallerRaw) Call ¶
func (_EpochRewards *EpochRewardsCallerRaw) 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 EpochRewardsCallerSession ¶
type EpochRewardsCallerSession struct {
Contract *EpochRewardsCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
EpochRewardsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*EpochRewardsCallerSession) CalculateTargetEpochRewards ¶
func (_EpochRewards *EpochRewardsCallerSession) CalculateTargetEpochRewards() (*big.Int, *big.Int, *big.Int, *big.Int, error)
CalculateTargetEpochRewards is a free data retrieval call binding the contract method 0x64347043.
Solidity: function calculateTargetEpochRewards() constant returns(uint256, uint256, uint256, uint256)
func (*EpochRewardsCallerSession) CarbonOffsettingPartner ¶
func (_EpochRewards *EpochRewardsCallerSession) CarbonOffsettingPartner() (common.Address, error)
CarbonOffsettingPartner is a free data retrieval call binding the contract method 0x22dae21f.
Solidity: function carbonOffsettingPartner() constant returns(address)
func (*EpochRewardsCallerSession) CheckProofOfPossession ¶
func (_EpochRewards *EpochRewardsCallerSession) CheckProofOfPossession(sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
CheckProofOfPossession is a free data retrieval call binding the contract method 0x23f0ab65.
Solidity: function checkProofOfPossession(address sender, bytes blsKey, bytes blsPop) constant returns(bool)
func (*EpochRewardsCallerSession) FractionMulExp ¶
func (_EpochRewards *EpochRewardsCallerSession) FractionMulExp(aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, bDenominator *big.Int, exponent *big.Int, _decimals *big.Int) (*big.Int, *big.Int, error)
FractionMulExp is a free data retrieval call binding the contract method 0xec683072.
Solidity: function fractionMulExp(uint256 aNumerator, uint256 aDenominator, uint256 bNumerator, uint256 bDenominator, uint256 exponent, uint256 _decimals) constant returns(uint256, uint256)
func (*EpochRewardsCallerSession) GetBlockNumberFromHeader ¶
func (_EpochRewards *EpochRewardsCallerSession) GetBlockNumberFromHeader(header []byte) (*big.Int, error)
GetBlockNumberFromHeader is a free data retrieval call binding the contract method 0x8a883626.
Solidity: function getBlockNumberFromHeader(bytes header) constant returns(uint256)
func (*EpochRewardsCallerSession) GetCarbonOffsettingFraction ¶
func (_EpochRewards *EpochRewardsCallerSession) GetCarbonOffsettingFraction() (*big.Int, error)
GetCarbonOffsettingFraction is a free data retrieval call binding the contract method 0x7d164125.
Solidity: function getCarbonOffsettingFraction() constant returns(uint256)
func (*EpochRewardsCallerSession) GetCommunityRewardFraction ¶
func (_EpochRewards *EpochRewardsCallerSession) GetCommunityRewardFraction() (*big.Int, error)
GetCommunityRewardFraction is a free data retrieval call binding the contract method 0x9917907f.
Solidity: function getCommunityRewardFraction() constant returns(uint256)
func (*EpochRewardsCallerSession) GetEpochNumber ¶
func (_EpochRewards *EpochRewardsCallerSession) GetEpochNumber() (*big.Int, error)
GetEpochNumber is a free data retrieval call binding the contract method 0x9a7b3be7.
Solidity: function getEpochNumber() constant returns(uint256)
func (*EpochRewardsCallerSession) GetEpochNumberOfBlock ¶
func (_EpochRewards *EpochRewardsCallerSession) GetEpochNumberOfBlock(blockNumber *big.Int) (*big.Int, error)
GetEpochNumberOfBlock is a free data retrieval call binding the contract method 0x3b1eb4bf.
Solidity: function getEpochNumberOfBlock(uint256 blockNumber) constant returns(uint256)
func (*EpochRewardsCallerSession) GetEpochSize ¶
func (_EpochRewards *EpochRewardsCallerSession) GetEpochSize() (*big.Int, error)
GetEpochSize is a free data retrieval call binding the contract method 0xdf4da461.
Solidity: function getEpochSize() constant returns(uint256)
func (*EpochRewardsCallerSession) GetParentSealBitmap ¶
func (_EpochRewards *EpochRewardsCallerSession) GetParentSealBitmap(blockNumber *big.Int) ([32]byte, error)
GetParentSealBitmap is a free data retrieval call binding the contract method 0xfae8db0a.
Solidity: function getParentSealBitmap(uint256 blockNumber) constant returns(bytes32)
func (*EpochRewardsCallerSession) GetRewardsMultiplier ¶
func (_EpochRewards *EpochRewardsCallerSession) GetRewardsMultiplier() (*big.Int, error)
GetRewardsMultiplier is a free data retrieval call binding the contract method 0x0203ab24.
Solidity: function getRewardsMultiplier() constant returns(uint256)
func (*EpochRewardsCallerSession) GetRewardsMultiplierParameters ¶
func (_EpochRewards *EpochRewardsCallerSession) GetRewardsMultiplierParameters() (*big.Int, *big.Int, *big.Int, error)
GetRewardsMultiplierParameters is a free data retrieval call binding the contract method 0x5f396e48.
Solidity: function getRewardsMultiplierParameters() constant returns(uint256, uint256, uint256)
func (*EpochRewardsCallerSession) GetTargetGoldTotalSupply ¶
func (_EpochRewards *EpochRewardsCallerSession) GetTargetGoldTotalSupply() (*big.Int, error)
GetTargetGoldTotalSupply is a free data retrieval call binding the contract method 0x5049890f.
Solidity: function getTargetGoldTotalSupply() constant returns(uint256)
func (*EpochRewardsCallerSession) GetTargetTotalEpochPaymentsInGold ¶
func (_EpochRewards *EpochRewardsCallerSession) GetTargetTotalEpochPaymentsInGold() (*big.Int, error)
GetTargetTotalEpochPaymentsInGold is a free data retrieval call binding the contract method 0x4901c725.
Solidity: function getTargetTotalEpochPaymentsInGold() constant returns(uint256)
func (*EpochRewardsCallerSession) GetTargetVoterRewards ¶
func (_EpochRewards *EpochRewardsCallerSession) GetTargetVoterRewards() (*big.Int, error)
GetTargetVoterRewards is a free data retrieval call binding the contract method 0x2848f9e3.
Solidity: function getTargetVoterRewards() constant returns(uint256)
func (*EpochRewardsCallerSession) GetTargetVotingGoldFraction ¶
func (_EpochRewards *EpochRewardsCallerSession) GetTargetVotingGoldFraction() (*big.Int, error)
GetTargetVotingGoldFraction is a free data retrieval call binding the contract method 0xae098de2.
Solidity: function getTargetVotingGoldFraction() constant returns(uint256)
func (*EpochRewardsCallerSession) GetTargetVotingYieldParameters ¶
func (_EpochRewards *EpochRewardsCallerSession) GetTargetVotingYieldParameters() (*big.Int, *big.Int, *big.Int, error)
GetTargetVotingYieldParameters is a free data retrieval call binding the contract method 0x171af90f.
Solidity: function getTargetVotingYieldParameters() constant returns(uint256, uint256, uint256)
func (*EpochRewardsCallerSession) GetVerifiedSealBitmapFromHeader ¶
func (_EpochRewards *EpochRewardsCallerSession) GetVerifiedSealBitmapFromHeader(header []byte) ([32]byte, error)
GetVerifiedSealBitmapFromHeader is a free data retrieval call binding the contract method 0x4b2c2f44.
Solidity: function getVerifiedSealBitmapFromHeader(bytes header) constant returns(bytes32)
func (*EpochRewardsCallerSession) GetVotingGoldFraction ¶
func (_EpochRewards *EpochRewardsCallerSession) GetVotingGoldFraction() (*big.Int, error)
GetVotingGoldFraction is a free data retrieval call binding the contract method 0xa1b95962.
Solidity: function getVotingGoldFraction() constant returns(uint256)
func (*EpochRewardsCallerSession) HashHeader ¶
func (_EpochRewards *EpochRewardsCallerSession) HashHeader(header []byte) ([32]byte, error)
HashHeader is a free data retrieval call binding the contract method 0x67960e91.
Solidity: function hashHeader(bytes header) constant returns(bytes32)
func (*EpochRewardsCallerSession) Initialized ¶
func (_EpochRewards *EpochRewardsCallerSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*EpochRewardsCallerSession) IsOwner ¶
func (_EpochRewards *EpochRewardsCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*EpochRewardsCallerSession) IsReserveLow ¶
func (_EpochRewards *EpochRewardsCallerSession) IsReserveLow() (bool, error)
IsReserveLow is a free data retrieval call binding the contract method 0x9ad0cce7.
Solidity: function isReserveLow() constant returns(bool)
func (*EpochRewardsCallerSession) MinQuorumSize ¶
func (_EpochRewards *EpochRewardsCallerSession) MinQuorumSize(blockNumber *big.Int) (*big.Int, error)
MinQuorumSize is a free data retrieval call binding the contract method 0xe50e652d.
Solidity: function minQuorumSize(uint256 blockNumber) constant returns(uint256)
func (*EpochRewardsCallerSession) MinQuorumSizeInCurrentSet ¶
func (_EpochRewards *EpochRewardsCallerSession) MinQuorumSizeInCurrentSet() (*big.Int, error)
MinQuorumSizeInCurrentSet is a free data retrieval call binding the contract method 0x7385e5da.
Solidity: function minQuorumSizeInCurrentSet() constant returns(uint256)
func (*EpochRewardsCallerSession) NumberValidatorsInCurrentSet ¶
func (_EpochRewards *EpochRewardsCallerSession) NumberValidatorsInCurrentSet() (*big.Int, error)
NumberValidatorsInCurrentSet is a free data retrieval call binding the contract method 0x87ee8a0f.
Solidity: function numberValidatorsInCurrentSet() constant returns(uint256)
func (*EpochRewardsCallerSession) NumberValidatorsInSet ¶
func (_EpochRewards *EpochRewardsCallerSession) NumberValidatorsInSet(blockNumber *big.Int) (*big.Int, error)
NumberValidatorsInSet is a free data retrieval call binding the contract method 0x9b2b592f.
Solidity: function numberValidatorsInSet(uint256 blockNumber) constant returns(uint256)
func (*EpochRewardsCallerSession) Owner ¶
func (_EpochRewards *EpochRewardsCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*EpochRewardsCallerSession) Registry ¶
func (_EpochRewards *EpochRewardsCallerSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*EpochRewardsCallerSession) StartTime ¶
func (_EpochRewards *EpochRewardsCallerSession) StartTime() (*big.Int, error)
StartTime is a free data retrieval call binding the contract method 0x78e97925.
Solidity: function startTime() constant returns(uint256)
func (*EpochRewardsCallerSession) TargetValidatorEpochPayment ¶
func (_EpochRewards *EpochRewardsCallerSession) TargetValidatorEpochPayment() (*big.Int, error)
TargetValidatorEpochPayment is a free data retrieval call binding the contract method 0xe185aaa8.
Solidity: function targetValidatorEpochPayment() constant returns(uint256)
func (*EpochRewardsCallerSession) ValidatorSignerAddressFromCurrentSet ¶
func (_EpochRewards *EpochRewardsCallerSession) ValidatorSignerAddressFromCurrentSet(index *big.Int) (common.Address, error)
ValidatorSignerAddressFromCurrentSet is a free data retrieval call binding the contract method 0x123633ea.
Solidity: function validatorSignerAddressFromCurrentSet(uint256 index) constant returns(address)
func (*EpochRewardsCallerSession) ValidatorSignerAddressFromSet ¶
func (_EpochRewards *EpochRewardsCallerSession) ValidatorSignerAddressFromSet(index *big.Int, blockNumber *big.Int) (common.Address, error)
ValidatorSignerAddressFromSet is a free data retrieval call binding the contract method 0x5d180adb.
Solidity: function validatorSignerAddressFromSet(uint256 index, uint256 blockNumber) constant returns(address)
type EpochRewardsCarbonOffsettingFundSet ¶
type EpochRewardsCarbonOffsettingFundSet struct {
Partner common.Address
Fraction *big.Int
Raw types.Log // Blockchain specific contextual infos
}
EpochRewardsCarbonOffsettingFundSet represents a CarbonOffsettingFundSet event raised by the EpochRewards contract.
type EpochRewardsCarbonOffsettingFundSetIterator ¶
type EpochRewardsCarbonOffsettingFundSetIterator struct {
Event *EpochRewardsCarbonOffsettingFundSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
EpochRewardsCarbonOffsettingFundSetIterator is returned from FilterCarbonOffsettingFundSet and is used to iterate over the raw logs and unpacked data for CarbonOffsettingFundSet events raised by the EpochRewards contract.
func (*EpochRewardsCarbonOffsettingFundSetIterator) Close ¶
func (it *EpochRewardsCarbonOffsettingFundSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EpochRewardsCarbonOffsettingFundSetIterator) Error ¶
func (it *EpochRewardsCarbonOffsettingFundSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EpochRewardsCarbonOffsettingFundSetIterator) Next ¶
func (it *EpochRewardsCarbonOffsettingFundSetIterator) 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 EpochRewardsCommunityRewardFractionSet ¶
type EpochRewardsCommunityRewardFractionSet struct {
Fraction *big.Int
Raw types.Log // Blockchain specific contextual infos
}
EpochRewardsCommunityRewardFractionSet represents a CommunityRewardFractionSet event raised by the EpochRewards contract.
type EpochRewardsCommunityRewardFractionSetIterator ¶
type EpochRewardsCommunityRewardFractionSetIterator struct {
Event *EpochRewardsCommunityRewardFractionSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
EpochRewardsCommunityRewardFractionSetIterator is returned from FilterCommunityRewardFractionSet and is used to iterate over the raw logs and unpacked data for CommunityRewardFractionSet events raised by the EpochRewards contract.
func (*EpochRewardsCommunityRewardFractionSetIterator) Close ¶
func (it *EpochRewardsCommunityRewardFractionSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EpochRewardsCommunityRewardFractionSetIterator) Error ¶
func (it *EpochRewardsCommunityRewardFractionSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EpochRewardsCommunityRewardFractionSetIterator) Next ¶
func (it *EpochRewardsCommunityRewardFractionSetIterator) 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 EpochRewardsFilterer ¶
type EpochRewardsFilterer struct {
// contains filtered or unexported fields
}
EpochRewardsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewEpochRewardsFilterer ¶
func NewEpochRewardsFilterer(address common.Address, filterer bind.ContractFilterer) (*EpochRewardsFilterer, error)
NewEpochRewardsFilterer creates a new log filterer instance of EpochRewards, bound to a specific deployed contract.
func (*EpochRewardsFilterer) FilterCarbonOffsettingFundSet ¶
func (_EpochRewards *EpochRewardsFilterer) FilterCarbonOffsettingFundSet(opts *bind.FilterOpts) (*EpochRewardsCarbonOffsettingFundSetIterator, error)
FilterCarbonOffsettingFundSet is a free log retrieval operation binding the contract event 0xe296227209b47bb8f4a76768ebd564dcde1c44be325a5d262f27c1fd4fd4538b.
Solidity: event CarbonOffsettingFundSet(address partner, uint256 fraction)
func (*EpochRewardsFilterer) FilterCommunityRewardFractionSet ¶
func (_EpochRewards *EpochRewardsFilterer) FilterCommunityRewardFractionSet(opts *bind.FilterOpts) (*EpochRewardsCommunityRewardFractionSetIterator, error)
FilterCommunityRewardFractionSet is a free log retrieval operation binding the contract event 0xe6c1b64ad7e601924731051286b7b408b1a6f3ae96dcd6d2d9cd82578372ef9e.
Solidity: event CommunityRewardFractionSet(uint256 fraction)
func (*EpochRewardsFilterer) FilterOwnershipTransferred ¶
func (_EpochRewards *EpochRewardsFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*EpochRewardsOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*EpochRewardsFilterer) FilterRegistrySet ¶
func (_EpochRewards *EpochRewardsFilterer) FilterRegistrySet(opts *bind.FilterOpts, registryAddress []common.Address) (*EpochRewardsRegistrySetIterator, error)
FilterRegistrySet is a free log retrieval operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*EpochRewardsFilterer) FilterRewardsMultiplierParametersSet ¶
func (_EpochRewards *EpochRewardsFilterer) FilterRewardsMultiplierParametersSet(opts *bind.FilterOpts) (*EpochRewardsRewardsMultiplierParametersSetIterator, error)
FilterRewardsMultiplierParametersSet is a free log retrieval operation binding the contract event 0x191445ee0115396c9725b9c642b985d63820ca57d54e42e5eb38faec4022f05d.
Solidity: event RewardsMultiplierParametersSet(uint256 max, uint256 underspendAdjustmentFactor, uint256 overspendAdjustmentFactor)
func (*EpochRewardsFilterer) FilterTargetValidatorEpochPaymentSet ¶
func (_EpochRewards *EpochRewardsFilterer) FilterTargetValidatorEpochPaymentSet(opts *bind.FilterOpts) (*EpochRewardsTargetValidatorEpochPaymentSetIterator, error)
FilterTargetValidatorEpochPaymentSet is a free log retrieval operation binding the contract event 0xa21d141963bb2c1064b5376f762d22d3e9c4c51617edcf105bcec0f14e36800c.
Solidity: event TargetValidatorEpochPaymentSet(uint256 payment)
func (*EpochRewardsFilterer) FilterTargetVotingGoldFractionSet ¶
func (_EpochRewards *EpochRewardsFilterer) FilterTargetVotingGoldFractionSet(opts *bind.FilterOpts) (*EpochRewardsTargetVotingGoldFractionSetIterator, error)
FilterTargetVotingGoldFractionSet is a free log retrieval operation binding the contract event 0xbae2f33c70949fbc7325c98655f3039e5e1c7f774874c99fd4f31ec5f432b159.
Solidity: event TargetVotingGoldFractionSet(uint256 fraction)
func (*EpochRewardsFilterer) FilterTargetVotingYieldParametersSet ¶
func (_EpochRewards *EpochRewardsFilterer) FilterTargetVotingYieldParametersSet(opts *bind.FilterOpts) (*EpochRewardsTargetVotingYieldParametersSetIterator, error)
FilterTargetVotingYieldParametersSet is a free log retrieval operation binding the contract event 0x1b76e38f3fdd1f284ed4d47c9d50ff407748c516ff9761616ff638c233107625.
Solidity: event TargetVotingYieldParametersSet(uint256 max, uint256 adjustmentFactor)
func (*EpochRewardsFilterer) FilterTargetVotingYieldUpdated ¶
func (_EpochRewards *EpochRewardsFilterer) FilterTargetVotingYieldUpdated(opts *bind.FilterOpts) (*EpochRewardsTargetVotingYieldUpdatedIterator, error)
FilterTargetVotingYieldUpdated is a free log retrieval operation binding the contract event 0x49d8cdfe05bae61517c234f65f4088454013bafe561115126a8fe0074dc7700e.
Solidity: event TargetVotingYieldUpdated(uint256 fraction)
func (*EpochRewardsFilterer) ParseCarbonOffsettingFundSet ¶
func (_EpochRewards *EpochRewardsFilterer) ParseCarbonOffsettingFundSet(log types.Log) (*EpochRewardsCarbonOffsettingFundSet, error)
ParseCarbonOffsettingFundSet is a log parse operation binding the contract event 0xe296227209b47bb8f4a76768ebd564dcde1c44be325a5d262f27c1fd4fd4538b.
Solidity: event CarbonOffsettingFundSet(address partner, uint256 fraction)
func (*EpochRewardsFilterer) ParseCommunityRewardFractionSet ¶
func (_EpochRewards *EpochRewardsFilterer) ParseCommunityRewardFractionSet(log types.Log) (*EpochRewardsCommunityRewardFractionSet, error)
ParseCommunityRewardFractionSet is a log parse operation binding the contract event 0xe6c1b64ad7e601924731051286b7b408b1a6f3ae96dcd6d2d9cd82578372ef9e.
Solidity: event CommunityRewardFractionSet(uint256 fraction)
func (*EpochRewardsFilterer) ParseOwnershipTransferred ¶
func (_EpochRewards *EpochRewardsFilterer) ParseOwnershipTransferred(log types.Log) (*EpochRewardsOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*EpochRewardsFilterer) ParseRegistrySet ¶
func (_EpochRewards *EpochRewardsFilterer) ParseRegistrySet(log types.Log) (*EpochRewardsRegistrySet, error)
ParseRegistrySet is a log parse operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*EpochRewardsFilterer) ParseRewardsMultiplierParametersSet ¶
func (_EpochRewards *EpochRewardsFilterer) ParseRewardsMultiplierParametersSet(log types.Log) (*EpochRewardsRewardsMultiplierParametersSet, error)
ParseRewardsMultiplierParametersSet is a log parse operation binding the contract event 0x191445ee0115396c9725b9c642b985d63820ca57d54e42e5eb38faec4022f05d.
Solidity: event RewardsMultiplierParametersSet(uint256 max, uint256 underspendAdjustmentFactor, uint256 overspendAdjustmentFactor)
func (*EpochRewardsFilterer) ParseTargetValidatorEpochPaymentSet ¶
func (_EpochRewards *EpochRewardsFilterer) ParseTargetValidatorEpochPaymentSet(log types.Log) (*EpochRewardsTargetValidatorEpochPaymentSet, error)
ParseTargetValidatorEpochPaymentSet is a log parse operation binding the contract event 0xa21d141963bb2c1064b5376f762d22d3e9c4c51617edcf105bcec0f14e36800c.
Solidity: event TargetValidatorEpochPaymentSet(uint256 payment)
func (*EpochRewardsFilterer) ParseTargetVotingGoldFractionSet ¶
func (_EpochRewards *EpochRewardsFilterer) ParseTargetVotingGoldFractionSet(log types.Log) (*EpochRewardsTargetVotingGoldFractionSet, error)
ParseTargetVotingGoldFractionSet is a log parse operation binding the contract event 0xbae2f33c70949fbc7325c98655f3039e5e1c7f774874c99fd4f31ec5f432b159.
Solidity: event TargetVotingGoldFractionSet(uint256 fraction)
func (*EpochRewardsFilterer) ParseTargetVotingYieldParametersSet ¶
func (_EpochRewards *EpochRewardsFilterer) ParseTargetVotingYieldParametersSet(log types.Log) (*EpochRewardsTargetVotingYieldParametersSet, error)
ParseTargetVotingYieldParametersSet is a log parse operation binding the contract event 0x1b76e38f3fdd1f284ed4d47c9d50ff407748c516ff9761616ff638c233107625.
Solidity: event TargetVotingYieldParametersSet(uint256 max, uint256 adjustmentFactor)
func (*EpochRewardsFilterer) ParseTargetVotingYieldUpdated ¶
func (_EpochRewards *EpochRewardsFilterer) ParseTargetVotingYieldUpdated(log types.Log) (*EpochRewardsTargetVotingYieldUpdated, error)
ParseTargetVotingYieldUpdated is a log parse operation binding the contract event 0x49d8cdfe05bae61517c234f65f4088454013bafe561115126a8fe0074dc7700e.
Solidity: event TargetVotingYieldUpdated(uint256 fraction)
func (*EpochRewardsFilterer) TryParseLog ¶
func (_EpochRewards *EpochRewardsFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
TryParseLog attempts to parse a log. Returns the parsed log, eventName and whether it was successful
func (*EpochRewardsFilterer) WatchCarbonOffsettingFundSet ¶
func (_EpochRewards *EpochRewardsFilterer) WatchCarbonOffsettingFundSet(opts *bind.WatchOpts, sink chan<- *EpochRewardsCarbonOffsettingFundSet) (event.Subscription, error)
WatchCarbonOffsettingFundSet is a free log subscription operation binding the contract event 0xe296227209b47bb8f4a76768ebd564dcde1c44be325a5d262f27c1fd4fd4538b.
Solidity: event CarbonOffsettingFundSet(address partner, uint256 fraction)
func (*EpochRewardsFilterer) WatchCommunityRewardFractionSet ¶
func (_EpochRewards *EpochRewardsFilterer) WatchCommunityRewardFractionSet(opts *bind.WatchOpts, sink chan<- *EpochRewardsCommunityRewardFractionSet) (event.Subscription, error)
WatchCommunityRewardFractionSet is a free log subscription operation binding the contract event 0xe6c1b64ad7e601924731051286b7b408b1a6f3ae96dcd6d2d9cd82578372ef9e.
Solidity: event CommunityRewardFractionSet(uint256 fraction)
func (*EpochRewardsFilterer) WatchOwnershipTransferred ¶
func (_EpochRewards *EpochRewardsFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *EpochRewardsOwnershipTransferred, 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 (*EpochRewardsFilterer) WatchRegistrySet ¶
func (_EpochRewards *EpochRewardsFilterer) WatchRegistrySet(opts *bind.WatchOpts, sink chan<- *EpochRewardsRegistrySet, registryAddress []common.Address) (event.Subscription, error)
WatchRegistrySet is a free log subscription operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*EpochRewardsFilterer) WatchRewardsMultiplierParametersSet ¶
func (_EpochRewards *EpochRewardsFilterer) WatchRewardsMultiplierParametersSet(opts *bind.WatchOpts, sink chan<- *EpochRewardsRewardsMultiplierParametersSet) (event.Subscription, error)
WatchRewardsMultiplierParametersSet is a free log subscription operation binding the contract event 0x191445ee0115396c9725b9c642b985d63820ca57d54e42e5eb38faec4022f05d.
Solidity: event RewardsMultiplierParametersSet(uint256 max, uint256 underspendAdjustmentFactor, uint256 overspendAdjustmentFactor)
func (*EpochRewardsFilterer) WatchTargetValidatorEpochPaymentSet ¶
func (_EpochRewards *EpochRewardsFilterer) WatchTargetValidatorEpochPaymentSet(opts *bind.WatchOpts, sink chan<- *EpochRewardsTargetValidatorEpochPaymentSet) (event.Subscription, error)
WatchTargetValidatorEpochPaymentSet is a free log subscription operation binding the contract event 0xa21d141963bb2c1064b5376f762d22d3e9c4c51617edcf105bcec0f14e36800c.
Solidity: event TargetValidatorEpochPaymentSet(uint256 payment)
func (*EpochRewardsFilterer) WatchTargetVotingGoldFractionSet ¶
func (_EpochRewards *EpochRewardsFilterer) WatchTargetVotingGoldFractionSet(opts *bind.WatchOpts, sink chan<- *EpochRewardsTargetVotingGoldFractionSet) (event.Subscription, error)
WatchTargetVotingGoldFractionSet is a free log subscription operation binding the contract event 0xbae2f33c70949fbc7325c98655f3039e5e1c7f774874c99fd4f31ec5f432b159.
Solidity: event TargetVotingGoldFractionSet(uint256 fraction)
func (*EpochRewardsFilterer) WatchTargetVotingYieldParametersSet ¶
func (_EpochRewards *EpochRewardsFilterer) WatchTargetVotingYieldParametersSet(opts *bind.WatchOpts, sink chan<- *EpochRewardsTargetVotingYieldParametersSet) (event.Subscription, error)
WatchTargetVotingYieldParametersSet is a free log subscription operation binding the contract event 0x1b76e38f3fdd1f284ed4d47c9d50ff407748c516ff9761616ff638c233107625.
Solidity: event TargetVotingYieldParametersSet(uint256 max, uint256 adjustmentFactor)
func (*EpochRewardsFilterer) WatchTargetVotingYieldUpdated ¶
func (_EpochRewards *EpochRewardsFilterer) WatchTargetVotingYieldUpdated(opts *bind.WatchOpts, sink chan<- *EpochRewardsTargetVotingYieldUpdated) (event.Subscription, error)
WatchTargetVotingYieldUpdated is a free log subscription operation binding the contract event 0x49d8cdfe05bae61517c234f65f4088454013bafe561115126a8fe0074dc7700e.
Solidity: event TargetVotingYieldUpdated(uint256 fraction)
type EpochRewardsOwnershipTransferred ¶
type EpochRewardsOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
EpochRewardsOwnershipTransferred represents a OwnershipTransferred event raised by the EpochRewards contract.
type EpochRewardsOwnershipTransferredIterator ¶
type EpochRewardsOwnershipTransferredIterator struct {
Event *EpochRewardsOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
EpochRewardsOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the EpochRewards contract.
func (*EpochRewardsOwnershipTransferredIterator) Close ¶
func (it *EpochRewardsOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EpochRewardsOwnershipTransferredIterator) Error ¶
func (it *EpochRewardsOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EpochRewardsOwnershipTransferredIterator) Next ¶
func (it *EpochRewardsOwnershipTransferredIterator) 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 EpochRewardsRaw ¶
type EpochRewardsRaw struct {
Contract *EpochRewards // Generic contract binding to access the raw methods on
}
EpochRewardsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*EpochRewardsRaw) Call ¶
func (_EpochRewards *EpochRewardsRaw) 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 (*EpochRewardsRaw) Transact ¶
func (_EpochRewards *EpochRewardsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EpochRewardsRaw) Transfer ¶
func (_EpochRewards *EpochRewardsRaw) 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 EpochRewardsRegistrySet ¶
type EpochRewardsRegistrySet struct {
RegistryAddress common.Address
Raw types.Log // Blockchain specific contextual infos
}
EpochRewardsRegistrySet represents a RegistrySet event raised by the EpochRewards contract.
type EpochRewardsRegistrySetIterator ¶
type EpochRewardsRegistrySetIterator struct {
Event *EpochRewardsRegistrySet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
EpochRewardsRegistrySetIterator is returned from FilterRegistrySet and is used to iterate over the raw logs and unpacked data for RegistrySet events raised by the EpochRewards contract.
func (*EpochRewardsRegistrySetIterator) Close ¶
func (it *EpochRewardsRegistrySetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EpochRewardsRegistrySetIterator) Error ¶
func (it *EpochRewardsRegistrySetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EpochRewardsRegistrySetIterator) Next ¶
func (it *EpochRewardsRegistrySetIterator) 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 EpochRewardsRewardsMultiplierParametersSet ¶
type EpochRewardsRewardsMultiplierParametersSet struct {
Max *big.Int
UnderspendAdjustmentFactor *big.Int
OverspendAdjustmentFactor *big.Int
Raw types.Log // Blockchain specific contextual infos
}
EpochRewardsRewardsMultiplierParametersSet represents a RewardsMultiplierParametersSet event raised by the EpochRewards contract.
type EpochRewardsRewardsMultiplierParametersSetIterator ¶
type EpochRewardsRewardsMultiplierParametersSetIterator struct {
Event *EpochRewardsRewardsMultiplierParametersSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
EpochRewardsRewardsMultiplierParametersSetIterator is returned from FilterRewardsMultiplierParametersSet and is used to iterate over the raw logs and unpacked data for RewardsMultiplierParametersSet events raised by the EpochRewards contract.
func (*EpochRewardsRewardsMultiplierParametersSetIterator) Close ¶
func (it *EpochRewardsRewardsMultiplierParametersSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EpochRewardsRewardsMultiplierParametersSetIterator) Error ¶
func (it *EpochRewardsRewardsMultiplierParametersSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EpochRewardsRewardsMultiplierParametersSetIterator) Next ¶
func (it *EpochRewardsRewardsMultiplierParametersSetIterator) 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 EpochRewardsSession ¶
type EpochRewardsSession struct {
Contract *EpochRewards // 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
}
EpochRewardsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*EpochRewardsSession) CalculateTargetEpochRewards ¶
func (_EpochRewards *EpochRewardsSession) CalculateTargetEpochRewards() (*big.Int, *big.Int, *big.Int, *big.Int, error)
CalculateTargetEpochRewards is a free data retrieval call binding the contract method 0x64347043.
Solidity: function calculateTargetEpochRewards() constant returns(uint256, uint256, uint256, uint256)
func (*EpochRewardsSession) CarbonOffsettingPartner ¶
func (_EpochRewards *EpochRewardsSession) CarbonOffsettingPartner() (common.Address, error)
CarbonOffsettingPartner is a free data retrieval call binding the contract method 0x22dae21f.
Solidity: function carbonOffsettingPartner() constant returns(address)
func (*EpochRewardsSession) CheckProofOfPossession ¶
func (_EpochRewards *EpochRewardsSession) CheckProofOfPossession(sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
CheckProofOfPossession is a free data retrieval call binding the contract method 0x23f0ab65.
Solidity: function checkProofOfPossession(address sender, bytes blsKey, bytes blsPop) constant returns(bool)
func (*EpochRewardsSession) FractionMulExp ¶
func (_EpochRewards *EpochRewardsSession) FractionMulExp(aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, bDenominator *big.Int, exponent *big.Int, _decimals *big.Int) (*big.Int, *big.Int, error)
FractionMulExp is a free data retrieval call binding the contract method 0xec683072.
Solidity: function fractionMulExp(uint256 aNumerator, uint256 aDenominator, uint256 bNumerator, uint256 bDenominator, uint256 exponent, uint256 _decimals) constant returns(uint256, uint256)
func (*EpochRewardsSession) GetBlockNumberFromHeader ¶
func (_EpochRewards *EpochRewardsSession) GetBlockNumberFromHeader(header []byte) (*big.Int, error)
GetBlockNumberFromHeader is a free data retrieval call binding the contract method 0x8a883626.
Solidity: function getBlockNumberFromHeader(bytes header) constant returns(uint256)
func (*EpochRewardsSession) GetCarbonOffsettingFraction ¶
func (_EpochRewards *EpochRewardsSession) GetCarbonOffsettingFraction() (*big.Int, error)
GetCarbonOffsettingFraction is a free data retrieval call binding the contract method 0x7d164125.
Solidity: function getCarbonOffsettingFraction() constant returns(uint256)
func (*EpochRewardsSession) GetCommunityRewardFraction ¶
func (_EpochRewards *EpochRewardsSession) GetCommunityRewardFraction() (*big.Int, error)
GetCommunityRewardFraction is a free data retrieval call binding the contract method 0x9917907f.
Solidity: function getCommunityRewardFraction() constant returns(uint256)
func (*EpochRewardsSession) GetEpochNumber ¶
func (_EpochRewards *EpochRewardsSession) GetEpochNumber() (*big.Int, error)
GetEpochNumber is a free data retrieval call binding the contract method 0x9a7b3be7.
Solidity: function getEpochNumber() constant returns(uint256)
func (*EpochRewardsSession) GetEpochNumberOfBlock ¶
func (_EpochRewards *EpochRewardsSession) GetEpochNumberOfBlock(blockNumber *big.Int) (*big.Int, error)
GetEpochNumberOfBlock is a free data retrieval call binding the contract method 0x3b1eb4bf.
Solidity: function getEpochNumberOfBlock(uint256 blockNumber) constant returns(uint256)
func (*EpochRewardsSession) GetEpochSize ¶
func (_EpochRewards *EpochRewardsSession) GetEpochSize() (*big.Int, error)
GetEpochSize is a free data retrieval call binding the contract method 0xdf4da461.
Solidity: function getEpochSize() constant returns(uint256)
func (*EpochRewardsSession) GetParentSealBitmap ¶
func (_EpochRewards *EpochRewardsSession) GetParentSealBitmap(blockNumber *big.Int) ([32]byte, error)
GetParentSealBitmap is a free data retrieval call binding the contract method 0xfae8db0a.
Solidity: function getParentSealBitmap(uint256 blockNumber) constant returns(bytes32)
func (*EpochRewardsSession) GetRewardsMultiplier ¶
func (_EpochRewards *EpochRewardsSession) GetRewardsMultiplier() (*big.Int, error)
GetRewardsMultiplier is a free data retrieval call binding the contract method 0x0203ab24.
Solidity: function getRewardsMultiplier() constant returns(uint256)
func (*EpochRewardsSession) GetRewardsMultiplierParameters ¶
func (_EpochRewards *EpochRewardsSession) GetRewardsMultiplierParameters() (*big.Int, *big.Int, *big.Int, error)
GetRewardsMultiplierParameters is a free data retrieval call binding the contract method 0x5f396e48.
Solidity: function getRewardsMultiplierParameters() constant returns(uint256, uint256, uint256)
func (*EpochRewardsSession) GetTargetGoldTotalSupply ¶
func (_EpochRewards *EpochRewardsSession) GetTargetGoldTotalSupply() (*big.Int, error)
GetTargetGoldTotalSupply is a free data retrieval call binding the contract method 0x5049890f.
Solidity: function getTargetGoldTotalSupply() constant returns(uint256)
func (*EpochRewardsSession) GetTargetTotalEpochPaymentsInGold ¶
func (_EpochRewards *EpochRewardsSession) GetTargetTotalEpochPaymentsInGold() (*big.Int, error)
GetTargetTotalEpochPaymentsInGold is a free data retrieval call binding the contract method 0x4901c725.
Solidity: function getTargetTotalEpochPaymentsInGold() constant returns(uint256)
func (*EpochRewardsSession) GetTargetVoterRewards ¶
func (_EpochRewards *EpochRewardsSession) GetTargetVoterRewards() (*big.Int, error)
GetTargetVoterRewards is a free data retrieval call binding the contract method 0x2848f9e3.
Solidity: function getTargetVoterRewards() constant returns(uint256)
func (*EpochRewardsSession) GetTargetVotingGoldFraction ¶
func (_EpochRewards *EpochRewardsSession) GetTargetVotingGoldFraction() (*big.Int, error)
GetTargetVotingGoldFraction is a free data retrieval call binding the contract method 0xae098de2.
Solidity: function getTargetVotingGoldFraction() constant returns(uint256)
func (*EpochRewardsSession) GetTargetVotingYieldParameters ¶
func (_EpochRewards *EpochRewardsSession) GetTargetVotingYieldParameters() (*big.Int, *big.Int, *big.Int, error)
GetTargetVotingYieldParameters is a free data retrieval call binding the contract method 0x171af90f.
Solidity: function getTargetVotingYieldParameters() constant returns(uint256, uint256, uint256)
func (*EpochRewardsSession) GetVerifiedSealBitmapFromHeader ¶
func (_EpochRewards *EpochRewardsSession) GetVerifiedSealBitmapFromHeader(header []byte) ([32]byte, error)
GetVerifiedSealBitmapFromHeader is a free data retrieval call binding the contract method 0x4b2c2f44.
Solidity: function getVerifiedSealBitmapFromHeader(bytes header) constant returns(bytes32)
func (*EpochRewardsSession) GetVotingGoldFraction ¶
func (_EpochRewards *EpochRewardsSession) GetVotingGoldFraction() (*big.Int, error)
GetVotingGoldFraction is a free data retrieval call binding the contract method 0xa1b95962.
Solidity: function getVotingGoldFraction() constant returns(uint256)
func (*EpochRewardsSession) HashHeader ¶
func (_EpochRewards *EpochRewardsSession) HashHeader(header []byte) ([32]byte, error)
HashHeader is a free data retrieval call binding the contract method 0x67960e91.
Solidity: function hashHeader(bytes header) constant returns(bytes32)
func (*EpochRewardsSession) Initialize ¶
func (_EpochRewards *EpochRewardsSession) Initialize(registryAddress common.Address, targetVotingYieldInitial *big.Int, targetVotingYieldMax *big.Int, targetVotingYieldAdjustmentFactor *big.Int, rewardsMultiplierMax *big.Int, rewardsMultiplierUnderspendAdjustmentFactor *big.Int, rewardsMultiplierOverspendAdjustmentFactor *big.Int, _targetVotingGoldFraction *big.Int, _targetValidatorEpochPayment *big.Int, _communityRewardFraction *big.Int, _carbonOffsettingPartner common.Address, _carbonOffsettingFraction *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x7cca2a3c.
Solidity: function initialize(address registryAddress, uint256 targetVotingYieldInitial, uint256 targetVotingYieldMax, uint256 targetVotingYieldAdjustmentFactor, uint256 rewardsMultiplierMax, uint256 rewardsMultiplierUnderspendAdjustmentFactor, uint256 rewardsMultiplierOverspendAdjustmentFactor, uint256 _targetVotingGoldFraction, uint256 _targetValidatorEpochPayment, uint256 _communityRewardFraction, address _carbonOffsettingPartner, uint256 _carbonOffsettingFraction) returns()
func (*EpochRewardsSession) Initialized ¶
func (_EpochRewards *EpochRewardsSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*EpochRewardsSession) IsOwner ¶
func (_EpochRewards *EpochRewardsSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*EpochRewardsSession) IsReserveLow ¶
func (_EpochRewards *EpochRewardsSession) IsReserveLow() (bool, error)
IsReserveLow is a free data retrieval call binding the contract method 0x9ad0cce7.
Solidity: function isReserveLow() constant returns(bool)
func (*EpochRewardsSession) MinQuorumSize ¶
MinQuorumSize is a free data retrieval call binding the contract method 0xe50e652d.
Solidity: function minQuorumSize(uint256 blockNumber) constant returns(uint256)
func (*EpochRewardsSession) MinQuorumSizeInCurrentSet ¶
func (_EpochRewards *EpochRewardsSession) MinQuorumSizeInCurrentSet() (*big.Int, error)
MinQuorumSizeInCurrentSet is a free data retrieval call binding the contract method 0x7385e5da.
Solidity: function minQuorumSizeInCurrentSet() constant returns(uint256)
func (*EpochRewardsSession) NumberValidatorsInCurrentSet ¶
func (_EpochRewards *EpochRewardsSession) NumberValidatorsInCurrentSet() (*big.Int, error)
NumberValidatorsInCurrentSet is a free data retrieval call binding the contract method 0x87ee8a0f.
Solidity: function numberValidatorsInCurrentSet() constant returns(uint256)
func (*EpochRewardsSession) NumberValidatorsInSet ¶
func (_EpochRewards *EpochRewardsSession) NumberValidatorsInSet(blockNumber *big.Int) (*big.Int, error)
NumberValidatorsInSet is a free data retrieval call binding the contract method 0x9b2b592f.
Solidity: function numberValidatorsInSet(uint256 blockNumber) constant returns(uint256)
func (*EpochRewardsSession) Owner ¶
func (_EpochRewards *EpochRewardsSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*EpochRewardsSession) Registry ¶
func (_EpochRewards *EpochRewardsSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*EpochRewardsSession) RenounceOwnership ¶
func (_EpochRewards *EpochRewardsSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*EpochRewardsSession) SetCarbonOffsettingFund ¶
func (_EpochRewards *EpochRewardsSession) SetCarbonOffsettingFund(partner common.Address, value *big.Int) (*types.Transaction, error)
SetCarbonOffsettingFund is a paid mutator transaction binding the contract method 0x434c99c4.
Solidity: function setCarbonOffsettingFund(address partner, uint256 value) returns(bool)
func (*EpochRewardsSession) SetCommunityRewardFraction ¶
func (_EpochRewards *EpochRewardsSession) SetCommunityRewardFraction(value *big.Int) (*types.Transaction, error)
SetCommunityRewardFraction is a paid mutator transaction binding the contract method 0xb63b4a23.
Solidity: function setCommunityRewardFraction(uint256 value) returns(bool)
func (*EpochRewardsSession) SetRegistry ¶
func (_EpochRewards *EpochRewardsSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*EpochRewardsSession) SetRewardsMultiplierParameters ¶
func (_EpochRewards *EpochRewardsSession) SetRewardsMultiplierParameters(max *big.Int, underspendAdjustmentFactor *big.Int, overspendAdjustmentFactor *big.Int) (*types.Transaction, error)
SetRewardsMultiplierParameters is a paid mutator transaction binding the contract method 0x8331c1d7.
Solidity: function setRewardsMultiplierParameters(uint256 max, uint256 underspendAdjustmentFactor, uint256 overspendAdjustmentFactor) returns(bool)
func (*EpochRewardsSession) SetTargetValidatorEpochPayment ¶
func (_EpochRewards *EpochRewardsSession) SetTargetValidatorEpochPayment(value *big.Int) (*types.Transaction, error)
SetTargetValidatorEpochPayment is a paid mutator transaction binding the contract method 0x96c3d2fd.
Solidity: function setTargetValidatorEpochPayment(uint256 value) returns(bool)
func (*EpochRewardsSession) SetTargetVotingGoldFraction ¶
func (_EpochRewards *EpochRewardsSession) SetTargetVotingGoldFraction(value *big.Int) (*types.Transaction, error)
SetTargetVotingGoldFraction is a paid mutator transaction binding the contract method 0x94028384.
Solidity: function setTargetVotingGoldFraction(uint256 value) returns(bool)
func (*EpochRewardsSession) SetTargetVotingYieldParameters ¶
func (_EpochRewards *EpochRewardsSession) SetTargetVotingYieldParameters(max *big.Int, adjustmentFactor *big.Int) (*types.Transaction, error)
SetTargetVotingYieldParameters is a paid mutator transaction binding the contract method 0x5918bb58.
Solidity: function setTargetVotingYieldParameters(uint256 max, uint256 adjustmentFactor) returns(bool)
func (*EpochRewardsSession) StartTime ¶
func (_EpochRewards *EpochRewardsSession) StartTime() (*big.Int, error)
StartTime is a free data retrieval call binding the contract method 0x78e97925.
Solidity: function startTime() constant returns(uint256)
func (*EpochRewardsSession) TargetValidatorEpochPayment ¶
func (_EpochRewards *EpochRewardsSession) TargetValidatorEpochPayment() (*big.Int, error)
TargetValidatorEpochPayment is a free data retrieval call binding the contract method 0xe185aaa8.
Solidity: function targetValidatorEpochPayment() constant returns(uint256)
func (*EpochRewardsSession) TransferOwnership ¶
func (_EpochRewards *EpochRewardsSession) 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 (*EpochRewardsSession) UpdateTargetVotingYield ¶
func (_EpochRewards *EpochRewardsSession) UpdateTargetVotingYield() (*types.Transaction, error)
UpdateTargetVotingYield is a paid mutator transaction binding the contract method 0x92ecd745.
Solidity: function updateTargetVotingYield() returns()
func (*EpochRewardsSession) ValidatorSignerAddressFromCurrentSet ¶
func (_EpochRewards *EpochRewardsSession) ValidatorSignerAddressFromCurrentSet(index *big.Int) (common.Address, error)
ValidatorSignerAddressFromCurrentSet is a free data retrieval call binding the contract method 0x123633ea.
Solidity: function validatorSignerAddressFromCurrentSet(uint256 index) constant returns(address)
func (*EpochRewardsSession) ValidatorSignerAddressFromSet ¶
func (_EpochRewards *EpochRewardsSession) ValidatorSignerAddressFromSet(index *big.Int, blockNumber *big.Int) (common.Address, error)
ValidatorSignerAddressFromSet is a free data retrieval call binding the contract method 0x5d180adb.
Solidity: function validatorSignerAddressFromSet(uint256 index, uint256 blockNumber) constant returns(address)
type EpochRewardsTargetValidatorEpochPaymentSet ¶
type EpochRewardsTargetValidatorEpochPaymentSet struct {
Payment *big.Int
Raw types.Log // Blockchain specific contextual infos
}
EpochRewardsTargetValidatorEpochPaymentSet represents a TargetValidatorEpochPaymentSet event raised by the EpochRewards contract.
type EpochRewardsTargetValidatorEpochPaymentSetIterator ¶
type EpochRewardsTargetValidatorEpochPaymentSetIterator struct {
Event *EpochRewardsTargetValidatorEpochPaymentSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
EpochRewardsTargetValidatorEpochPaymentSetIterator is returned from FilterTargetValidatorEpochPaymentSet and is used to iterate over the raw logs and unpacked data for TargetValidatorEpochPaymentSet events raised by the EpochRewards contract.
func (*EpochRewardsTargetValidatorEpochPaymentSetIterator) Close ¶
func (it *EpochRewardsTargetValidatorEpochPaymentSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EpochRewardsTargetValidatorEpochPaymentSetIterator) Error ¶
func (it *EpochRewardsTargetValidatorEpochPaymentSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EpochRewardsTargetValidatorEpochPaymentSetIterator) Next ¶
func (it *EpochRewardsTargetValidatorEpochPaymentSetIterator) 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 EpochRewardsTargetVotingGoldFractionSet ¶
type EpochRewardsTargetVotingGoldFractionSet struct {
Fraction *big.Int
Raw types.Log // Blockchain specific contextual infos
}
EpochRewardsTargetVotingGoldFractionSet represents a TargetVotingGoldFractionSet event raised by the EpochRewards contract.
type EpochRewardsTargetVotingGoldFractionSetIterator ¶
type EpochRewardsTargetVotingGoldFractionSetIterator struct {
Event *EpochRewardsTargetVotingGoldFractionSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
EpochRewardsTargetVotingGoldFractionSetIterator is returned from FilterTargetVotingGoldFractionSet and is used to iterate over the raw logs and unpacked data for TargetVotingGoldFractionSet events raised by the EpochRewards contract.
func (*EpochRewardsTargetVotingGoldFractionSetIterator) Close ¶
func (it *EpochRewardsTargetVotingGoldFractionSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EpochRewardsTargetVotingGoldFractionSetIterator) Error ¶
func (it *EpochRewardsTargetVotingGoldFractionSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EpochRewardsTargetVotingGoldFractionSetIterator) Next ¶
func (it *EpochRewardsTargetVotingGoldFractionSetIterator) 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 EpochRewardsTargetVotingYieldParametersSet ¶
type EpochRewardsTargetVotingYieldParametersSet struct {
Max *big.Int
AdjustmentFactor *big.Int
Raw types.Log // Blockchain specific contextual infos
}
EpochRewardsTargetVotingYieldParametersSet represents a TargetVotingYieldParametersSet event raised by the EpochRewards contract.
type EpochRewardsTargetVotingYieldParametersSetIterator ¶
type EpochRewardsTargetVotingYieldParametersSetIterator struct {
Event *EpochRewardsTargetVotingYieldParametersSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
EpochRewardsTargetVotingYieldParametersSetIterator is returned from FilterTargetVotingYieldParametersSet and is used to iterate over the raw logs and unpacked data for TargetVotingYieldParametersSet events raised by the EpochRewards contract.
func (*EpochRewardsTargetVotingYieldParametersSetIterator) Close ¶
func (it *EpochRewardsTargetVotingYieldParametersSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EpochRewardsTargetVotingYieldParametersSetIterator) Error ¶
func (it *EpochRewardsTargetVotingYieldParametersSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EpochRewardsTargetVotingYieldParametersSetIterator) Next ¶
func (it *EpochRewardsTargetVotingYieldParametersSetIterator) 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 EpochRewardsTargetVotingYieldUpdated ¶
type EpochRewardsTargetVotingYieldUpdated struct {
Fraction *big.Int
Raw types.Log // Blockchain specific contextual infos
}
EpochRewardsTargetVotingYieldUpdated represents a TargetVotingYieldUpdated event raised by the EpochRewards contract.
type EpochRewardsTargetVotingYieldUpdatedIterator ¶
type EpochRewardsTargetVotingYieldUpdatedIterator struct {
Event *EpochRewardsTargetVotingYieldUpdated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
EpochRewardsTargetVotingYieldUpdatedIterator is returned from FilterTargetVotingYieldUpdated and is used to iterate over the raw logs and unpacked data for TargetVotingYieldUpdated events raised by the EpochRewards contract.
func (*EpochRewardsTargetVotingYieldUpdatedIterator) Close ¶
func (it *EpochRewardsTargetVotingYieldUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EpochRewardsTargetVotingYieldUpdatedIterator) Error ¶
func (it *EpochRewardsTargetVotingYieldUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EpochRewardsTargetVotingYieldUpdatedIterator) Next ¶
func (it *EpochRewardsTargetVotingYieldUpdatedIterator) 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 EpochRewardsTransactor ¶
type EpochRewardsTransactor struct {
// contains filtered or unexported fields
}
EpochRewardsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewEpochRewardsTransactor ¶
func NewEpochRewardsTransactor(address common.Address, transactor bind.ContractTransactor) (*EpochRewardsTransactor, error)
NewEpochRewardsTransactor creates a new write-only instance of EpochRewards, bound to a specific deployed contract.
func (*EpochRewardsTransactor) Initialize ¶
func (_EpochRewards *EpochRewardsTransactor) Initialize(opts *bind.TransactOpts, registryAddress common.Address, targetVotingYieldInitial *big.Int, targetVotingYieldMax *big.Int, targetVotingYieldAdjustmentFactor *big.Int, rewardsMultiplierMax *big.Int, rewardsMultiplierUnderspendAdjustmentFactor *big.Int, rewardsMultiplierOverspendAdjustmentFactor *big.Int, _targetVotingGoldFraction *big.Int, _targetValidatorEpochPayment *big.Int, _communityRewardFraction *big.Int, _carbonOffsettingPartner common.Address, _carbonOffsettingFraction *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x7cca2a3c.
Solidity: function initialize(address registryAddress, uint256 targetVotingYieldInitial, uint256 targetVotingYieldMax, uint256 targetVotingYieldAdjustmentFactor, uint256 rewardsMultiplierMax, uint256 rewardsMultiplierUnderspendAdjustmentFactor, uint256 rewardsMultiplierOverspendAdjustmentFactor, uint256 _targetVotingGoldFraction, uint256 _targetValidatorEpochPayment, uint256 _communityRewardFraction, address _carbonOffsettingPartner, uint256 _carbonOffsettingFraction) returns()
func (*EpochRewardsTransactor) RenounceOwnership ¶
func (_EpochRewards *EpochRewardsTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*EpochRewardsTransactor) SetCarbonOffsettingFund ¶
func (_EpochRewards *EpochRewardsTransactor) SetCarbonOffsettingFund(opts *bind.TransactOpts, partner common.Address, value *big.Int) (*types.Transaction, error)
SetCarbonOffsettingFund is a paid mutator transaction binding the contract method 0x434c99c4.
Solidity: function setCarbonOffsettingFund(address partner, uint256 value) returns(bool)
func (*EpochRewardsTransactor) SetCommunityRewardFraction ¶
func (_EpochRewards *EpochRewardsTransactor) SetCommunityRewardFraction(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
SetCommunityRewardFraction is a paid mutator transaction binding the contract method 0xb63b4a23.
Solidity: function setCommunityRewardFraction(uint256 value) returns(bool)
func (*EpochRewardsTransactor) SetRegistry ¶
func (_EpochRewards *EpochRewardsTransactor) SetRegistry(opts *bind.TransactOpts, registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*EpochRewardsTransactor) SetRewardsMultiplierParameters ¶
func (_EpochRewards *EpochRewardsTransactor) SetRewardsMultiplierParameters(opts *bind.TransactOpts, max *big.Int, underspendAdjustmentFactor *big.Int, overspendAdjustmentFactor *big.Int) (*types.Transaction, error)
SetRewardsMultiplierParameters is a paid mutator transaction binding the contract method 0x8331c1d7.
Solidity: function setRewardsMultiplierParameters(uint256 max, uint256 underspendAdjustmentFactor, uint256 overspendAdjustmentFactor) returns(bool)
func (*EpochRewardsTransactor) SetTargetValidatorEpochPayment ¶
func (_EpochRewards *EpochRewardsTransactor) SetTargetValidatorEpochPayment(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
SetTargetValidatorEpochPayment is a paid mutator transaction binding the contract method 0x96c3d2fd.
Solidity: function setTargetValidatorEpochPayment(uint256 value) returns(bool)
func (*EpochRewardsTransactor) SetTargetVotingGoldFraction ¶
func (_EpochRewards *EpochRewardsTransactor) SetTargetVotingGoldFraction(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
SetTargetVotingGoldFraction is a paid mutator transaction binding the contract method 0x94028384.
Solidity: function setTargetVotingGoldFraction(uint256 value) returns(bool)
func (*EpochRewardsTransactor) SetTargetVotingYieldParameters ¶
func (_EpochRewards *EpochRewardsTransactor) SetTargetVotingYieldParameters(opts *bind.TransactOpts, max *big.Int, adjustmentFactor *big.Int) (*types.Transaction, error)
SetTargetVotingYieldParameters is a paid mutator transaction binding the contract method 0x5918bb58.
Solidity: function setTargetVotingYieldParameters(uint256 max, uint256 adjustmentFactor) returns(bool)
func (*EpochRewardsTransactor) TransferOwnership ¶
func (_EpochRewards *EpochRewardsTransactor) 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 (*EpochRewardsTransactor) UpdateTargetVotingYield ¶
func (_EpochRewards *EpochRewardsTransactor) UpdateTargetVotingYield(opts *bind.TransactOpts) (*types.Transaction, error)
UpdateTargetVotingYield is a paid mutator transaction binding the contract method 0x92ecd745.
Solidity: function updateTargetVotingYield() returns()
type EpochRewardsTransactorRaw ¶
type EpochRewardsTransactorRaw struct {
Contract *EpochRewardsTransactor // Generic write-only contract binding to access the raw methods on
}
EpochRewardsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*EpochRewardsTransactorRaw) Transact ¶
func (_EpochRewards *EpochRewardsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EpochRewardsTransactorRaw) Transfer ¶
func (_EpochRewards *EpochRewardsTransactorRaw) 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 EpochRewardsTransactorSession ¶
type EpochRewardsTransactorSession struct {
Contract *EpochRewardsTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
EpochRewardsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*EpochRewardsTransactorSession) Initialize ¶
func (_EpochRewards *EpochRewardsTransactorSession) Initialize(registryAddress common.Address, targetVotingYieldInitial *big.Int, targetVotingYieldMax *big.Int, targetVotingYieldAdjustmentFactor *big.Int, rewardsMultiplierMax *big.Int, rewardsMultiplierUnderspendAdjustmentFactor *big.Int, rewardsMultiplierOverspendAdjustmentFactor *big.Int, _targetVotingGoldFraction *big.Int, _targetValidatorEpochPayment *big.Int, _communityRewardFraction *big.Int, _carbonOffsettingPartner common.Address, _carbonOffsettingFraction *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x7cca2a3c.
Solidity: function initialize(address registryAddress, uint256 targetVotingYieldInitial, uint256 targetVotingYieldMax, uint256 targetVotingYieldAdjustmentFactor, uint256 rewardsMultiplierMax, uint256 rewardsMultiplierUnderspendAdjustmentFactor, uint256 rewardsMultiplierOverspendAdjustmentFactor, uint256 _targetVotingGoldFraction, uint256 _targetValidatorEpochPayment, uint256 _communityRewardFraction, address _carbonOffsettingPartner, uint256 _carbonOffsettingFraction) returns()
func (*EpochRewardsTransactorSession) RenounceOwnership ¶
func (_EpochRewards *EpochRewardsTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*EpochRewardsTransactorSession) SetCarbonOffsettingFund ¶
func (_EpochRewards *EpochRewardsTransactorSession) SetCarbonOffsettingFund(partner common.Address, value *big.Int) (*types.Transaction, error)
SetCarbonOffsettingFund is a paid mutator transaction binding the contract method 0x434c99c4.
Solidity: function setCarbonOffsettingFund(address partner, uint256 value) returns(bool)
func (*EpochRewardsTransactorSession) SetCommunityRewardFraction ¶
func (_EpochRewards *EpochRewardsTransactorSession) SetCommunityRewardFraction(value *big.Int) (*types.Transaction, error)
SetCommunityRewardFraction is a paid mutator transaction binding the contract method 0xb63b4a23.
Solidity: function setCommunityRewardFraction(uint256 value) returns(bool)
func (*EpochRewardsTransactorSession) SetRegistry ¶
func (_EpochRewards *EpochRewardsTransactorSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*EpochRewardsTransactorSession) SetRewardsMultiplierParameters ¶
func (_EpochRewards *EpochRewardsTransactorSession) SetRewardsMultiplierParameters(max *big.Int, underspendAdjustmentFactor *big.Int, overspendAdjustmentFactor *big.Int) (*types.Transaction, error)
SetRewardsMultiplierParameters is a paid mutator transaction binding the contract method 0x8331c1d7.
Solidity: function setRewardsMultiplierParameters(uint256 max, uint256 underspendAdjustmentFactor, uint256 overspendAdjustmentFactor) returns(bool)
func (*EpochRewardsTransactorSession) SetTargetValidatorEpochPayment ¶
func (_EpochRewards *EpochRewardsTransactorSession) SetTargetValidatorEpochPayment(value *big.Int) (*types.Transaction, error)
SetTargetValidatorEpochPayment is a paid mutator transaction binding the contract method 0x96c3d2fd.
Solidity: function setTargetValidatorEpochPayment(uint256 value) returns(bool)
func (*EpochRewardsTransactorSession) SetTargetVotingGoldFraction ¶
func (_EpochRewards *EpochRewardsTransactorSession) SetTargetVotingGoldFraction(value *big.Int) (*types.Transaction, error)
SetTargetVotingGoldFraction is a paid mutator transaction binding the contract method 0x94028384.
Solidity: function setTargetVotingGoldFraction(uint256 value) returns(bool)
func (*EpochRewardsTransactorSession) SetTargetVotingYieldParameters ¶
func (_EpochRewards *EpochRewardsTransactorSession) SetTargetVotingYieldParameters(max *big.Int, adjustmentFactor *big.Int) (*types.Transaction, error)
SetTargetVotingYieldParameters is a paid mutator transaction binding the contract method 0x5918bb58.
Solidity: function setTargetVotingYieldParameters(uint256 max, uint256 adjustmentFactor) returns(bool)
func (*EpochRewardsTransactorSession) TransferOwnership ¶
func (_EpochRewards *EpochRewardsTransactorSession) 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 (*EpochRewardsTransactorSession) UpdateTargetVotingYield ¶
func (_EpochRewards *EpochRewardsTransactorSession) UpdateTargetVotingYield() (*types.Transaction, error)
UpdateTargetVotingYield is a paid mutator transaction binding the contract method 0x92ecd745.
Solidity: function updateTargetVotingYield() returns()
type GasPriceMinimum ¶
type GasPriceMinimum struct {
GasPriceMinimumCaller // Read-only binding to the contract
GasPriceMinimumTransactor // Write-only binding to the contract
GasPriceMinimumFilterer // Log filterer for contract events
}
GasPriceMinimum is an auto generated Go binding around an Ethereum contract.
func NewGasPriceMinimum ¶
func NewGasPriceMinimum(address common.Address, backend bind.ContractBackend) (*GasPriceMinimum, error)
NewGasPriceMinimum creates a new instance of GasPriceMinimum, bound to a specific deployed contract.
type GasPriceMinimumAdjustmentSpeedSet ¶
type GasPriceMinimumAdjustmentSpeedSet struct {
AdjustmentSpeed *big.Int
Raw types.Log // Blockchain specific contextual infos
}
GasPriceMinimumAdjustmentSpeedSet represents a AdjustmentSpeedSet event raised by the GasPriceMinimum contract.
type GasPriceMinimumAdjustmentSpeedSetIterator ¶
type GasPriceMinimumAdjustmentSpeedSetIterator struct {
Event *GasPriceMinimumAdjustmentSpeedSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
GasPriceMinimumAdjustmentSpeedSetIterator is returned from FilterAdjustmentSpeedSet and is used to iterate over the raw logs and unpacked data for AdjustmentSpeedSet events raised by the GasPriceMinimum contract.
func (*GasPriceMinimumAdjustmentSpeedSetIterator) Close ¶
func (it *GasPriceMinimumAdjustmentSpeedSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GasPriceMinimumAdjustmentSpeedSetIterator) Error ¶
func (it *GasPriceMinimumAdjustmentSpeedSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GasPriceMinimumAdjustmentSpeedSetIterator) Next ¶
func (it *GasPriceMinimumAdjustmentSpeedSetIterator) 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 GasPriceMinimumCaller ¶
type GasPriceMinimumCaller struct {
// contains filtered or unexported fields
}
GasPriceMinimumCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGasPriceMinimumCaller ¶
func NewGasPriceMinimumCaller(address common.Address, caller bind.ContractCaller) (*GasPriceMinimumCaller, error)
NewGasPriceMinimumCaller creates a new read-only instance of GasPriceMinimum, bound to a specific deployed contract.
func (*GasPriceMinimumCaller) AdjustmentSpeed ¶
func (_GasPriceMinimum *GasPriceMinimumCaller) AdjustmentSpeed(opts *bind.CallOpts) (*big.Int, error)
AdjustmentSpeed is a free data retrieval call binding the contract method 0xa68f548e.
Solidity: function adjustmentSpeed() constant returns(uint256 value)
func (*GasPriceMinimumCaller) GasPriceMinimum ¶
func (_GasPriceMinimum *GasPriceMinimumCaller) GasPriceMinimum(opts *bind.CallOpts) (*big.Int, error)
GasPriceMinimum is a free data retrieval call binding the contract method 0x36945c2d.
Solidity: function gasPriceMinimum() constant returns(uint256)
func (*GasPriceMinimumCaller) GasPriceMinimumFloor ¶
func (_GasPriceMinimum *GasPriceMinimumCaller) GasPriceMinimumFloor(opts *bind.CallOpts) (*big.Int, error)
GasPriceMinimumFloor is a free data retrieval call binding the contract method 0xceff0bd6.
Solidity: function gasPriceMinimumFloor() constant returns(uint256)
func (*GasPriceMinimumCaller) GetGasPriceMinimum ¶
func (_GasPriceMinimum *GasPriceMinimumCaller) GetGasPriceMinimum(opts *bind.CallOpts, tokenAddress common.Address) (*big.Int, error)
GetGasPriceMinimum is a free data retrieval call binding the contract method 0xa54b7fc0.
Solidity: function getGasPriceMinimum(address tokenAddress) constant returns(uint256)
func (*GasPriceMinimumCaller) GetUpdatedGasPriceMinimum ¶
func (_GasPriceMinimum *GasPriceMinimumCaller) GetUpdatedGasPriceMinimum(opts *bind.CallOpts, blockGasTotal *big.Int, blockGasLimit *big.Int) (*big.Int, error)
GetUpdatedGasPriceMinimum is a free data retrieval call binding the contract method 0xef712c5b.
Solidity: function getUpdatedGasPriceMinimum(uint256 blockGasTotal, uint256 blockGasLimit) constant returns(uint256)
func (*GasPriceMinimumCaller) Initialized ¶
func (_GasPriceMinimum *GasPriceMinimumCaller) Initialized(opts *bind.CallOpts) (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*GasPriceMinimumCaller) IsOwner ¶
func (_GasPriceMinimum *GasPriceMinimumCaller) IsOwner(opts *bind.CallOpts) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*GasPriceMinimumCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*GasPriceMinimumCaller) Registry ¶
func (_GasPriceMinimum *GasPriceMinimumCaller) Registry(opts *bind.CallOpts) (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*GasPriceMinimumCaller) TargetDensity ¶
TargetDensity is a free data retrieval call binding the contract method 0x4a3d5fe2.
Solidity: function targetDensity() constant returns(uint256 value)
type GasPriceMinimumCallerRaw ¶
type GasPriceMinimumCallerRaw struct {
Contract *GasPriceMinimumCaller // Generic read-only contract binding to access the raw methods on
}
GasPriceMinimumCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GasPriceMinimumCallerRaw) Call ¶
func (_GasPriceMinimum *GasPriceMinimumCallerRaw) 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 GasPriceMinimumCallerSession ¶
type GasPriceMinimumCallerSession struct {
Contract *GasPriceMinimumCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
GasPriceMinimumCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*GasPriceMinimumCallerSession) AdjustmentSpeed ¶
func (_GasPriceMinimum *GasPriceMinimumCallerSession) AdjustmentSpeed() (*big.Int, error)
AdjustmentSpeed is a free data retrieval call binding the contract method 0xa68f548e.
Solidity: function adjustmentSpeed() constant returns(uint256 value)
func (*GasPriceMinimumCallerSession) GasPriceMinimum ¶
func (_GasPriceMinimum *GasPriceMinimumCallerSession) GasPriceMinimum() (*big.Int, error)
GasPriceMinimum is a free data retrieval call binding the contract method 0x36945c2d.
Solidity: function gasPriceMinimum() constant returns(uint256)
func (*GasPriceMinimumCallerSession) GasPriceMinimumFloor ¶
func (_GasPriceMinimum *GasPriceMinimumCallerSession) GasPriceMinimumFloor() (*big.Int, error)
GasPriceMinimumFloor is a free data retrieval call binding the contract method 0xceff0bd6.
Solidity: function gasPriceMinimumFloor() constant returns(uint256)
func (*GasPriceMinimumCallerSession) GetGasPriceMinimum ¶
func (_GasPriceMinimum *GasPriceMinimumCallerSession) GetGasPriceMinimum(tokenAddress common.Address) (*big.Int, error)
GetGasPriceMinimum is a free data retrieval call binding the contract method 0xa54b7fc0.
Solidity: function getGasPriceMinimum(address tokenAddress) constant returns(uint256)
func (*GasPriceMinimumCallerSession) GetUpdatedGasPriceMinimum ¶
func (_GasPriceMinimum *GasPriceMinimumCallerSession) GetUpdatedGasPriceMinimum(blockGasTotal *big.Int, blockGasLimit *big.Int) (*big.Int, error)
GetUpdatedGasPriceMinimum is a free data retrieval call binding the contract method 0xef712c5b.
Solidity: function getUpdatedGasPriceMinimum(uint256 blockGasTotal, uint256 blockGasLimit) constant returns(uint256)
func (*GasPriceMinimumCallerSession) Initialized ¶
func (_GasPriceMinimum *GasPriceMinimumCallerSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*GasPriceMinimumCallerSession) IsOwner ¶
func (_GasPriceMinimum *GasPriceMinimumCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*GasPriceMinimumCallerSession) Owner ¶
func (_GasPriceMinimum *GasPriceMinimumCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*GasPriceMinimumCallerSession) Registry ¶
func (_GasPriceMinimum *GasPriceMinimumCallerSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*GasPriceMinimumCallerSession) TargetDensity ¶
func (_GasPriceMinimum *GasPriceMinimumCallerSession) TargetDensity() (*big.Int, error)
TargetDensity is a free data retrieval call binding the contract method 0x4a3d5fe2.
Solidity: function targetDensity() constant returns(uint256 value)
type GasPriceMinimumFilterer ¶
type GasPriceMinimumFilterer struct {
// contains filtered or unexported fields
}
GasPriceMinimumFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGasPriceMinimumFilterer ¶
func NewGasPriceMinimumFilterer(address common.Address, filterer bind.ContractFilterer) (*GasPriceMinimumFilterer, error)
NewGasPriceMinimumFilterer creates a new log filterer instance of GasPriceMinimum, bound to a specific deployed contract.
func (*GasPriceMinimumFilterer) FilterAdjustmentSpeedSet ¶
func (_GasPriceMinimum *GasPriceMinimumFilterer) FilterAdjustmentSpeedSet(opts *bind.FilterOpts) (*GasPriceMinimumAdjustmentSpeedSetIterator, error)
FilterAdjustmentSpeedSet is a free log retrieval operation binding the contract event 0xd2e71cd7012df1df07d4908ff75ae4b2bfbb6c49d39144404661f1fd47253283.
Solidity: event AdjustmentSpeedSet(uint256 adjustmentSpeed)
func (*GasPriceMinimumFilterer) FilterGasPriceMinimumFloorSet ¶
func (_GasPriceMinimum *GasPriceMinimumFilterer) FilterGasPriceMinimumFloorSet(opts *bind.FilterOpts) (*GasPriceMinimumGasPriceMinimumFloorSetIterator, error)
FilterGasPriceMinimumFloorSet is a free log retrieval operation binding the contract event 0x5548a13ccc1d9e4e2860461edda5ad49ba8a4fda485f67d954f9d7da8d2aff27.
Solidity: event GasPriceMinimumFloorSet(uint256 gasPriceMinimumFloor)
func (*GasPriceMinimumFilterer) FilterOwnershipTransferred ¶
func (_GasPriceMinimum *GasPriceMinimumFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*GasPriceMinimumOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*GasPriceMinimumFilterer) FilterRegistrySet ¶
func (_GasPriceMinimum *GasPriceMinimumFilterer) FilterRegistrySet(opts *bind.FilterOpts, registryAddress []common.Address) (*GasPriceMinimumRegistrySetIterator, error)
FilterRegistrySet is a free log retrieval operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*GasPriceMinimumFilterer) FilterTargetDensitySet ¶
func (_GasPriceMinimum *GasPriceMinimumFilterer) FilterTargetDensitySet(opts *bind.FilterOpts) (*GasPriceMinimumTargetDensitySetIterator, error)
FilterTargetDensitySet is a free log retrieval operation binding the contract event 0x2a109bad06121312708ed2a3e9b3556ea85ef8eadd4d10d8181f50d114eb4fab.
Solidity: event TargetDensitySet(uint256 targetDensity)
func (*GasPriceMinimumFilterer) ParseAdjustmentSpeedSet ¶
func (_GasPriceMinimum *GasPriceMinimumFilterer) ParseAdjustmentSpeedSet(log types.Log) (*GasPriceMinimumAdjustmentSpeedSet, error)
ParseAdjustmentSpeedSet is a log parse operation binding the contract event 0xd2e71cd7012df1df07d4908ff75ae4b2bfbb6c49d39144404661f1fd47253283.
Solidity: event AdjustmentSpeedSet(uint256 adjustmentSpeed)
func (*GasPriceMinimumFilterer) ParseGasPriceMinimumFloorSet ¶
func (_GasPriceMinimum *GasPriceMinimumFilterer) ParseGasPriceMinimumFloorSet(log types.Log) (*GasPriceMinimumGasPriceMinimumFloorSet, error)
ParseGasPriceMinimumFloorSet is a log parse operation binding the contract event 0x5548a13ccc1d9e4e2860461edda5ad49ba8a4fda485f67d954f9d7da8d2aff27.
Solidity: event GasPriceMinimumFloorSet(uint256 gasPriceMinimumFloor)
func (*GasPriceMinimumFilterer) ParseOwnershipTransferred ¶
func (_GasPriceMinimum *GasPriceMinimumFilterer) ParseOwnershipTransferred(log types.Log) (*GasPriceMinimumOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*GasPriceMinimumFilterer) ParseRegistrySet ¶
func (_GasPriceMinimum *GasPriceMinimumFilterer) ParseRegistrySet(log types.Log) (*GasPriceMinimumRegistrySet, error)
ParseRegistrySet is a log parse operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*GasPriceMinimumFilterer) ParseTargetDensitySet ¶
func (_GasPriceMinimum *GasPriceMinimumFilterer) ParseTargetDensitySet(log types.Log) (*GasPriceMinimumTargetDensitySet, error)
ParseTargetDensitySet is a log parse operation binding the contract event 0x2a109bad06121312708ed2a3e9b3556ea85ef8eadd4d10d8181f50d114eb4fab.
Solidity: event TargetDensitySet(uint256 targetDensity)
func (*GasPriceMinimumFilterer) TryParseLog ¶
func (_GasPriceMinimum *GasPriceMinimumFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
TryParseLog attempts to parse a log. Returns the parsed log, eventName and whether it was successful
func (*GasPriceMinimumFilterer) WatchAdjustmentSpeedSet ¶
func (_GasPriceMinimum *GasPriceMinimumFilterer) WatchAdjustmentSpeedSet(opts *bind.WatchOpts, sink chan<- *GasPriceMinimumAdjustmentSpeedSet) (event.Subscription, error)
WatchAdjustmentSpeedSet is a free log subscription operation binding the contract event 0xd2e71cd7012df1df07d4908ff75ae4b2bfbb6c49d39144404661f1fd47253283.
Solidity: event AdjustmentSpeedSet(uint256 adjustmentSpeed)
func (*GasPriceMinimumFilterer) WatchGasPriceMinimumFloorSet ¶
func (_GasPriceMinimum *GasPriceMinimumFilterer) WatchGasPriceMinimumFloorSet(opts *bind.WatchOpts, sink chan<- *GasPriceMinimumGasPriceMinimumFloorSet) (event.Subscription, error)
WatchGasPriceMinimumFloorSet is a free log subscription operation binding the contract event 0x5548a13ccc1d9e4e2860461edda5ad49ba8a4fda485f67d954f9d7da8d2aff27.
Solidity: event GasPriceMinimumFloorSet(uint256 gasPriceMinimumFloor)
func (*GasPriceMinimumFilterer) WatchOwnershipTransferred ¶
func (_GasPriceMinimum *GasPriceMinimumFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *GasPriceMinimumOwnershipTransferred, 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 (*GasPriceMinimumFilterer) WatchRegistrySet ¶
func (_GasPriceMinimum *GasPriceMinimumFilterer) WatchRegistrySet(opts *bind.WatchOpts, sink chan<- *GasPriceMinimumRegistrySet, registryAddress []common.Address) (event.Subscription, error)
WatchRegistrySet is a free log subscription operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*GasPriceMinimumFilterer) WatchTargetDensitySet ¶
func (_GasPriceMinimum *GasPriceMinimumFilterer) WatchTargetDensitySet(opts *bind.WatchOpts, sink chan<- *GasPriceMinimumTargetDensitySet) (event.Subscription, error)
WatchTargetDensitySet is a free log subscription operation binding the contract event 0x2a109bad06121312708ed2a3e9b3556ea85ef8eadd4d10d8181f50d114eb4fab.
Solidity: event TargetDensitySet(uint256 targetDensity)
type GasPriceMinimumGasPriceMinimumFloorSet ¶
type GasPriceMinimumGasPriceMinimumFloorSet struct {
GasPriceMinimumFloor *big.Int
Raw types.Log // Blockchain specific contextual infos
}
GasPriceMinimumGasPriceMinimumFloorSet represents a GasPriceMinimumFloorSet event raised by the GasPriceMinimum contract.
type GasPriceMinimumGasPriceMinimumFloorSetIterator ¶
type GasPriceMinimumGasPriceMinimumFloorSetIterator struct {
Event *GasPriceMinimumGasPriceMinimumFloorSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
GasPriceMinimumGasPriceMinimumFloorSetIterator is returned from FilterGasPriceMinimumFloorSet and is used to iterate over the raw logs and unpacked data for GasPriceMinimumFloorSet events raised by the GasPriceMinimum contract.
func (*GasPriceMinimumGasPriceMinimumFloorSetIterator) Close ¶
func (it *GasPriceMinimumGasPriceMinimumFloorSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GasPriceMinimumGasPriceMinimumFloorSetIterator) Error ¶
func (it *GasPriceMinimumGasPriceMinimumFloorSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GasPriceMinimumGasPriceMinimumFloorSetIterator) Next ¶
func (it *GasPriceMinimumGasPriceMinimumFloorSetIterator) 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 GasPriceMinimumOwnershipTransferred ¶
type GasPriceMinimumOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
GasPriceMinimumOwnershipTransferred represents a OwnershipTransferred event raised by the GasPriceMinimum contract.
type GasPriceMinimumOwnershipTransferredIterator ¶
type GasPriceMinimumOwnershipTransferredIterator struct {
Event *GasPriceMinimumOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
GasPriceMinimumOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the GasPriceMinimum contract.
func (*GasPriceMinimumOwnershipTransferredIterator) Close ¶
func (it *GasPriceMinimumOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GasPriceMinimumOwnershipTransferredIterator) Error ¶
func (it *GasPriceMinimumOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GasPriceMinimumOwnershipTransferredIterator) Next ¶
func (it *GasPriceMinimumOwnershipTransferredIterator) 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 GasPriceMinimumRaw ¶
type GasPriceMinimumRaw struct {
Contract *GasPriceMinimum // Generic contract binding to access the raw methods on
}
GasPriceMinimumRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GasPriceMinimumRaw) Call ¶
func (_GasPriceMinimum *GasPriceMinimumRaw) 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 (*GasPriceMinimumRaw) Transact ¶
func (_GasPriceMinimum *GasPriceMinimumRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GasPriceMinimumRaw) Transfer ¶
func (_GasPriceMinimum *GasPriceMinimumRaw) 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 GasPriceMinimumRegistrySet ¶
type GasPriceMinimumRegistrySet struct {
RegistryAddress common.Address
Raw types.Log // Blockchain specific contextual infos
}
GasPriceMinimumRegistrySet represents a RegistrySet event raised by the GasPriceMinimum contract.
type GasPriceMinimumRegistrySetIterator ¶
type GasPriceMinimumRegistrySetIterator struct {
Event *GasPriceMinimumRegistrySet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
GasPriceMinimumRegistrySetIterator is returned from FilterRegistrySet and is used to iterate over the raw logs and unpacked data for RegistrySet events raised by the GasPriceMinimum contract.
func (*GasPriceMinimumRegistrySetIterator) Close ¶
func (it *GasPriceMinimumRegistrySetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GasPriceMinimumRegistrySetIterator) Error ¶
func (it *GasPriceMinimumRegistrySetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GasPriceMinimumRegistrySetIterator) Next ¶
func (it *GasPriceMinimumRegistrySetIterator) 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 GasPriceMinimumSession ¶
type GasPriceMinimumSession struct {
Contract *GasPriceMinimum // 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
}
GasPriceMinimumSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*GasPriceMinimumSession) AdjustmentSpeed ¶
func (_GasPriceMinimum *GasPriceMinimumSession) AdjustmentSpeed() (*big.Int, error)
AdjustmentSpeed is a free data retrieval call binding the contract method 0xa68f548e.
Solidity: function adjustmentSpeed() constant returns(uint256 value)
func (*GasPriceMinimumSession) GasPriceMinimum ¶
func (_GasPriceMinimum *GasPriceMinimumSession) GasPriceMinimum() (*big.Int, error)
GasPriceMinimum is a free data retrieval call binding the contract method 0x36945c2d.
Solidity: function gasPriceMinimum() constant returns(uint256)
func (*GasPriceMinimumSession) GasPriceMinimumFloor ¶
func (_GasPriceMinimum *GasPriceMinimumSession) GasPriceMinimumFloor() (*big.Int, error)
GasPriceMinimumFloor is a free data retrieval call binding the contract method 0xceff0bd6.
Solidity: function gasPriceMinimumFloor() constant returns(uint256)
func (*GasPriceMinimumSession) GetGasPriceMinimum ¶
func (_GasPriceMinimum *GasPriceMinimumSession) GetGasPriceMinimum(tokenAddress common.Address) (*big.Int, error)
GetGasPriceMinimum is a free data retrieval call binding the contract method 0xa54b7fc0.
Solidity: function getGasPriceMinimum(address tokenAddress) constant returns(uint256)
func (*GasPriceMinimumSession) GetUpdatedGasPriceMinimum ¶
func (_GasPriceMinimum *GasPriceMinimumSession) GetUpdatedGasPriceMinimum(blockGasTotal *big.Int, blockGasLimit *big.Int) (*big.Int, error)
GetUpdatedGasPriceMinimum is a free data retrieval call binding the contract method 0xef712c5b.
Solidity: function getUpdatedGasPriceMinimum(uint256 blockGasTotal, uint256 blockGasLimit) constant returns(uint256)
func (*GasPriceMinimumSession) Initialize ¶
func (_GasPriceMinimum *GasPriceMinimumSession) Initialize(_registryAddress common.Address, _gasPriceMinimumFloor *big.Int, _targetDensity *big.Int, _adjustmentSpeed *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x4ec81af1.
Solidity: function initialize(address _registryAddress, uint256 _gasPriceMinimumFloor, uint256 _targetDensity, uint256 _adjustmentSpeed) returns()
func (*GasPriceMinimumSession) Initialized ¶
func (_GasPriceMinimum *GasPriceMinimumSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*GasPriceMinimumSession) IsOwner ¶
func (_GasPriceMinimum *GasPriceMinimumSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*GasPriceMinimumSession) Owner ¶
func (_GasPriceMinimum *GasPriceMinimumSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*GasPriceMinimumSession) Registry ¶
func (_GasPriceMinimum *GasPriceMinimumSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*GasPriceMinimumSession) RenounceOwnership ¶
func (_GasPriceMinimum *GasPriceMinimumSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*GasPriceMinimumSession) SetAdjustmentSpeed ¶
func (_GasPriceMinimum *GasPriceMinimumSession) SetAdjustmentSpeed(_adjustmentSpeed *big.Int) (*types.Transaction, error)
SetAdjustmentSpeed is a paid mutator transaction binding the contract method 0x30f726b9.
Solidity: function setAdjustmentSpeed(uint256 _adjustmentSpeed) returns()
func (*GasPriceMinimumSession) SetGasPriceMinimumFloor ¶
func (_GasPriceMinimum *GasPriceMinimumSession) SetGasPriceMinimumFloor(_gasPriceMinimumFloor *big.Int) (*types.Transaction, error)
SetGasPriceMinimumFloor is a paid mutator transaction binding the contract method 0xb830f4a4.
Solidity: function setGasPriceMinimumFloor(uint256 _gasPriceMinimumFloor) returns()
func (*GasPriceMinimumSession) SetRegistry ¶
func (_GasPriceMinimum *GasPriceMinimumSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*GasPriceMinimumSession) SetTargetDensity ¶
func (_GasPriceMinimum *GasPriceMinimumSession) SetTargetDensity(_targetDensity *big.Int) (*types.Transaction, error)
SetTargetDensity is a paid mutator transaction binding the contract method 0x93ca6fc4.
Solidity: function setTargetDensity(uint256 _targetDensity) returns()
func (*GasPriceMinimumSession) TargetDensity ¶
func (_GasPriceMinimum *GasPriceMinimumSession) TargetDensity() (*big.Int, error)
TargetDensity is a free data retrieval call binding the contract method 0x4a3d5fe2.
Solidity: function targetDensity() constant returns(uint256 value)
func (*GasPriceMinimumSession) TransferOwnership ¶
func (_GasPriceMinimum *GasPriceMinimumSession) 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 (*GasPriceMinimumSession) UpdateGasPriceMinimum ¶
func (_GasPriceMinimum *GasPriceMinimumSession) UpdateGasPriceMinimum(blockGasTotal *big.Int, blockGasLimit *big.Int) (*types.Transaction, error)
UpdateGasPriceMinimum is a paid mutator transaction binding the contract method 0xc12398b4.
Solidity: function updateGasPriceMinimum(uint256 blockGasTotal, uint256 blockGasLimit) returns(uint256)
type GasPriceMinimumTargetDensitySet ¶
type GasPriceMinimumTargetDensitySet struct {
TargetDensity *big.Int
Raw types.Log // Blockchain specific contextual infos
}
GasPriceMinimumTargetDensitySet represents a TargetDensitySet event raised by the GasPriceMinimum contract.
type GasPriceMinimumTargetDensitySetIterator ¶
type GasPriceMinimumTargetDensitySetIterator struct {
Event *GasPriceMinimumTargetDensitySet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
GasPriceMinimumTargetDensitySetIterator is returned from FilterTargetDensitySet and is used to iterate over the raw logs and unpacked data for TargetDensitySet events raised by the GasPriceMinimum contract.
func (*GasPriceMinimumTargetDensitySetIterator) Close ¶
func (it *GasPriceMinimumTargetDensitySetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GasPriceMinimumTargetDensitySetIterator) Error ¶
func (it *GasPriceMinimumTargetDensitySetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GasPriceMinimumTargetDensitySetIterator) Next ¶
func (it *GasPriceMinimumTargetDensitySetIterator) 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 GasPriceMinimumTransactor ¶
type GasPriceMinimumTransactor struct {
// contains filtered or unexported fields
}
GasPriceMinimumTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGasPriceMinimumTransactor ¶
func NewGasPriceMinimumTransactor(address common.Address, transactor bind.ContractTransactor) (*GasPriceMinimumTransactor, error)
NewGasPriceMinimumTransactor creates a new write-only instance of GasPriceMinimum, bound to a specific deployed contract.
func (*GasPriceMinimumTransactor) Initialize ¶
func (_GasPriceMinimum *GasPriceMinimumTransactor) Initialize(opts *bind.TransactOpts, _registryAddress common.Address, _gasPriceMinimumFloor *big.Int, _targetDensity *big.Int, _adjustmentSpeed *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x4ec81af1.
Solidity: function initialize(address _registryAddress, uint256 _gasPriceMinimumFloor, uint256 _targetDensity, uint256 _adjustmentSpeed) returns()
func (*GasPriceMinimumTransactor) RenounceOwnership ¶
func (_GasPriceMinimum *GasPriceMinimumTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*GasPriceMinimumTransactor) SetAdjustmentSpeed ¶
func (_GasPriceMinimum *GasPriceMinimumTransactor) SetAdjustmentSpeed(opts *bind.TransactOpts, _adjustmentSpeed *big.Int) (*types.Transaction, error)
SetAdjustmentSpeed is a paid mutator transaction binding the contract method 0x30f726b9.
Solidity: function setAdjustmentSpeed(uint256 _adjustmentSpeed) returns()
func (*GasPriceMinimumTransactor) SetGasPriceMinimumFloor ¶
func (_GasPriceMinimum *GasPriceMinimumTransactor) SetGasPriceMinimumFloor(opts *bind.TransactOpts, _gasPriceMinimumFloor *big.Int) (*types.Transaction, error)
SetGasPriceMinimumFloor is a paid mutator transaction binding the contract method 0xb830f4a4.
Solidity: function setGasPriceMinimumFloor(uint256 _gasPriceMinimumFloor) returns()
func (*GasPriceMinimumTransactor) SetRegistry ¶
func (_GasPriceMinimum *GasPriceMinimumTransactor) SetRegistry(opts *bind.TransactOpts, registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*GasPriceMinimumTransactor) SetTargetDensity ¶
func (_GasPriceMinimum *GasPriceMinimumTransactor) SetTargetDensity(opts *bind.TransactOpts, _targetDensity *big.Int) (*types.Transaction, error)
SetTargetDensity is a paid mutator transaction binding the contract method 0x93ca6fc4.
Solidity: function setTargetDensity(uint256 _targetDensity) returns()
func (*GasPriceMinimumTransactor) TransferOwnership ¶
func (_GasPriceMinimum *GasPriceMinimumTransactor) 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 (*GasPriceMinimumTransactor) UpdateGasPriceMinimum ¶
func (_GasPriceMinimum *GasPriceMinimumTransactor) UpdateGasPriceMinimum(opts *bind.TransactOpts, blockGasTotal *big.Int, blockGasLimit *big.Int) (*types.Transaction, error)
UpdateGasPriceMinimum is a paid mutator transaction binding the contract method 0xc12398b4.
Solidity: function updateGasPriceMinimum(uint256 blockGasTotal, uint256 blockGasLimit) returns(uint256)
type GasPriceMinimumTransactorRaw ¶
type GasPriceMinimumTransactorRaw struct {
Contract *GasPriceMinimumTransactor // Generic write-only contract binding to access the raw methods on
}
GasPriceMinimumTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GasPriceMinimumTransactorRaw) Transact ¶
func (_GasPriceMinimum *GasPriceMinimumTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GasPriceMinimumTransactorRaw) Transfer ¶
func (_GasPriceMinimum *GasPriceMinimumTransactorRaw) 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 GasPriceMinimumTransactorSession ¶
type GasPriceMinimumTransactorSession struct {
Contract *GasPriceMinimumTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
GasPriceMinimumTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*GasPriceMinimumTransactorSession) Initialize ¶
func (_GasPriceMinimum *GasPriceMinimumTransactorSession) Initialize(_registryAddress common.Address, _gasPriceMinimumFloor *big.Int, _targetDensity *big.Int, _adjustmentSpeed *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x4ec81af1.
Solidity: function initialize(address _registryAddress, uint256 _gasPriceMinimumFloor, uint256 _targetDensity, uint256 _adjustmentSpeed) returns()
func (*GasPriceMinimumTransactorSession) RenounceOwnership ¶
func (_GasPriceMinimum *GasPriceMinimumTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*GasPriceMinimumTransactorSession) SetAdjustmentSpeed ¶
func (_GasPriceMinimum *GasPriceMinimumTransactorSession) SetAdjustmentSpeed(_adjustmentSpeed *big.Int) (*types.Transaction, error)
SetAdjustmentSpeed is a paid mutator transaction binding the contract method 0x30f726b9.
Solidity: function setAdjustmentSpeed(uint256 _adjustmentSpeed) returns()
func (*GasPriceMinimumTransactorSession) SetGasPriceMinimumFloor ¶
func (_GasPriceMinimum *GasPriceMinimumTransactorSession) SetGasPriceMinimumFloor(_gasPriceMinimumFloor *big.Int) (*types.Transaction, error)
SetGasPriceMinimumFloor is a paid mutator transaction binding the contract method 0xb830f4a4.
Solidity: function setGasPriceMinimumFloor(uint256 _gasPriceMinimumFloor) returns()
func (*GasPriceMinimumTransactorSession) SetRegistry ¶
func (_GasPriceMinimum *GasPriceMinimumTransactorSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*GasPriceMinimumTransactorSession) SetTargetDensity ¶
func (_GasPriceMinimum *GasPriceMinimumTransactorSession) SetTargetDensity(_targetDensity *big.Int) (*types.Transaction, error)
SetTargetDensity is a paid mutator transaction binding the contract method 0x93ca6fc4.
Solidity: function setTargetDensity(uint256 _targetDensity) returns()
func (*GasPriceMinimumTransactorSession) TransferOwnership ¶
func (_GasPriceMinimum *GasPriceMinimumTransactorSession) 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 (*GasPriceMinimumTransactorSession) UpdateGasPriceMinimum ¶
func (_GasPriceMinimum *GasPriceMinimumTransactorSession) UpdateGasPriceMinimum(blockGasTotal *big.Int, blockGasLimit *big.Int) (*types.Transaction, error)
UpdateGasPriceMinimum is a paid mutator transaction binding the contract method 0xc12398b4.
Solidity: function updateGasPriceMinimum(uint256 blockGasTotal, uint256 blockGasLimit) returns(uint256)
type LockedGold ¶
type LockedGold struct {
LockedGoldCaller // Read-only binding to the contract
LockedGoldTransactor // Write-only binding to the contract
LockedGoldFilterer // Log filterer for contract events
}
LockedGold is an auto generated Go binding around an Ethereum contract.
func NewLockedGold ¶
func NewLockedGold(address common.Address, backend bind.ContractBackend) (*LockedGold, error)
NewLockedGold creates a new instance of LockedGold, bound to a specific deployed contract.
type LockedGoldAccountSlashed ¶
type LockedGoldAccountSlashed struct {
Slashed common.Address
Penalty *big.Int
Reporter common.Address
Reward *big.Int
Raw types.Log // Blockchain specific contextual infos
}
LockedGoldAccountSlashed represents a AccountSlashed event raised by the LockedGold contract.
type LockedGoldAccountSlashedIterator ¶
type LockedGoldAccountSlashedIterator struct {
Event *LockedGoldAccountSlashed // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
LockedGoldAccountSlashedIterator is returned from FilterAccountSlashed and is used to iterate over the raw logs and unpacked data for AccountSlashed events raised by the LockedGold contract.
func (*LockedGoldAccountSlashedIterator) Close ¶
func (it *LockedGoldAccountSlashedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockedGoldAccountSlashedIterator) Error ¶
func (it *LockedGoldAccountSlashedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockedGoldAccountSlashedIterator) Next ¶
func (it *LockedGoldAccountSlashedIterator) 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 LockedGoldCaller ¶
type LockedGoldCaller struct {
// contains filtered or unexported fields
}
LockedGoldCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLockedGoldCaller ¶
func NewLockedGoldCaller(address common.Address, caller bind.ContractCaller) (*LockedGoldCaller, error)
NewLockedGoldCaller creates a new read-only instance of LockedGold, bound to a specific deployed contract.
func (*LockedGoldCaller) GetAccountNonvotingLockedGold ¶
func (_LockedGold *LockedGoldCaller) GetAccountNonvotingLockedGold(opts *bind.CallOpts, account common.Address) (*big.Int, error)
GetAccountNonvotingLockedGold is a free data retrieval call binding the contract method 0x3f199b40.
Solidity: function getAccountNonvotingLockedGold(address account) constant returns(uint256)
func (*LockedGoldCaller) GetAccountTotalLockedGold ¶
func (_LockedGold *LockedGoldCaller) GetAccountTotalLockedGold(opts *bind.CallOpts, account common.Address) (*big.Int, error)
GetAccountTotalLockedGold is a free data retrieval call binding the contract method 0x30ec70f5.
Solidity: function getAccountTotalLockedGold(address account) constant returns(uint256)
func (*LockedGoldCaller) GetNonvotingLockedGold ¶
GetNonvotingLockedGold is a free data retrieval call binding the contract method 0x807876b7.
Solidity: function getNonvotingLockedGold() constant returns(uint256)
func (*LockedGoldCaller) GetPendingWithdrawals ¶
func (_LockedGold *LockedGoldCaller) GetPendingWithdrawals(opts *bind.CallOpts, account common.Address) ([]*big.Int, []*big.Int, error)
GetPendingWithdrawals is a free data retrieval call binding the contract method 0xf340c0d0.
Solidity: function getPendingWithdrawals(address account) constant returns(uint256[], uint256[])
func (*LockedGoldCaller) GetSlashingWhitelist ¶
func (_LockedGold *LockedGoldCaller) GetSlashingWhitelist(opts *bind.CallOpts) ([][32]byte, error)
GetSlashingWhitelist is a free data retrieval call binding the contract method 0x08764ee2.
Solidity: function getSlashingWhitelist() constant returns(bytes32[])
func (*LockedGoldCaller) GetTotalLockedGold ¶
GetTotalLockedGold is a free data retrieval call binding the contract method 0x30a61d59.
Solidity: function getTotalLockedGold() constant returns(uint256)
func (*LockedGoldCaller) Initialized ¶
func (_LockedGold *LockedGoldCaller) Initialized(opts *bind.CallOpts) (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*LockedGoldCaller) IsOwner ¶
func (_LockedGold *LockedGoldCaller) IsOwner(opts *bind.CallOpts) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*LockedGoldCaller) IsSlasher ¶
func (_LockedGold *LockedGoldCaller) IsSlasher(opts *bind.CallOpts, slasher common.Address) (bool, error)
IsSlasher is a free data retrieval call binding the contract method 0x57601c5d.
Solidity: function isSlasher(address slasher) constant returns(bool)
func (*LockedGoldCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*LockedGoldCaller) Registry ¶
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*LockedGoldCaller) SlashingWhitelist ¶
func (_LockedGold *LockedGoldCaller) SlashingWhitelist(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)
SlashingWhitelist is a free data retrieval call binding the contract method 0x6adcc938.
Solidity: function slashingWhitelist(uint256 ) constant returns(bytes32)
func (*LockedGoldCaller) TotalNonvoting ¶
TotalNonvoting is a free data retrieval call binding the contract method 0xc1867f6d.
Solidity: function totalNonvoting() constant returns(uint256)
func (*LockedGoldCaller) UnlockingPeriod ¶
UnlockingPeriod is a free data retrieval call binding the contract method 0x20637d8e.
Solidity: function unlockingPeriod() constant returns(uint256)
type LockedGoldCallerRaw ¶
type LockedGoldCallerRaw struct {
Contract *LockedGoldCaller // Generic read-only contract binding to access the raw methods on
}
LockedGoldCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LockedGoldCallerRaw) Call ¶
func (_LockedGold *LockedGoldCallerRaw) 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 LockedGoldCallerSession ¶
type LockedGoldCallerSession struct {
Contract *LockedGoldCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
LockedGoldCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LockedGoldCallerSession) GetAccountNonvotingLockedGold ¶
func (_LockedGold *LockedGoldCallerSession) GetAccountNonvotingLockedGold(account common.Address) (*big.Int, error)
GetAccountNonvotingLockedGold is a free data retrieval call binding the contract method 0x3f199b40.
Solidity: function getAccountNonvotingLockedGold(address account) constant returns(uint256)
func (*LockedGoldCallerSession) GetAccountTotalLockedGold ¶
func (_LockedGold *LockedGoldCallerSession) GetAccountTotalLockedGold(account common.Address) (*big.Int, error)
GetAccountTotalLockedGold is a free data retrieval call binding the contract method 0x30ec70f5.
Solidity: function getAccountTotalLockedGold(address account) constant returns(uint256)
func (*LockedGoldCallerSession) GetNonvotingLockedGold ¶
func (_LockedGold *LockedGoldCallerSession) GetNonvotingLockedGold() (*big.Int, error)
GetNonvotingLockedGold is a free data retrieval call binding the contract method 0x807876b7.
Solidity: function getNonvotingLockedGold() constant returns(uint256)
func (*LockedGoldCallerSession) GetPendingWithdrawals ¶
func (_LockedGold *LockedGoldCallerSession) GetPendingWithdrawals(account common.Address) ([]*big.Int, []*big.Int, error)
GetPendingWithdrawals is a free data retrieval call binding the contract method 0xf340c0d0.
Solidity: function getPendingWithdrawals(address account) constant returns(uint256[], uint256[])
func (*LockedGoldCallerSession) GetSlashingWhitelist ¶
func (_LockedGold *LockedGoldCallerSession) GetSlashingWhitelist() ([][32]byte, error)
GetSlashingWhitelist is a free data retrieval call binding the contract method 0x08764ee2.
Solidity: function getSlashingWhitelist() constant returns(bytes32[])
func (*LockedGoldCallerSession) GetTotalLockedGold ¶
func (_LockedGold *LockedGoldCallerSession) GetTotalLockedGold() (*big.Int, error)
GetTotalLockedGold is a free data retrieval call binding the contract method 0x30a61d59.
Solidity: function getTotalLockedGold() constant returns(uint256)
func (*LockedGoldCallerSession) Initialized ¶
func (_LockedGold *LockedGoldCallerSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*LockedGoldCallerSession) IsOwner ¶
func (_LockedGold *LockedGoldCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*LockedGoldCallerSession) IsSlasher ¶
func (_LockedGold *LockedGoldCallerSession) IsSlasher(slasher common.Address) (bool, error)
IsSlasher is a free data retrieval call binding the contract method 0x57601c5d.
Solidity: function isSlasher(address slasher) constant returns(bool)
func (*LockedGoldCallerSession) Owner ¶
func (_LockedGold *LockedGoldCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*LockedGoldCallerSession) Registry ¶
func (_LockedGold *LockedGoldCallerSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*LockedGoldCallerSession) SlashingWhitelist ¶
func (_LockedGold *LockedGoldCallerSession) SlashingWhitelist(arg0 *big.Int) ([32]byte, error)
SlashingWhitelist is a free data retrieval call binding the contract method 0x6adcc938.
Solidity: function slashingWhitelist(uint256 ) constant returns(bytes32)
func (*LockedGoldCallerSession) TotalNonvoting ¶
func (_LockedGold *LockedGoldCallerSession) TotalNonvoting() (*big.Int, error)
TotalNonvoting is a free data retrieval call binding the contract method 0xc1867f6d.
Solidity: function totalNonvoting() constant returns(uint256)
func (*LockedGoldCallerSession) UnlockingPeriod ¶
func (_LockedGold *LockedGoldCallerSession) UnlockingPeriod() (*big.Int, error)
UnlockingPeriod is a free data retrieval call binding the contract method 0x20637d8e.
Solidity: function unlockingPeriod() constant returns(uint256)
type LockedGoldFilterer ¶
type LockedGoldFilterer struct {
// contains filtered or unexported fields
}
LockedGoldFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLockedGoldFilterer ¶
func NewLockedGoldFilterer(address common.Address, filterer bind.ContractFilterer) (*LockedGoldFilterer, error)
NewLockedGoldFilterer creates a new log filterer instance of LockedGold, bound to a specific deployed contract.
func (*LockedGoldFilterer) FilterAccountSlashed ¶
func (_LockedGold *LockedGoldFilterer) FilterAccountSlashed(opts *bind.FilterOpts, slashed []common.Address, reporter []common.Address) (*LockedGoldAccountSlashedIterator, error)
FilterAccountSlashed is a free log retrieval operation binding the contract event 0x7abcb995a115c34a67528d58d5fc5ce02c22cb835ce1685046163f7d366d7111.
Solidity: event AccountSlashed(address indexed slashed, uint256 penalty, address indexed reporter, uint256 reward)
func (*LockedGoldFilterer) FilterGoldLocked ¶
func (_LockedGold *LockedGoldFilterer) FilterGoldLocked(opts *bind.FilterOpts, account []common.Address) (*LockedGoldGoldLockedIterator, error)
FilterGoldLocked is a free log retrieval operation binding the contract event 0x0f0f2fc5b4c987a49e1663ce2c2d65de12f3b701ff02b4d09461421e63e609e7.
Solidity: event GoldLocked(address indexed account, uint256 value)
func (*LockedGoldFilterer) FilterGoldUnlocked ¶
func (_LockedGold *LockedGoldFilterer) FilterGoldUnlocked(opts *bind.FilterOpts, account []common.Address) (*LockedGoldGoldUnlockedIterator, error)
FilterGoldUnlocked is a free log retrieval operation binding the contract event 0xb1a3aef2a332070da206ad1868a5e327f5aa5144e00e9a7b40717c153158a588.
Solidity: event GoldUnlocked(address indexed account, uint256 value, uint256 available)
func (*LockedGoldFilterer) FilterGoldWithdrawn ¶
func (_LockedGold *LockedGoldFilterer) FilterGoldWithdrawn(opts *bind.FilterOpts, account []common.Address) (*LockedGoldGoldWithdrawnIterator, error)
FilterGoldWithdrawn is a free log retrieval operation binding the contract event 0x292d39ba701489b7f640c83806d3eeabe0a32c9f0a61b49e95612ebad42211cd.
Solidity: event GoldWithdrawn(address indexed account, uint256 value)
func (*LockedGoldFilterer) FilterOwnershipTransferred ¶
func (_LockedGold *LockedGoldFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*LockedGoldOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LockedGoldFilterer) FilterRegistrySet ¶
func (_LockedGold *LockedGoldFilterer) FilterRegistrySet(opts *bind.FilterOpts, registryAddress []common.Address) (*LockedGoldRegistrySetIterator, error)
FilterRegistrySet is a free log retrieval operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*LockedGoldFilterer) FilterSlasherWhitelistAdded ¶
func (_LockedGold *LockedGoldFilterer) FilterSlasherWhitelistAdded(opts *bind.FilterOpts, slasherIdentifier []string) (*LockedGoldSlasherWhitelistAddedIterator, error)
FilterSlasherWhitelistAdded is a free log retrieval operation binding the contract event 0x92a16cb9e1846d175c3007fc61953d186452c9ea1aa34183eb4b7f88cd3f07bb.
Solidity: event SlasherWhitelistAdded(string indexed slasherIdentifier)
func (*LockedGoldFilterer) FilterSlasherWhitelistRemoved ¶
func (_LockedGold *LockedGoldFilterer) FilterSlasherWhitelistRemoved(opts *bind.FilterOpts, slasherIdentifier []string) (*LockedGoldSlasherWhitelistRemovedIterator, error)
FilterSlasherWhitelistRemoved is a free log retrieval operation binding the contract event 0xaee8df56d95b5766042c2ff4dcb39a120f0a09dd21bb9c143f86a314eff4b714.
Solidity: event SlasherWhitelistRemoved(string indexed slasherIdentifier)
func (*LockedGoldFilterer) FilterUnlockingPeriodSet ¶
func (_LockedGold *LockedGoldFilterer) FilterUnlockingPeriodSet(opts *bind.FilterOpts) (*LockedGoldUnlockingPeriodSetIterator, error)
FilterUnlockingPeriodSet is a free log retrieval operation binding the contract event 0xd9274a7c98edc7c66931fc71872764091e7023fe3867358f8504d4c21b161fc5.
Solidity: event UnlockingPeriodSet(uint256 period)
func (*LockedGoldFilterer) ParseAccountSlashed ¶
func (_LockedGold *LockedGoldFilterer) ParseAccountSlashed(log types.Log) (*LockedGoldAccountSlashed, error)
ParseAccountSlashed is a log parse operation binding the contract event 0x7abcb995a115c34a67528d58d5fc5ce02c22cb835ce1685046163f7d366d7111.
Solidity: event AccountSlashed(address indexed slashed, uint256 penalty, address indexed reporter, uint256 reward)
func (*LockedGoldFilterer) ParseGoldLocked ¶
func (_LockedGold *LockedGoldFilterer) ParseGoldLocked(log types.Log) (*LockedGoldGoldLocked, error)
ParseGoldLocked is a log parse operation binding the contract event 0x0f0f2fc5b4c987a49e1663ce2c2d65de12f3b701ff02b4d09461421e63e609e7.
Solidity: event GoldLocked(address indexed account, uint256 value)
func (*LockedGoldFilterer) ParseGoldUnlocked ¶
func (_LockedGold *LockedGoldFilterer) ParseGoldUnlocked(log types.Log) (*LockedGoldGoldUnlocked, error)
ParseGoldUnlocked is a log parse operation binding the contract event 0xb1a3aef2a332070da206ad1868a5e327f5aa5144e00e9a7b40717c153158a588.
Solidity: event GoldUnlocked(address indexed account, uint256 value, uint256 available)
func (*LockedGoldFilterer) ParseGoldWithdrawn ¶
func (_LockedGold *LockedGoldFilterer) ParseGoldWithdrawn(log types.Log) (*LockedGoldGoldWithdrawn, error)
ParseGoldWithdrawn is a log parse operation binding the contract event 0x292d39ba701489b7f640c83806d3eeabe0a32c9f0a61b49e95612ebad42211cd.
Solidity: event GoldWithdrawn(address indexed account, uint256 value)
func (*LockedGoldFilterer) ParseOwnershipTransferred ¶
func (_LockedGold *LockedGoldFilterer) ParseOwnershipTransferred(log types.Log) (*LockedGoldOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LockedGoldFilterer) ParseRegistrySet ¶
func (_LockedGold *LockedGoldFilterer) ParseRegistrySet(log types.Log) (*LockedGoldRegistrySet, error)
ParseRegistrySet is a log parse operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*LockedGoldFilterer) ParseSlasherWhitelistAdded ¶
func (_LockedGold *LockedGoldFilterer) ParseSlasherWhitelistAdded(log types.Log) (*LockedGoldSlasherWhitelistAdded, error)
ParseSlasherWhitelistAdded is a log parse operation binding the contract event 0x92a16cb9e1846d175c3007fc61953d186452c9ea1aa34183eb4b7f88cd3f07bb.
Solidity: event SlasherWhitelistAdded(string indexed slasherIdentifier)
func (*LockedGoldFilterer) ParseSlasherWhitelistRemoved ¶
func (_LockedGold *LockedGoldFilterer) ParseSlasherWhitelistRemoved(log types.Log) (*LockedGoldSlasherWhitelistRemoved, error)
ParseSlasherWhitelistRemoved is a log parse operation binding the contract event 0xaee8df56d95b5766042c2ff4dcb39a120f0a09dd21bb9c143f86a314eff4b714.
Solidity: event SlasherWhitelistRemoved(string indexed slasherIdentifier)
func (*LockedGoldFilterer) ParseUnlockingPeriodSet ¶
func (_LockedGold *LockedGoldFilterer) ParseUnlockingPeriodSet(log types.Log) (*LockedGoldUnlockingPeriodSet, error)
ParseUnlockingPeriodSet is a log parse operation binding the contract event 0xd9274a7c98edc7c66931fc71872764091e7023fe3867358f8504d4c21b161fc5.
Solidity: event UnlockingPeriodSet(uint256 period)
func (*LockedGoldFilterer) TryParseLog ¶
func (_LockedGold *LockedGoldFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
TryParseLog attempts to parse a log. Returns the parsed log, eventName and whether it was successful
func (*LockedGoldFilterer) WatchAccountSlashed ¶
func (_LockedGold *LockedGoldFilterer) WatchAccountSlashed(opts *bind.WatchOpts, sink chan<- *LockedGoldAccountSlashed, slashed []common.Address, reporter []common.Address) (event.Subscription, error)
WatchAccountSlashed is a free log subscription operation binding the contract event 0x7abcb995a115c34a67528d58d5fc5ce02c22cb835ce1685046163f7d366d7111.
Solidity: event AccountSlashed(address indexed slashed, uint256 penalty, address indexed reporter, uint256 reward)
func (*LockedGoldFilterer) WatchGoldLocked ¶
func (_LockedGold *LockedGoldFilterer) WatchGoldLocked(opts *bind.WatchOpts, sink chan<- *LockedGoldGoldLocked, account []common.Address) (event.Subscription, error)
WatchGoldLocked is a free log subscription operation binding the contract event 0x0f0f2fc5b4c987a49e1663ce2c2d65de12f3b701ff02b4d09461421e63e609e7.
Solidity: event GoldLocked(address indexed account, uint256 value)
func (*LockedGoldFilterer) WatchGoldUnlocked ¶
func (_LockedGold *LockedGoldFilterer) WatchGoldUnlocked(opts *bind.WatchOpts, sink chan<- *LockedGoldGoldUnlocked, account []common.Address) (event.Subscription, error)
WatchGoldUnlocked is a free log subscription operation binding the contract event 0xb1a3aef2a332070da206ad1868a5e327f5aa5144e00e9a7b40717c153158a588.
Solidity: event GoldUnlocked(address indexed account, uint256 value, uint256 available)
func (*LockedGoldFilterer) WatchGoldWithdrawn ¶
func (_LockedGold *LockedGoldFilterer) WatchGoldWithdrawn(opts *bind.WatchOpts, sink chan<- *LockedGoldGoldWithdrawn, account []common.Address) (event.Subscription, error)
WatchGoldWithdrawn is a free log subscription operation binding the contract event 0x292d39ba701489b7f640c83806d3eeabe0a32c9f0a61b49e95612ebad42211cd.
Solidity: event GoldWithdrawn(address indexed account, uint256 value)
func (*LockedGoldFilterer) WatchOwnershipTransferred ¶
func (_LockedGold *LockedGoldFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LockedGoldOwnershipTransferred, 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 (*LockedGoldFilterer) WatchRegistrySet ¶
func (_LockedGold *LockedGoldFilterer) WatchRegistrySet(opts *bind.WatchOpts, sink chan<- *LockedGoldRegistrySet, registryAddress []common.Address) (event.Subscription, error)
WatchRegistrySet is a free log subscription operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*LockedGoldFilterer) WatchSlasherWhitelistAdded ¶
func (_LockedGold *LockedGoldFilterer) WatchSlasherWhitelistAdded(opts *bind.WatchOpts, sink chan<- *LockedGoldSlasherWhitelistAdded, slasherIdentifier []string) (event.Subscription, error)
WatchSlasherWhitelistAdded is a free log subscription operation binding the contract event 0x92a16cb9e1846d175c3007fc61953d186452c9ea1aa34183eb4b7f88cd3f07bb.
Solidity: event SlasherWhitelistAdded(string indexed slasherIdentifier)
func (*LockedGoldFilterer) WatchSlasherWhitelistRemoved ¶
func (_LockedGold *LockedGoldFilterer) WatchSlasherWhitelistRemoved(opts *bind.WatchOpts, sink chan<- *LockedGoldSlasherWhitelistRemoved, slasherIdentifier []string) (event.Subscription, error)
WatchSlasherWhitelistRemoved is a free log subscription operation binding the contract event 0xaee8df56d95b5766042c2ff4dcb39a120f0a09dd21bb9c143f86a314eff4b714.
Solidity: event SlasherWhitelistRemoved(string indexed slasherIdentifier)
func (*LockedGoldFilterer) WatchUnlockingPeriodSet ¶
func (_LockedGold *LockedGoldFilterer) WatchUnlockingPeriodSet(opts *bind.WatchOpts, sink chan<- *LockedGoldUnlockingPeriodSet) (event.Subscription, error)
WatchUnlockingPeriodSet is a free log subscription operation binding the contract event 0xd9274a7c98edc7c66931fc71872764091e7023fe3867358f8504d4c21b161fc5.
Solidity: event UnlockingPeriodSet(uint256 period)
type LockedGoldGoldLocked ¶
type LockedGoldGoldLocked struct {
Account common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
LockedGoldGoldLocked represents a GoldLocked event raised by the LockedGold contract.
type LockedGoldGoldLockedIterator ¶
type LockedGoldGoldLockedIterator struct {
Event *LockedGoldGoldLocked // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
LockedGoldGoldLockedIterator is returned from FilterGoldLocked and is used to iterate over the raw logs and unpacked data for GoldLocked events raised by the LockedGold contract.
func (*LockedGoldGoldLockedIterator) Close ¶
func (it *LockedGoldGoldLockedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockedGoldGoldLockedIterator) Error ¶
func (it *LockedGoldGoldLockedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockedGoldGoldLockedIterator) Next ¶
func (it *LockedGoldGoldLockedIterator) 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 LockedGoldGoldUnlocked ¶
type LockedGoldGoldUnlocked struct {
Account common.Address
Value *big.Int
Available *big.Int
Raw types.Log // Blockchain specific contextual infos
}
LockedGoldGoldUnlocked represents a GoldUnlocked event raised by the LockedGold contract.
type LockedGoldGoldUnlockedIterator ¶
type LockedGoldGoldUnlockedIterator struct {
Event *LockedGoldGoldUnlocked // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
LockedGoldGoldUnlockedIterator is returned from FilterGoldUnlocked and is used to iterate over the raw logs and unpacked data for GoldUnlocked events raised by the LockedGold contract.
func (*LockedGoldGoldUnlockedIterator) Close ¶
func (it *LockedGoldGoldUnlockedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockedGoldGoldUnlockedIterator) Error ¶
func (it *LockedGoldGoldUnlockedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockedGoldGoldUnlockedIterator) Next ¶
func (it *LockedGoldGoldUnlockedIterator) 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 LockedGoldGoldWithdrawn ¶
type LockedGoldGoldWithdrawn struct {
Account common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
LockedGoldGoldWithdrawn represents a GoldWithdrawn event raised by the LockedGold contract.
type LockedGoldGoldWithdrawnIterator ¶
type LockedGoldGoldWithdrawnIterator struct {
Event *LockedGoldGoldWithdrawn // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
LockedGoldGoldWithdrawnIterator is returned from FilterGoldWithdrawn and is used to iterate over the raw logs and unpacked data for GoldWithdrawn events raised by the LockedGold contract.
func (*LockedGoldGoldWithdrawnIterator) Close ¶
func (it *LockedGoldGoldWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockedGoldGoldWithdrawnIterator) Error ¶
func (it *LockedGoldGoldWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockedGoldGoldWithdrawnIterator) Next ¶
func (it *LockedGoldGoldWithdrawnIterator) 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 LockedGoldOwnershipTransferred ¶
type LockedGoldOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
LockedGoldOwnershipTransferred represents a OwnershipTransferred event raised by the LockedGold contract.
type LockedGoldOwnershipTransferredIterator ¶
type LockedGoldOwnershipTransferredIterator struct {
Event *LockedGoldOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
LockedGoldOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the LockedGold contract.
func (*LockedGoldOwnershipTransferredIterator) Close ¶
func (it *LockedGoldOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockedGoldOwnershipTransferredIterator) Error ¶
func (it *LockedGoldOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockedGoldOwnershipTransferredIterator) Next ¶
func (it *LockedGoldOwnershipTransferredIterator) 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 LockedGoldRaw ¶
type LockedGoldRaw struct {
Contract *LockedGold // Generic contract binding to access the raw methods on
}
LockedGoldRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LockedGoldRaw) Call ¶
func (_LockedGold *LockedGoldRaw) 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 (*LockedGoldRaw) Transact ¶
func (_LockedGold *LockedGoldRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LockedGoldRaw) Transfer ¶
func (_LockedGold *LockedGoldRaw) 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 LockedGoldRegistrySet ¶
type LockedGoldRegistrySet struct {
RegistryAddress common.Address
Raw types.Log // Blockchain specific contextual infos
}
LockedGoldRegistrySet represents a RegistrySet event raised by the LockedGold contract.
type LockedGoldRegistrySetIterator ¶
type LockedGoldRegistrySetIterator struct {
Event *LockedGoldRegistrySet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
LockedGoldRegistrySetIterator is returned from FilterRegistrySet and is used to iterate over the raw logs and unpacked data for RegistrySet events raised by the LockedGold contract.
func (*LockedGoldRegistrySetIterator) Close ¶
func (it *LockedGoldRegistrySetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockedGoldRegistrySetIterator) Error ¶
func (it *LockedGoldRegistrySetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockedGoldRegistrySetIterator) Next ¶
func (it *LockedGoldRegistrySetIterator) 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 LockedGoldSession ¶
type LockedGoldSession struct {
Contract *LockedGold // 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
}
LockedGoldSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LockedGoldSession) AddSlasher ¶
func (_LockedGold *LockedGoldSession) AddSlasher(slasherIdentifier string) (*types.Transaction, error)
AddSlasher is a paid mutator transaction binding the contract method 0x64891198.
Solidity: function addSlasher(string slasherIdentifier) returns()
func (*LockedGoldSession) DecrementNonvotingAccountBalance ¶
func (_LockedGold *LockedGoldSession) DecrementNonvotingAccountBalance(account common.Address, value *big.Int) (*types.Transaction, error)
DecrementNonvotingAccountBalance is a paid mutator transaction binding the contract method 0x18a4ff8c.
Solidity: function decrementNonvotingAccountBalance(address account, uint256 value) returns()
func (*LockedGoldSession) GetAccountNonvotingLockedGold ¶
func (_LockedGold *LockedGoldSession) GetAccountNonvotingLockedGold(account common.Address) (*big.Int, error)
GetAccountNonvotingLockedGold is a free data retrieval call binding the contract method 0x3f199b40.
Solidity: function getAccountNonvotingLockedGold(address account) constant returns(uint256)
func (*LockedGoldSession) GetAccountTotalLockedGold ¶
func (_LockedGold *LockedGoldSession) GetAccountTotalLockedGold(account common.Address) (*big.Int, error)
GetAccountTotalLockedGold is a free data retrieval call binding the contract method 0x30ec70f5.
Solidity: function getAccountTotalLockedGold(address account) constant returns(uint256)
func (*LockedGoldSession) GetNonvotingLockedGold ¶
func (_LockedGold *LockedGoldSession) GetNonvotingLockedGold() (*big.Int, error)
GetNonvotingLockedGold is a free data retrieval call binding the contract method 0x807876b7.
Solidity: function getNonvotingLockedGold() constant returns(uint256)
func (*LockedGoldSession) GetPendingWithdrawals ¶
func (_LockedGold *LockedGoldSession) GetPendingWithdrawals(account common.Address) ([]*big.Int, []*big.Int, error)
GetPendingWithdrawals is a free data retrieval call binding the contract method 0xf340c0d0.
Solidity: function getPendingWithdrawals(address account) constant returns(uint256[], uint256[])
func (*LockedGoldSession) GetSlashingWhitelist ¶
func (_LockedGold *LockedGoldSession) GetSlashingWhitelist() ([][32]byte, error)
GetSlashingWhitelist is a free data retrieval call binding the contract method 0x08764ee2.
Solidity: function getSlashingWhitelist() constant returns(bytes32[])
func (*LockedGoldSession) GetTotalLockedGold ¶
func (_LockedGold *LockedGoldSession) GetTotalLockedGold() (*big.Int, error)
GetTotalLockedGold is a free data retrieval call binding the contract method 0x30a61d59.
Solidity: function getTotalLockedGold() constant returns(uint256)
func (*LockedGoldSession) IncrementNonvotingAccountBalance ¶
func (_LockedGold *LockedGoldSession) IncrementNonvotingAccountBalance(account common.Address, value *big.Int) (*types.Transaction, error)
IncrementNonvotingAccountBalance is a paid mutator transaction binding the contract method 0x6edf77a5.
Solidity: function incrementNonvotingAccountBalance(address account, uint256 value) returns()
func (*LockedGoldSession) Initialize ¶
func (_LockedGold *LockedGoldSession) Initialize(registryAddress common.Address, _unlockingPeriod *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xcd6dc687.
Solidity: function initialize(address registryAddress, uint256 _unlockingPeriod) returns()
func (*LockedGoldSession) Initialized ¶
func (_LockedGold *LockedGoldSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*LockedGoldSession) IsOwner ¶
func (_LockedGold *LockedGoldSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*LockedGoldSession) IsSlasher ¶
func (_LockedGold *LockedGoldSession) IsSlasher(slasher common.Address) (bool, error)
IsSlasher is a free data retrieval call binding the contract method 0x57601c5d.
Solidity: function isSlasher(address slasher) constant returns(bool)
func (*LockedGoldSession) Lock ¶
func (_LockedGold *LockedGoldSession) Lock() (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0xf83d08ba.
Solidity: function lock() returns()
func (*LockedGoldSession) Owner ¶
func (_LockedGold *LockedGoldSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*LockedGoldSession) Registry ¶
func (_LockedGold *LockedGoldSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*LockedGoldSession) Relock ¶
func (_LockedGold *LockedGoldSession) Relock(index *big.Int, value *big.Int) (*types.Transaction, error)
Relock is a paid mutator transaction binding the contract method 0xb2fb30cb.
Solidity: function relock(uint256 index, uint256 value) returns()
func (*LockedGoldSession) RemoveSlasher ¶
func (_LockedGold *LockedGoldSession) RemoveSlasher(slasherIdentifier string, index *big.Int) (*types.Transaction, error)
RemoveSlasher is a paid mutator transaction binding the contract method 0x1fe2dfda.
Solidity: function removeSlasher(string slasherIdentifier, uint256 index) returns()
func (*LockedGoldSession) RenounceOwnership ¶
func (_LockedGold *LockedGoldSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*LockedGoldSession) SetRegistry ¶
func (_LockedGold *LockedGoldSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*LockedGoldSession) SetUnlockingPeriod ¶
func (_LockedGold *LockedGoldSession) SetUnlockingPeriod(value *big.Int) (*types.Transaction, error)
SetUnlockingPeriod is a paid mutator transaction binding the contract method 0x66f0633b.
Solidity: function setUnlockingPeriod(uint256 value) returns()
func (*LockedGoldSession) Slash ¶
func (_LockedGold *LockedGoldSession) Slash(account common.Address, penalty *big.Int, reporter common.Address, reward *big.Int, lessers []common.Address, greaters []common.Address, indices []*big.Int) (*types.Transaction, error)
Slash is a paid mutator transaction binding the contract method 0x31993fc9.
Solidity: function slash(address account, uint256 penalty, address reporter, uint256 reward, address[] lessers, address[] greaters, uint256[] indices) returns()
func (*LockedGoldSession) SlashingWhitelist ¶
func (_LockedGold *LockedGoldSession) SlashingWhitelist(arg0 *big.Int) ([32]byte, error)
SlashingWhitelist is a free data retrieval call binding the contract method 0x6adcc938.
Solidity: function slashingWhitelist(uint256 ) constant returns(bytes32)
func (*LockedGoldSession) TotalNonvoting ¶
func (_LockedGold *LockedGoldSession) TotalNonvoting() (*big.Int, error)
TotalNonvoting is a free data retrieval call binding the contract method 0xc1867f6d.
Solidity: function totalNonvoting() constant returns(uint256)
func (*LockedGoldSession) TransferOwnership ¶
func (_LockedGold *LockedGoldSession) 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 (*LockedGoldSession) Unlock ¶
func (_LockedGold *LockedGoldSession) Unlock(value *big.Int) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0x6198e339.
Solidity: function unlock(uint256 value) returns()
func (*LockedGoldSession) UnlockingPeriod ¶
func (_LockedGold *LockedGoldSession) UnlockingPeriod() (*big.Int, error)
UnlockingPeriod is a free data retrieval call binding the contract method 0x20637d8e.
Solidity: function unlockingPeriod() constant returns(uint256)
func (*LockedGoldSession) Withdraw ¶
func (_LockedGold *LockedGoldSession) Withdraw(index *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 index) returns()
type LockedGoldSlasherWhitelistAdded ¶
type LockedGoldSlasherWhitelistAdded struct {
SlasherIdentifier common.Hash
Raw types.Log // Blockchain specific contextual infos
}
LockedGoldSlasherWhitelistAdded represents a SlasherWhitelistAdded event raised by the LockedGold contract.
type LockedGoldSlasherWhitelistAddedIterator ¶
type LockedGoldSlasherWhitelistAddedIterator struct {
Event *LockedGoldSlasherWhitelistAdded // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
LockedGoldSlasherWhitelistAddedIterator is returned from FilterSlasherWhitelistAdded and is used to iterate over the raw logs and unpacked data for SlasherWhitelistAdded events raised by the LockedGold contract.
func (*LockedGoldSlasherWhitelistAddedIterator) Close ¶
func (it *LockedGoldSlasherWhitelistAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockedGoldSlasherWhitelistAddedIterator) Error ¶
func (it *LockedGoldSlasherWhitelistAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockedGoldSlasherWhitelistAddedIterator) Next ¶
func (it *LockedGoldSlasherWhitelistAddedIterator) 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 LockedGoldSlasherWhitelistRemoved ¶
type LockedGoldSlasherWhitelistRemoved struct {
SlasherIdentifier common.Hash
Raw types.Log // Blockchain specific contextual infos
}
LockedGoldSlasherWhitelistRemoved represents a SlasherWhitelistRemoved event raised by the LockedGold contract.
type LockedGoldSlasherWhitelistRemovedIterator ¶
type LockedGoldSlasherWhitelistRemovedIterator struct {
Event *LockedGoldSlasherWhitelistRemoved // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
LockedGoldSlasherWhitelistRemovedIterator is returned from FilterSlasherWhitelistRemoved and is used to iterate over the raw logs and unpacked data for SlasherWhitelistRemoved events raised by the LockedGold contract.
func (*LockedGoldSlasherWhitelistRemovedIterator) Close ¶
func (it *LockedGoldSlasherWhitelistRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockedGoldSlasherWhitelistRemovedIterator) Error ¶
func (it *LockedGoldSlasherWhitelistRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockedGoldSlasherWhitelistRemovedIterator) Next ¶
func (it *LockedGoldSlasherWhitelistRemovedIterator) 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 LockedGoldTransactor ¶
type LockedGoldTransactor struct {
// contains filtered or unexported fields
}
LockedGoldTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLockedGoldTransactor ¶
func NewLockedGoldTransactor(address common.Address, transactor bind.ContractTransactor) (*LockedGoldTransactor, error)
NewLockedGoldTransactor creates a new write-only instance of LockedGold, bound to a specific deployed contract.
func (*LockedGoldTransactor) AddSlasher ¶
func (_LockedGold *LockedGoldTransactor) AddSlasher(opts *bind.TransactOpts, slasherIdentifier string) (*types.Transaction, error)
AddSlasher is a paid mutator transaction binding the contract method 0x64891198.
Solidity: function addSlasher(string slasherIdentifier) returns()
func (*LockedGoldTransactor) DecrementNonvotingAccountBalance ¶
func (_LockedGold *LockedGoldTransactor) DecrementNonvotingAccountBalance(opts *bind.TransactOpts, account common.Address, value *big.Int) (*types.Transaction, error)
DecrementNonvotingAccountBalance is a paid mutator transaction binding the contract method 0x18a4ff8c.
Solidity: function decrementNonvotingAccountBalance(address account, uint256 value) returns()
func (*LockedGoldTransactor) IncrementNonvotingAccountBalance ¶
func (_LockedGold *LockedGoldTransactor) IncrementNonvotingAccountBalance(opts *bind.TransactOpts, account common.Address, value *big.Int) (*types.Transaction, error)
IncrementNonvotingAccountBalance is a paid mutator transaction binding the contract method 0x6edf77a5.
Solidity: function incrementNonvotingAccountBalance(address account, uint256 value) returns()
func (*LockedGoldTransactor) Initialize ¶
func (_LockedGold *LockedGoldTransactor) Initialize(opts *bind.TransactOpts, registryAddress common.Address, _unlockingPeriod *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xcd6dc687.
Solidity: function initialize(address registryAddress, uint256 _unlockingPeriod) returns()
func (*LockedGoldTransactor) Lock ¶
func (_LockedGold *LockedGoldTransactor) Lock(opts *bind.TransactOpts) (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0xf83d08ba.
Solidity: function lock() returns()
func (*LockedGoldTransactor) Relock ¶
func (_LockedGold *LockedGoldTransactor) Relock(opts *bind.TransactOpts, index *big.Int, value *big.Int) (*types.Transaction, error)
Relock is a paid mutator transaction binding the contract method 0xb2fb30cb.
Solidity: function relock(uint256 index, uint256 value) returns()
func (*LockedGoldTransactor) RemoveSlasher ¶
func (_LockedGold *LockedGoldTransactor) RemoveSlasher(opts *bind.TransactOpts, slasherIdentifier string, index *big.Int) (*types.Transaction, error)
RemoveSlasher is a paid mutator transaction binding the contract method 0x1fe2dfda.
Solidity: function removeSlasher(string slasherIdentifier, uint256 index) returns()
func (*LockedGoldTransactor) RenounceOwnership ¶
func (_LockedGold *LockedGoldTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*LockedGoldTransactor) SetRegistry ¶
func (_LockedGold *LockedGoldTransactor) SetRegistry(opts *bind.TransactOpts, registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*LockedGoldTransactor) SetUnlockingPeriod ¶
func (_LockedGold *LockedGoldTransactor) SetUnlockingPeriod(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
SetUnlockingPeriod is a paid mutator transaction binding the contract method 0x66f0633b.
Solidity: function setUnlockingPeriod(uint256 value) returns()
func (*LockedGoldTransactor) Slash ¶
func (_LockedGold *LockedGoldTransactor) Slash(opts *bind.TransactOpts, account common.Address, penalty *big.Int, reporter common.Address, reward *big.Int, lessers []common.Address, greaters []common.Address, indices []*big.Int) (*types.Transaction, error)
Slash is a paid mutator transaction binding the contract method 0x31993fc9.
Solidity: function slash(address account, uint256 penalty, address reporter, uint256 reward, address[] lessers, address[] greaters, uint256[] indices) returns()
func (*LockedGoldTransactor) TransferOwnership ¶
func (_LockedGold *LockedGoldTransactor) 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 (*LockedGoldTransactor) Unlock ¶
func (_LockedGold *LockedGoldTransactor) Unlock(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0x6198e339.
Solidity: function unlock(uint256 value) returns()
func (*LockedGoldTransactor) Withdraw ¶
func (_LockedGold *LockedGoldTransactor) Withdraw(opts *bind.TransactOpts, index *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 index) returns()
type LockedGoldTransactorRaw ¶
type LockedGoldTransactorRaw struct {
Contract *LockedGoldTransactor // Generic write-only contract binding to access the raw methods on
}
LockedGoldTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LockedGoldTransactorRaw) Transact ¶
func (_LockedGold *LockedGoldTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LockedGoldTransactorRaw) Transfer ¶
func (_LockedGold *LockedGoldTransactorRaw) 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 LockedGoldTransactorSession ¶
type LockedGoldTransactorSession struct {
Contract *LockedGoldTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
LockedGoldTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LockedGoldTransactorSession) AddSlasher ¶
func (_LockedGold *LockedGoldTransactorSession) AddSlasher(slasherIdentifier string) (*types.Transaction, error)
AddSlasher is a paid mutator transaction binding the contract method 0x64891198.
Solidity: function addSlasher(string slasherIdentifier) returns()
func (*LockedGoldTransactorSession) DecrementNonvotingAccountBalance ¶
func (_LockedGold *LockedGoldTransactorSession) DecrementNonvotingAccountBalance(account common.Address, value *big.Int) (*types.Transaction, error)
DecrementNonvotingAccountBalance is a paid mutator transaction binding the contract method 0x18a4ff8c.
Solidity: function decrementNonvotingAccountBalance(address account, uint256 value) returns()
func (*LockedGoldTransactorSession) IncrementNonvotingAccountBalance ¶
func (_LockedGold *LockedGoldTransactorSession) IncrementNonvotingAccountBalance(account common.Address, value *big.Int) (*types.Transaction, error)
IncrementNonvotingAccountBalance is a paid mutator transaction binding the contract method 0x6edf77a5.
Solidity: function incrementNonvotingAccountBalance(address account, uint256 value) returns()
func (*LockedGoldTransactorSession) Initialize ¶
func (_LockedGold *LockedGoldTransactorSession) Initialize(registryAddress common.Address, _unlockingPeriod *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xcd6dc687.
Solidity: function initialize(address registryAddress, uint256 _unlockingPeriod) returns()
func (*LockedGoldTransactorSession) Lock ¶
func (_LockedGold *LockedGoldTransactorSession) Lock() (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0xf83d08ba.
Solidity: function lock() returns()
func (*LockedGoldTransactorSession) Relock ¶
func (_LockedGold *LockedGoldTransactorSession) Relock(index *big.Int, value *big.Int) (*types.Transaction, error)
Relock is a paid mutator transaction binding the contract method 0xb2fb30cb.
Solidity: function relock(uint256 index, uint256 value) returns()
func (*LockedGoldTransactorSession) RemoveSlasher ¶
func (_LockedGold *LockedGoldTransactorSession) RemoveSlasher(slasherIdentifier string, index *big.Int) (*types.Transaction, error)
RemoveSlasher is a paid mutator transaction binding the contract method 0x1fe2dfda.
Solidity: function removeSlasher(string slasherIdentifier, uint256 index) returns()
func (*LockedGoldTransactorSession) RenounceOwnership ¶
func (_LockedGold *LockedGoldTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*LockedGoldTransactorSession) SetRegistry ¶
func (_LockedGold *LockedGoldTransactorSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*LockedGoldTransactorSession) SetUnlockingPeriod ¶
func (_LockedGold *LockedGoldTransactorSession) SetUnlockingPeriod(value *big.Int) (*types.Transaction, error)
SetUnlockingPeriod is a paid mutator transaction binding the contract method 0x66f0633b.
Solidity: function setUnlockingPeriod(uint256 value) returns()
func (*LockedGoldTransactorSession) Slash ¶
func (_LockedGold *LockedGoldTransactorSession) Slash(account common.Address, penalty *big.Int, reporter common.Address, reward *big.Int, lessers []common.Address, greaters []common.Address, indices []*big.Int) (*types.Transaction, error)
Slash is a paid mutator transaction binding the contract method 0x31993fc9.
Solidity: function slash(address account, uint256 penalty, address reporter, uint256 reward, address[] lessers, address[] greaters, uint256[] indices) returns()
func (*LockedGoldTransactorSession) TransferOwnership ¶
func (_LockedGold *LockedGoldTransactorSession) 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 (*LockedGoldTransactorSession) Unlock ¶
func (_LockedGold *LockedGoldTransactorSession) Unlock(value *big.Int) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0x6198e339.
Solidity: function unlock(uint256 value) returns()
func (*LockedGoldTransactorSession) Withdraw ¶
func (_LockedGold *LockedGoldTransactorSession) Withdraw(index *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 index) returns()
type LockedGoldUnlockingPeriodSet ¶
type LockedGoldUnlockingPeriodSet struct {
Period *big.Int
Raw types.Log // Blockchain specific contextual infos
}
LockedGoldUnlockingPeriodSet represents a UnlockingPeriodSet event raised by the LockedGold contract.
type LockedGoldUnlockingPeriodSetIterator ¶
type LockedGoldUnlockingPeriodSetIterator struct {
Event *LockedGoldUnlockingPeriodSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
LockedGoldUnlockingPeriodSetIterator is returned from FilterUnlockingPeriodSet and is used to iterate over the raw logs and unpacked data for UnlockingPeriodSet events raised by the LockedGold contract.
func (*LockedGoldUnlockingPeriodSetIterator) Close ¶
func (it *LockedGoldUnlockingPeriodSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockedGoldUnlockingPeriodSetIterator) Error ¶
func (it *LockedGoldUnlockingPeriodSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockedGoldUnlockingPeriodSetIterator) Next ¶
func (it *LockedGoldUnlockingPeriodSetIterator) 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 Registry ¶
type Registry struct {
RegistryCaller // Read-only binding to the contract
RegistryTransactor // Write-only binding to the contract
RegistryFilterer // Log filterer for contract events
}
Registry is an auto generated Go binding around an Ethereum contract.
func NewRegistry ¶
NewRegistry creates a new instance of Registry, bound to a specific deployed contract.
type RegistryCaller ¶
type RegistryCaller struct {
// contains filtered or unexported fields
}
RegistryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewRegistryCaller ¶
func NewRegistryCaller(address common.Address, caller bind.ContractCaller) (*RegistryCaller, error)
NewRegistryCaller creates a new read-only instance of Registry, bound to a specific deployed contract.
func (*RegistryCaller) GetAddressFor ¶
func (_Registry *RegistryCaller) GetAddressFor(opts *bind.CallOpts, identifierHash [32]byte) (common.Address, error)
GetAddressFor is a free data retrieval call binding the contract method 0xdd927233.
Solidity: function getAddressFor(bytes32 identifierHash) constant returns(address)
func (*RegistryCaller) GetAddressForOrDie ¶
func (_Registry *RegistryCaller) GetAddressForOrDie(opts *bind.CallOpts, identifierHash [32]byte) (common.Address, error)
GetAddressForOrDie is a free data retrieval call binding the contract method 0xdcf0aaed.
Solidity: function getAddressForOrDie(bytes32 identifierHash) constant returns(address)
func (*RegistryCaller) GetAddressForString ¶
func (_Registry *RegistryCaller) GetAddressForString(opts *bind.CallOpts, identifier string) (common.Address, error)
GetAddressForString is a free data retrieval call binding the contract method 0x853db323.
Solidity: function getAddressForString(string identifier) constant returns(address)
func (*RegistryCaller) GetAddressForStringOrDie ¶
func (_Registry *RegistryCaller) GetAddressForStringOrDie(opts *bind.CallOpts, identifier string) (common.Address, error)
GetAddressForStringOrDie is a free data retrieval call binding the contract method 0x8932cbf4.
Solidity: function getAddressForStringOrDie(string identifier) constant returns(address)
func (*RegistryCaller) Initialized ¶
func (_Registry *RegistryCaller) Initialized(opts *bind.CallOpts) (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*RegistryCaller) IsOneOf ¶
func (_Registry *RegistryCaller) IsOneOf(opts *bind.CallOpts, identifierHashes [][32]byte, sender common.Address) (bool, error)
IsOneOf is a free data retrieval call binding the contract method 0x17c50818.
Solidity: function isOneOf(bytes32[] identifierHashes, address sender) constant returns(bool)
func (*RegistryCaller) IsOwner ¶
func (_Registry *RegistryCaller) IsOwner(opts *bind.CallOpts) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
type RegistryCallerRaw ¶
type RegistryCallerRaw struct {
Contract *RegistryCaller // Generic read-only contract binding to access the raw methods on
}
RegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*RegistryCallerRaw) Call ¶
func (_Registry *RegistryCallerRaw) 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 RegistryCallerSession ¶
type RegistryCallerSession struct {
Contract *RegistryCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
RegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*RegistryCallerSession) GetAddressFor ¶
func (_Registry *RegistryCallerSession) GetAddressFor(identifierHash [32]byte) (common.Address, error)
GetAddressFor is a free data retrieval call binding the contract method 0xdd927233.
Solidity: function getAddressFor(bytes32 identifierHash) constant returns(address)
func (*RegistryCallerSession) GetAddressForOrDie ¶
func (_Registry *RegistryCallerSession) GetAddressForOrDie(identifierHash [32]byte) (common.Address, error)
GetAddressForOrDie is a free data retrieval call binding the contract method 0xdcf0aaed.
Solidity: function getAddressForOrDie(bytes32 identifierHash) constant returns(address)
func (*RegistryCallerSession) GetAddressForString ¶
func (_Registry *RegistryCallerSession) GetAddressForString(identifier string) (common.Address, error)
GetAddressForString is a free data retrieval call binding the contract method 0x853db323.
Solidity: function getAddressForString(string identifier) constant returns(address)
func (*RegistryCallerSession) GetAddressForStringOrDie ¶
func (_Registry *RegistryCallerSession) GetAddressForStringOrDie(identifier string) (common.Address, error)
GetAddressForStringOrDie is a free data retrieval call binding the contract method 0x8932cbf4.
Solidity: function getAddressForStringOrDie(string identifier) constant returns(address)
func (*RegistryCallerSession) Initialized ¶
func (_Registry *RegistryCallerSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*RegistryCallerSession) IsOneOf ¶
func (_Registry *RegistryCallerSession) IsOneOf(identifierHashes [][32]byte, sender common.Address) (bool, error)
IsOneOf is a free data retrieval call binding the contract method 0x17c50818.
Solidity: function isOneOf(bytes32[] identifierHashes, address sender) constant returns(bool)
func (*RegistryCallerSession) IsOwner ¶
func (_Registry *RegistryCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
type RegistryFilterer ¶
type RegistryFilterer struct {
// contains filtered or unexported fields
}
RegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewRegistryFilterer ¶
func NewRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*RegistryFilterer, error)
NewRegistryFilterer creates a new log filterer instance of Registry, bound to a specific deployed contract.
func (*RegistryFilterer) FilterOwnershipTransferred ¶
func (_Registry *RegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*RegistryOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*RegistryFilterer) FilterRegistryUpdated ¶
func (_Registry *RegistryFilterer) FilterRegistryUpdated(opts *bind.FilterOpts, identifierHash [][32]byte) (*RegistryRegistryUpdatedIterator, error)
FilterRegistryUpdated is a free log retrieval operation binding the contract event 0x4166d073a7a5e704ce0db7113320f88da2457f872d46dc020c805c562c1582a0.
Solidity: event RegistryUpdated(string identifier, bytes32 indexed identifierHash, address addr)
func (*RegistryFilterer) ParseOwnershipTransferred ¶
func (_Registry *RegistryFilterer) ParseOwnershipTransferred(log types.Log) (*RegistryOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*RegistryFilterer) ParseRegistryUpdated ¶
func (_Registry *RegistryFilterer) ParseRegistryUpdated(log types.Log) (*RegistryRegistryUpdated, error)
ParseRegistryUpdated is a log parse operation binding the contract event 0x4166d073a7a5e704ce0db7113320f88da2457f872d46dc020c805c562c1582a0.
Solidity: event RegistryUpdated(string identifier, bytes32 indexed identifierHash, address addr)
func (*RegistryFilterer) TryParseLog ¶
func (_Registry *RegistryFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
TryParseLog attempts to parse a log. Returns the parsed log, eventName and whether it was successful
func (*RegistryFilterer) WatchOwnershipTransferred ¶
func (_Registry *RegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *RegistryOwnershipTransferred, 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 (*RegistryFilterer) WatchRegistryUpdated ¶
func (_Registry *RegistryFilterer) WatchRegistryUpdated(opts *bind.WatchOpts, sink chan<- *RegistryRegistryUpdated, identifierHash [][32]byte) (event.Subscription, error)
WatchRegistryUpdated is a free log subscription operation binding the contract event 0x4166d073a7a5e704ce0db7113320f88da2457f872d46dc020c805c562c1582a0.
Solidity: event RegistryUpdated(string identifier, bytes32 indexed identifierHash, address addr)
type RegistryOwnershipTransferred ¶
type RegistryOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
RegistryOwnershipTransferred represents a OwnershipTransferred event raised by the Registry contract.
type RegistryOwnershipTransferredIterator ¶
type RegistryOwnershipTransferredIterator struct {
Event *RegistryOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
RegistryOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Registry contract.
func (*RegistryOwnershipTransferredIterator) Close ¶
func (it *RegistryOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RegistryOwnershipTransferredIterator) Error ¶
func (it *RegistryOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RegistryOwnershipTransferredIterator) Next ¶
func (it *RegistryOwnershipTransferredIterator) 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 RegistryRaw ¶
type RegistryRaw struct {
Contract *Registry // Generic contract binding to access the raw methods on
}
RegistryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*RegistryRaw) Call ¶
func (_Registry *RegistryRaw) 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 (*RegistryRaw) Transact ¶
func (_Registry *RegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RegistryRaw) Transfer ¶
func (_Registry *RegistryRaw) 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 RegistryRegistryUpdated ¶
type RegistryRegistryUpdated struct {
Identifier string
IdentifierHash [32]byte
Addr common.Address
Raw types.Log // Blockchain specific contextual infos
}
RegistryRegistryUpdated represents a RegistryUpdated event raised by the Registry contract.
type RegistryRegistryUpdatedIterator ¶
type RegistryRegistryUpdatedIterator struct {
Event *RegistryRegistryUpdated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
RegistryRegistryUpdatedIterator is returned from FilterRegistryUpdated and is used to iterate over the raw logs and unpacked data for RegistryUpdated events raised by the Registry contract.
func (*RegistryRegistryUpdatedIterator) Close ¶
func (it *RegistryRegistryUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RegistryRegistryUpdatedIterator) Error ¶
func (it *RegistryRegistryUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RegistryRegistryUpdatedIterator) Next ¶
func (it *RegistryRegistryUpdatedIterator) 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 RegistrySession ¶
type RegistrySession struct {
Contract *Registry // 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
}
RegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*RegistrySession) GetAddressFor ¶
func (_Registry *RegistrySession) GetAddressFor(identifierHash [32]byte) (common.Address, error)
GetAddressFor is a free data retrieval call binding the contract method 0xdd927233.
Solidity: function getAddressFor(bytes32 identifierHash) constant returns(address)
func (*RegistrySession) GetAddressForOrDie ¶
func (_Registry *RegistrySession) GetAddressForOrDie(identifierHash [32]byte) (common.Address, error)
GetAddressForOrDie is a free data retrieval call binding the contract method 0xdcf0aaed.
Solidity: function getAddressForOrDie(bytes32 identifierHash) constant returns(address)
func (*RegistrySession) GetAddressForString ¶
func (_Registry *RegistrySession) GetAddressForString(identifier string) (common.Address, error)
GetAddressForString is a free data retrieval call binding the contract method 0x853db323.
Solidity: function getAddressForString(string identifier) constant returns(address)
func (*RegistrySession) GetAddressForStringOrDie ¶
func (_Registry *RegistrySession) GetAddressForStringOrDie(identifier string) (common.Address, error)
GetAddressForStringOrDie is a free data retrieval call binding the contract method 0x8932cbf4.
Solidity: function getAddressForStringOrDie(string identifier) constant returns(address)
func (*RegistrySession) Initialize ¶
func (_Registry *RegistrySession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*RegistrySession) Initialized ¶
func (_Registry *RegistrySession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*RegistrySession) IsOneOf ¶
func (_Registry *RegistrySession) IsOneOf(identifierHashes [][32]byte, sender common.Address) (bool, error)
IsOneOf is a free data retrieval call binding the contract method 0x17c50818.
Solidity: function isOneOf(bytes32[] identifierHashes, address sender) constant returns(bool)
func (*RegistrySession) IsOwner ¶
func (_Registry *RegistrySession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*RegistrySession) Owner ¶
func (_Registry *RegistrySession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*RegistrySession) Registry ¶
func (_Registry *RegistrySession) Registry(arg0 [32]byte) (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7ef50298.
Solidity: function registry(bytes32 ) constant returns(address)
func (*RegistrySession) RenounceOwnership ¶
func (_Registry *RegistrySession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*RegistrySession) SetAddressFor ¶
func (_Registry *RegistrySession) SetAddressFor(identifier string, addr common.Address) (*types.Transaction, error)
SetAddressFor is a paid mutator transaction binding the contract method 0xc5865793.
Solidity: function setAddressFor(string identifier, address addr) returns()
func (*RegistrySession) TransferOwnership ¶
func (_Registry *RegistrySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type RegistryTransactor ¶
type RegistryTransactor struct {
// contains filtered or unexported fields
}
RegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewRegistryTransactor ¶
func NewRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*RegistryTransactor, error)
NewRegistryTransactor creates a new write-only instance of Registry, bound to a specific deployed contract.
func (*RegistryTransactor) Initialize ¶
func (_Registry *RegistryTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*RegistryTransactor) RenounceOwnership ¶
func (_Registry *RegistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*RegistryTransactor) SetAddressFor ¶
func (_Registry *RegistryTransactor) SetAddressFor(opts *bind.TransactOpts, identifier string, addr common.Address) (*types.Transaction, error)
SetAddressFor is a paid mutator transaction binding the contract method 0xc5865793.
Solidity: function setAddressFor(string identifier, address addr) returns()
func (*RegistryTransactor) TransferOwnership ¶
func (_Registry *RegistryTransactor) 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()
type RegistryTransactorRaw ¶
type RegistryTransactorRaw struct {
Contract *RegistryTransactor // Generic write-only contract binding to access the raw methods on
}
RegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*RegistryTransactorRaw) Transact ¶
func (_Registry *RegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RegistryTransactorRaw) Transfer ¶
func (_Registry *RegistryTransactorRaw) 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 RegistryTransactorSession ¶
type RegistryTransactorSession struct {
Contract *RegistryTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
RegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*RegistryTransactorSession) Initialize ¶
func (_Registry *RegistryTransactorSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*RegistryTransactorSession) RenounceOwnership ¶
func (_Registry *RegistryTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*RegistryTransactorSession) SetAddressFor ¶
func (_Registry *RegistryTransactorSession) SetAddressFor(identifier string, addr common.Address) (*types.Transaction, error)
SetAddressFor is a paid mutator transaction binding the contract method 0xc5865793.
Solidity: function setAddressFor(string identifier, address addr) returns()
func (*RegistryTransactorSession) TransferOwnership ¶
func (_Registry *RegistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type StableToken ¶
type StableToken struct {
StableTokenCaller // Read-only binding to the contract
StableTokenTransactor // Write-only binding to the contract
StableTokenFilterer // Log filterer for contract events
}
StableToken is an auto generated Go binding around an Ethereum contract.
func NewStableToken ¶
func NewStableToken(address common.Address, backend bind.ContractBackend) (*StableToken, error)
NewStableToken creates a new instance of StableToken, bound to a specific deployed contract.
type StableTokenApproval ¶
type StableTokenApproval struct {
Owner common.Address
Spender common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
StableTokenApproval represents a Approval event raised by the StableToken contract.
type StableTokenApprovalIterator ¶
type StableTokenApprovalIterator struct {
Event *StableTokenApproval // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StableTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the StableToken contract.
func (*StableTokenApprovalIterator) Close ¶
func (it *StableTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableTokenApprovalIterator) Error ¶
func (it *StableTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableTokenApprovalIterator) Next ¶
func (it *StableTokenApprovalIterator) 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 StableTokenCaller ¶
type StableTokenCaller struct {
// contains filtered or unexported fields
}
StableTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStableTokenCaller ¶
func NewStableTokenCaller(address common.Address, caller bind.ContractCaller) (*StableTokenCaller, error)
NewStableTokenCaller creates a new read-only instance of StableToken, bound to a specific deployed contract.
func (*StableTokenCaller) Allowance ¶
func (_StableToken *StableTokenCaller) Allowance(opts *bind.CallOpts, accountOwner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address accountOwner, address spender) constant returns(uint256)
func (*StableTokenCaller) BalanceOf ¶
func (_StableToken *StableTokenCaller) BalanceOf(opts *bind.CallOpts, accountOwner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address accountOwner) constant returns(uint256)
func (*StableTokenCaller) CheckProofOfPossession ¶
func (_StableToken *StableTokenCaller) CheckProofOfPossession(opts *bind.CallOpts, sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
CheckProofOfPossession is a free data retrieval call binding the contract method 0x23f0ab65.
Solidity: function checkProofOfPossession(address sender, bytes blsKey, bytes blsPop) constant returns(bool)
func (*StableTokenCaller) Decimals ¶
func (_StableToken *StableTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*StableTokenCaller) FractionMulExp ¶
func (_StableToken *StableTokenCaller) FractionMulExp(opts *bind.CallOpts, aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, bDenominator *big.Int, exponent *big.Int, _decimals *big.Int) (*big.Int, *big.Int, error)
FractionMulExp is a free data retrieval call binding the contract method 0xec683072.
Solidity: function fractionMulExp(uint256 aNumerator, uint256 aDenominator, uint256 bNumerator, uint256 bDenominator, uint256 exponent, uint256 _decimals) constant returns(uint256, uint256)
func (*StableTokenCaller) GetBlockNumberFromHeader ¶
func (_StableToken *StableTokenCaller) GetBlockNumberFromHeader(opts *bind.CallOpts, header []byte) (*big.Int, error)
GetBlockNumberFromHeader is a free data retrieval call binding the contract method 0x8a883626.
Solidity: function getBlockNumberFromHeader(bytes header) constant returns(uint256)
func (*StableTokenCaller) GetEpochNumber ¶
GetEpochNumber is a free data retrieval call binding the contract method 0x9a7b3be7.
Solidity: function getEpochNumber() constant returns(uint256)
func (*StableTokenCaller) GetEpochNumberOfBlock ¶
func (_StableToken *StableTokenCaller) GetEpochNumberOfBlock(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
GetEpochNumberOfBlock is a free data retrieval call binding the contract method 0x3b1eb4bf.
Solidity: function getEpochNumberOfBlock(uint256 blockNumber) constant returns(uint256)
func (*StableTokenCaller) GetEpochSize ¶
GetEpochSize is a free data retrieval call binding the contract method 0xdf4da461.
Solidity: function getEpochSize() constant returns(uint256)
func (*StableTokenCaller) GetInflationParameters ¶
func (_StableToken *StableTokenCaller) GetInflationParameters(opts *bind.CallOpts) (*big.Int, *big.Int, *big.Int, *big.Int, error)
GetInflationParameters is a free data retrieval call binding the contract method 0xa67f8747.
Solidity: function getInflationParameters() constant returns(uint256, uint256, uint256, uint256)
func (*StableTokenCaller) GetParentSealBitmap ¶
func (_StableToken *StableTokenCaller) GetParentSealBitmap(opts *bind.CallOpts, blockNumber *big.Int) ([32]byte, error)
GetParentSealBitmap is a free data retrieval call binding the contract method 0xfae8db0a.
Solidity: function getParentSealBitmap(uint256 blockNumber) constant returns(bytes32)
func (*StableTokenCaller) GetVerifiedSealBitmapFromHeader ¶
func (_StableToken *StableTokenCaller) GetVerifiedSealBitmapFromHeader(opts *bind.CallOpts, header []byte) ([32]byte, error)
GetVerifiedSealBitmapFromHeader is a free data retrieval call binding the contract method 0x4b2c2f44.
Solidity: function getVerifiedSealBitmapFromHeader(bytes header) constant returns(bytes32)
func (*StableTokenCaller) HashHeader ¶
func (_StableToken *StableTokenCaller) HashHeader(opts *bind.CallOpts, header []byte) ([32]byte, error)
HashHeader is a free data retrieval call binding the contract method 0x67960e91.
Solidity: function hashHeader(bytes header) constant returns(bytes32)
func (*StableTokenCaller) Initialized ¶
func (_StableToken *StableTokenCaller) Initialized(opts *bind.CallOpts) (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*StableTokenCaller) IsOwner ¶
func (_StableToken *StableTokenCaller) IsOwner(opts *bind.CallOpts) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*StableTokenCaller) MinQuorumSize ¶
func (_StableToken *StableTokenCaller) MinQuorumSize(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
MinQuorumSize is a free data retrieval call binding the contract method 0xe50e652d.
Solidity: function minQuorumSize(uint256 blockNumber) constant returns(uint256)
func (*StableTokenCaller) MinQuorumSizeInCurrentSet ¶
func (_StableToken *StableTokenCaller) MinQuorumSizeInCurrentSet(opts *bind.CallOpts) (*big.Int, error)
MinQuorumSizeInCurrentSet is a free data retrieval call binding the contract method 0x7385e5da.
Solidity: function minQuorumSizeInCurrentSet() constant returns(uint256)
func (*StableTokenCaller) Name ¶
func (_StableToken *StableTokenCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*StableTokenCaller) NumberValidatorsInCurrentSet ¶
func (_StableToken *StableTokenCaller) NumberValidatorsInCurrentSet(opts *bind.CallOpts) (*big.Int, error)
NumberValidatorsInCurrentSet is a free data retrieval call binding the contract method 0x87ee8a0f.
Solidity: function numberValidatorsInCurrentSet() constant returns(uint256)
func (*StableTokenCaller) NumberValidatorsInSet ¶
func (_StableToken *StableTokenCaller) NumberValidatorsInSet(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
NumberValidatorsInSet is a free data retrieval call binding the contract method 0x9b2b592f.
Solidity: function numberValidatorsInSet(uint256 blockNumber) constant returns(uint256)
func (*StableTokenCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*StableTokenCaller) Registry ¶
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*StableTokenCaller) Symbol ¶
func (_StableToken *StableTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*StableTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*StableTokenCaller) UnitsToValue ¶
func (_StableToken *StableTokenCaller) UnitsToValue(opts *bind.CallOpts, units *big.Int) (*big.Int, error)
UnitsToValue is a free data retrieval call binding the contract method 0xaf31f587.
Solidity: function unitsToValue(uint256 units) constant returns(uint256)
func (*StableTokenCaller) ValidatorSignerAddressFromCurrentSet ¶
func (_StableToken *StableTokenCaller) ValidatorSignerAddressFromCurrentSet(opts *bind.CallOpts, index *big.Int) (common.Address, error)
ValidatorSignerAddressFromCurrentSet is a free data retrieval call binding the contract method 0x123633ea.
Solidity: function validatorSignerAddressFromCurrentSet(uint256 index) constant returns(address)
func (*StableTokenCaller) ValidatorSignerAddressFromSet ¶
func (_StableToken *StableTokenCaller) ValidatorSignerAddressFromSet(opts *bind.CallOpts, index *big.Int, blockNumber *big.Int) (common.Address, error)
ValidatorSignerAddressFromSet is a free data retrieval call binding the contract method 0x5d180adb.
Solidity: function validatorSignerAddressFromSet(uint256 index, uint256 blockNumber) constant returns(address)
func (*StableTokenCaller) ValueToUnits ¶
func (_StableToken *StableTokenCaller) ValueToUnits(opts *bind.CallOpts, value *big.Int) (*big.Int, error)
ValueToUnits is a free data retrieval call binding the contract method 0x12c6c099.
Solidity: function valueToUnits(uint256 value) constant returns(uint256)
type StableTokenCallerRaw ¶
type StableTokenCallerRaw struct {
Contract *StableTokenCaller // Generic read-only contract binding to access the raw methods on
}
StableTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StableTokenCallerRaw) Call ¶
func (_StableToken *StableTokenCallerRaw) 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 StableTokenCallerSession ¶
type StableTokenCallerSession struct {
Contract *StableTokenCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
StableTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StableTokenCallerSession) Allowance ¶
func (_StableToken *StableTokenCallerSession) Allowance(accountOwner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address accountOwner, address spender) constant returns(uint256)
func (*StableTokenCallerSession) BalanceOf ¶
func (_StableToken *StableTokenCallerSession) BalanceOf(accountOwner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address accountOwner) constant returns(uint256)
func (*StableTokenCallerSession) CheckProofOfPossession ¶
func (_StableToken *StableTokenCallerSession) CheckProofOfPossession(sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
CheckProofOfPossession is a free data retrieval call binding the contract method 0x23f0ab65.
Solidity: function checkProofOfPossession(address sender, bytes blsKey, bytes blsPop) constant returns(bool)
func (*StableTokenCallerSession) Decimals ¶
func (_StableToken *StableTokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*StableTokenCallerSession) FractionMulExp ¶
func (_StableToken *StableTokenCallerSession) FractionMulExp(aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, bDenominator *big.Int, exponent *big.Int, _decimals *big.Int) (*big.Int, *big.Int, error)
FractionMulExp is a free data retrieval call binding the contract method 0xec683072.
Solidity: function fractionMulExp(uint256 aNumerator, uint256 aDenominator, uint256 bNumerator, uint256 bDenominator, uint256 exponent, uint256 _decimals) constant returns(uint256, uint256)
func (*StableTokenCallerSession) GetBlockNumberFromHeader ¶
func (_StableToken *StableTokenCallerSession) GetBlockNumberFromHeader(header []byte) (*big.Int, error)
GetBlockNumberFromHeader is a free data retrieval call binding the contract method 0x8a883626.
Solidity: function getBlockNumberFromHeader(bytes header) constant returns(uint256)
func (*StableTokenCallerSession) GetEpochNumber ¶
func (_StableToken *StableTokenCallerSession) GetEpochNumber() (*big.Int, error)
GetEpochNumber is a free data retrieval call binding the contract method 0x9a7b3be7.
Solidity: function getEpochNumber() constant returns(uint256)
func (*StableTokenCallerSession) GetEpochNumberOfBlock ¶
func (_StableToken *StableTokenCallerSession) GetEpochNumberOfBlock(blockNumber *big.Int) (*big.Int, error)
GetEpochNumberOfBlock is a free data retrieval call binding the contract method 0x3b1eb4bf.
Solidity: function getEpochNumberOfBlock(uint256 blockNumber) constant returns(uint256)
func (*StableTokenCallerSession) GetEpochSize ¶
func (_StableToken *StableTokenCallerSession) GetEpochSize() (*big.Int, error)
GetEpochSize is a free data retrieval call binding the contract method 0xdf4da461.
Solidity: function getEpochSize() constant returns(uint256)
func (*StableTokenCallerSession) GetInflationParameters ¶
func (_StableToken *StableTokenCallerSession) GetInflationParameters() (*big.Int, *big.Int, *big.Int, *big.Int, error)
GetInflationParameters is a free data retrieval call binding the contract method 0xa67f8747.
Solidity: function getInflationParameters() constant returns(uint256, uint256, uint256, uint256)
func (*StableTokenCallerSession) GetParentSealBitmap ¶
func (_StableToken *StableTokenCallerSession) GetParentSealBitmap(blockNumber *big.Int) ([32]byte, error)
GetParentSealBitmap is a free data retrieval call binding the contract method 0xfae8db0a.
Solidity: function getParentSealBitmap(uint256 blockNumber) constant returns(bytes32)
func (*StableTokenCallerSession) GetVerifiedSealBitmapFromHeader ¶
func (_StableToken *StableTokenCallerSession) GetVerifiedSealBitmapFromHeader(header []byte) ([32]byte, error)
GetVerifiedSealBitmapFromHeader is a free data retrieval call binding the contract method 0x4b2c2f44.
Solidity: function getVerifiedSealBitmapFromHeader(bytes header) constant returns(bytes32)
func (*StableTokenCallerSession) HashHeader ¶
func (_StableToken *StableTokenCallerSession) HashHeader(header []byte) ([32]byte, error)
HashHeader is a free data retrieval call binding the contract method 0x67960e91.
Solidity: function hashHeader(bytes header) constant returns(bytes32)
func (*StableTokenCallerSession) Initialized ¶
func (_StableToken *StableTokenCallerSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*StableTokenCallerSession) IsOwner ¶
func (_StableToken *StableTokenCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*StableTokenCallerSession) MinQuorumSize ¶
MinQuorumSize is a free data retrieval call binding the contract method 0xe50e652d.
Solidity: function minQuorumSize(uint256 blockNumber) constant returns(uint256)
func (*StableTokenCallerSession) MinQuorumSizeInCurrentSet ¶
func (_StableToken *StableTokenCallerSession) MinQuorumSizeInCurrentSet() (*big.Int, error)
MinQuorumSizeInCurrentSet is a free data retrieval call binding the contract method 0x7385e5da.
Solidity: function minQuorumSizeInCurrentSet() constant returns(uint256)
func (*StableTokenCallerSession) Name ¶
func (_StableToken *StableTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*StableTokenCallerSession) NumberValidatorsInCurrentSet ¶
func (_StableToken *StableTokenCallerSession) NumberValidatorsInCurrentSet() (*big.Int, error)
NumberValidatorsInCurrentSet is a free data retrieval call binding the contract method 0x87ee8a0f.
Solidity: function numberValidatorsInCurrentSet() constant returns(uint256)
func (*StableTokenCallerSession) NumberValidatorsInSet ¶
func (_StableToken *StableTokenCallerSession) NumberValidatorsInSet(blockNumber *big.Int) (*big.Int, error)
NumberValidatorsInSet is a free data retrieval call binding the contract method 0x9b2b592f.
Solidity: function numberValidatorsInSet(uint256 blockNumber) constant returns(uint256)
func (*StableTokenCallerSession) Owner ¶
func (_StableToken *StableTokenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*StableTokenCallerSession) Registry ¶
func (_StableToken *StableTokenCallerSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*StableTokenCallerSession) Symbol ¶
func (_StableToken *StableTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*StableTokenCallerSession) TotalSupply ¶
func (_StableToken *StableTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*StableTokenCallerSession) UnitsToValue ¶
UnitsToValue is a free data retrieval call binding the contract method 0xaf31f587.
Solidity: function unitsToValue(uint256 units) constant returns(uint256)
func (*StableTokenCallerSession) ValidatorSignerAddressFromCurrentSet ¶
func (_StableToken *StableTokenCallerSession) ValidatorSignerAddressFromCurrentSet(index *big.Int) (common.Address, error)
ValidatorSignerAddressFromCurrentSet is a free data retrieval call binding the contract method 0x123633ea.
Solidity: function validatorSignerAddressFromCurrentSet(uint256 index) constant returns(address)
func (*StableTokenCallerSession) ValidatorSignerAddressFromSet ¶
func (_StableToken *StableTokenCallerSession) ValidatorSignerAddressFromSet(index *big.Int, blockNumber *big.Int) (common.Address, error)
ValidatorSignerAddressFromSet is a free data retrieval call binding the contract method 0x5d180adb.
Solidity: function validatorSignerAddressFromSet(uint256 index, uint256 blockNumber) constant returns(address)
func (*StableTokenCallerSession) ValueToUnits ¶
ValueToUnits is a free data retrieval call binding the contract method 0x12c6c099.
Solidity: function valueToUnits(uint256 value) constant returns(uint256)
type StableTokenFilterer ¶
type StableTokenFilterer struct {
// contains filtered or unexported fields
}
StableTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStableTokenFilterer ¶
func NewStableTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*StableTokenFilterer, error)
NewStableTokenFilterer creates a new log filterer instance of StableToken, bound to a specific deployed contract.
func (*StableTokenFilterer) FilterApproval ¶
func (_StableToken *StableTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StableTokenApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*StableTokenFilterer) FilterInflationFactorUpdated ¶
func (_StableToken *StableTokenFilterer) FilterInflationFactorUpdated(opts *bind.FilterOpts) (*StableTokenInflationFactorUpdatedIterator, error)
FilterInflationFactorUpdated is a free log retrieval operation binding the contract event 0x08f3ed03ec9e579d1f6ab2f9e0d3dc661704696deabe37a6b6df7014f1b30a97.
Solidity: event InflationFactorUpdated(uint256 factor, uint256 lastUpdated)
func (*StableTokenFilterer) FilterInflationParametersUpdated ¶
func (_StableToken *StableTokenFilterer) FilterInflationParametersUpdated(opts *bind.FilterOpts) (*StableTokenInflationParametersUpdatedIterator, error)
FilterInflationParametersUpdated is a free log retrieval operation binding the contract event 0xa0035d6667ffb7d387c86c7228141c4a877e8ed831b267ac928a2f5b651c155d.
Solidity: event InflationParametersUpdated(uint256 rate, uint256 updatePeriod, uint256 lastUpdated)
func (*StableTokenFilterer) FilterOwnershipTransferred ¶
func (_StableToken *StableTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*StableTokenOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*StableTokenFilterer) FilterRegistrySet ¶
func (_StableToken *StableTokenFilterer) FilterRegistrySet(opts *bind.FilterOpts, registryAddress []common.Address) (*StableTokenRegistrySetIterator, error)
FilterRegistrySet is a free log retrieval operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*StableTokenFilterer) FilterTransfer ¶
func (_StableToken *StableTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StableTokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*StableTokenFilterer) FilterTransferComment ¶
func (_StableToken *StableTokenFilterer) FilterTransferComment(opts *bind.FilterOpts) (*StableTokenTransferCommentIterator, error)
FilterTransferComment is a free log retrieval operation binding the contract event 0xe5d4e30fb8364e57bc4d662a07d0cf36f4c34552004c4c3624620a2c1d1c03dc.
Solidity: event TransferComment(string comment)
func (*StableTokenFilterer) ParseApproval ¶
func (_StableToken *StableTokenFilterer) ParseApproval(log types.Log) (*StableTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*StableTokenFilterer) ParseInflationFactorUpdated ¶
func (_StableToken *StableTokenFilterer) ParseInflationFactorUpdated(log types.Log) (*StableTokenInflationFactorUpdated, error)
ParseInflationFactorUpdated is a log parse operation binding the contract event 0x08f3ed03ec9e579d1f6ab2f9e0d3dc661704696deabe37a6b6df7014f1b30a97.
Solidity: event InflationFactorUpdated(uint256 factor, uint256 lastUpdated)
func (*StableTokenFilterer) ParseInflationParametersUpdated ¶
func (_StableToken *StableTokenFilterer) ParseInflationParametersUpdated(log types.Log) (*StableTokenInflationParametersUpdated, error)
ParseInflationParametersUpdated is a log parse operation binding the contract event 0xa0035d6667ffb7d387c86c7228141c4a877e8ed831b267ac928a2f5b651c155d.
Solidity: event InflationParametersUpdated(uint256 rate, uint256 updatePeriod, uint256 lastUpdated)
func (*StableTokenFilterer) ParseOwnershipTransferred ¶
func (_StableToken *StableTokenFilterer) ParseOwnershipTransferred(log types.Log) (*StableTokenOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*StableTokenFilterer) ParseRegistrySet ¶
func (_StableToken *StableTokenFilterer) ParseRegistrySet(log types.Log) (*StableTokenRegistrySet, error)
ParseRegistrySet is a log parse operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*StableTokenFilterer) ParseTransfer ¶
func (_StableToken *StableTokenFilterer) ParseTransfer(log types.Log) (*StableTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*StableTokenFilterer) ParseTransferComment ¶
func (_StableToken *StableTokenFilterer) ParseTransferComment(log types.Log) (*StableTokenTransferComment, error)
ParseTransferComment is a log parse operation binding the contract event 0xe5d4e30fb8364e57bc4d662a07d0cf36f4c34552004c4c3624620a2c1d1c03dc.
Solidity: event TransferComment(string comment)
func (*StableTokenFilterer) TryParseLog ¶
func (_StableToken *StableTokenFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
TryParseLog attempts to parse a log. Returns the parsed log, eventName and whether it was successful
func (*StableTokenFilterer) WatchApproval ¶
func (_StableToken *StableTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *StableTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*StableTokenFilterer) WatchInflationFactorUpdated ¶
func (_StableToken *StableTokenFilterer) WatchInflationFactorUpdated(opts *bind.WatchOpts, sink chan<- *StableTokenInflationFactorUpdated) (event.Subscription, error)
WatchInflationFactorUpdated is a free log subscription operation binding the contract event 0x08f3ed03ec9e579d1f6ab2f9e0d3dc661704696deabe37a6b6df7014f1b30a97.
Solidity: event InflationFactorUpdated(uint256 factor, uint256 lastUpdated)
func (*StableTokenFilterer) WatchInflationParametersUpdated ¶
func (_StableToken *StableTokenFilterer) WatchInflationParametersUpdated(opts *bind.WatchOpts, sink chan<- *StableTokenInflationParametersUpdated) (event.Subscription, error)
WatchInflationParametersUpdated is a free log subscription operation binding the contract event 0xa0035d6667ffb7d387c86c7228141c4a877e8ed831b267ac928a2f5b651c155d.
Solidity: event InflationParametersUpdated(uint256 rate, uint256 updatePeriod, uint256 lastUpdated)
func (*StableTokenFilterer) WatchOwnershipTransferred ¶
func (_StableToken *StableTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *StableTokenOwnershipTransferred, 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 (*StableTokenFilterer) WatchRegistrySet ¶
func (_StableToken *StableTokenFilterer) WatchRegistrySet(opts *bind.WatchOpts, sink chan<- *StableTokenRegistrySet, registryAddress []common.Address) (event.Subscription, error)
WatchRegistrySet is a free log subscription operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*StableTokenFilterer) WatchTransfer ¶
func (_StableToken *StableTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StableTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*StableTokenFilterer) WatchTransferComment ¶
func (_StableToken *StableTokenFilterer) WatchTransferComment(opts *bind.WatchOpts, sink chan<- *StableTokenTransferComment) (event.Subscription, error)
WatchTransferComment is a free log subscription operation binding the contract event 0xe5d4e30fb8364e57bc4d662a07d0cf36f4c34552004c4c3624620a2c1d1c03dc.
Solidity: event TransferComment(string comment)
type StableTokenInflationFactorUpdated ¶
type StableTokenInflationFactorUpdated struct {
Factor *big.Int
LastUpdated *big.Int
Raw types.Log // Blockchain specific contextual infos
}
StableTokenInflationFactorUpdated represents a InflationFactorUpdated event raised by the StableToken contract.
type StableTokenInflationFactorUpdatedIterator ¶
type StableTokenInflationFactorUpdatedIterator struct {
Event *StableTokenInflationFactorUpdated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StableTokenInflationFactorUpdatedIterator is returned from FilterInflationFactorUpdated and is used to iterate over the raw logs and unpacked data for InflationFactorUpdated events raised by the StableToken contract.
func (*StableTokenInflationFactorUpdatedIterator) Close ¶
func (it *StableTokenInflationFactorUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableTokenInflationFactorUpdatedIterator) Error ¶
func (it *StableTokenInflationFactorUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableTokenInflationFactorUpdatedIterator) Next ¶
func (it *StableTokenInflationFactorUpdatedIterator) 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 StableTokenInflationParametersUpdated ¶
type StableTokenInflationParametersUpdated struct {
Rate *big.Int
UpdatePeriod *big.Int
LastUpdated *big.Int
Raw types.Log // Blockchain specific contextual infos
}
StableTokenInflationParametersUpdated represents a InflationParametersUpdated event raised by the StableToken contract.
type StableTokenInflationParametersUpdatedIterator ¶
type StableTokenInflationParametersUpdatedIterator struct {
Event *StableTokenInflationParametersUpdated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StableTokenInflationParametersUpdatedIterator is returned from FilterInflationParametersUpdated and is used to iterate over the raw logs and unpacked data for InflationParametersUpdated events raised by the StableToken contract.
func (*StableTokenInflationParametersUpdatedIterator) Close ¶
func (it *StableTokenInflationParametersUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableTokenInflationParametersUpdatedIterator) Error ¶
func (it *StableTokenInflationParametersUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableTokenInflationParametersUpdatedIterator) Next ¶
func (it *StableTokenInflationParametersUpdatedIterator) 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 StableTokenOwnershipTransferred ¶
type StableTokenOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
StableTokenOwnershipTransferred represents a OwnershipTransferred event raised by the StableToken contract.
type StableTokenOwnershipTransferredIterator ¶
type StableTokenOwnershipTransferredIterator struct {
Event *StableTokenOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StableTokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the StableToken contract.
func (*StableTokenOwnershipTransferredIterator) Close ¶
func (it *StableTokenOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableTokenOwnershipTransferredIterator) Error ¶
func (it *StableTokenOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableTokenOwnershipTransferredIterator) Next ¶
func (it *StableTokenOwnershipTransferredIterator) 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 StableTokenRaw ¶
type StableTokenRaw struct {
Contract *StableToken // Generic contract binding to access the raw methods on
}
StableTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StableTokenRaw) Call ¶
func (_StableToken *StableTokenRaw) 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 (*StableTokenRaw) Transact ¶
func (_StableToken *StableTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StableTokenRaw) Transfer ¶
func (_StableToken *StableTokenRaw) 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 StableTokenRegistrySet ¶
type StableTokenRegistrySet struct {
RegistryAddress common.Address
Raw types.Log // Blockchain specific contextual infos
}
StableTokenRegistrySet represents a RegistrySet event raised by the StableToken contract.
type StableTokenRegistrySetIterator ¶
type StableTokenRegistrySetIterator struct {
Event *StableTokenRegistrySet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StableTokenRegistrySetIterator is returned from FilterRegistrySet and is used to iterate over the raw logs and unpacked data for RegistrySet events raised by the StableToken contract.
func (*StableTokenRegistrySetIterator) Close ¶
func (it *StableTokenRegistrySetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableTokenRegistrySetIterator) Error ¶
func (it *StableTokenRegistrySetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableTokenRegistrySetIterator) Next ¶
func (it *StableTokenRegistrySetIterator) 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 StableTokenSession ¶
type StableTokenSession struct {
Contract *StableToken // 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
}
StableTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StableTokenSession) Allowance ¶
func (_StableToken *StableTokenSession) Allowance(accountOwner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address accountOwner, address spender) constant returns(uint256)
func (*StableTokenSession) Approve ¶
func (_StableToken *StableTokenSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*StableTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address accountOwner) constant returns(uint256)
func (*StableTokenSession) Burn ¶
func (_StableToken *StableTokenSession) Burn(value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 value) returns(bool)
func (*StableTokenSession) CheckProofOfPossession ¶
func (_StableToken *StableTokenSession) CheckProofOfPossession(sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
CheckProofOfPossession is a free data retrieval call binding the contract method 0x23f0ab65.
Solidity: function checkProofOfPossession(address sender, bytes blsKey, bytes blsPop) constant returns(bool)
func (*StableTokenSession) CreditGasFees ¶
func (_StableToken *StableTokenSession) CreditGasFees(from common.Address, feeRecipient common.Address, gatewayFeeRecipient common.Address, communityFund common.Address, refund *big.Int, tipTxFee *big.Int, gatewayFee *big.Int, baseTxFee *big.Int) (*types.Transaction, error)
CreditGasFees is a paid mutator transaction binding the contract method 0x6a30b253.
Solidity: function creditGasFees(address from, address feeRecipient, address gatewayFeeRecipient, address communityFund, uint256 refund, uint256 tipTxFee, uint256 gatewayFee, uint256 baseTxFee) returns()
func (*StableTokenSession) DebitGasFees ¶
func (_StableToken *StableTokenSession) DebitGasFees(from common.Address, value *big.Int) (*types.Transaction, error)
DebitGasFees is a paid mutator transaction binding the contract method 0x58cf9672.
Solidity: function debitGasFees(address from, uint256 value) returns()
func (*StableTokenSession) Decimals ¶
func (_StableToken *StableTokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*StableTokenSession) DecreaseAllowance ¶
func (_StableToken *StableTokenSession) DecreaseAllowance(spender common.Address, value *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 value) returns(bool)
func (*StableTokenSession) FractionMulExp ¶
func (_StableToken *StableTokenSession) FractionMulExp(aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, bDenominator *big.Int, exponent *big.Int, _decimals *big.Int) (*big.Int, *big.Int, error)
FractionMulExp is a free data retrieval call binding the contract method 0xec683072.
Solidity: function fractionMulExp(uint256 aNumerator, uint256 aDenominator, uint256 bNumerator, uint256 bDenominator, uint256 exponent, uint256 _decimals) constant returns(uint256, uint256)
func (*StableTokenSession) GetBlockNumberFromHeader ¶
func (_StableToken *StableTokenSession) GetBlockNumberFromHeader(header []byte) (*big.Int, error)
GetBlockNumberFromHeader is a free data retrieval call binding the contract method 0x8a883626.
Solidity: function getBlockNumberFromHeader(bytes header) constant returns(uint256)
func (*StableTokenSession) GetEpochNumber ¶
func (_StableToken *StableTokenSession) GetEpochNumber() (*big.Int, error)
GetEpochNumber is a free data retrieval call binding the contract method 0x9a7b3be7.
Solidity: function getEpochNumber() constant returns(uint256)
func (*StableTokenSession) GetEpochNumberOfBlock ¶
func (_StableToken *StableTokenSession) GetEpochNumberOfBlock(blockNumber *big.Int) (*big.Int, error)
GetEpochNumberOfBlock is a free data retrieval call binding the contract method 0x3b1eb4bf.
Solidity: function getEpochNumberOfBlock(uint256 blockNumber) constant returns(uint256)
func (*StableTokenSession) GetEpochSize ¶
func (_StableToken *StableTokenSession) GetEpochSize() (*big.Int, error)
GetEpochSize is a free data retrieval call binding the contract method 0xdf4da461.
Solidity: function getEpochSize() constant returns(uint256)
func (*StableTokenSession) GetInflationParameters ¶
func (_StableToken *StableTokenSession) GetInflationParameters() (*big.Int, *big.Int, *big.Int, *big.Int, error)
GetInflationParameters is a free data retrieval call binding the contract method 0xa67f8747.
Solidity: function getInflationParameters() constant returns(uint256, uint256, uint256, uint256)
func (*StableTokenSession) GetParentSealBitmap ¶
func (_StableToken *StableTokenSession) GetParentSealBitmap(blockNumber *big.Int) ([32]byte, error)
GetParentSealBitmap is a free data retrieval call binding the contract method 0xfae8db0a.
Solidity: function getParentSealBitmap(uint256 blockNumber) constant returns(bytes32)
func (*StableTokenSession) GetVerifiedSealBitmapFromHeader ¶
func (_StableToken *StableTokenSession) GetVerifiedSealBitmapFromHeader(header []byte) ([32]byte, error)
GetVerifiedSealBitmapFromHeader is a free data retrieval call binding the contract method 0x4b2c2f44.
Solidity: function getVerifiedSealBitmapFromHeader(bytes header) constant returns(bytes32)
func (*StableTokenSession) HashHeader ¶
func (_StableToken *StableTokenSession) HashHeader(header []byte) ([32]byte, error)
HashHeader is a free data retrieval call binding the contract method 0x67960e91.
Solidity: function hashHeader(bytes header) constant returns(bytes32)
func (*StableTokenSession) IncreaseAllowance ¶
func (_StableToken *StableTokenSession) IncreaseAllowance(spender common.Address, value *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 value) returns(bool)
func (*StableTokenSession) Initialize ¶
func (_StableToken *StableTokenSession) Initialize(_name string, _symbol string, _decimals uint8, registryAddress common.Address, inflationRate *big.Int, inflationFactorUpdatePeriod *big.Int, initialBalanceAddresses []common.Address, initialBalanceValues []*big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x82b93516.
Solidity: function initialize(string _name, string _symbol, uint8 _decimals, address registryAddress, uint256 inflationRate, uint256 inflationFactorUpdatePeriod, address[] initialBalanceAddresses, uint256[] initialBalanceValues) returns()
func (*StableTokenSession) Initialized ¶
func (_StableToken *StableTokenSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*StableTokenSession) IsOwner ¶
func (_StableToken *StableTokenSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*StableTokenSession) MinQuorumSize ¶
MinQuorumSize is a free data retrieval call binding the contract method 0xe50e652d.
Solidity: function minQuorumSize(uint256 blockNumber) constant returns(uint256)
func (*StableTokenSession) MinQuorumSizeInCurrentSet ¶
func (_StableToken *StableTokenSession) MinQuorumSizeInCurrentSet() (*big.Int, error)
MinQuorumSizeInCurrentSet is a free data retrieval call binding the contract method 0x7385e5da.
Solidity: function minQuorumSizeInCurrentSet() constant returns(uint256)
func (*StableTokenSession) Mint ¶
func (_StableToken *StableTokenSession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 value) returns(bool)
func (*StableTokenSession) Name ¶
func (_StableToken *StableTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*StableTokenSession) NumberValidatorsInCurrentSet ¶
func (_StableToken *StableTokenSession) NumberValidatorsInCurrentSet() (*big.Int, error)
NumberValidatorsInCurrentSet is a free data retrieval call binding the contract method 0x87ee8a0f.
Solidity: function numberValidatorsInCurrentSet() constant returns(uint256)
func (*StableTokenSession) NumberValidatorsInSet ¶
func (_StableToken *StableTokenSession) NumberValidatorsInSet(blockNumber *big.Int) (*big.Int, error)
NumberValidatorsInSet is a free data retrieval call binding the contract method 0x9b2b592f.
Solidity: function numberValidatorsInSet(uint256 blockNumber) constant returns(uint256)
func (*StableTokenSession) Owner ¶
func (_StableToken *StableTokenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*StableTokenSession) Registry ¶
func (_StableToken *StableTokenSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*StableTokenSession) RenounceOwnership ¶
func (_StableToken *StableTokenSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*StableTokenSession) SetInflationParameters ¶
func (_StableToken *StableTokenSession) SetInflationParameters(rate *big.Int, updatePeriod *big.Int) (*types.Transaction, error)
SetInflationParameters is a paid mutator transaction binding the contract method 0x222836ad.
Solidity: function setInflationParameters(uint256 rate, uint256 updatePeriod) returns()
func (*StableTokenSession) SetRegistry ¶
func (_StableToken *StableTokenSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*StableTokenSession) Symbol ¶
func (_StableToken *StableTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*StableTokenSession) TotalSupply ¶
func (_StableToken *StableTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*StableTokenSession) Transfer ¶
func (_StableToken *StableTokenSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*StableTokenSession) TransferFrom ¶
func (_StableToken *StableTokenSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
func (*StableTokenSession) TransferOwnership ¶
func (_StableToken *StableTokenSession) 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 (*StableTokenSession) TransferWithComment ¶
func (_StableToken *StableTokenSession) TransferWithComment(to common.Address, value *big.Int, comment string) (*types.Transaction, error)
TransferWithComment is a paid mutator transaction binding the contract method 0xe1d6aceb.
Solidity: function transferWithComment(address to, uint256 value, string comment) returns(bool)
func (*StableTokenSession) UnitsToValue ¶
UnitsToValue is a free data retrieval call binding the contract method 0xaf31f587.
Solidity: function unitsToValue(uint256 units) constant returns(uint256)
func (*StableTokenSession) ValidatorSignerAddressFromCurrentSet ¶
func (_StableToken *StableTokenSession) ValidatorSignerAddressFromCurrentSet(index *big.Int) (common.Address, error)
ValidatorSignerAddressFromCurrentSet is a free data retrieval call binding the contract method 0x123633ea.
Solidity: function validatorSignerAddressFromCurrentSet(uint256 index) constant returns(address)
func (*StableTokenSession) ValidatorSignerAddressFromSet ¶
func (_StableToken *StableTokenSession) ValidatorSignerAddressFromSet(index *big.Int, blockNumber *big.Int) (common.Address, error)
ValidatorSignerAddressFromSet is a free data retrieval call binding the contract method 0x5d180adb.
Solidity: function validatorSignerAddressFromSet(uint256 index, uint256 blockNumber) constant returns(address)
func (*StableTokenSession) ValueToUnits ¶
ValueToUnits is a free data retrieval call binding the contract method 0x12c6c099.
Solidity: function valueToUnits(uint256 value) constant returns(uint256)
type StableTokenTransactor ¶
type StableTokenTransactor struct {
// contains filtered or unexported fields
}
StableTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStableTokenTransactor ¶
func NewStableTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*StableTokenTransactor, error)
NewStableTokenTransactor creates a new write-only instance of StableToken, bound to a specific deployed contract.
func (*StableTokenTransactor) Approve ¶
func (_StableToken *StableTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*StableTokenTransactor) Burn ¶
func (_StableToken *StableTokenTransactor) Burn(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 value) returns(bool)
func (*StableTokenTransactor) CreditGasFees ¶
func (_StableToken *StableTokenTransactor) CreditGasFees(opts *bind.TransactOpts, from common.Address, feeRecipient common.Address, gatewayFeeRecipient common.Address, communityFund common.Address, refund *big.Int, tipTxFee *big.Int, gatewayFee *big.Int, baseTxFee *big.Int) (*types.Transaction, error)
CreditGasFees is a paid mutator transaction binding the contract method 0x6a30b253.
Solidity: function creditGasFees(address from, address feeRecipient, address gatewayFeeRecipient, address communityFund, uint256 refund, uint256 tipTxFee, uint256 gatewayFee, uint256 baseTxFee) returns()
func (*StableTokenTransactor) DebitGasFees ¶
func (_StableToken *StableTokenTransactor) DebitGasFees(opts *bind.TransactOpts, from common.Address, value *big.Int) (*types.Transaction, error)
DebitGasFees is a paid mutator transaction binding the contract method 0x58cf9672.
Solidity: function debitGasFees(address from, uint256 value) returns()
func (*StableTokenTransactor) DecreaseAllowance ¶
func (_StableToken *StableTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 value) returns(bool)
func (*StableTokenTransactor) IncreaseAllowance ¶
func (_StableToken *StableTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 value) returns(bool)
func (*StableTokenTransactor) Initialize ¶
func (_StableToken *StableTokenTransactor) Initialize(opts *bind.TransactOpts, _name string, _symbol string, _decimals uint8, registryAddress common.Address, inflationRate *big.Int, inflationFactorUpdatePeriod *big.Int, initialBalanceAddresses []common.Address, initialBalanceValues []*big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x82b93516.
Solidity: function initialize(string _name, string _symbol, uint8 _decimals, address registryAddress, uint256 inflationRate, uint256 inflationFactorUpdatePeriod, address[] initialBalanceAddresses, uint256[] initialBalanceValues) returns()
func (*StableTokenTransactor) Mint ¶
func (_StableToken *StableTokenTransactor) Mint(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 value) returns(bool)
func (*StableTokenTransactor) RenounceOwnership ¶
func (_StableToken *StableTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*StableTokenTransactor) SetInflationParameters ¶
func (_StableToken *StableTokenTransactor) SetInflationParameters(opts *bind.TransactOpts, rate *big.Int, updatePeriod *big.Int) (*types.Transaction, error)
SetInflationParameters is a paid mutator transaction binding the contract method 0x222836ad.
Solidity: function setInflationParameters(uint256 rate, uint256 updatePeriod) returns()
func (*StableTokenTransactor) SetRegistry ¶
func (_StableToken *StableTokenTransactor) SetRegistry(opts *bind.TransactOpts, registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*StableTokenTransactor) Transfer ¶
func (_StableToken *StableTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*StableTokenTransactor) TransferFrom ¶
func (_StableToken *StableTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
func (*StableTokenTransactor) TransferOwnership ¶
func (_StableToken *StableTokenTransactor) 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 (*StableTokenTransactor) TransferWithComment ¶
func (_StableToken *StableTokenTransactor) TransferWithComment(opts *bind.TransactOpts, to common.Address, value *big.Int, comment string) (*types.Transaction, error)
TransferWithComment is a paid mutator transaction binding the contract method 0xe1d6aceb.
Solidity: function transferWithComment(address to, uint256 value, string comment) returns(bool)
type StableTokenTransactorRaw ¶
type StableTokenTransactorRaw struct {
Contract *StableTokenTransactor // Generic write-only contract binding to access the raw methods on
}
StableTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StableTokenTransactorRaw) Transact ¶
func (_StableToken *StableTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StableTokenTransactorRaw) Transfer ¶
func (_StableToken *StableTokenTransactorRaw) 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 StableTokenTransactorSession ¶
type StableTokenTransactorSession struct {
Contract *StableTokenTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
StableTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StableTokenTransactorSession) Approve ¶
func (_StableToken *StableTokenTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*StableTokenTransactorSession) Burn ¶
func (_StableToken *StableTokenTransactorSession) Burn(value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 value) returns(bool)
func (*StableTokenTransactorSession) CreditGasFees ¶
func (_StableToken *StableTokenTransactorSession) CreditGasFees(from common.Address, feeRecipient common.Address, gatewayFeeRecipient common.Address, communityFund common.Address, refund *big.Int, tipTxFee *big.Int, gatewayFee *big.Int, baseTxFee *big.Int) (*types.Transaction, error)
CreditGasFees is a paid mutator transaction binding the contract method 0x6a30b253.
Solidity: function creditGasFees(address from, address feeRecipient, address gatewayFeeRecipient, address communityFund, uint256 refund, uint256 tipTxFee, uint256 gatewayFee, uint256 baseTxFee) returns()
func (*StableTokenTransactorSession) DebitGasFees ¶
func (_StableToken *StableTokenTransactorSession) DebitGasFees(from common.Address, value *big.Int) (*types.Transaction, error)
DebitGasFees is a paid mutator transaction binding the contract method 0x58cf9672.
Solidity: function debitGasFees(address from, uint256 value) returns()
func (*StableTokenTransactorSession) DecreaseAllowance ¶
func (_StableToken *StableTokenTransactorSession) DecreaseAllowance(spender common.Address, value *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 value) returns(bool)
func (*StableTokenTransactorSession) IncreaseAllowance ¶
func (_StableToken *StableTokenTransactorSession) IncreaseAllowance(spender common.Address, value *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 value) returns(bool)
func (*StableTokenTransactorSession) Initialize ¶
func (_StableToken *StableTokenTransactorSession) Initialize(_name string, _symbol string, _decimals uint8, registryAddress common.Address, inflationRate *big.Int, inflationFactorUpdatePeriod *big.Int, initialBalanceAddresses []common.Address, initialBalanceValues []*big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x82b93516.
Solidity: function initialize(string _name, string _symbol, uint8 _decimals, address registryAddress, uint256 inflationRate, uint256 inflationFactorUpdatePeriod, address[] initialBalanceAddresses, uint256[] initialBalanceValues) returns()
func (*StableTokenTransactorSession) Mint ¶
func (_StableToken *StableTokenTransactorSession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 value) returns(bool)
func (*StableTokenTransactorSession) RenounceOwnership ¶
func (_StableToken *StableTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*StableTokenTransactorSession) SetInflationParameters ¶
func (_StableToken *StableTokenTransactorSession) SetInflationParameters(rate *big.Int, updatePeriod *big.Int) (*types.Transaction, error)
SetInflationParameters is a paid mutator transaction binding the contract method 0x222836ad.
Solidity: function setInflationParameters(uint256 rate, uint256 updatePeriod) returns()
func (*StableTokenTransactorSession) SetRegistry ¶
func (_StableToken *StableTokenTransactorSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*StableTokenTransactorSession) Transfer ¶
func (_StableToken *StableTokenTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*StableTokenTransactorSession) TransferFrom ¶
func (_StableToken *StableTokenTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
func (*StableTokenTransactorSession) TransferOwnership ¶
func (_StableToken *StableTokenTransactorSession) 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 (*StableTokenTransactorSession) TransferWithComment ¶
func (_StableToken *StableTokenTransactorSession) TransferWithComment(to common.Address, value *big.Int, comment string) (*types.Transaction, error)
TransferWithComment is a paid mutator transaction binding the contract method 0xe1d6aceb.
Solidity: function transferWithComment(address to, uint256 value, string comment) returns(bool)
type StableTokenTransfer ¶
type StableTokenTransfer struct {
From common.Address
To common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
StableTokenTransfer represents a Transfer event raised by the StableToken contract.
type StableTokenTransferComment ¶
type StableTokenTransferComment struct {
Comment string
Raw types.Log // Blockchain specific contextual infos
}
StableTokenTransferComment represents a TransferComment event raised by the StableToken contract.
type StableTokenTransferCommentIterator ¶
type StableTokenTransferCommentIterator struct {
Event *StableTokenTransferComment // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StableTokenTransferCommentIterator is returned from FilterTransferComment and is used to iterate over the raw logs and unpacked data for TransferComment events raised by the StableToken contract.
func (*StableTokenTransferCommentIterator) Close ¶
func (it *StableTokenTransferCommentIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableTokenTransferCommentIterator) Error ¶
func (it *StableTokenTransferCommentIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableTokenTransferCommentIterator) Next ¶
func (it *StableTokenTransferCommentIterator) 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 StableTokenTransferIterator ¶
type StableTokenTransferIterator struct {
Event *StableTokenTransfer // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StableTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the StableToken contract.
func (*StableTokenTransferIterator) Close ¶
func (it *StableTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableTokenTransferIterator) Error ¶
func (it *StableTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableTokenTransferIterator) Next ¶
func (it *StableTokenTransferIterator) 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 Validators ¶
type Validators struct {
ValidatorsCaller // Read-only binding to the contract
ValidatorsTransactor // Write-only binding to the contract
ValidatorsFilterer // Log filterer for contract events
}
Validators is an auto generated Go binding around an Ethereum contract.
func NewValidators ¶
func NewValidators(address common.Address, backend bind.ContractBackend) (*Validators, error)
NewValidators creates a new instance of Validators, bound to a specific deployed contract.
type ValidatorsCaller ¶
type ValidatorsCaller struct {
// contains filtered or unexported fields
}
ValidatorsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewValidatorsCaller ¶
func NewValidatorsCaller(address common.Address, caller bind.ContractCaller) (*ValidatorsCaller, error)
NewValidatorsCaller creates a new read-only instance of Validators, bound to a specific deployed contract.
func (*ValidatorsCaller) CalculateEpochScore ¶
func (_Validators *ValidatorsCaller) CalculateEpochScore(opts *bind.CallOpts, uptime *big.Int) (*big.Int, error)
CalculateEpochScore is a free data retrieval call binding the contract method 0x94903a97.
Solidity: function calculateEpochScore(uint256 uptime) constant returns(uint256)
func (*ValidatorsCaller) CalculateGroupEpochScore ¶
func (_Validators *ValidatorsCaller) CalculateGroupEpochScore(opts *bind.CallOpts, uptimes []*big.Int) (*big.Int, error)
CalculateGroupEpochScore is a free data retrieval call binding the contract method 0x76f7425d.
Solidity: function calculateGroupEpochScore(uint256[] uptimes) constant returns(uint256)
func (*ValidatorsCaller) CheckProofOfPossession ¶
func (_Validators *ValidatorsCaller) CheckProofOfPossession(opts *bind.CallOpts, sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
CheckProofOfPossession is a free data retrieval call binding the contract method 0x23f0ab65.
Solidity: function checkProofOfPossession(address sender, bytes blsKey, bytes blsPop) constant returns(bool)
func (*ValidatorsCaller) CommissionUpdateDelay ¶
CommissionUpdateDelay is a free data retrieval call binding the contract method 0xe0e3ffe6.
Solidity: function commissionUpdateDelay() constant returns(uint256)
func (*ValidatorsCaller) FractionMulExp ¶
func (_Validators *ValidatorsCaller) FractionMulExp(opts *bind.CallOpts, aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, bDenominator *big.Int, exponent *big.Int, _decimals *big.Int) (*big.Int, *big.Int, error)
FractionMulExp is a free data retrieval call binding the contract method 0xec683072.
Solidity: function fractionMulExp(uint256 aNumerator, uint256 aDenominator, uint256 bNumerator, uint256 bDenominator, uint256 exponent, uint256 _decimals) constant returns(uint256, uint256)
func (*ValidatorsCaller) GetAccountLockedGoldRequirement ¶
func (_Validators *ValidatorsCaller) GetAccountLockedGoldRequirement(opts *bind.CallOpts, account common.Address) (*big.Int, error)
GetAccountLockedGoldRequirement is a free data retrieval call binding the contract method 0xdcff4cf6.
Solidity: function getAccountLockedGoldRequirement(address account) constant returns(uint256)
func (*ValidatorsCaller) GetBlockNumberFromHeader ¶
func (_Validators *ValidatorsCaller) GetBlockNumberFromHeader(opts *bind.CallOpts, header []byte) (*big.Int, error)
GetBlockNumberFromHeader is a free data retrieval call binding the contract method 0x8a883626.
Solidity: function getBlockNumberFromHeader(bytes header) constant returns(uint256)
func (*ValidatorsCaller) GetCommissionUpdateDelay ¶
func (_Validators *ValidatorsCaller) GetCommissionUpdateDelay(opts *bind.CallOpts) (*big.Int, error)
GetCommissionUpdateDelay is a free data retrieval call binding the contract method 0xb915f530.
Solidity: function getCommissionUpdateDelay() constant returns(uint256)
func (*ValidatorsCaller) GetEpochNumber ¶
GetEpochNumber is a free data retrieval call binding the contract method 0x9a7b3be7.
Solidity: function getEpochNumber() constant returns(uint256)
func (*ValidatorsCaller) GetEpochNumberOfBlock ¶
func (_Validators *ValidatorsCaller) GetEpochNumberOfBlock(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
GetEpochNumberOfBlock is a free data retrieval call binding the contract method 0x3b1eb4bf.
Solidity: function getEpochNumberOfBlock(uint256 blockNumber) constant returns(uint256)
func (*ValidatorsCaller) GetEpochSize ¶
GetEpochSize is a free data retrieval call binding the contract method 0xdf4da461.
Solidity: function getEpochSize() constant returns(uint256)
func (*ValidatorsCaller) GetGroupLockedGoldRequirements ¶
func (_Validators *ValidatorsCaller) GetGroupLockedGoldRequirements(opts *bind.CallOpts) (*big.Int, *big.Int, error)
GetGroupLockedGoldRequirements is a free data retrieval call binding the contract method 0x6fa47647.
Solidity: function getGroupLockedGoldRequirements() constant returns(uint256, uint256)
func (*ValidatorsCaller) GetGroupNumMembers ¶
func (_Validators *ValidatorsCaller) GetGroupNumMembers(opts *bind.CallOpts, account common.Address) (*big.Int, error)
GetGroupNumMembers is a free data retrieval call binding the contract method 0x39e618e8.
Solidity: function getGroupNumMembers(address account) constant returns(uint256)
func (*ValidatorsCaller) GetGroupsNumMembers ¶
func (_Validators *ValidatorsCaller) GetGroupsNumMembers(opts *bind.CallOpts, accounts []common.Address) ([]*big.Int, error)
GetGroupsNumMembers is a free data retrieval call binding the contract method 0x70447754.
Solidity: function getGroupsNumMembers(address[] accounts) constant returns(uint256[])
func (*ValidatorsCaller) GetMaxGroupSize ¶
GetMaxGroupSize is a free data retrieval call binding the contract method 0x43d96699.
Solidity: function getMaxGroupSize() constant returns(uint256)
func (*ValidatorsCaller) GetMembershipHistory ¶
func (_Validators *ValidatorsCaller) GetMembershipHistory(opts *bind.CallOpts, account common.Address) ([]*big.Int, []common.Address, *big.Int, *big.Int, error)
GetMembershipHistory is a free data retrieval call binding the contract method 0x35244f51.
Solidity: function getMembershipHistory(address account) constant returns(uint256[], address[], uint256, uint256)
func (*ValidatorsCaller) GetMembershipInLastEpoch ¶
func (_Validators *ValidatorsCaller) GetMembershipInLastEpoch(opts *bind.CallOpts, account common.Address) (common.Address, error)
GetMembershipInLastEpoch is a free data retrieval call binding the contract method 0x0d1312b8.
Solidity: function getMembershipInLastEpoch(address account) constant returns(address)
func (*ValidatorsCaller) GetMembershipInLastEpochFromSigner ¶
func (_Validators *ValidatorsCaller) GetMembershipInLastEpochFromSigner(opts *bind.CallOpts, signer common.Address) (common.Address, error)
GetMembershipInLastEpochFromSigner is a free data retrieval call binding the contract method 0x51b52225.
Solidity: function getMembershipInLastEpochFromSigner(address signer) constant returns(address)
func (*ValidatorsCaller) GetNumRegisteredValidators ¶
func (_Validators *ValidatorsCaller) GetNumRegisteredValidators(opts *bind.CallOpts) (*big.Int, error)
GetNumRegisteredValidators is a free data retrieval call binding the contract method 0x517f6d33.
Solidity: function getNumRegisteredValidators() constant returns(uint256)
func (*ValidatorsCaller) GetParentSealBitmap ¶
func (_Validators *ValidatorsCaller) GetParentSealBitmap(opts *bind.CallOpts, blockNumber *big.Int) ([32]byte, error)
GetParentSealBitmap is a free data retrieval call binding the contract method 0xfae8db0a.
Solidity: function getParentSealBitmap(uint256 blockNumber) constant returns(bytes32)
func (*ValidatorsCaller) GetRegisteredValidatorGroups ¶
func (_Validators *ValidatorsCaller) GetRegisteredValidatorGroups(opts *bind.CallOpts) ([]common.Address, error)
GetRegisteredValidatorGroups is a free data retrieval call binding the contract method 0x3f270898.
Solidity: function getRegisteredValidatorGroups() constant returns(address[])
func (*ValidatorsCaller) GetRegisteredValidatorSigners ¶
func (_Validators *ValidatorsCaller) GetRegisteredValidatorSigners(opts *bind.CallOpts) ([]common.Address, error)
GetRegisteredValidatorSigners is a free data retrieval call binding the contract method 0xd55dcbcf.
Solidity: function getRegisteredValidatorSigners() constant returns(address[])
func (*ValidatorsCaller) GetRegisteredValidators ¶
func (_Validators *ValidatorsCaller) GetRegisteredValidators(opts *bind.CallOpts) ([]common.Address, error)
GetRegisteredValidators is a free data retrieval call binding the contract method 0xd93ab5ad.
Solidity: function getRegisteredValidators() constant returns(address[])
func (*ValidatorsCaller) GetTopGroupValidators ¶
func (_Validators *ValidatorsCaller) GetTopGroupValidators(opts *bind.CallOpts, account common.Address, n *big.Int) ([]common.Address, error)
GetTopGroupValidators is a free data retrieval call binding the contract method 0x8dd31e39.
Solidity: function getTopGroupValidators(address account, uint256 n) constant returns(address[])
func (*ValidatorsCaller) GetValidator ¶
func (_Validators *ValidatorsCaller) GetValidator(opts *bind.CallOpts, account common.Address) (struct { EcdsaPublicKey []byte BlsPublicKey []byte Affiliation common.Address Score *big.Int Signer common.Address }, error)
GetValidator is a free data retrieval call binding the contract method 0x1904bb2e.
Solidity: function getValidator(address account) constant returns(bytes ecdsaPublicKey, bytes blsPublicKey, address affiliation, uint256 score, address signer)
func (*ValidatorsCaller) GetValidatorBlsPublicKeyFromSigner ¶
func (_Validators *ValidatorsCaller) GetValidatorBlsPublicKeyFromSigner(opts *bind.CallOpts, signer common.Address) ([]byte, error)
GetValidatorBlsPublicKeyFromSigner is a free data retrieval call binding the contract method 0xb730a299.
Solidity: function getValidatorBlsPublicKeyFromSigner(address signer) constant returns(bytes blsPublicKey)
func (*ValidatorsCaller) GetValidatorGroup ¶
func (_Validators *ValidatorsCaller) GetValidatorGroup(opts *bind.CallOpts, account common.Address) ([]common.Address, *big.Int, *big.Int, *big.Int, []*big.Int, *big.Int, *big.Int, error)
GetValidatorGroup is a free data retrieval call binding the contract method 0x9b9d5161.
Solidity: function getValidatorGroup(address account) constant returns(address[], uint256, uint256, uint256, uint256[], uint256, uint256)
func (*ValidatorsCaller) GetValidatorGroupSlashingMultiplier ¶
func (_Validators *ValidatorsCaller) GetValidatorGroupSlashingMultiplier(opts *bind.CallOpts, account common.Address) (*big.Int, error)
GetValidatorGroupSlashingMultiplier is a free data retrieval call binding the contract method 0xdba94fcd.
Solidity: function getValidatorGroupSlashingMultiplier(address account) constant returns(uint256)
func (*ValidatorsCaller) GetValidatorLockedGoldRequirements ¶
func (_Validators *ValidatorsCaller) GetValidatorLockedGoldRequirements(opts *bind.CallOpts) (*big.Int, *big.Int, error)
GetValidatorLockedGoldRequirements is a free data retrieval call binding the contract method 0xc10c96ef.
Solidity: function getValidatorLockedGoldRequirements() constant returns(uint256, uint256)
func (*ValidatorsCaller) GetValidatorScoreParameters ¶
func (_Validators *ValidatorsCaller) GetValidatorScoreParameters(opts *bind.CallOpts) (*big.Int, *big.Int, error)
GetValidatorScoreParameters is a free data retrieval call binding the contract method 0x19113e3b.
Solidity: function getValidatorScoreParameters() constant returns(uint256, uint256)
func (*ValidatorsCaller) GetVerifiedSealBitmapFromHeader ¶
func (_Validators *ValidatorsCaller) GetVerifiedSealBitmapFromHeader(opts *bind.CallOpts, header []byte) ([32]byte, error)
GetVerifiedSealBitmapFromHeader is a free data retrieval call binding the contract method 0x4b2c2f44.
Solidity: function getVerifiedSealBitmapFromHeader(bytes header) constant returns(bytes32)
func (*ValidatorsCaller) GroupLockedGoldRequirements ¶
func (_Validators *ValidatorsCaller) GroupLockedGoldRequirements(opts *bind.CallOpts) (struct { Value *big.Int Duration *big.Int }, error)
GroupLockedGoldRequirements is a free data retrieval call binding the contract method 0xc5805140.
Solidity: function groupLockedGoldRequirements() constant returns(uint256 value, uint256 duration)
func (*ValidatorsCaller) GroupMembershipInEpoch ¶
func (_Validators *ValidatorsCaller) GroupMembershipInEpoch(opts *bind.CallOpts, account common.Address, epochNumber *big.Int, index *big.Int) (common.Address, error)
GroupMembershipInEpoch is a free data retrieval call binding the contract method 0xeb1d0b42.
Solidity: function groupMembershipInEpoch(address account, uint256 epochNumber, uint256 index) constant returns(address)
func (*ValidatorsCaller) HashHeader ¶
func (_Validators *ValidatorsCaller) HashHeader(opts *bind.CallOpts, header []byte) ([32]byte, error)
HashHeader is a free data retrieval call binding the contract method 0x67960e91.
Solidity: function hashHeader(bytes header) constant returns(bytes32)
func (*ValidatorsCaller) Initialized ¶
func (_Validators *ValidatorsCaller) Initialized(opts *bind.CallOpts) (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*ValidatorsCaller) IsOwner ¶
func (_Validators *ValidatorsCaller) IsOwner(opts *bind.CallOpts) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*ValidatorsCaller) IsValidator ¶
func (_Validators *ValidatorsCaller) IsValidator(opts *bind.CallOpts, account common.Address) (bool, error)
IsValidator is a free data retrieval call binding the contract method 0xfacd743b.
Solidity: function isValidator(address account) constant returns(bool)
func (*ValidatorsCaller) IsValidatorGroup ¶
func (_Validators *ValidatorsCaller) IsValidatorGroup(opts *bind.CallOpts, account common.Address) (bool, error)
IsValidatorGroup is a free data retrieval call binding the contract method 0x52f13a4e.
Solidity: function isValidatorGroup(address account) constant returns(bool)
func (*ValidatorsCaller) MaxGroupSize ¶
MaxGroupSize is a free data retrieval call binding the contract method 0x5779e93d.
Solidity: function maxGroupSize() constant returns(uint256)
func (*ValidatorsCaller) MeetsAccountLockedGoldRequirements ¶
func (_Validators *ValidatorsCaller) MeetsAccountLockedGoldRequirements(opts *bind.CallOpts, account common.Address) (bool, error)
MeetsAccountLockedGoldRequirements is a free data retrieval call binding the contract method 0xc54c1cd4.
Solidity: function meetsAccountLockedGoldRequirements(address account) constant returns(bool)
func (*ValidatorsCaller) MembershipHistoryLength ¶
MembershipHistoryLength is a free data retrieval call binding the contract method 0x4cd76db4.
Solidity: function membershipHistoryLength() constant returns(uint256)
func (*ValidatorsCaller) MinQuorumSize ¶
func (_Validators *ValidatorsCaller) MinQuorumSize(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
MinQuorumSize is a free data retrieval call binding the contract method 0xe50e652d.
Solidity: function minQuorumSize(uint256 blockNumber) constant returns(uint256)
func (*ValidatorsCaller) MinQuorumSizeInCurrentSet ¶
func (_Validators *ValidatorsCaller) MinQuorumSizeInCurrentSet(opts *bind.CallOpts) (*big.Int, error)
MinQuorumSizeInCurrentSet is a free data retrieval call binding the contract method 0x7385e5da.
Solidity: function minQuorumSizeInCurrentSet() constant returns(uint256)
func (*ValidatorsCaller) NumberValidatorsInCurrentSet ¶
func (_Validators *ValidatorsCaller) NumberValidatorsInCurrentSet(opts *bind.CallOpts) (*big.Int, error)
NumberValidatorsInCurrentSet is a free data retrieval call binding the contract method 0x87ee8a0f.
Solidity: function numberValidatorsInCurrentSet() constant returns(uint256)
func (*ValidatorsCaller) NumberValidatorsInSet ¶
func (_Validators *ValidatorsCaller) NumberValidatorsInSet(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)
NumberValidatorsInSet is a free data retrieval call binding the contract method 0x9b2b592f.
Solidity: function numberValidatorsInSet(uint256 blockNumber) constant returns(uint256)
func (*ValidatorsCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*ValidatorsCaller) Registry ¶
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*ValidatorsCaller) SlashingMultiplierResetPeriod ¶
func (_Validators *ValidatorsCaller) SlashingMultiplierResetPeriod(opts *bind.CallOpts) (*big.Int, error)
SlashingMultiplierResetPeriod is a free data retrieval call binding the contract method 0x36407b70.
Solidity: function slashingMultiplierResetPeriod() constant returns(uint256)
func (*ValidatorsCaller) ValidatorLockedGoldRequirements ¶
func (_Validators *ValidatorsCaller) ValidatorLockedGoldRequirements(opts *bind.CallOpts) (struct { Value *big.Int Duration *big.Int }, error)
ValidatorLockedGoldRequirements is a free data retrieval call binding the contract method 0xbd9e9d94.
Solidity: function validatorLockedGoldRequirements() constant returns(uint256 value, uint256 duration)
func (*ValidatorsCaller) ValidatorSignerAddressFromCurrentSet ¶
func (_Validators *ValidatorsCaller) ValidatorSignerAddressFromCurrentSet(opts *bind.CallOpts, index *big.Int) (common.Address, error)
ValidatorSignerAddressFromCurrentSet is a free data retrieval call binding the contract method 0x123633ea.
Solidity: function validatorSignerAddressFromCurrentSet(uint256 index) constant returns(address)
func (*ValidatorsCaller) ValidatorSignerAddressFromSet ¶
func (_Validators *ValidatorsCaller) ValidatorSignerAddressFromSet(opts *bind.CallOpts, index *big.Int, blockNumber *big.Int) (common.Address, error)
ValidatorSignerAddressFromSet is a free data retrieval call binding the contract method 0x5d180adb.
Solidity: function validatorSignerAddressFromSet(uint256 index, uint256 blockNumber) constant returns(address)
type ValidatorsCallerRaw ¶
type ValidatorsCallerRaw struct {
Contract *ValidatorsCaller // Generic read-only contract binding to access the raw methods on
}
ValidatorsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ValidatorsCallerRaw) Call ¶
func (_Validators *ValidatorsCallerRaw) 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 ValidatorsCallerSession ¶
type ValidatorsCallerSession struct {
Contract *ValidatorsCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
ValidatorsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ValidatorsCallerSession) CalculateEpochScore ¶
CalculateEpochScore is a free data retrieval call binding the contract method 0x94903a97.
Solidity: function calculateEpochScore(uint256 uptime) constant returns(uint256)
func (*ValidatorsCallerSession) CalculateGroupEpochScore ¶
func (_Validators *ValidatorsCallerSession) CalculateGroupEpochScore(uptimes []*big.Int) (*big.Int, error)
CalculateGroupEpochScore is a free data retrieval call binding the contract method 0x76f7425d.
Solidity: function calculateGroupEpochScore(uint256[] uptimes) constant returns(uint256)
func (*ValidatorsCallerSession) CheckProofOfPossession ¶
func (_Validators *ValidatorsCallerSession) CheckProofOfPossession(sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
CheckProofOfPossession is a free data retrieval call binding the contract method 0x23f0ab65.
Solidity: function checkProofOfPossession(address sender, bytes blsKey, bytes blsPop) constant returns(bool)
func (*ValidatorsCallerSession) CommissionUpdateDelay ¶
func (_Validators *ValidatorsCallerSession) CommissionUpdateDelay() (*big.Int, error)
CommissionUpdateDelay is a free data retrieval call binding the contract method 0xe0e3ffe6.
Solidity: function commissionUpdateDelay() constant returns(uint256)
func (*ValidatorsCallerSession) FractionMulExp ¶
func (_Validators *ValidatorsCallerSession) FractionMulExp(aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, bDenominator *big.Int, exponent *big.Int, _decimals *big.Int) (*big.Int, *big.Int, error)
FractionMulExp is a free data retrieval call binding the contract method 0xec683072.
Solidity: function fractionMulExp(uint256 aNumerator, uint256 aDenominator, uint256 bNumerator, uint256 bDenominator, uint256 exponent, uint256 _decimals) constant returns(uint256, uint256)
func (*ValidatorsCallerSession) GetAccountLockedGoldRequirement ¶
func (_Validators *ValidatorsCallerSession) GetAccountLockedGoldRequirement(account common.Address) (*big.Int, error)
GetAccountLockedGoldRequirement is a free data retrieval call binding the contract method 0xdcff4cf6.
Solidity: function getAccountLockedGoldRequirement(address account) constant returns(uint256)
func (*ValidatorsCallerSession) GetBlockNumberFromHeader ¶
func (_Validators *ValidatorsCallerSession) GetBlockNumberFromHeader(header []byte) (*big.Int, error)
GetBlockNumberFromHeader is a free data retrieval call binding the contract method 0x8a883626.
Solidity: function getBlockNumberFromHeader(bytes header) constant returns(uint256)
func (*ValidatorsCallerSession) GetCommissionUpdateDelay ¶
func (_Validators *ValidatorsCallerSession) GetCommissionUpdateDelay() (*big.Int, error)
GetCommissionUpdateDelay is a free data retrieval call binding the contract method 0xb915f530.
Solidity: function getCommissionUpdateDelay() constant returns(uint256)
func (*ValidatorsCallerSession) GetEpochNumber ¶
func (_Validators *ValidatorsCallerSession) GetEpochNumber() (*big.Int, error)
GetEpochNumber is a free data retrieval call binding the contract method 0x9a7b3be7.
Solidity: function getEpochNumber() constant returns(uint256)
func (*ValidatorsCallerSession) GetEpochNumberOfBlock ¶
func (_Validators *ValidatorsCallerSession) GetEpochNumberOfBlock(blockNumber *big.Int) (*big.Int, error)
GetEpochNumberOfBlock is a free data retrieval call binding the contract method 0x3b1eb4bf.
Solidity: function getEpochNumberOfBlock(uint256 blockNumber) constant returns(uint256)
func (*ValidatorsCallerSession) GetEpochSize ¶
func (_Validators *ValidatorsCallerSession) GetEpochSize() (*big.Int, error)
GetEpochSize is a free data retrieval call binding the contract method 0xdf4da461.
Solidity: function getEpochSize() constant returns(uint256)
func (*ValidatorsCallerSession) GetGroupLockedGoldRequirements ¶
func (_Validators *ValidatorsCallerSession) GetGroupLockedGoldRequirements() (*big.Int, *big.Int, error)
GetGroupLockedGoldRequirements is a free data retrieval call binding the contract method 0x6fa47647.
Solidity: function getGroupLockedGoldRequirements() constant returns(uint256, uint256)
func (*ValidatorsCallerSession) GetGroupNumMembers ¶
func (_Validators *ValidatorsCallerSession) GetGroupNumMembers(account common.Address) (*big.Int, error)
GetGroupNumMembers is a free data retrieval call binding the contract method 0x39e618e8.
Solidity: function getGroupNumMembers(address account) constant returns(uint256)
func (*ValidatorsCallerSession) GetGroupsNumMembers ¶
func (_Validators *ValidatorsCallerSession) GetGroupsNumMembers(accounts []common.Address) ([]*big.Int, error)
GetGroupsNumMembers is a free data retrieval call binding the contract method 0x70447754.
Solidity: function getGroupsNumMembers(address[] accounts) constant returns(uint256[])
func (*ValidatorsCallerSession) GetMaxGroupSize ¶
func (_Validators *ValidatorsCallerSession) GetMaxGroupSize() (*big.Int, error)
GetMaxGroupSize is a free data retrieval call binding the contract method 0x43d96699.
Solidity: function getMaxGroupSize() constant returns(uint256)
func (*ValidatorsCallerSession) GetMembershipHistory ¶
func (_Validators *ValidatorsCallerSession) GetMembershipHistory(account common.Address) ([]*big.Int, []common.Address, *big.Int, *big.Int, error)
GetMembershipHistory is a free data retrieval call binding the contract method 0x35244f51.
Solidity: function getMembershipHistory(address account) constant returns(uint256[], address[], uint256, uint256)
func (*ValidatorsCallerSession) GetMembershipInLastEpoch ¶
func (_Validators *ValidatorsCallerSession) GetMembershipInLastEpoch(account common.Address) (common.Address, error)
GetMembershipInLastEpoch is a free data retrieval call binding the contract method 0x0d1312b8.
Solidity: function getMembershipInLastEpoch(address account) constant returns(address)
func (*ValidatorsCallerSession) GetMembershipInLastEpochFromSigner ¶
func (_Validators *ValidatorsCallerSession) GetMembershipInLastEpochFromSigner(signer common.Address) (common.Address, error)
GetMembershipInLastEpochFromSigner is a free data retrieval call binding the contract method 0x51b52225.
Solidity: function getMembershipInLastEpochFromSigner(address signer) constant returns(address)
func (*ValidatorsCallerSession) GetNumRegisteredValidators ¶
func (_Validators *ValidatorsCallerSession) GetNumRegisteredValidators() (*big.Int, error)
GetNumRegisteredValidators is a free data retrieval call binding the contract method 0x517f6d33.
Solidity: function getNumRegisteredValidators() constant returns(uint256)
func (*ValidatorsCallerSession) GetParentSealBitmap ¶
func (_Validators *ValidatorsCallerSession) GetParentSealBitmap(blockNumber *big.Int) ([32]byte, error)
GetParentSealBitmap is a free data retrieval call binding the contract method 0xfae8db0a.
Solidity: function getParentSealBitmap(uint256 blockNumber) constant returns(bytes32)
func (*ValidatorsCallerSession) GetRegisteredValidatorGroups ¶
func (_Validators *ValidatorsCallerSession) GetRegisteredValidatorGroups() ([]common.Address, error)
GetRegisteredValidatorGroups is a free data retrieval call binding the contract method 0x3f270898.
Solidity: function getRegisteredValidatorGroups() constant returns(address[])
func (*ValidatorsCallerSession) GetRegisteredValidatorSigners ¶
func (_Validators *ValidatorsCallerSession) GetRegisteredValidatorSigners() ([]common.Address, error)
GetRegisteredValidatorSigners is a free data retrieval call binding the contract method 0xd55dcbcf.
Solidity: function getRegisteredValidatorSigners() constant returns(address[])
func (*ValidatorsCallerSession) GetRegisteredValidators ¶
func (_Validators *ValidatorsCallerSession) GetRegisteredValidators() ([]common.Address, error)
GetRegisteredValidators is a free data retrieval call binding the contract method 0xd93ab5ad.
Solidity: function getRegisteredValidators() constant returns(address[])
func (*ValidatorsCallerSession) GetTopGroupValidators ¶
func (_Validators *ValidatorsCallerSession) GetTopGroupValidators(account common.Address, n *big.Int) ([]common.Address, error)
GetTopGroupValidators is a free data retrieval call binding the contract method 0x8dd31e39.
Solidity: function getTopGroupValidators(address account, uint256 n) constant returns(address[])
func (*ValidatorsCallerSession) GetValidator ¶
func (_Validators *ValidatorsCallerSession) GetValidator(account common.Address) (struct { EcdsaPublicKey []byte BlsPublicKey []byte Affiliation common.Address Score *big.Int Signer common.Address }, error)
GetValidator is a free data retrieval call binding the contract method 0x1904bb2e.
Solidity: function getValidator(address account) constant returns(bytes ecdsaPublicKey, bytes blsPublicKey, address affiliation, uint256 score, address signer)
func (*ValidatorsCallerSession) GetValidatorBlsPublicKeyFromSigner ¶
func (_Validators *ValidatorsCallerSession) GetValidatorBlsPublicKeyFromSigner(signer common.Address) ([]byte, error)
GetValidatorBlsPublicKeyFromSigner is a free data retrieval call binding the contract method 0xb730a299.
Solidity: function getValidatorBlsPublicKeyFromSigner(address signer) constant returns(bytes blsPublicKey)
func (*ValidatorsCallerSession) GetValidatorGroup ¶
func (_Validators *ValidatorsCallerSession) GetValidatorGroup(account common.Address) ([]common.Address, *big.Int, *big.Int, *big.Int, []*big.Int, *big.Int, *big.Int, error)
GetValidatorGroup is a free data retrieval call binding the contract method 0x9b9d5161.
Solidity: function getValidatorGroup(address account) constant returns(address[], uint256, uint256, uint256, uint256[], uint256, uint256)
func (*ValidatorsCallerSession) GetValidatorGroupSlashingMultiplier ¶
func (_Validators *ValidatorsCallerSession) GetValidatorGroupSlashingMultiplier(account common.Address) (*big.Int, error)
GetValidatorGroupSlashingMultiplier is a free data retrieval call binding the contract method 0xdba94fcd.
Solidity: function getValidatorGroupSlashingMultiplier(address account) constant returns(uint256)
func (*ValidatorsCallerSession) GetValidatorLockedGoldRequirements ¶
func (_Validators *ValidatorsCallerSession) GetValidatorLockedGoldRequirements() (*big.Int, *big.Int, error)
GetValidatorLockedGoldRequirements is a free data retrieval call binding the contract method 0xc10c96ef.
Solidity: function getValidatorLockedGoldRequirements() constant returns(uint256, uint256)
func (*ValidatorsCallerSession) GetValidatorScoreParameters ¶
func (_Validators *ValidatorsCallerSession) GetValidatorScoreParameters() (*big.Int, *big.Int, error)
GetValidatorScoreParameters is a free data retrieval call binding the contract method 0x19113e3b.
Solidity: function getValidatorScoreParameters() constant returns(uint256, uint256)
func (*ValidatorsCallerSession) GetVerifiedSealBitmapFromHeader ¶
func (_Validators *ValidatorsCallerSession) GetVerifiedSealBitmapFromHeader(header []byte) ([32]byte, error)
GetVerifiedSealBitmapFromHeader is a free data retrieval call binding the contract method 0x4b2c2f44.
Solidity: function getVerifiedSealBitmapFromHeader(bytes header) constant returns(bytes32)
func (*ValidatorsCallerSession) GroupLockedGoldRequirements ¶
func (_Validators *ValidatorsCallerSession) GroupLockedGoldRequirements() (struct { Value *big.Int Duration *big.Int }, error)
GroupLockedGoldRequirements is a free data retrieval call binding the contract method 0xc5805140.
Solidity: function groupLockedGoldRequirements() constant returns(uint256 value, uint256 duration)
func (*ValidatorsCallerSession) GroupMembershipInEpoch ¶
func (_Validators *ValidatorsCallerSession) GroupMembershipInEpoch(account common.Address, epochNumber *big.Int, index *big.Int) (common.Address, error)
GroupMembershipInEpoch is a free data retrieval call binding the contract method 0xeb1d0b42.
Solidity: function groupMembershipInEpoch(address account, uint256 epochNumber, uint256 index) constant returns(address)
func (*ValidatorsCallerSession) HashHeader ¶
func (_Validators *ValidatorsCallerSession) HashHeader(header []byte) ([32]byte, error)
HashHeader is a free data retrieval call binding the contract method 0x67960e91.
Solidity: function hashHeader(bytes header) constant returns(bytes32)
func (*ValidatorsCallerSession) Initialized ¶
func (_Validators *ValidatorsCallerSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*ValidatorsCallerSession) IsOwner ¶
func (_Validators *ValidatorsCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*ValidatorsCallerSession) IsValidator ¶
func (_Validators *ValidatorsCallerSession) IsValidator(account common.Address) (bool, error)
IsValidator is a free data retrieval call binding the contract method 0xfacd743b.
Solidity: function isValidator(address account) constant returns(bool)
func (*ValidatorsCallerSession) IsValidatorGroup ¶
func (_Validators *ValidatorsCallerSession) IsValidatorGroup(account common.Address) (bool, error)
IsValidatorGroup is a free data retrieval call binding the contract method 0x52f13a4e.
Solidity: function isValidatorGroup(address account) constant returns(bool)
func (*ValidatorsCallerSession) MaxGroupSize ¶
func (_Validators *ValidatorsCallerSession) MaxGroupSize() (*big.Int, error)
MaxGroupSize is a free data retrieval call binding the contract method 0x5779e93d.
Solidity: function maxGroupSize() constant returns(uint256)
func (*ValidatorsCallerSession) MeetsAccountLockedGoldRequirements ¶
func (_Validators *ValidatorsCallerSession) MeetsAccountLockedGoldRequirements(account common.Address) (bool, error)
MeetsAccountLockedGoldRequirements is a free data retrieval call binding the contract method 0xc54c1cd4.
Solidity: function meetsAccountLockedGoldRequirements(address account) constant returns(bool)
func (*ValidatorsCallerSession) MembershipHistoryLength ¶
func (_Validators *ValidatorsCallerSession) MembershipHistoryLength() (*big.Int, error)
MembershipHistoryLength is a free data retrieval call binding the contract method 0x4cd76db4.
Solidity: function membershipHistoryLength() constant returns(uint256)
func (*ValidatorsCallerSession) MinQuorumSize ¶
MinQuorumSize is a free data retrieval call binding the contract method 0xe50e652d.
Solidity: function minQuorumSize(uint256 blockNumber) constant returns(uint256)
func (*ValidatorsCallerSession) MinQuorumSizeInCurrentSet ¶
func (_Validators *ValidatorsCallerSession) MinQuorumSizeInCurrentSet() (*big.Int, error)
MinQuorumSizeInCurrentSet is a free data retrieval call binding the contract method 0x7385e5da.
Solidity: function minQuorumSizeInCurrentSet() constant returns(uint256)
func (*ValidatorsCallerSession) NumberValidatorsInCurrentSet ¶
func (_Validators *ValidatorsCallerSession) NumberValidatorsInCurrentSet() (*big.Int, error)
NumberValidatorsInCurrentSet is a free data retrieval call binding the contract method 0x87ee8a0f.
Solidity: function numberValidatorsInCurrentSet() constant returns(uint256)
func (*ValidatorsCallerSession) NumberValidatorsInSet ¶
func (_Validators *ValidatorsCallerSession) NumberValidatorsInSet(blockNumber *big.Int) (*big.Int, error)
NumberValidatorsInSet is a free data retrieval call binding the contract method 0x9b2b592f.
Solidity: function numberValidatorsInSet(uint256 blockNumber) constant returns(uint256)
func (*ValidatorsCallerSession) Owner ¶
func (_Validators *ValidatorsCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*ValidatorsCallerSession) Registry ¶
func (_Validators *ValidatorsCallerSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*ValidatorsCallerSession) SlashingMultiplierResetPeriod ¶
func (_Validators *ValidatorsCallerSession) SlashingMultiplierResetPeriod() (*big.Int, error)
SlashingMultiplierResetPeriod is a free data retrieval call binding the contract method 0x36407b70.
Solidity: function slashingMultiplierResetPeriod() constant returns(uint256)
func (*ValidatorsCallerSession) ValidatorLockedGoldRequirements ¶
func (_Validators *ValidatorsCallerSession) ValidatorLockedGoldRequirements() (struct { Value *big.Int Duration *big.Int }, error)
ValidatorLockedGoldRequirements is a free data retrieval call binding the contract method 0xbd9e9d94.
Solidity: function validatorLockedGoldRequirements() constant returns(uint256 value, uint256 duration)
func (*ValidatorsCallerSession) ValidatorSignerAddressFromCurrentSet ¶
func (_Validators *ValidatorsCallerSession) ValidatorSignerAddressFromCurrentSet(index *big.Int) (common.Address, error)
ValidatorSignerAddressFromCurrentSet is a free data retrieval call binding the contract method 0x123633ea.
Solidity: function validatorSignerAddressFromCurrentSet(uint256 index) constant returns(address)
func (*ValidatorsCallerSession) ValidatorSignerAddressFromSet ¶
func (_Validators *ValidatorsCallerSession) ValidatorSignerAddressFromSet(index *big.Int, blockNumber *big.Int) (common.Address, error)
ValidatorSignerAddressFromSet is a free data retrieval call binding the contract method 0x5d180adb.
Solidity: function validatorSignerAddressFromSet(uint256 index, uint256 blockNumber) constant returns(address)
type ValidatorsCommissionUpdateDelaySet ¶
type ValidatorsCommissionUpdateDelaySet struct {
Delay *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsCommissionUpdateDelaySet represents a CommissionUpdateDelaySet event raised by the Validators contract.
type ValidatorsCommissionUpdateDelaySetIterator ¶
type ValidatorsCommissionUpdateDelaySetIterator struct {
Event *ValidatorsCommissionUpdateDelaySet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsCommissionUpdateDelaySetIterator is returned from FilterCommissionUpdateDelaySet and is used to iterate over the raw logs and unpacked data for CommissionUpdateDelaySet events raised by the Validators contract.
func (*ValidatorsCommissionUpdateDelaySetIterator) Close ¶
func (it *ValidatorsCommissionUpdateDelaySetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsCommissionUpdateDelaySetIterator) Error ¶
func (it *ValidatorsCommissionUpdateDelaySetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsCommissionUpdateDelaySetIterator) Next ¶
func (it *ValidatorsCommissionUpdateDelaySetIterator) 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 ValidatorsFilterer ¶
type ValidatorsFilterer struct {
// contains filtered or unexported fields
}
ValidatorsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewValidatorsFilterer ¶
func NewValidatorsFilterer(address common.Address, filterer bind.ContractFilterer) (*ValidatorsFilterer, error)
NewValidatorsFilterer creates a new log filterer instance of Validators, bound to a specific deployed contract.
func (*ValidatorsFilterer) FilterCommissionUpdateDelaySet ¶
func (_Validators *ValidatorsFilterer) FilterCommissionUpdateDelaySet(opts *bind.FilterOpts) (*ValidatorsCommissionUpdateDelaySetIterator, error)
FilterCommissionUpdateDelaySet is a free log retrieval operation binding the contract event 0xf2da07d08fd8dc9c5dcf87ad6f540e306f884a47dd8de14b718a4d5395f1ca9b.
Solidity: event CommissionUpdateDelaySet(uint256 delay)
func (*ValidatorsFilterer) FilterGroupLockedGoldRequirementsSet ¶
func (_Validators *ValidatorsFilterer) FilterGroupLockedGoldRequirementsSet(opts *bind.FilterOpts) (*ValidatorsGroupLockedGoldRequirementsSetIterator, error)
FilterGroupLockedGoldRequirementsSet is a free log retrieval operation binding the contract event 0x999f7ee1917e6d7ea08360edfe9250cda3eda859c38dcb71a92623665de64dd4.
Solidity: event GroupLockedGoldRequirementsSet(uint256 value, uint256 duration)
func (*ValidatorsFilterer) FilterMaxGroupSizeSet ¶
func (_Validators *ValidatorsFilterer) FilterMaxGroupSizeSet(opts *bind.FilterOpts) (*ValidatorsMaxGroupSizeSetIterator, error)
FilterMaxGroupSizeSet is a free log retrieval operation binding the contract event 0x603fe12c33c253a23da1680aa453dc70c3a0ee07763569bd5f602406ebd4e5d5.
Solidity: event MaxGroupSizeSet(uint256 size)
func (*ValidatorsFilterer) FilterMembershipHistoryLengthSet ¶
func (_Validators *ValidatorsFilterer) FilterMembershipHistoryLengthSet(opts *bind.FilterOpts) (*ValidatorsMembershipHistoryLengthSetIterator, error)
FilterMembershipHistoryLengthSet is a free log retrieval operation binding the contract event 0x1c75c7fb3ee9d13d8394372d8c7cdf1702fa947faa03f6ccfa500f787b09b48a.
Solidity: event MembershipHistoryLengthSet(uint256 length)
func (*ValidatorsFilterer) FilterOwnershipTransferred ¶
func (_Validators *ValidatorsFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ValidatorsOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ValidatorsFilterer) FilterRegistrySet ¶
func (_Validators *ValidatorsFilterer) FilterRegistrySet(opts *bind.FilterOpts, registryAddress []common.Address) (*ValidatorsRegistrySetIterator, error)
FilterRegistrySet is a free log retrieval operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*ValidatorsFilterer) FilterValidatorAffiliated ¶
func (_Validators *ValidatorsFilterer) FilterValidatorAffiliated(opts *bind.FilterOpts, validator []common.Address, group []common.Address) (*ValidatorsValidatorAffiliatedIterator, error)
FilterValidatorAffiliated is a free log retrieval operation binding the contract event 0x91ef92227057e201e406c3451698dd780fe7672ad74328591c88d281af31581d.
Solidity: event ValidatorAffiliated(address indexed validator, address indexed group)
func (*ValidatorsFilterer) FilterValidatorBlsPublicKeyUpdated ¶
func (_Validators *ValidatorsFilterer) FilterValidatorBlsPublicKeyUpdated(opts *bind.FilterOpts, validator []common.Address) (*ValidatorsValidatorBlsPublicKeyUpdatedIterator, error)
FilterValidatorBlsPublicKeyUpdated is a free log retrieval operation binding the contract event 0x36a1aabe506bbe8802233cbb9aad628e91269e77077c953f9db3e02d7092ee33.
Solidity: event ValidatorBlsPublicKeyUpdated(address indexed validator, bytes blsPublicKey)
func (*ValidatorsFilterer) FilterValidatorDeaffiliated ¶
func (_Validators *ValidatorsFilterer) FilterValidatorDeaffiliated(opts *bind.FilterOpts, validator []common.Address, group []common.Address) (*ValidatorsValidatorDeaffiliatedIterator, error)
FilterValidatorDeaffiliated is a free log retrieval operation binding the contract event 0x71815121f0622b31a3e7270eb28acb9fd10825ff418c9a18591f617bb8a31a6c.
Solidity: event ValidatorDeaffiliated(address indexed validator, address indexed group)
func (*ValidatorsFilterer) FilterValidatorDeregistered ¶
func (_Validators *ValidatorsFilterer) FilterValidatorDeregistered(opts *bind.FilterOpts, validator []common.Address) (*ValidatorsValidatorDeregisteredIterator, error)
FilterValidatorDeregistered is a free log retrieval operation binding the contract event 0x51407fafe7ef9bec39c65a12a4885a274190991bf1e9057fcc384fc77ff1a7f0.
Solidity: event ValidatorDeregistered(address indexed validator)
func (*ValidatorsFilterer) FilterValidatorEcdsaPublicKeyUpdated ¶
func (_Validators *ValidatorsFilterer) FilterValidatorEcdsaPublicKeyUpdated(opts *bind.FilterOpts, validator []common.Address) (*ValidatorsValidatorEcdsaPublicKeyUpdatedIterator, error)
FilterValidatorEcdsaPublicKeyUpdated is a free log retrieval operation binding the contract event 0x213377eec2c15b21fa7abcbb0cb87a67e893cdb94a2564aa4bb4d380869473c8.
Solidity: event ValidatorEcdsaPublicKeyUpdated(address indexed validator, bytes ecdsaPublicKey)
func (*ValidatorsFilterer) FilterValidatorEpochPaymentDistributed ¶
func (_Validators *ValidatorsFilterer) FilterValidatorEpochPaymentDistributed(opts *bind.FilterOpts, validator []common.Address, group []common.Address) (*ValidatorsValidatorEpochPaymentDistributedIterator, error)
FilterValidatorEpochPaymentDistributed is a free log retrieval operation binding the contract event 0x6f5937add2ec38a0fa4959bccd86e3fcc2aafb706cd3e6c0565f87a7b36b9975.
Solidity: event ValidatorEpochPaymentDistributed(address indexed validator, uint256 validatorPayment, address indexed group, uint256 groupPayment)
func (*ValidatorsFilterer) FilterValidatorGroupCommissionUpdateQueued ¶
func (_Validators *ValidatorsFilterer) FilterValidatorGroupCommissionUpdateQueued(opts *bind.FilterOpts, group []common.Address) (*ValidatorsValidatorGroupCommissionUpdateQueuedIterator, error)
FilterValidatorGroupCommissionUpdateQueued is a free log retrieval operation binding the contract event 0x557d39a57520d9835859d4b7eda805a7f4115a59c3a374eeed488436fc62a152.
Solidity: event ValidatorGroupCommissionUpdateQueued(address indexed group, uint256 commission, uint256 activationBlock)
func (*ValidatorsFilterer) FilterValidatorGroupCommissionUpdated ¶
func (_Validators *ValidatorsFilterer) FilterValidatorGroupCommissionUpdated(opts *bind.FilterOpts, group []common.Address) (*ValidatorsValidatorGroupCommissionUpdatedIterator, error)
FilterValidatorGroupCommissionUpdated is a free log retrieval operation binding the contract event 0x815d292dbc1a08dfb3103aabb6611233dd2393903e57bdf4c5b3db91198a826c.
Solidity: event ValidatorGroupCommissionUpdated(address indexed group, uint256 commission)
func (*ValidatorsFilterer) FilterValidatorGroupDeregistered ¶
func (_Validators *ValidatorsFilterer) FilterValidatorGroupDeregistered(opts *bind.FilterOpts, group []common.Address) (*ValidatorsValidatorGroupDeregisteredIterator, error)
FilterValidatorGroupDeregistered is a free log retrieval operation binding the contract event 0xae7e034b0748a10a219b46074b20977a9170bf4027b156c797093773619a8669.
Solidity: event ValidatorGroupDeregistered(address indexed group)
func (*ValidatorsFilterer) FilterValidatorGroupMemberAdded ¶
func (_Validators *ValidatorsFilterer) FilterValidatorGroupMemberAdded(opts *bind.FilterOpts, group []common.Address, validator []common.Address) (*ValidatorsValidatorGroupMemberAddedIterator, error)
FilterValidatorGroupMemberAdded is a free log retrieval operation binding the contract event 0xbdf7e616a6943f81e07a7984c9d4c00197dc2f481486ce4ffa6af52a113974ad.
Solidity: event ValidatorGroupMemberAdded(address indexed group, address indexed validator)
func (*ValidatorsFilterer) FilterValidatorGroupMemberRemoved ¶
func (_Validators *ValidatorsFilterer) FilterValidatorGroupMemberRemoved(opts *bind.FilterOpts, group []common.Address, validator []common.Address) (*ValidatorsValidatorGroupMemberRemovedIterator, error)
FilterValidatorGroupMemberRemoved is a free log retrieval operation binding the contract event 0xc7666a52a66ff601ff7c0d4d6efddc9ac20a34792f6aa003d1804c9d4d5baa57.
Solidity: event ValidatorGroupMemberRemoved(address indexed group, address indexed validator)
func (*ValidatorsFilterer) FilterValidatorGroupMemberReordered ¶
func (_Validators *ValidatorsFilterer) FilterValidatorGroupMemberReordered(opts *bind.FilterOpts, group []common.Address, validator []common.Address) (*ValidatorsValidatorGroupMemberReorderedIterator, error)
FilterValidatorGroupMemberReordered is a free log retrieval operation binding the contract event 0x38819cc49a343985b478d72f531a35b15384c398dd80fd191a14662170f895c6.
Solidity: event ValidatorGroupMemberReordered(address indexed group, address indexed validator)
func (*ValidatorsFilterer) FilterValidatorGroupRegistered ¶
func (_Validators *ValidatorsFilterer) FilterValidatorGroupRegistered(opts *bind.FilterOpts, group []common.Address) (*ValidatorsValidatorGroupRegisteredIterator, error)
FilterValidatorGroupRegistered is a free log retrieval operation binding the contract event 0xbf4b45570f1907a94775f8449817051a492a676918e38108bb762e991e6b58dc.
Solidity: event ValidatorGroupRegistered(address indexed group, uint256 commission)
func (*ValidatorsFilterer) FilterValidatorLockedGoldRequirementsSet ¶
func (_Validators *ValidatorsFilterer) FilterValidatorLockedGoldRequirementsSet(opts *bind.FilterOpts) (*ValidatorsValidatorLockedGoldRequirementsSetIterator, error)
FilterValidatorLockedGoldRequirementsSet is a free log retrieval operation binding the contract event 0x62d947118dd4c1f5ece7f787a9cad4e1127d14d403b71133e95792b473bf8389.
Solidity: event ValidatorLockedGoldRequirementsSet(uint256 value, uint256 duration)
func (*ValidatorsFilterer) FilterValidatorRegistered ¶
func (_Validators *ValidatorsFilterer) FilterValidatorRegistered(opts *bind.FilterOpts, validator []common.Address) (*ValidatorsValidatorRegisteredIterator, error)
FilterValidatorRegistered is a free log retrieval operation binding the contract event 0x97d442eb14c205924bf6409929abb95411c07b91ec8354179251ab67b55a8e26.
Solidity: event ValidatorRegistered(address indexed validator, bytes ecdsaPublicKey, bytes blsPublicKey)
func (*ValidatorsFilterer) FilterValidatorScoreParametersSet ¶
func (_Validators *ValidatorsFilterer) FilterValidatorScoreParametersSet(opts *bind.FilterOpts) (*ValidatorsValidatorScoreParametersSetIterator, error)
FilterValidatorScoreParametersSet is a free log retrieval operation binding the contract event 0x4b48724280029c2ea7a445c9cea30838525342e7a9ea9468f630b52e75d6c536.
Solidity: event ValidatorScoreParametersSet(uint256 exponent, uint256 adjustmentSpeed)
func (*ValidatorsFilterer) FilterValidatorScoreUpdated ¶
func (_Validators *ValidatorsFilterer) FilterValidatorScoreUpdated(opts *bind.FilterOpts, validator []common.Address) (*ValidatorsValidatorScoreUpdatedIterator, error)
FilterValidatorScoreUpdated is a free log retrieval operation binding the contract event 0xedf9f87e50e10c533bf3ae7f5a7894ae66c23e6cbbe8773d7765d20ad6f995e9.
Solidity: event ValidatorScoreUpdated(address indexed validator, uint256 score, uint256 epochScore)
func (*ValidatorsFilterer) ParseCommissionUpdateDelaySet ¶
func (_Validators *ValidatorsFilterer) ParseCommissionUpdateDelaySet(log types.Log) (*ValidatorsCommissionUpdateDelaySet, error)
ParseCommissionUpdateDelaySet is a log parse operation binding the contract event 0xf2da07d08fd8dc9c5dcf87ad6f540e306f884a47dd8de14b718a4d5395f1ca9b.
Solidity: event CommissionUpdateDelaySet(uint256 delay)
func (*ValidatorsFilterer) ParseGroupLockedGoldRequirementsSet ¶
func (_Validators *ValidatorsFilterer) ParseGroupLockedGoldRequirementsSet(log types.Log) (*ValidatorsGroupLockedGoldRequirementsSet, error)
ParseGroupLockedGoldRequirementsSet is a log parse operation binding the contract event 0x999f7ee1917e6d7ea08360edfe9250cda3eda859c38dcb71a92623665de64dd4.
Solidity: event GroupLockedGoldRequirementsSet(uint256 value, uint256 duration)
func (*ValidatorsFilterer) ParseMaxGroupSizeSet ¶
func (_Validators *ValidatorsFilterer) ParseMaxGroupSizeSet(log types.Log) (*ValidatorsMaxGroupSizeSet, error)
ParseMaxGroupSizeSet is a log parse operation binding the contract event 0x603fe12c33c253a23da1680aa453dc70c3a0ee07763569bd5f602406ebd4e5d5.
Solidity: event MaxGroupSizeSet(uint256 size)
func (*ValidatorsFilterer) ParseMembershipHistoryLengthSet ¶
func (_Validators *ValidatorsFilterer) ParseMembershipHistoryLengthSet(log types.Log) (*ValidatorsMembershipHistoryLengthSet, error)
ParseMembershipHistoryLengthSet is a log parse operation binding the contract event 0x1c75c7fb3ee9d13d8394372d8c7cdf1702fa947faa03f6ccfa500f787b09b48a.
Solidity: event MembershipHistoryLengthSet(uint256 length)
func (*ValidatorsFilterer) ParseOwnershipTransferred ¶
func (_Validators *ValidatorsFilterer) ParseOwnershipTransferred(log types.Log) (*ValidatorsOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ValidatorsFilterer) ParseRegistrySet ¶
func (_Validators *ValidatorsFilterer) ParseRegistrySet(log types.Log) (*ValidatorsRegistrySet, error)
ParseRegistrySet is a log parse operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*ValidatorsFilterer) ParseValidatorAffiliated ¶
func (_Validators *ValidatorsFilterer) ParseValidatorAffiliated(log types.Log) (*ValidatorsValidatorAffiliated, error)
ParseValidatorAffiliated is a log parse operation binding the contract event 0x91ef92227057e201e406c3451698dd780fe7672ad74328591c88d281af31581d.
Solidity: event ValidatorAffiliated(address indexed validator, address indexed group)
func (*ValidatorsFilterer) ParseValidatorBlsPublicKeyUpdated ¶
func (_Validators *ValidatorsFilterer) ParseValidatorBlsPublicKeyUpdated(log types.Log) (*ValidatorsValidatorBlsPublicKeyUpdated, error)
ParseValidatorBlsPublicKeyUpdated is a log parse operation binding the contract event 0x36a1aabe506bbe8802233cbb9aad628e91269e77077c953f9db3e02d7092ee33.
Solidity: event ValidatorBlsPublicKeyUpdated(address indexed validator, bytes blsPublicKey)
func (*ValidatorsFilterer) ParseValidatorDeaffiliated ¶
func (_Validators *ValidatorsFilterer) ParseValidatorDeaffiliated(log types.Log) (*ValidatorsValidatorDeaffiliated, error)
ParseValidatorDeaffiliated is a log parse operation binding the contract event 0x71815121f0622b31a3e7270eb28acb9fd10825ff418c9a18591f617bb8a31a6c.
Solidity: event ValidatorDeaffiliated(address indexed validator, address indexed group)
func (*ValidatorsFilterer) ParseValidatorDeregistered ¶
func (_Validators *ValidatorsFilterer) ParseValidatorDeregistered(log types.Log) (*ValidatorsValidatorDeregistered, error)
ParseValidatorDeregistered is a log parse operation binding the contract event 0x51407fafe7ef9bec39c65a12a4885a274190991bf1e9057fcc384fc77ff1a7f0.
Solidity: event ValidatorDeregistered(address indexed validator)
func (*ValidatorsFilterer) ParseValidatorEcdsaPublicKeyUpdated ¶
func (_Validators *ValidatorsFilterer) ParseValidatorEcdsaPublicKeyUpdated(log types.Log) (*ValidatorsValidatorEcdsaPublicKeyUpdated, error)
ParseValidatorEcdsaPublicKeyUpdated is a log parse operation binding the contract event 0x213377eec2c15b21fa7abcbb0cb87a67e893cdb94a2564aa4bb4d380869473c8.
Solidity: event ValidatorEcdsaPublicKeyUpdated(address indexed validator, bytes ecdsaPublicKey)
func (*ValidatorsFilterer) ParseValidatorEpochPaymentDistributed ¶
func (_Validators *ValidatorsFilterer) ParseValidatorEpochPaymentDistributed(log types.Log) (*ValidatorsValidatorEpochPaymentDistributed, error)
ParseValidatorEpochPaymentDistributed is a log parse operation binding the contract event 0x6f5937add2ec38a0fa4959bccd86e3fcc2aafb706cd3e6c0565f87a7b36b9975.
Solidity: event ValidatorEpochPaymentDistributed(address indexed validator, uint256 validatorPayment, address indexed group, uint256 groupPayment)
func (*ValidatorsFilterer) ParseValidatorGroupCommissionUpdateQueued ¶
func (_Validators *ValidatorsFilterer) ParseValidatorGroupCommissionUpdateQueued(log types.Log) (*ValidatorsValidatorGroupCommissionUpdateQueued, error)
ParseValidatorGroupCommissionUpdateQueued is a log parse operation binding the contract event 0x557d39a57520d9835859d4b7eda805a7f4115a59c3a374eeed488436fc62a152.
Solidity: event ValidatorGroupCommissionUpdateQueued(address indexed group, uint256 commission, uint256 activationBlock)
func (*ValidatorsFilterer) ParseValidatorGroupCommissionUpdated ¶
func (_Validators *ValidatorsFilterer) ParseValidatorGroupCommissionUpdated(log types.Log) (*ValidatorsValidatorGroupCommissionUpdated, error)
ParseValidatorGroupCommissionUpdated is a log parse operation binding the contract event 0x815d292dbc1a08dfb3103aabb6611233dd2393903e57bdf4c5b3db91198a826c.
Solidity: event ValidatorGroupCommissionUpdated(address indexed group, uint256 commission)
func (*ValidatorsFilterer) ParseValidatorGroupDeregistered ¶
func (_Validators *ValidatorsFilterer) ParseValidatorGroupDeregistered(log types.Log) (*ValidatorsValidatorGroupDeregistered, error)
ParseValidatorGroupDeregistered is a log parse operation binding the contract event 0xae7e034b0748a10a219b46074b20977a9170bf4027b156c797093773619a8669.
Solidity: event ValidatorGroupDeregistered(address indexed group)
func (*ValidatorsFilterer) ParseValidatorGroupMemberAdded ¶
func (_Validators *ValidatorsFilterer) ParseValidatorGroupMemberAdded(log types.Log) (*ValidatorsValidatorGroupMemberAdded, error)
ParseValidatorGroupMemberAdded is a log parse operation binding the contract event 0xbdf7e616a6943f81e07a7984c9d4c00197dc2f481486ce4ffa6af52a113974ad.
Solidity: event ValidatorGroupMemberAdded(address indexed group, address indexed validator)
func (*ValidatorsFilterer) ParseValidatorGroupMemberRemoved ¶
func (_Validators *ValidatorsFilterer) ParseValidatorGroupMemberRemoved(log types.Log) (*ValidatorsValidatorGroupMemberRemoved, error)
ParseValidatorGroupMemberRemoved is a log parse operation binding the contract event 0xc7666a52a66ff601ff7c0d4d6efddc9ac20a34792f6aa003d1804c9d4d5baa57.
Solidity: event ValidatorGroupMemberRemoved(address indexed group, address indexed validator)
func (*ValidatorsFilterer) ParseValidatorGroupMemberReordered ¶
func (_Validators *ValidatorsFilterer) ParseValidatorGroupMemberReordered(log types.Log) (*ValidatorsValidatorGroupMemberReordered, error)
ParseValidatorGroupMemberReordered is a log parse operation binding the contract event 0x38819cc49a343985b478d72f531a35b15384c398dd80fd191a14662170f895c6.
Solidity: event ValidatorGroupMemberReordered(address indexed group, address indexed validator)
func (*ValidatorsFilterer) ParseValidatorGroupRegistered ¶
func (_Validators *ValidatorsFilterer) ParseValidatorGroupRegistered(log types.Log) (*ValidatorsValidatorGroupRegistered, error)
ParseValidatorGroupRegistered is a log parse operation binding the contract event 0xbf4b45570f1907a94775f8449817051a492a676918e38108bb762e991e6b58dc.
Solidity: event ValidatorGroupRegistered(address indexed group, uint256 commission)
func (*ValidatorsFilterer) ParseValidatorLockedGoldRequirementsSet ¶
func (_Validators *ValidatorsFilterer) ParseValidatorLockedGoldRequirementsSet(log types.Log) (*ValidatorsValidatorLockedGoldRequirementsSet, error)
ParseValidatorLockedGoldRequirementsSet is a log parse operation binding the contract event 0x62d947118dd4c1f5ece7f787a9cad4e1127d14d403b71133e95792b473bf8389.
Solidity: event ValidatorLockedGoldRequirementsSet(uint256 value, uint256 duration)
func (*ValidatorsFilterer) ParseValidatorRegistered ¶
func (_Validators *ValidatorsFilterer) ParseValidatorRegistered(log types.Log) (*ValidatorsValidatorRegistered, error)
ParseValidatorRegistered is a log parse operation binding the contract event 0x97d442eb14c205924bf6409929abb95411c07b91ec8354179251ab67b55a8e26.
Solidity: event ValidatorRegistered(address indexed validator, bytes ecdsaPublicKey, bytes blsPublicKey)
func (*ValidatorsFilterer) ParseValidatorScoreParametersSet ¶
func (_Validators *ValidatorsFilterer) ParseValidatorScoreParametersSet(log types.Log) (*ValidatorsValidatorScoreParametersSet, error)
ParseValidatorScoreParametersSet is a log parse operation binding the contract event 0x4b48724280029c2ea7a445c9cea30838525342e7a9ea9468f630b52e75d6c536.
Solidity: event ValidatorScoreParametersSet(uint256 exponent, uint256 adjustmentSpeed)
func (*ValidatorsFilterer) ParseValidatorScoreUpdated ¶
func (_Validators *ValidatorsFilterer) ParseValidatorScoreUpdated(log types.Log) (*ValidatorsValidatorScoreUpdated, error)
ParseValidatorScoreUpdated is a log parse operation binding the contract event 0xedf9f87e50e10c533bf3ae7f5a7894ae66c23e6cbbe8773d7765d20ad6f995e9.
Solidity: event ValidatorScoreUpdated(address indexed validator, uint256 score, uint256 epochScore)
func (*ValidatorsFilterer) TryParseLog ¶
func (_Validators *ValidatorsFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
TryParseLog attempts to parse a log. Returns the parsed log, eventName and whether it was successful
func (*ValidatorsFilterer) WatchCommissionUpdateDelaySet ¶
func (_Validators *ValidatorsFilterer) WatchCommissionUpdateDelaySet(opts *bind.WatchOpts, sink chan<- *ValidatorsCommissionUpdateDelaySet) (event.Subscription, error)
WatchCommissionUpdateDelaySet is a free log subscription operation binding the contract event 0xf2da07d08fd8dc9c5dcf87ad6f540e306f884a47dd8de14b718a4d5395f1ca9b.
Solidity: event CommissionUpdateDelaySet(uint256 delay)
func (*ValidatorsFilterer) WatchGroupLockedGoldRequirementsSet ¶
func (_Validators *ValidatorsFilterer) WatchGroupLockedGoldRequirementsSet(opts *bind.WatchOpts, sink chan<- *ValidatorsGroupLockedGoldRequirementsSet) (event.Subscription, error)
WatchGroupLockedGoldRequirementsSet is a free log subscription operation binding the contract event 0x999f7ee1917e6d7ea08360edfe9250cda3eda859c38dcb71a92623665de64dd4.
Solidity: event GroupLockedGoldRequirementsSet(uint256 value, uint256 duration)
func (*ValidatorsFilterer) WatchMaxGroupSizeSet ¶
func (_Validators *ValidatorsFilterer) WatchMaxGroupSizeSet(opts *bind.WatchOpts, sink chan<- *ValidatorsMaxGroupSizeSet) (event.Subscription, error)
WatchMaxGroupSizeSet is a free log subscription operation binding the contract event 0x603fe12c33c253a23da1680aa453dc70c3a0ee07763569bd5f602406ebd4e5d5.
Solidity: event MaxGroupSizeSet(uint256 size)
func (*ValidatorsFilterer) WatchMembershipHistoryLengthSet ¶
func (_Validators *ValidatorsFilterer) WatchMembershipHistoryLengthSet(opts *bind.WatchOpts, sink chan<- *ValidatorsMembershipHistoryLengthSet) (event.Subscription, error)
WatchMembershipHistoryLengthSet is a free log subscription operation binding the contract event 0x1c75c7fb3ee9d13d8394372d8c7cdf1702fa947faa03f6ccfa500f787b09b48a.
Solidity: event MembershipHistoryLengthSet(uint256 length)
func (*ValidatorsFilterer) WatchOwnershipTransferred ¶
func (_Validators *ValidatorsFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ValidatorsOwnershipTransferred, 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 (*ValidatorsFilterer) WatchRegistrySet ¶
func (_Validators *ValidatorsFilterer) WatchRegistrySet(opts *bind.WatchOpts, sink chan<- *ValidatorsRegistrySet, registryAddress []common.Address) (event.Subscription, error)
WatchRegistrySet is a free log subscription operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.
Solidity: event RegistrySet(address indexed registryAddress)
func (*ValidatorsFilterer) WatchValidatorAffiliated ¶
func (_Validators *ValidatorsFilterer) WatchValidatorAffiliated(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorAffiliated, validator []common.Address, group []common.Address) (event.Subscription, error)
WatchValidatorAffiliated is a free log subscription operation binding the contract event 0x91ef92227057e201e406c3451698dd780fe7672ad74328591c88d281af31581d.
Solidity: event ValidatorAffiliated(address indexed validator, address indexed group)
func (*ValidatorsFilterer) WatchValidatorBlsPublicKeyUpdated ¶
func (_Validators *ValidatorsFilterer) WatchValidatorBlsPublicKeyUpdated(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorBlsPublicKeyUpdated, validator []common.Address) (event.Subscription, error)
WatchValidatorBlsPublicKeyUpdated is a free log subscription operation binding the contract event 0x36a1aabe506bbe8802233cbb9aad628e91269e77077c953f9db3e02d7092ee33.
Solidity: event ValidatorBlsPublicKeyUpdated(address indexed validator, bytes blsPublicKey)
func (*ValidatorsFilterer) WatchValidatorDeaffiliated ¶
func (_Validators *ValidatorsFilterer) WatchValidatorDeaffiliated(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorDeaffiliated, validator []common.Address, group []common.Address) (event.Subscription, error)
WatchValidatorDeaffiliated is a free log subscription operation binding the contract event 0x71815121f0622b31a3e7270eb28acb9fd10825ff418c9a18591f617bb8a31a6c.
Solidity: event ValidatorDeaffiliated(address indexed validator, address indexed group)
func (*ValidatorsFilterer) WatchValidatorDeregistered ¶
func (_Validators *ValidatorsFilterer) WatchValidatorDeregistered(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorDeregistered, validator []common.Address) (event.Subscription, error)
WatchValidatorDeregistered is a free log subscription operation binding the contract event 0x51407fafe7ef9bec39c65a12a4885a274190991bf1e9057fcc384fc77ff1a7f0.
Solidity: event ValidatorDeregistered(address indexed validator)
func (*ValidatorsFilterer) WatchValidatorEcdsaPublicKeyUpdated ¶
func (_Validators *ValidatorsFilterer) WatchValidatorEcdsaPublicKeyUpdated(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorEcdsaPublicKeyUpdated, validator []common.Address) (event.Subscription, error)
WatchValidatorEcdsaPublicKeyUpdated is a free log subscription operation binding the contract event 0x213377eec2c15b21fa7abcbb0cb87a67e893cdb94a2564aa4bb4d380869473c8.
Solidity: event ValidatorEcdsaPublicKeyUpdated(address indexed validator, bytes ecdsaPublicKey)
func (*ValidatorsFilterer) WatchValidatorEpochPaymentDistributed ¶
func (_Validators *ValidatorsFilterer) WatchValidatorEpochPaymentDistributed(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorEpochPaymentDistributed, validator []common.Address, group []common.Address) (event.Subscription, error)
WatchValidatorEpochPaymentDistributed is a free log subscription operation binding the contract event 0x6f5937add2ec38a0fa4959bccd86e3fcc2aafb706cd3e6c0565f87a7b36b9975.
Solidity: event ValidatorEpochPaymentDistributed(address indexed validator, uint256 validatorPayment, address indexed group, uint256 groupPayment)
func (*ValidatorsFilterer) WatchValidatorGroupCommissionUpdateQueued ¶
func (_Validators *ValidatorsFilterer) WatchValidatorGroupCommissionUpdateQueued(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorGroupCommissionUpdateQueued, group []common.Address) (event.Subscription, error)
WatchValidatorGroupCommissionUpdateQueued is a free log subscription operation binding the contract event 0x557d39a57520d9835859d4b7eda805a7f4115a59c3a374eeed488436fc62a152.
Solidity: event ValidatorGroupCommissionUpdateQueued(address indexed group, uint256 commission, uint256 activationBlock)
func (*ValidatorsFilterer) WatchValidatorGroupCommissionUpdated ¶
func (_Validators *ValidatorsFilterer) WatchValidatorGroupCommissionUpdated(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorGroupCommissionUpdated, group []common.Address) (event.Subscription, error)
WatchValidatorGroupCommissionUpdated is a free log subscription operation binding the contract event 0x815d292dbc1a08dfb3103aabb6611233dd2393903e57bdf4c5b3db91198a826c.
Solidity: event ValidatorGroupCommissionUpdated(address indexed group, uint256 commission)
func (*ValidatorsFilterer) WatchValidatorGroupDeregistered ¶
func (_Validators *ValidatorsFilterer) WatchValidatorGroupDeregistered(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorGroupDeregistered, group []common.Address) (event.Subscription, error)
WatchValidatorGroupDeregistered is a free log subscription operation binding the contract event 0xae7e034b0748a10a219b46074b20977a9170bf4027b156c797093773619a8669.
Solidity: event ValidatorGroupDeregistered(address indexed group)
func (*ValidatorsFilterer) WatchValidatorGroupMemberAdded ¶
func (_Validators *ValidatorsFilterer) WatchValidatorGroupMemberAdded(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorGroupMemberAdded, group []common.Address, validator []common.Address) (event.Subscription, error)
WatchValidatorGroupMemberAdded is a free log subscription operation binding the contract event 0xbdf7e616a6943f81e07a7984c9d4c00197dc2f481486ce4ffa6af52a113974ad.
Solidity: event ValidatorGroupMemberAdded(address indexed group, address indexed validator)
func (*ValidatorsFilterer) WatchValidatorGroupMemberRemoved ¶
func (_Validators *ValidatorsFilterer) WatchValidatorGroupMemberRemoved(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorGroupMemberRemoved, group []common.Address, validator []common.Address) (event.Subscription, error)
WatchValidatorGroupMemberRemoved is a free log subscription operation binding the contract event 0xc7666a52a66ff601ff7c0d4d6efddc9ac20a34792f6aa003d1804c9d4d5baa57.
Solidity: event ValidatorGroupMemberRemoved(address indexed group, address indexed validator)
func (*ValidatorsFilterer) WatchValidatorGroupMemberReordered ¶
func (_Validators *ValidatorsFilterer) WatchValidatorGroupMemberReordered(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorGroupMemberReordered, group []common.Address, validator []common.Address) (event.Subscription, error)
WatchValidatorGroupMemberReordered is a free log subscription operation binding the contract event 0x38819cc49a343985b478d72f531a35b15384c398dd80fd191a14662170f895c6.
Solidity: event ValidatorGroupMemberReordered(address indexed group, address indexed validator)
func (*ValidatorsFilterer) WatchValidatorGroupRegistered ¶
func (_Validators *ValidatorsFilterer) WatchValidatorGroupRegistered(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorGroupRegistered, group []common.Address) (event.Subscription, error)
WatchValidatorGroupRegistered is a free log subscription operation binding the contract event 0xbf4b45570f1907a94775f8449817051a492a676918e38108bb762e991e6b58dc.
Solidity: event ValidatorGroupRegistered(address indexed group, uint256 commission)
func (*ValidatorsFilterer) WatchValidatorLockedGoldRequirementsSet ¶
func (_Validators *ValidatorsFilterer) WatchValidatorLockedGoldRequirementsSet(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorLockedGoldRequirementsSet) (event.Subscription, error)
WatchValidatorLockedGoldRequirementsSet is a free log subscription operation binding the contract event 0x62d947118dd4c1f5ece7f787a9cad4e1127d14d403b71133e95792b473bf8389.
Solidity: event ValidatorLockedGoldRequirementsSet(uint256 value, uint256 duration)
func (*ValidatorsFilterer) WatchValidatorRegistered ¶
func (_Validators *ValidatorsFilterer) WatchValidatorRegistered(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorRegistered, validator []common.Address) (event.Subscription, error)
WatchValidatorRegistered is a free log subscription operation binding the contract event 0x97d442eb14c205924bf6409929abb95411c07b91ec8354179251ab67b55a8e26.
Solidity: event ValidatorRegistered(address indexed validator, bytes ecdsaPublicKey, bytes blsPublicKey)
func (*ValidatorsFilterer) WatchValidatorScoreParametersSet ¶
func (_Validators *ValidatorsFilterer) WatchValidatorScoreParametersSet(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorScoreParametersSet) (event.Subscription, error)
WatchValidatorScoreParametersSet is a free log subscription operation binding the contract event 0x4b48724280029c2ea7a445c9cea30838525342e7a9ea9468f630b52e75d6c536.
Solidity: event ValidatorScoreParametersSet(uint256 exponent, uint256 adjustmentSpeed)
func (*ValidatorsFilterer) WatchValidatorScoreUpdated ¶
func (_Validators *ValidatorsFilterer) WatchValidatorScoreUpdated(opts *bind.WatchOpts, sink chan<- *ValidatorsValidatorScoreUpdated, validator []common.Address) (event.Subscription, error)
WatchValidatorScoreUpdated is a free log subscription operation binding the contract event 0xedf9f87e50e10c533bf3ae7f5a7894ae66c23e6cbbe8773d7765d20ad6f995e9.
Solidity: event ValidatorScoreUpdated(address indexed validator, uint256 score, uint256 epochScore)
type ValidatorsGroupLockedGoldRequirementsSet ¶
type ValidatorsGroupLockedGoldRequirementsSet struct {
Value *big.Int
Duration *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsGroupLockedGoldRequirementsSet represents a GroupLockedGoldRequirementsSet event raised by the Validators contract.
type ValidatorsGroupLockedGoldRequirementsSetIterator ¶
type ValidatorsGroupLockedGoldRequirementsSetIterator struct {
Event *ValidatorsGroupLockedGoldRequirementsSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsGroupLockedGoldRequirementsSetIterator is returned from FilterGroupLockedGoldRequirementsSet and is used to iterate over the raw logs and unpacked data for GroupLockedGoldRequirementsSet events raised by the Validators contract.
func (*ValidatorsGroupLockedGoldRequirementsSetIterator) Close ¶
func (it *ValidatorsGroupLockedGoldRequirementsSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsGroupLockedGoldRequirementsSetIterator) Error ¶
func (it *ValidatorsGroupLockedGoldRequirementsSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsGroupLockedGoldRequirementsSetIterator) Next ¶
func (it *ValidatorsGroupLockedGoldRequirementsSetIterator) 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 ValidatorsMaxGroupSizeSet ¶
type ValidatorsMaxGroupSizeSet struct {
Size *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsMaxGroupSizeSet represents a MaxGroupSizeSet event raised by the Validators contract.
type ValidatorsMaxGroupSizeSetIterator ¶
type ValidatorsMaxGroupSizeSetIterator struct {
Event *ValidatorsMaxGroupSizeSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsMaxGroupSizeSetIterator is returned from FilterMaxGroupSizeSet and is used to iterate over the raw logs and unpacked data for MaxGroupSizeSet events raised by the Validators contract.
func (*ValidatorsMaxGroupSizeSetIterator) Close ¶
func (it *ValidatorsMaxGroupSizeSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsMaxGroupSizeSetIterator) Error ¶
func (it *ValidatorsMaxGroupSizeSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsMaxGroupSizeSetIterator) Next ¶
func (it *ValidatorsMaxGroupSizeSetIterator) 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 ValidatorsMembershipHistoryLengthSet ¶
type ValidatorsMembershipHistoryLengthSet struct {
Length *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsMembershipHistoryLengthSet represents a MembershipHistoryLengthSet event raised by the Validators contract.
type ValidatorsMembershipHistoryLengthSetIterator ¶
type ValidatorsMembershipHistoryLengthSetIterator struct {
Event *ValidatorsMembershipHistoryLengthSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsMembershipHistoryLengthSetIterator is returned from FilterMembershipHistoryLengthSet and is used to iterate over the raw logs and unpacked data for MembershipHistoryLengthSet events raised by the Validators contract.
func (*ValidatorsMembershipHistoryLengthSetIterator) Close ¶
func (it *ValidatorsMembershipHistoryLengthSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsMembershipHistoryLengthSetIterator) Error ¶
func (it *ValidatorsMembershipHistoryLengthSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsMembershipHistoryLengthSetIterator) Next ¶
func (it *ValidatorsMembershipHistoryLengthSetIterator) 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 ValidatorsOwnershipTransferred ¶
type ValidatorsOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsOwnershipTransferred represents a OwnershipTransferred event raised by the Validators contract.
type ValidatorsOwnershipTransferredIterator ¶
type ValidatorsOwnershipTransferredIterator struct {
Event *ValidatorsOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Validators contract.
func (*ValidatorsOwnershipTransferredIterator) Close ¶
func (it *ValidatorsOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsOwnershipTransferredIterator) Error ¶
func (it *ValidatorsOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsOwnershipTransferredIterator) Next ¶
func (it *ValidatorsOwnershipTransferredIterator) 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 ValidatorsRaw ¶
type ValidatorsRaw struct {
Contract *Validators // Generic contract binding to access the raw methods on
}
ValidatorsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ValidatorsRaw) Call ¶
func (_Validators *ValidatorsRaw) 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 (*ValidatorsRaw) Transact ¶
func (_Validators *ValidatorsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ValidatorsRaw) Transfer ¶
func (_Validators *ValidatorsRaw) 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 ValidatorsRegistrySet ¶
type ValidatorsRegistrySet struct {
RegistryAddress common.Address
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsRegistrySet represents a RegistrySet event raised by the Validators contract.
type ValidatorsRegistrySetIterator ¶
type ValidatorsRegistrySetIterator struct {
Event *ValidatorsRegistrySet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsRegistrySetIterator is returned from FilterRegistrySet and is used to iterate over the raw logs and unpacked data for RegistrySet events raised by the Validators contract.
func (*ValidatorsRegistrySetIterator) Close ¶
func (it *ValidatorsRegistrySetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsRegistrySetIterator) Error ¶
func (it *ValidatorsRegistrySetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsRegistrySetIterator) Next ¶
func (it *ValidatorsRegistrySetIterator) 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 ValidatorsSession ¶
type ValidatorsSession struct {
Contract *Validators // 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
}
ValidatorsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ValidatorsSession) AddFirstMember ¶
func (_Validators *ValidatorsSession) AddFirstMember(validator common.Address, lesser common.Address, greater common.Address) (*types.Transaction, error)
AddFirstMember is a paid mutator transaction binding the contract method 0x3173b8db.
Solidity: function addFirstMember(address validator, address lesser, address greater) returns(bool)
func (*ValidatorsSession) AddMember ¶
func (_Validators *ValidatorsSession) AddMember(validator common.Address) (*types.Transaction, error)
AddMember is a paid mutator transaction binding the contract method 0xca6d56dc.
Solidity: function addMember(address validator) returns(bool)
func (*ValidatorsSession) Affiliate ¶
func (_Validators *ValidatorsSession) Affiliate(group common.Address) (*types.Transaction, error)
Affiliate is a paid mutator transaction binding the contract method 0xb591d3a5.
Solidity: function affiliate(address group) returns(bool)
func (*ValidatorsSession) CalculateEpochScore ¶
CalculateEpochScore is a free data retrieval call binding the contract method 0x94903a97.
Solidity: function calculateEpochScore(uint256 uptime) constant returns(uint256)
func (*ValidatorsSession) CalculateGroupEpochScore ¶
func (_Validators *ValidatorsSession) CalculateGroupEpochScore(uptimes []*big.Int) (*big.Int, error)
CalculateGroupEpochScore is a free data retrieval call binding the contract method 0x76f7425d.
Solidity: function calculateGroupEpochScore(uint256[] uptimes) constant returns(uint256)
func (*ValidatorsSession) CheckProofOfPossession ¶
func (_Validators *ValidatorsSession) CheckProofOfPossession(sender common.Address, blsKey []byte, blsPop []byte) (bool, error)
CheckProofOfPossession is a free data retrieval call binding the contract method 0x23f0ab65.
Solidity: function checkProofOfPossession(address sender, bytes blsKey, bytes blsPop) constant returns(bool)
func (*ValidatorsSession) CommissionUpdateDelay ¶
func (_Validators *ValidatorsSession) CommissionUpdateDelay() (*big.Int, error)
CommissionUpdateDelay is a free data retrieval call binding the contract method 0xe0e3ffe6.
Solidity: function commissionUpdateDelay() constant returns(uint256)
func (*ValidatorsSession) Deaffiliate ¶
func (_Validators *ValidatorsSession) Deaffiliate() (*types.Transaction, error)
Deaffiliate is a paid mutator transaction binding the contract method 0xfffdfccb.
Solidity: function deaffiliate() returns(bool)
func (*ValidatorsSession) DeregisterValidator ¶
func (_Validators *ValidatorsSession) DeregisterValidator(index *big.Int) (*types.Transaction, error)
DeregisterValidator is a paid mutator transaction binding the contract method 0x8b16b1c6.
Solidity: function deregisterValidator(uint256 index) returns(bool)
func (*ValidatorsSession) DeregisterValidatorGroup ¶
func (_Validators *ValidatorsSession) DeregisterValidatorGroup(index *big.Int) (*types.Transaction, error)
DeregisterValidatorGroup is a paid mutator transaction binding the contract method 0x60fb822c.
Solidity: function deregisterValidatorGroup(uint256 index) returns(bool)
func (*ValidatorsSession) DistributeEpochPaymentsFromSigner ¶
func (_Validators *ValidatorsSession) DistributeEpochPaymentsFromSigner(signer common.Address, maxPayment *big.Int) (*types.Transaction, error)
DistributeEpochPaymentsFromSigner is a paid mutator transaction binding the contract method 0xd69ef6cf.
Solidity: function distributeEpochPaymentsFromSigner(address signer, uint256 maxPayment) returns(uint256)
func (*ValidatorsSession) ForceDeaffiliateIfValidator ¶
func (_Validators *ValidatorsSession) ForceDeaffiliateIfValidator(validatorAccount common.Address) (*types.Transaction, error)
ForceDeaffiliateIfValidator is a paid mutator transaction binding the contract method 0xe33301aa.
Solidity: function forceDeaffiliateIfValidator(address validatorAccount) returns()
func (*ValidatorsSession) FractionMulExp ¶
func (_Validators *ValidatorsSession) FractionMulExp(aNumerator *big.Int, aDenominator *big.Int, bNumerator *big.Int, bDenominator *big.Int, exponent *big.Int, _decimals *big.Int) (*big.Int, *big.Int, error)
FractionMulExp is a free data retrieval call binding the contract method 0xec683072.
Solidity: function fractionMulExp(uint256 aNumerator, uint256 aDenominator, uint256 bNumerator, uint256 bDenominator, uint256 exponent, uint256 _decimals) constant returns(uint256, uint256)
func (*ValidatorsSession) GetAccountLockedGoldRequirement ¶
func (_Validators *ValidatorsSession) GetAccountLockedGoldRequirement(account common.Address) (*big.Int, error)
GetAccountLockedGoldRequirement is a free data retrieval call binding the contract method 0xdcff4cf6.
Solidity: function getAccountLockedGoldRequirement(address account) constant returns(uint256)
func (*ValidatorsSession) GetBlockNumberFromHeader ¶
func (_Validators *ValidatorsSession) GetBlockNumberFromHeader(header []byte) (*big.Int, error)
GetBlockNumberFromHeader is a free data retrieval call binding the contract method 0x8a883626.
Solidity: function getBlockNumberFromHeader(bytes header) constant returns(uint256)
func (*ValidatorsSession) GetCommissionUpdateDelay ¶
func (_Validators *ValidatorsSession) GetCommissionUpdateDelay() (*big.Int, error)
GetCommissionUpdateDelay is a free data retrieval call binding the contract method 0xb915f530.
Solidity: function getCommissionUpdateDelay() constant returns(uint256)
func (*ValidatorsSession) GetEpochNumber ¶
func (_Validators *ValidatorsSession) GetEpochNumber() (*big.Int, error)
GetEpochNumber is a free data retrieval call binding the contract method 0x9a7b3be7.
Solidity: function getEpochNumber() constant returns(uint256)
func (*ValidatorsSession) GetEpochNumberOfBlock ¶
GetEpochNumberOfBlock is a free data retrieval call binding the contract method 0x3b1eb4bf.
Solidity: function getEpochNumberOfBlock(uint256 blockNumber) constant returns(uint256)
func (*ValidatorsSession) GetEpochSize ¶
func (_Validators *ValidatorsSession) GetEpochSize() (*big.Int, error)
GetEpochSize is a free data retrieval call binding the contract method 0xdf4da461.
Solidity: function getEpochSize() constant returns(uint256)
func (*ValidatorsSession) GetGroupLockedGoldRequirements ¶
GetGroupLockedGoldRequirements is a free data retrieval call binding the contract method 0x6fa47647.
Solidity: function getGroupLockedGoldRequirements() constant returns(uint256, uint256)
func (*ValidatorsSession) GetGroupNumMembers ¶
GetGroupNumMembers is a free data retrieval call binding the contract method 0x39e618e8.
Solidity: function getGroupNumMembers(address account) constant returns(uint256)
func (*ValidatorsSession) GetGroupsNumMembers ¶
func (_Validators *ValidatorsSession) GetGroupsNumMembers(accounts []common.Address) ([]*big.Int, error)
GetGroupsNumMembers is a free data retrieval call binding the contract method 0x70447754.
Solidity: function getGroupsNumMembers(address[] accounts) constant returns(uint256[])
func (*ValidatorsSession) GetMaxGroupSize ¶
func (_Validators *ValidatorsSession) GetMaxGroupSize() (*big.Int, error)
GetMaxGroupSize is a free data retrieval call binding the contract method 0x43d96699.
Solidity: function getMaxGroupSize() constant returns(uint256)
func (*ValidatorsSession) GetMembershipHistory ¶
func (_Validators *ValidatorsSession) GetMembershipHistory(account common.Address) ([]*big.Int, []common.Address, *big.Int, *big.Int, error)
GetMembershipHistory is a free data retrieval call binding the contract method 0x35244f51.
Solidity: function getMembershipHistory(address account) constant returns(uint256[], address[], uint256, uint256)
func (*ValidatorsSession) GetMembershipInLastEpoch ¶
func (_Validators *ValidatorsSession) GetMembershipInLastEpoch(account common.Address) (common.Address, error)
GetMembershipInLastEpoch is a free data retrieval call binding the contract method 0x0d1312b8.
Solidity: function getMembershipInLastEpoch(address account) constant returns(address)
func (*ValidatorsSession) GetMembershipInLastEpochFromSigner ¶
func (_Validators *ValidatorsSession) GetMembershipInLastEpochFromSigner(signer common.Address) (common.Address, error)
GetMembershipInLastEpochFromSigner is a free data retrieval call binding the contract method 0x51b52225.
Solidity: function getMembershipInLastEpochFromSigner(address signer) constant returns(address)
func (*ValidatorsSession) GetNumRegisteredValidators ¶
func (_Validators *ValidatorsSession) GetNumRegisteredValidators() (*big.Int, error)
GetNumRegisteredValidators is a free data retrieval call binding the contract method 0x517f6d33.
Solidity: function getNumRegisteredValidators() constant returns(uint256)
func (*ValidatorsSession) GetParentSealBitmap ¶
func (_Validators *ValidatorsSession) GetParentSealBitmap(blockNumber *big.Int) ([32]byte, error)
GetParentSealBitmap is a free data retrieval call binding the contract method 0xfae8db0a.
Solidity: function getParentSealBitmap(uint256 blockNumber) constant returns(bytes32)
func (*ValidatorsSession) GetRegisteredValidatorGroups ¶
func (_Validators *ValidatorsSession) GetRegisteredValidatorGroups() ([]common.Address, error)
GetRegisteredValidatorGroups is a free data retrieval call binding the contract method 0x3f270898.
Solidity: function getRegisteredValidatorGroups() constant returns(address[])
func (*ValidatorsSession) GetRegisteredValidatorSigners ¶
func (_Validators *ValidatorsSession) GetRegisteredValidatorSigners() ([]common.Address, error)
GetRegisteredValidatorSigners is a free data retrieval call binding the contract method 0xd55dcbcf.
Solidity: function getRegisteredValidatorSigners() constant returns(address[])
func (*ValidatorsSession) GetRegisteredValidators ¶
func (_Validators *ValidatorsSession) GetRegisteredValidators() ([]common.Address, error)
GetRegisteredValidators is a free data retrieval call binding the contract method 0xd93ab5ad.
Solidity: function getRegisteredValidators() constant returns(address[])
func (*ValidatorsSession) GetTopGroupValidators ¶
func (_Validators *ValidatorsSession) GetTopGroupValidators(account common.Address, n *big.Int) ([]common.Address, error)
GetTopGroupValidators is a free data retrieval call binding the contract method 0x8dd31e39.
Solidity: function getTopGroupValidators(address account, uint256 n) constant returns(address[])
func (*ValidatorsSession) GetValidator ¶
func (_Validators *ValidatorsSession) GetValidator(account common.Address) (struct { EcdsaPublicKey []byte BlsPublicKey []byte Affiliation common.Address Score *big.Int Signer common.Address }, error)
GetValidator is a free data retrieval call binding the contract method 0x1904bb2e.
Solidity: function getValidator(address account) constant returns(bytes ecdsaPublicKey, bytes blsPublicKey, address affiliation, uint256 score, address signer)
func (*ValidatorsSession) GetValidatorBlsPublicKeyFromSigner ¶
func (_Validators *ValidatorsSession) GetValidatorBlsPublicKeyFromSigner(signer common.Address) ([]byte, error)
GetValidatorBlsPublicKeyFromSigner is a free data retrieval call binding the contract method 0xb730a299.
Solidity: function getValidatorBlsPublicKeyFromSigner(address signer) constant returns(bytes blsPublicKey)
func (*ValidatorsSession) GetValidatorGroup ¶
func (_Validators *ValidatorsSession) GetValidatorGroup(account common.Address) ([]common.Address, *big.Int, *big.Int, *big.Int, []*big.Int, *big.Int, *big.Int, error)
GetValidatorGroup is a free data retrieval call binding the contract method 0x9b9d5161.
Solidity: function getValidatorGroup(address account) constant returns(address[], uint256, uint256, uint256, uint256[], uint256, uint256)
func (*ValidatorsSession) GetValidatorGroupSlashingMultiplier ¶
func (_Validators *ValidatorsSession) GetValidatorGroupSlashingMultiplier(account common.Address) (*big.Int, error)
GetValidatorGroupSlashingMultiplier is a free data retrieval call binding the contract method 0xdba94fcd.
Solidity: function getValidatorGroupSlashingMultiplier(address account) constant returns(uint256)
func (*ValidatorsSession) GetValidatorLockedGoldRequirements ¶
func (_Validators *ValidatorsSession) GetValidatorLockedGoldRequirements() (*big.Int, *big.Int, error)
GetValidatorLockedGoldRequirements is a free data retrieval call binding the contract method 0xc10c96ef.
Solidity: function getValidatorLockedGoldRequirements() constant returns(uint256, uint256)
func (*ValidatorsSession) GetValidatorScoreParameters ¶
GetValidatorScoreParameters is a free data retrieval call binding the contract method 0x19113e3b.
Solidity: function getValidatorScoreParameters() constant returns(uint256, uint256)
func (*ValidatorsSession) GetVerifiedSealBitmapFromHeader ¶
func (_Validators *ValidatorsSession) GetVerifiedSealBitmapFromHeader(header []byte) ([32]byte, error)
GetVerifiedSealBitmapFromHeader is a free data retrieval call binding the contract method 0x4b2c2f44.
Solidity: function getVerifiedSealBitmapFromHeader(bytes header) constant returns(bytes32)
func (*ValidatorsSession) GroupLockedGoldRequirements ¶
func (_Validators *ValidatorsSession) GroupLockedGoldRequirements() (struct { Value *big.Int Duration *big.Int }, error)
GroupLockedGoldRequirements is a free data retrieval call binding the contract method 0xc5805140.
Solidity: function groupLockedGoldRequirements() constant returns(uint256 value, uint256 duration)
func (*ValidatorsSession) GroupMembershipInEpoch ¶
func (_Validators *ValidatorsSession) GroupMembershipInEpoch(account common.Address, epochNumber *big.Int, index *big.Int) (common.Address, error)
GroupMembershipInEpoch is a free data retrieval call binding the contract method 0xeb1d0b42.
Solidity: function groupMembershipInEpoch(address account, uint256 epochNumber, uint256 index) constant returns(address)
func (*ValidatorsSession) HalveSlashingMultiplier ¶
func (_Validators *ValidatorsSession) HalveSlashingMultiplier(account common.Address) (*types.Transaction, error)
HalveSlashingMultiplier is a paid mutator transaction binding the contract method 0xc22d3bba.
Solidity: function halveSlashingMultiplier(address account) returns()
func (*ValidatorsSession) HashHeader ¶
func (_Validators *ValidatorsSession) HashHeader(header []byte) ([32]byte, error)
HashHeader is a free data retrieval call binding the contract method 0x67960e91.
Solidity: function hashHeader(bytes header) constant returns(bytes32)
func (*ValidatorsSession) Initialize ¶
func (_Validators *ValidatorsSession) Initialize(registryAddress common.Address, groupRequirementValue *big.Int, groupRequirementDuration *big.Int, validatorRequirementValue *big.Int, validatorRequirementDuration *big.Int, validatorScoreExponent *big.Int, validatorScoreAdjustmentSpeed *big.Int, _membershipHistoryLength *big.Int, _slashingMultiplierResetPeriod *big.Int, _maxGroupSize *big.Int, _commissionUpdateDelay *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x78d25456.
Solidity: function initialize(address registryAddress, uint256 groupRequirementValue, uint256 groupRequirementDuration, uint256 validatorRequirementValue, uint256 validatorRequirementDuration, uint256 validatorScoreExponent, uint256 validatorScoreAdjustmentSpeed, uint256 _membershipHistoryLength, uint256 _slashingMultiplierResetPeriod, uint256 _maxGroupSize, uint256 _commissionUpdateDelay) returns()
func (*ValidatorsSession) Initialized ¶
func (_Validators *ValidatorsSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*ValidatorsSession) IsOwner ¶
func (_Validators *ValidatorsSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*ValidatorsSession) IsValidator ¶
func (_Validators *ValidatorsSession) IsValidator(account common.Address) (bool, error)
IsValidator is a free data retrieval call binding the contract method 0xfacd743b.
Solidity: function isValidator(address account) constant returns(bool)
func (*ValidatorsSession) IsValidatorGroup ¶
func (_Validators *ValidatorsSession) IsValidatorGroup(account common.Address) (bool, error)
IsValidatorGroup is a free data retrieval call binding the contract method 0x52f13a4e.
Solidity: function isValidatorGroup(address account) constant returns(bool)
func (*ValidatorsSession) MaxGroupSize ¶
func (_Validators *ValidatorsSession) MaxGroupSize() (*big.Int, error)
MaxGroupSize is a free data retrieval call binding the contract method 0x5779e93d.
Solidity: function maxGroupSize() constant returns(uint256)
func (*ValidatorsSession) MeetsAccountLockedGoldRequirements ¶
func (_Validators *ValidatorsSession) MeetsAccountLockedGoldRequirements(account common.Address) (bool, error)
MeetsAccountLockedGoldRequirements is a free data retrieval call binding the contract method 0xc54c1cd4.
Solidity: function meetsAccountLockedGoldRequirements(address account) constant returns(bool)
func (*ValidatorsSession) MembershipHistoryLength ¶
func (_Validators *ValidatorsSession) MembershipHistoryLength() (*big.Int, error)
MembershipHistoryLength is a free data retrieval call binding the contract method 0x4cd76db4.
Solidity: function membershipHistoryLength() constant returns(uint256)
func (*ValidatorsSession) MinQuorumSize ¶
MinQuorumSize is a free data retrieval call binding the contract method 0xe50e652d.
Solidity: function minQuorumSize(uint256 blockNumber) constant returns(uint256)
func (*ValidatorsSession) MinQuorumSizeInCurrentSet ¶
func (_Validators *ValidatorsSession) MinQuorumSizeInCurrentSet() (*big.Int, error)
MinQuorumSizeInCurrentSet is a free data retrieval call binding the contract method 0x7385e5da.
Solidity: function minQuorumSizeInCurrentSet() constant returns(uint256)
func (*ValidatorsSession) NumberValidatorsInCurrentSet ¶
func (_Validators *ValidatorsSession) NumberValidatorsInCurrentSet() (*big.Int, error)
NumberValidatorsInCurrentSet is a free data retrieval call binding the contract method 0x87ee8a0f.
Solidity: function numberValidatorsInCurrentSet() constant returns(uint256)
func (*ValidatorsSession) NumberValidatorsInSet ¶
NumberValidatorsInSet is a free data retrieval call binding the contract method 0x9b2b592f.
Solidity: function numberValidatorsInSet(uint256 blockNumber) constant returns(uint256)
func (*ValidatorsSession) Owner ¶
func (_Validators *ValidatorsSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*ValidatorsSession) QueueCommissionUpdate ¶
func (_Validators *ValidatorsSession) QueueCommissionUpdate(commission *big.Int) (*types.Transaction, error)
QueueCommissionUpdate is a paid mutator transaction binding the contract method 0xd24072bd.
Solidity: function queueCommissionUpdate(uint256 commission) returns()
func (*ValidatorsSession) RegisterValidator ¶
func (_Validators *ValidatorsSession) RegisterValidator(ecdsaPublicKey []byte, blsPublicKey []byte, blsPop []byte) (*types.Transaction, error)
RegisterValidator is a paid mutator transaction binding the contract method 0xea684f77.
Solidity: function registerValidator(bytes ecdsaPublicKey, bytes blsPublicKey, bytes blsPop) returns(bool)
func (*ValidatorsSession) RegisterValidatorGroup ¶
func (_Validators *ValidatorsSession) RegisterValidatorGroup(commission *big.Int) (*types.Transaction, error)
RegisterValidatorGroup is a paid mutator transaction binding the contract method 0xee098310.
Solidity: function registerValidatorGroup(uint256 commission) returns(bool)
func (*ValidatorsSession) Registry ¶
func (_Validators *ValidatorsSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*ValidatorsSession) RemoveMember ¶
func (_Validators *ValidatorsSession) RemoveMember(validator common.Address) (*types.Transaction, error)
RemoveMember is a paid mutator transaction binding the contract method 0x0b1ca49a.
Solidity: function removeMember(address validator) returns(bool)
func (*ValidatorsSession) RenounceOwnership ¶
func (_Validators *ValidatorsSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ValidatorsSession) ReorderMember ¶
func (_Validators *ValidatorsSession) ReorderMember(validator common.Address, lesserMember common.Address, greaterMember common.Address) (*types.Transaction, error)
ReorderMember is a paid mutator transaction binding the contract method 0x988dcd1f.
Solidity: function reorderMember(address validator, address lesserMember, address greaterMember) returns(bool)
func (*ValidatorsSession) ResetSlashingMultiplier ¶
func (_Validators *ValidatorsSession) ResetSlashingMultiplier() (*types.Transaction, error)
ResetSlashingMultiplier is a paid mutator transaction binding the contract method 0xb8f93943.
Solidity: function resetSlashingMultiplier() returns()
func (*ValidatorsSession) SetCommissionUpdateDelay ¶
func (_Validators *ValidatorsSession) SetCommissionUpdateDelay(delay *big.Int) (*types.Transaction, error)
SetCommissionUpdateDelay is a paid mutator transaction binding the contract method 0x6c620d90.
Solidity: function setCommissionUpdateDelay(uint256 delay) returns()
func (*ValidatorsSession) SetGroupLockedGoldRequirements ¶
func (_Validators *ValidatorsSession) SetGroupLockedGoldRequirements(value *big.Int, duration *big.Int) (*types.Transaction, error)
SetGroupLockedGoldRequirements is a paid mutator transaction binding the contract method 0x5a61d15b.
Solidity: function setGroupLockedGoldRequirements(uint256 value, uint256 duration) returns(bool)
func (*ValidatorsSession) SetMaxGroupSize ¶
func (_Validators *ValidatorsSession) SetMaxGroupSize(size *big.Int) (*types.Transaction, error)
SetMaxGroupSize is a paid mutator transaction binding the contract method 0xe1497ff7.
Solidity: function setMaxGroupSize(uint256 size) returns(bool)
func (*ValidatorsSession) SetMembershipHistoryLength ¶
func (_Validators *ValidatorsSession) SetMembershipHistoryLength(length *big.Int) (*types.Transaction, error)
SetMembershipHistoryLength is a paid mutator transaction binding the contract method 0xeff2ea3f.
Solidity: function setMembershipHistoryLength(uint256 length) returns(bool)
func (*ValidatorsSession) SetRegistry ¶
func (_Validators *ValidatorsSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*ValidatorsSession) SetSlashingMultiplierResetPeriod ¶
func (_Validators *ValidatorsSession) SetSlashingMultiplierResetPeriod(value *big.Int) (*types.Transaction, error)
SetSlashingMultiplierResetPeriod is a paid mutator transaction binding the contract method 0x6ab951a0.
Solidity: function setSlashingMultiplierResetPeriod(uint256 value) returns()
func (*ValidatorsSession) SetValidatorLockedGoldRequirements ¶
func (_Validators *ValidatorsSession) SetValidatorLockedGoldRequirements(value *big.Int, duration *big.Int) (*types.Transaction, error)
SetValidatorLockedGoldRequirements is a paid mutator transaction binding the contract method 0x76c0a9ed.
Solidity: function setValidatorLockedGoldRequirements(uint256 value, uint256 duration) returns(bool)
func (*ValidatorsSession) SetValidatorScoreParameters ¶
func (_Validators *ValidatorsSession) SetValidatorScoreParameters(exponent *big.Int, adjustmentSpeed *big.Int) (*types.Transaction, error)
SetValidatorScoreParameters is a paid mutator transaction binding the contract method 0xcb8f98e0.
Solidity: function setValidatorScoreParameters(uint256 exponent, uint256 adjustmentSpeed) returns(bool)
func (*ValidatorsSession) SlashingMultiplierResetPeriod ¶
func (_Validators *ValidatorsSession) SlashingMultiplierResetPeriod() (*big.Int, error)
SlashingMultiplierResetPeriod is a free data retrieval call binding the contract method 0x36407b70.
Solidity: function slashingMultiplierResetPeriod() constant returns(uint256)
func (*ValidatorsSession) TransferOwnership ¶
func (_Validators *ValidatorsSession) 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 (*ValidatorsSession) UpdateBlsPublicKey ¶
func (_Validators *ValidatorsSession) UpdateBlsPublicKey(blsPublicKey []byte, blsPop []byte) (*types.Transaction, error)
UpdateBlsPublicKey is a paid mutator transaction binding the contract method 0xbfdb7417.
Solidity: function updateBlsPublicKey(bytes blsPublicKey, bytes blsPop) returns(bool)
func (*ValidatorsSession) UpdateCommission ¶
func (_Validators *ValidatorsSession) UpdateCommission() (*types.Transaction, error)
UpdateCommission is a paid mutator transaction binding the contract method 0xe7f03766.
Solidity: function updateCommission() returns()
func (*ValidatorsSession) UpdateEcdsaPublicKey ¶
func (_Validators *ValidatorsSession) UpdateEcdsaPublicKey(account common.Address, signer common.Address, ecdsaPublicKey []byte) (*types.Transaction, error)
UpdateEcdsaPublicKey is a paid mutator transaction binding the contract method 0x4e06fd8a.
Solidity: function updateEcdsaPublicKey(address account, address signer, bytes ecdsaPublicKey) returns(bool)
func (*ValidatorsSession) UpdatePublicKeys ¶
func (_Validators *ValidatorsSession) UpdatePublicKeys(account common.Address, signer common.Address, ecdsaPublicKey []byte, blsPublicKey []byte, blsPop []byte) (*types.Transaction, error)
UpdatePublicKeys is a paid mutator transaction binding the contract method 0x713ea0f3.
Solidity: function updatePublicKeys(address account, address signer, bytes ecdsaPublicKey, bytes blsPublicKey, bytes blsPop) returns(bool)
func (*ValidatorsSession) UpdateValidatorScoreFromSigner ¶
func (_Validators *ValidatorsSession) UpdateValidatorScoreFromSigner(signer common.Address, uptime *big.Int) (*types.Transaction, error)
UpdateValidatorScoreFromSigner is a paid mutator transaction binding the contract method 0xc0c6ad6f.
Solidity: function updateValidatorScoreFromSigner(address signer, uint256 uptime) returns()
func (*ValidatorsSession) ValidatorLockedGoldRequirements ¶
func (_Validators *ValidatorsSession) ValidatorLockedGoldRequirements() (struct { Value *big.Int Duration *big.Int }, error)
ValidatorLockedGoldRequirements is a free data retrieval call binding the contract method 0xbd9e9d94.
Solidity: function validatorLockedGoldRequirements() constant returns(uint256 value, uint256 duration)
func (*ValidatorsSession) ValidatorSignerAddressFromCurrentSet ¶
func (_Validators *ValidatorsSession) ValidatorSignerAddressFromCurrentSet(index *big.Int) (common.Address, error)
ValidatorSignerAddressFromCurrentSet is a free data retrieval call binding the contract method 0x123633ea.
Solidity: function validatorSignerAddressFromCurrentSet(uint256 index) constant returns(address)
func (*ValidatorsSession) ValidatorSignerAddressFromSet ¶
func (_Validators *ValidatorsSession) ValidatorSignerAddressFromSet(index *big.Int, blockNumber *big.Int) (common.Address, error)
ValidatorSignerAddressFromSet is a free data retrieval call binding the contract method 0x5d180adb.
Solidity: function validatorSignerAddressFromSet(uint256 index, uint256 blockNumber) constant returns(address)
type ValidatorsTransactor ¶
type ValidatorsTransactor struct {
// contains filtered or unexported fields
}
ValidatorsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewValidatorsTransactor ¶
func NewValidatorsTransactor(address common.Address, transactor bind.ContractTransactor) (*ValidatorsTransactor, error)
NewValidatorsTransactor creates a new write-only instance of Validators, bound to a specific deployed contract.
func (*ValidatorsTransactor) AddFirstMember ¶
func (_Validators *ValidatorsTransactor) AddFirstMember(opts *bind.TransactOpts, validator common.Address, lesser common.Address, greater common.Address) (*types.Transaction, error)
AddFirstMember is a paid mutator transaction binding the contract method 0x3173b8db.
Solidity: function addFirstMember(address validator, address lesser, address greater) returns(bool)
func (*ValidatorsTransactor) AddMember ¶
func (_Validators *ValidatorsTransactor) AddMember(opts *bind.TransactOpts, validator common.Address) (*types.Transaction, error)
AddMember is a paid mutator transaction binding the contract method 0xca6d56dc.
Solidity: function addMember(address validator) returns(bool)
func (*ValidatorsTransactor) Affiliate ¶
func (_Validators *ValidatorsTransactor) Affiliate(opts *bind.TransactOpts, group common.Address) (*types.Transaction, error)
Affiliate is a paid mutator transaction binding the contract method 0xb591d3a5.
Solidity: function affiliate(address group) returns(bool)
func (*ValidatorsTransactor) Deaffiliate ¶
func (_Validators *ValidatorsTransactor) Deaffiliate(opts *bind.TransactOpts) (*types.Transaction, error)
Deaffiliate is a paid mutator transaction binding the contract method 0xfffdfccb.
Solidity: function deaffiliate() returns(bool)
func (*ValidatorsTransactor) DeregisterValidator ¶
func (_Validators *ValidatorsTransactor) DeregisterValidator(opts *bind.TransactOpts, index *big.Int) (*types.Transaction, error)
DeregisterValidator is a paid mutator transaction binding the contract method 0x8b16b1c6.
Solidity: function deregisterValidator(uint256 index) returns(bool)
func (*ValidatorsTransactor) DeregisterValidatorGroup ¶
func (_Validators *ValidatorsTransactor) DeregisterValidatorGroup(opts *bind.TransactOpts, index *big.Int) (*types.Transaction, error)
DeregisterValidatorGroup is a paid mutator transaction binding the contract method 0x60fb822c.
Solidity: function deregisterValidatorGroup(uint256 index) returns(bool)
func (*ValidatorsTransactor) DistributeEpochPaymentsFromSigner ¶
func (_Validators *ValidatorsTransactor) DistributeEpochPaymentsFromSigner(opts *bind.TransactOpts, signer common.Address, maxPayment *big.Int) (*types.Transaction, error)
DistributeEpochPaymentsFromSigner is a paid mutator transaction binding the contract method 0xd69ef6cf.
Solidity: function distributeEpochPaymentsFromSigner(address signer, uint256 maxPayment) returns(uint256)
func (*ValidatorsTransactor) ForceDeaffiliateIfValidator ¶
func (_Validators *ValidatorsTransactor) ForceDeaffiliateIfValidator(opts *bind.TransactOpts, validatorAccount common.Address) (*types.Transaction, error)
ForceDeaffiliateIfValidator is a paid mutator transaction binding the contract method 0xe33301aa.
Solidity: function forceDeaffiliateIfValidator(address validatorAccount) returns()
func (*ValidatorsTransactor) HalveSlashingMultiplier ¶
func (_Validators *ValidatorsTransactor) HalveSlashingMultiplier(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
HalveSlashingMultiplier is a paid mutator transaction binding the contract method 0xc22d3bba.
Solidity: function halveSlashingMultiplier(address account) returns()
func (*ValidatorsTransactor) Initialize ¶
func (_Validators *ValidatorsTransactor) Initialize(opts *bind.TransactOpts, registryAddress common.Address, groupRequirementValue *big.Int, groupRequirementDuration *big.Int, validatorRequirementValue *big.Int, validatorRequirementDuration *big.Int, validatorScoreExponent *big.Int, validatorScoreAdjustmentSpeed *big.Int, _membershipHistoryLength *big.Int, _slashingMultiplierResetPeriod *big.Int, _maxGroupSize *big.Int, _commissionUpdateDelay *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x78d25456.
Solidity: function initialize(address registryAddress, uint256 groupRequirementValue, uint256 groupRequirementDuration, uint256 validatorRequirementValue, uint256 validatorRequirementDuration, uint256 validatorScoreExponent, uint256 validatorScoreAdjustmentSpeed, uint256 _membershipHistoryLength, uint256 _slashingMultiplierResetPeriod, uint256 _maxGroupSize, uint256 _commissionUpdateDelay) returns()
func (*ValidatorsTransactor) QueueCommissionUpdate ¶
func (_Validators *ValidatorsTransactor) QueueCommissionUpdate(opts *bind.TransactOpts, commission *big.Int) (*types.Transaction, error)
QueueCommissionUpdate is a paid mutator transaction binding the contract method 0xd24072bd.
Solidity: function queueCommissionUpdate(uint256 commission) returns()
func (*ValidatorsTransactor) RegisterValidator ¶
func (_Validators *ValidatorsTransactor) RegisterValidator(opts *bind.TransactOpts, ecdsaPublicKey []byte, blsPublicKey []byte, blsPop []byte) (*types.Transaction, error)
RegisterValidator is a paid mutator transaction binding the contract method 0xea684f77.
Solidity: function registerValidator(bytes ecdsaPublicKey, bytes blsPublicKey, bytes blsPop) returns(bool)
func (*ValidatorsTransactor) RegisterValidatorGroup ¶
func (_Validators *ValidatorsTransactor) RegisterValidatorGroup(opts *bind.TransactOpts, commission *big.Int) (*types.Transaction, error)
RegisterValidatorGroup is a paid mutator transaction binding the contract method 0xee098310.
Solidity: function registerValidatorGroup(uint256 commission) returns(bool)
func (*ValidatorsTransactor) RemoveMember ¶
func (_Validators *ValidatorsTransactor) RemoveMember(opts *bind.TransactOpts, validator common.Address) (*types.Transaction, error)
RemoveMember is a paid mutator transaction binding the contract method 0x0b1ca49a.
Solidity: function removeMember(address validator) returns(bool)
func (*ValidatorsTransactor) RenounceOwnership ¶
func (_Validators *ValidatorsTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ValidatorsTransactor) ReorderMember ¶
func (_Validators *ValidatorsTransactor) ReorderMember(opts *bind.TransactOpts, validator common.Address, lesserMember common.Address, greaterMember common.Address) (*types.Transaction, error)
ReorderMember is a paid mutator transaction binding the contract method 0x988dcd1f.
Solidity: function reorderMember(address validator, address lesserMember, address greaterMember) returns(bool)
func (*ValidatorsTransactor) ResetSlashingMultiplier ¶
func (_Validators *ValidatorsTransactor) ResetSlashingMultiplier(opts *bind.TransactOpts) (*types.Transaction, error)
ResetSlashingMultiplier is a paid mutator transaction binding the contract method 0xb8f93943.
Solidity: function resetSlashingMultiplier() returns()
func (*ValidatorsTransactor) SetCommissionUpdateDelay ¶
func (_Validators *ValidatorsTransactor) SetCommissionUpdateDelay(opts *bind.TransactOpts, delay *big.Int) (*types.Transaction, error)
SetCommissionUpdateDelay is a paid mutator transaction binding the contract method 0x6c620d90.
Solidity: function setCommissionUpdateDelay(uint256 delay) returns()
func (*ValidatorsTransactor) SetGroupLockedGoldRequirements ¶
func (_Validators *ValidatorsTransactor) SetGroupLockedGoldRequirements(opts *bind.TransactOpts, value *big.Int, duration *big.Int) (*types.Transaction, error)
SetGroupLockedGoldRequirements is a paid mutator transaction binding the contract method 0x5a61d15b.
Solidity: function setGroupLockedGoldRequirements(uint256 value, uint256 duration) returns(bool)
func (*ValidatorsTransactor) SetMaxGroupSize ¶
func (_Validators *ValidatorsTransactor) SetMaxGroupSize(opts *bind.TransactOpts, size *big.Int) (*types.Transaction, error)
SetMaxGroupSize is a paid mutator transaction binding the contract method 0xe1497ff7.
Solidity: function setMaxGroupSize(uint256 size) returns(bool)
func (*ValidatorsTransactor) SetMembershipHistoryLength ¶
func (_Validators *ValidatorsTransactor) SetMembershipHistoryLength(opts *bind.TransactOpts, length *big.Int) (*types.Transaction, error)
SetMembershipHistoryLength is a paid mutator transaction binding the contract method 0xeff2ea3f.
Solidity: function setMembershipHistoryLength(uint256 length) returns(bool)
func (*ValidatorsTransactor) SetRegistry ¶
func (_Validators *ValidatorsTransactor) SetRegistry(opts *bind.TransactOpts, registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*ValidatorsTransactor) SetSlashingMultiplierResetPeriod ¶
func (_Validators *ValidatorsTransactor) SetSlashingMultiplierResetPeriod(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
SetSlashingMultiplierResetPeriod is a paid mutator transaction binding the contract method 0x6ab951a0.
Solidity: function setSlashingMultiplierResetPeriod(uint256 value) returns()
func (*ValidatorsTransactor) SetValidatorLockedGoldRequirements ¶
func (_Validators *ValidatorsTransactor) SetValidatorLockedGoldRequirements(opts *bind.TransactOpts, value *big.Int, duration *big.Int) (*types.Transaction, error)
SetValidatorLockedGoldRequirements is a paid mutator transaction binding the contract method 0x76c0a9ed.
Solidity: function setValidatorLockedGoldRequirements(uint256 value, uint256 duration) returns(bool)
func (*ValidatorsTransactor) SetValidatorScoreParameters ¶
func (_Validators *ValidatorsTransactor) SetValidatorScoreParameters(opts *bind.TransactOpts, exponent *big.Int, adjustmentSpeed *big.Int) (*types.Transaction, error)
SetValidatorScoreParameters is a paid mutator transaction binding the contract method 0xcb8f98e0.
Solidity: function setValidatorScoreParameters(uint256 exponent, uint256 adjustmentSpeed) returns(bool)
func (*ValidatorsTransactor) TransferOwnership ¶
func (_Validators *ValidatorsTransactor) 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 (*ValidatorsTransactor) UpdateBlsPublicKey ¶
func (_Validators *ValidatorsTransactor) UpdateBlsPublicKey(opts *bind.TransactOpts, blsPublicKey []byte, blsPop []byte) (*types.Transaction, error)
UpdateBlsPublicKey is a paid mutator transaction binding the contract method 0xbfdb7417.
Solidity: function updateBlsPublicKey(bytes blsPublicKey, bytes blsPop) returns(bool)
func (*ValidatorsTransactor) UpdateCommission ¶
func (_Validators *ValidatorsTransactor) UpdateCommission(opts *bind.TransactOpts) (*types.Transaction, error)
UpdateCommission is a paid mutator transaction binding the contract method 0xe7f03766.
Solidity: function updateCommission() returns()
func (*ValidatorsTransactor) UpdateEcdsaPublicKey ¶
func (_Validators *ValidatorsTransactor) UpdateEcdsaPublicKey(opts *bind.TransactOpts, account common.Address, signer common.Address, ecdsaPublicKey []byte) (*types.Transaction, error)
UpdateEcdsaPublicKey is a paid mutator transaction binding the contract method 0x4e06fd8a.
Solidity: function updateEcdsaPublicKey(address account, address signer, bytes ecdsaPublicKey) returns(bool)
func (*ValidatorsTransactor) UpdatePublicKeys ¶
func (_Validators *ValidatorsTransactor) UpdatePublicKeys(opts *bind.TransactOpts, account common.Address, signer common.Address, ecdsaPublicKey []byte, blsPublicKey []byte, blsPop []byte) (*types.Transaction, error)
UpdatePublicKeys is a paid mutator transaction binding the contract method 0x713ea0f3.
Solidity: function updatePublicKeys(address account, address signer, bytes ecdsaPublicKey, bytes blsPublicKey, bytes blsPop) returns(bool)
func (*ValidatorsTransactor) UpdateValidatorScoreFromSigner ¶
func (_Validators *ValidatorsTransactor) UpdateValidatorScoreFromSigner(opts *bind.TransactOpts, signer common.Address, uptime *big.Int) (*types.Transaction, error)
UpdateValidatorScoreFromSigner is a paid mutator transaction binding the contract method 0xc0c6ad6f.
Solidity: function updateValidatorScoreFromSigner(address signer, uint256 uptime) returns()
type ValidatorsTransactorRaw ¶
type ValidatorsTransactorRaw struct {
Contract *ValidatorsTransactor // Generic write-only contract binding to access the raw methods on
}
ValidatorsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ValidatorsTransactorRaw) Transact ¶
func (_Validators *ValidatorsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ValidatorsTransactorRaw) Transfer ¶
func (_Validators *ValidatorsTransactorRaw) 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 ValidatorsTransactorSession ¶
type ValidatorsTransactorSession struct {
Contract *ValidatorsTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
ValidatorsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ValidatorsTransactorSession) AddFirstMember ¶
func (_Validators *ValidatorsTransactorSession) AddFirstMember(validator common.Address, lesser common.Address, greater common.Address) (*types.Transaction, error)
AddFirstMember is a paid mutator transaction binding the contract method 0x3173b8db.
Solidity: function addFirstMember(address validator, address lesser, address greater) returns(bool)
func (*ValidatorsTransactorSession) AddMember ¶
func (_Validators *ValidatorsTransactorSession) AddMember(validator common.Address) (*types.Transaction, error)
AddMember is a paid mutator transaction binding the contract method 0xca6d56dc.
Solidity: function addMember(address validator) returns(bool)
func (*ValidatorsTransactorSession) Affiliate ¶
func (_Validators *ValidatorsTransactorSession) Affiliate(group common.Address) (*types.Transaction, error)
Affiliate is a paid mutator transaction binding the contract method 0xb591d3a5.
Solidity: function affiliate(address group) returns(bool)
func (*ValidatorsTransactorSession) Deaffiliate ¶
func (_Validators *ValidatorsTransactorSession) Deaffiliate() (*types.Transaction, error)
Deaffiliate is a paid mutator transaction binding the contract method 0xfffdfccb.
Solidity: function deaffiliate() returns(bool)
func (*ValidatorsTransactorSession) DeregisterValidator ¶
func (_Validators *ValidatorsTransactorSession) DeregisterValidator(index *big.Int) (*types.Transaction, error)
DeregisterValidator is a paid mutator transaction binding the contract method 0x8b16b1c6.
Solidity: function deregisterValidator(uint256 index) returns(bool)
func (*ValidatorsTransactorSession) DeregisterValidatorGroup ¶
func (_Validators *ValidatorsTransactorSession) DeregisterValidatorGroup(index *big.Int) (*types.Transaction, error)
DeregisterValidatorGroup is a paid mutator transaction binding the contract method 0x60fb822c.
Solidity: function deregisterValidatorGroup(uint256 index) returns(bool)
func (*ValidatorsTransactorSession) DistributeEpochPaymentsFromSigner ¶
func (_Validators *ValidatorsTransactorSession) DistributeEpochPaymentsFromSigner(signer common.Address, maxPayment *big.Int) (*types.Transaction, error)
DistributeEpochPaymentsFromSigner is a paid mutator transaction binding the contract method 0xd69ef6cf.
Solidity: function distributeEpochPaymentsFromSigner(address signer, uint256 maxPayment) returns(uint256)
func (*ValidatorsTransactorSession) ForceDeaffiliateIfValidator ¶
func (_Validators *ValidatorsTransactorSession) ForceDeaffiliateIfValidator(validatorAccount common.Address) (*types.Transaction, error)
ForceDeaffiliateIfValidator is a paid mutator transaction binding the contract method 0xe33301aa.
Solidity: function forceDeaffiliateIfValidator(address validatorAccount) returns()
func (*ValidatorsTransactorSession) HalveSlashingMultiplier ¶
func (_Validators *ValidatorsTransactorSession) HalveSlashingMultiplier(account common.Address) (*types.Transaction, error)
HalveSlashingMultiplier is a paid mutator transaction binding the contract method 0xc22d3bba.
Solidity: function halveSlashingMultiplier(address account) returns()
func (*ValidatorsTransactorSession) Initialize ¶
func (_Validators *ValidatorsTransactorSession) Initialize(registryAddress common.Address, groupRequirementValue *big.Int, groupRequirementDuration *big.Int, validatorRequirementValue *big.Int, validatorRequirementDuration *big.Int, validatorScoreExponent *big.Int, validatorScoreAdjustmentSpeed *big.Int, _membershipHistoryLength *big.Int, _slashingMultiplierResetPeriod *big.Int, _maxGroupSize *big.Int, _commissionUpdateDelay *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x78d25456.
Solidity: function initialize(address registryAddress, uint256 groupRequirementValue, uint256 groupRequirementDuration, uint256 validatorRequirementValue, uint256 validatorRequirementDuration, uint256 validatorScoreExponent, uint256 validatorScoreAdjustmentSpeed, uint256 _membershipHistoryLength, uint256 _slashingMultiplierResetPeriod, uint256 _maxGroupSize, uint256 _commissionUpdateDelay) returns()
func (*ValidatorsTransactorSession) QueueCommissionUpdate ¶
func (_Validators *ValidatorsTransactorSession) QueueCommissionUpdate(commission *big.Int) (*types.Transaction, error)
QueueCommissionUpdate is a paid mutator transaction binding the contract method 0xd24072bd.
Solidity: function queueCommissionUpdate(uint256 commission) returns()
func (*ValidatorsTransactorSession) RegisterValidator ¶
func (_Validators *ValidatorsTransactorSession) RegisterValidator(ecdsaPublicKey []byte, blsPublicKey []byte, blsPop []byte) (*types.Transaction, error)
RegisterValidator is a paid mutator transaction binding the contract method 0xea684f77.
Solidity: function registerValidator(bytes ecdsaPublicKey, bytes blsPublicKey, bytes blsPop) returns(bool)
func (*ValidatorsTransactorSession) RegisterValidatorGroup ¶
func (_Validators *ValidatorsTransactorSession) RegisterValidatorGroup(commission *big.Int) (*types.Transaction, error)
RegisterValidatorGroup is a paid mutator transaction binding the contract method 0xee098310.
Solidity: function registerValidatorGroup(uint256 commission) returns(bool)
func (*ValidatorsTransactorSession) RemoveMember ¶
func (_Validators *ValidatorsTransactorSession) RemoveMember(validator common.Address) (*types.Transaction, error)
RemoveMember is a paid mutator transaction binding the contract method 0x0b1ca49a.
Solidity: function removeMember(address validator) returns(bool)
func (*ValidatorsTransactorSession) RenounceOwnership ¶
func (_Validators *ValidatorsTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ValidatorsTransactorSession) ReorderMember ¶
func (_Validators *ValidatorsTransactorSession) ReorderMember(validator common.Address, lesserMember common.Address, greaterMember common.Address) (*types.Transaction, error)
ReorderMember is a paid mutator transaction binding the contract method 0x988dcd1f.
Solidity: function reorderMember(address validator, address lesserMember, address greaterMember) returns(bool)
func (*ValidatorsTransactorSession) ResetSlashingMultiplier ¶
func (_Validators *ValidatorsTransactorSession) ResetSlashingMultiplier() (*types.Transaction, error)
ResetSlashingMultiplier is a paid mutator transaction binding the contract method 0xb8f93943.
Solidity: function resetSlashingMultiplier() returns()
func (*ValidatorsTransactorSession) SetCommissionUpdateDelay ¶
func (_Validators *ValidatorsTransactorSession) SetCommissionUpdateDelay(delay *big.Int) (*types.Transaction, error)
SetCommissionUpdateDelay is a paid mutator transaction binding the contract method 0x6c620d90.
Solidity: function setCommissionUpdateDelay(uint256 delay) returns()
func (*ValidatorsTransactorSession) SetGroupLockedGoldRequirements ¶
func (_Validators *ValidatorsTransactorSession) SetGroupLockedGoldRequirements(value *big.Int, duration *big.Int) (*types.Transaction, error)
SetGroupLockedGoldRequirements is a paid mutator transaction binding the contract method 0x5a61d15b.
Solidity: function setGroupLockedGoldRequirements(uint256 value, uint256 duration) returns(bool)
func (*ValidatorsTransactorSession) SetMaxGroupSize ¶
func (_Validators *ValidatorsTransactorSession) SetMaxGroupSize(size *big.Int) (*types.Transaction, error)
SetMaxGroupSize is a paid mutator transaction binding the contract method 0xe1497ff7.
Solidity: function setMaxGroupSize(uint256 size) returns(bool)
func (*ValidatorsTransactorSession) SetMembershipHistoryLength ¶
func (_Validators *ValidatorsTransactorSession) SetMembershipHistoryLength(length *big.Int) (*types.Transaction, error)
SetMembershipHistoryLength is a paid mutator transaction binding the contract method 0xeff2ea3f.
Solidity: function setMembershipHistoryLength(uint256 length) returns(bool)
func (*ValidatorsTransactorSession) SetRegistry ¶
func (_Validators *ValidatorsTransactorSession) SetRegistry(registryAddress common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(address registryAddress) returns()
func (*ValidatorsTransactorSession) SetSlashingMultiplierResetPeriod ¶
func (_Validators *ValidatorsTransactorSession) SetSlashingMultiplierResetPeriod(value *big.Int) (*types.Transaction, error)
SetSlashingMultiplierResetPeriod is a paid mutator transaction binding the contract method 0x6ab951a0.
Solidity: function setSlashingMultiplierResetPeriod(uint256 value) returns()
func (*ValidatorsTransactorSession) SetValidatorLockedGoldRequirements ¶
func (_Validators *ValidatorsTransactorSession) SetValidatorLockedGoldRequirements(value *big.Int, duration *big.Int) (*types.Transaction, error)
SetValidatorLockedGoldRequirements is a paid mutator transaction binding the contract method 0x76c0a9ed.
Solidity: function setValidatorLockedGoldRequirements(uint256 value, uint256 duration) returns(bool)
func (*ValidatorsTransactorSession) SetValidatorScoreParameters ¶
func (_Validators *ValidatorsTransactorSession) SetValidatorScoreParameters(exponent *big.Int, adjustmentSpeed *big.Int) (*types.Transaction, error)
SetValidatorScoreParameters is a paid mutator transaction binding the contract method 0xcb8f98e0.
Solidity: function setValidatorScoreParameters(uint256 exponent, uint256 adjustmentSpeed) returns(bool)
func (*ValidatorsTransactorSession) TransferOwnership ¶
func (_Validators *ValidatorsTransactorSession) 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 (*ValidatorsTransactorSession) UpdateBlsPublicKey ¶
func (_Validators *ValidatorsTransactorSession) UpdateBlsPublicKey(blsPublicKey []byte, blsPop []byte) (*types.Transaction, error)
UpdateBlsPublicKey is a paid mutator transaction binding the contract method 0xbfdb7417.
Solidity: function updateBlsPublicKey(bytes blsPublicKey, bytes blsPop) returns(bool)
func (*ValidatorsTransactorSession) UpdateCommission ¶
func (_Validators *ValidatorsTransactorSession) UpdateCommission() (*types.Transaction, error)
UpdateCommission is a paid mutator transaction binding the contract method 0xe7f03766.
Solidity: function updateCommission() returns()
func (*ValidatorsTransactorSession) UpdateEcdsaPublicKey ¶
func (_Validators *ValidatorsTransactorSession) UpdateEcdsaPublicKey(account common.Address, signer common.Address, ecdsaPublicKey []byte) (*types.Transaction, error)
UpdateEcdsaPublicKey is a paid mutator transaction binding the contract method 0x4e06fd8a.
Solidity: function updateEcdsaPublicKey(address account, address signer, bytes ecdsaPublicKey) returns(bool)
func (*ValidatorsTransactorSession) UpdatePublicKeys ¶
func (_Validators *ValidatorsTransactorSession) UpdatePublicKeys(account common.Address, signer common.Address, ecdsaPublicKey []byte, blsPublicKey []byte, blsPop []byte) (*types.Transaction, error)
UpdatePublicKeys is a paid mutator transaction binding the contract method 0x713ea0f3.
Solidity: function updatePublicKeys(address account, address signer, bytes ecdsaPublicKey, bytes blsPublicKey, bytes blsPop) returns(bool)
func (*ValidatorsTransactorSession) UpdateValidatorScoreFromSigner ¶
func (_Validators *ValidatorsTransactorSession) UpdateValidatorScoreFromSigner(signer common.Address, uptime *big.Int) (*types.Transaction, error)
UpdateValidatorScoreFromSigner is a paid mutator transaction binding the contract method 0xc0c6ad6f.
Solidity: function updateValidatorScoreFromSigner(address signer, uint256 uptime) returns()
type ValidatorsValidatorAffiliated ¶
type ValidatorsValidatorAffiliated struct {
Validator common.Address
Group common.Address
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsValidatorAffiliated represents a ValidatorAffiliated event raised by the Validators contract.
type ValidatorsValidatorAffiliatedIterator ¶
type ValidatorsValidatorAffiliatedIterator struct {
Event *ValidatorsValidatorAffiliated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsValidatorAffiliatedIterator is returned from FilterValidatorAffiliated and is used to iterate over the raw logs and unpacked data for ValidatorAffiliated events raised by the Validators contract.
func (*ValidatorsValidatorAffiliatedIterator) Close ¶
func (it *ValidatorsValidatorAffiliatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsValidatorAffiliatedIterator) Error ¶
func (it *ValidatorsValidatorAffiliatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsValidatorAffiliatedIterator) Next ¶
func (it *ValidatorsValidatorAffiliatedIterator) 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 ValidatorsValidatorBlsPublicKeyUpdated ¶
type ValidatorsValidatorBlsPublicKeyUpdated struct {
Validator common.Address
BlsPublicKey []byte
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsValidatorBlsPublicKeyUpdated represents a ValidatorBlsPublicKeyUpdated event raised by the Validators contract.
type ValidatorsValidatorBlsPublicKeyUpdatedIterator ¶
type ValidatorsValidatorBlsPublicKeyUpdatedIterator struct {
Event *ValidatorsValidatorBlsPublicKeyUpdated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsValidatorBlsPublicKeyUpdatedIterator is returned from FilterValidatorBlsPublicKeyUpdated and is used to iterate over the raw logs and unpacked data for ValidatorBlsPublicKeyUpdated events raised by the Validators contract.
func (*ValidatorsValidatorBlsPublicKeyUpdatedIterator) Close ¶
func (it *ValidatorsValidatorBlsPublicKeyUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsValidatorBlsPublicKeyUpdatedIterator) Error ¶
func (it *ValidatorsValidatorBlsPublicKeyUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsValidatorBlsPublicKeyUpdatedIterator) Next ¶
func (it *ValidatorsValidatorBlsPublicKeyUpdatedIterator) 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 ValidatorsValidatorDeaffiliated ¶
type ValidatorsValidatorDeaffiliated struct {
Validator common.Address
Group common.Address
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsValidatorDeaffiliated represents a ValidatorDeaffiliated event raised by the Validators contract.
type ValidatorsValidatorDeaffiliatedIterator ¶
type ValidatorsValidatorDeaffiliatedIterator struct {
Event *ValidatorsValidatorDeaffiliated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsValidatorDeaffiliatedIterator is returned from FilterValidatorDeaffiliated and is used to iterate over the raw logs and unpacked data for ValidatorDeaffiliated events raised by the Validators contract.
func (*ValidatorsValidatorDeaffiliatedIterator) Close ¶
func (it *ValidatorsValidatorDeaffiliatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsValidatorDeaffiliatedIterator) Error ¶
func (it *ValidatorsValidatorDeaffiliatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsValidatorDeaffiliatedIterator) Next ¶
func (it *ValidatorsValidatorDeaffiliatedIterator) 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 ValidatorsValidatorDeregistered ¶
type ValidatorsValidatorDeregistered struct {
Validator common.Address
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsValidatorDeregistered represents a ValidatorDeregistered event raised by the Validators contract.
type ValidatorsValidatorDeregisteredIterator ¶
type ValidatorsValidatorDeregisteredIterator struct {
Event *ValidatorsValidatorDeregistered // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsValidatorDeregisteredIterator is returned from FilterValidatorDeregistered and is used to iterate over the raw logs and unpacked data for ValidatorDeregistered events raised by the Validators contract.
func (*ValidatorsValidatorDeregisteredIterator) Close ¶
func (it *ValidatorsValidatorDeregisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsValidatorDeregisteredIterator) Error ¶
func (it *ValidatorsValidatorDeregisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsValidatorDeregisteredIterator) Next ¶
func (it *ValidatorsValidatorDeregisteredIterator) 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 ValidatorsValidatorEcdsaPublicKeyUpdated ¶
type ValidatorsValidatorEcdsaPublicKeyUpdated struct {
Validator common.Address
EcdsaPublicKey []byte
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsValidatorEcdsaPublicKeyUpdated represents a ValidatorEcdsaPublicKeyUpdated event raised by the Validators contract.
type ValidatorsValidatorEcdsaPublicKeyUpdatedIterator ¶
type ValidatorsValidatorEcdsaPublicKeyUpdatedIterator struct {
Event *ValidatorsValidatorEcdsaPublicKeyUpdated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsValidatorEcdsaPublicKeyUpdatedIterator is returned from FilterValidatorEcdsaPublicKeyUpdated and is used to iterate over the raw logs and unpacked data for ValidatorEcdsaPublicKeyUpdated events raised by the Validators contract.
func (*ValidatorsValidatorEcdsaPublicKeyUpdatedIterator) Close ¶
func (it *ValidatorsValidatorEcdsaPublicKeyUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsValidatorEcdsaPublicKeyUpdatedIterator) Error ¶
func (it *ValidatorsValidatorEcdsaPublicKeyUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsValidatorEcdsaPublicKeyUpdatedIterator) Next ¶
func (it *ValidatorsValidatorEcdsaPublicKeyUpdatedIterator) 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 ValidatorsValidatorEpochPaymentDistributed ¶
type ValidatorsValidatorEpochPaymentDistributed struct {
Validator common.Address
ValidatorPayment *big.Int
Group common.Address
GroupPayment *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsValidatorEpochPaymentDistributed represents a ValidatorEpochPaymentDistributed event raised by the Validators contract.
type ValidatorsValidatorEpochPaymentDistributedIterator ¶
type ValidatorsValidatorEpochPaymentDistributedIterator struct {
Event *ValidatorsValidatorEpochPaymentDistributed // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsValidatorEpochPaymentDistributedIterator is returned from FilterValidatorEpochPaymentDistributed and is used to iterate over the raw logs and unpacked data for ValidatorEpochPaymentDistributed events raised by the Validators contract.
func (*ValidatorsValidatorEpochPaymentDistributedIterator) Close ¶
func (it *ValidatorsValidatorEpochPaymentDistributedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsValidatorEpochPaymentDistributedIterator) Error ¶
func (it *ValidatorsValidatorEpochPaymentDistributedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsValidatorEpochPaymentDistributedIterator) Next ¶
func (it *ValidatorsValidatorEpochPaymentDistributedIterator) 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 ValidatorsValidatorGroupCommissionUpdateQueued ¶
type ValidatorsValidatorGroupCommissionUpdateQueued struct {
Group common.Address
Commission *big.Int
ActivationBlock *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsValidatorGroupCommissionUpdateQueued represents a ValidatorGroupCommissionUpdateQueued event raised by the Validators contract.
type ValidatorsValidatorGroupCommissionUpdateQueuedIterator ¶
type ValidatorsValidatorGroupCommissionUpdateQueuedIterator struct {
Event *ValidatorsValidatorGroupCommissionUpdateQueued // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsValidatorGroupCommissionUpdateQueuedIterator is returned from FilterValidatorGroupCommissionUpdateQueued and is used to iterate over the raw logs and unpacked data for ValidatorGroupCommissionUpdateQueued events raised by the Validators contract.
func (*ValidatorsValidatorGroupCommissionUpdateQueuedIterator) Close ¶
func (it *ValidatorsValidatorGroupCommissionUpdateQueuedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsValidatorGroupCommissionUpdateQueuedIterator) Error ¶
func (it *ValidatorsValidatorGroupCommissionUpdateQueuedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsValidatorGroupCommissionUpdateQueuedIterator) Next ¶
func (it *ValidatorsValidatorGroupCommissionUpdateQueuedIterator) 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 ValidatorsValidatorGroupCommissionUpdated ¶
type ValidatorsValidatorGroupCommissionUpdated struct {
Group common.Address
Commission *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsValidatorGroupCommissionUpdated represents a ValidatorGroupCommissionUpdated event raised by the Validators contract.
type ValidatorsValidatorGroupCommissionUpdatedIterator ¶
type ValidatorsValidatorGroupCommissionUpdatedIterator struct {
Event *ValidatorsValidatorGroupCommissionUpdated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsValidatorGroupCommissionUpdatedIterator is returned from FilterValidatorGroupCommissionUpdated and is used to iterate over the raw logs and unpacked data for ValidatorGroupCommissionUpdated events raised by the Validators contract.
func (*ValidatorsValidatorGroupCommissionUpdatedIterator) Close ¶
func (it *ValidatorsValidatorGroupCommissionUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsValidatorGroupCommissionUpdatedIterator) Error ¶
func (it *ValidatorsValidatorGroupCommissionUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsValidatorGroupCommissionUpdatedIterator) Next ¶
func (it *ValidatorsValidatorGroupCommissionUpdatedIterator) 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 ValidatorsValidatorGroupDeregistered ¶
type ValidatorsValidatorGroupDeregistered struct {
Group common.Address
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsValidatorGroupDeregistered represents a ValidatorGroupDeregistered event raised by the Validators contract.
type ValidatorsValidatorGroupDeregisteredIterator ¶
type ValidatorsValidatorGroupDeregisteredIterator struct {
Event *ValidatorsValidatorGroupDeregistered // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsValidatorGroupDeregisteredIterator is returned from FilterValidatorGroupDeregistered and is used to iterate over the raw logs and unpacked data for ValidatorGroupDeregistered events raised by the Validators contract.
func (*ValidatorsValidatorGroupDeregisteredIterator) Close ¶
func (it *ValidatorsValidatorGroupDeregisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsValidatorGroupDeregisteredIterator) Error ¶
func (it *ValidatorsValidatorGroupDeregisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsValidatorGroupDeregisteredIterator) Next ¶
func (it *ValidatorsValidatorGroupDeregisteredIterator) 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 ValidatorsValidatorGroupMemberAdded ¶
type ValidatorsValidatorGroupMemberAdded struct {
Group common.Address
Validator common.Address
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsValidatorGroupMemberAdded represents a ValidatorGroupMemberAdded event raised by the Validators contract.
type ValidatorsValidatorGroupMemberAddedIterator ¶
type ValidatorsValidatorGroupMemberAddedIterator struct {
Event *ValidatorsValidatorGroupMemberAdded // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsValidatorGroupMemberAddedIterator is returned from FilterValidatorGroupMemberAdded and is used to iterate over the raw logs and unpacked data for ValidatorGroupMemberAdded events raised by the Validators contract.
func (*ValidatorsValidatorGroupMemberAddedIterator) Close ¶
func (it *ValidatorsValidatorGroupMemberAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsValidatorGroupMemberAddedIterator) Error ¶
func (it *ValidatorsValidatorGroupMemberAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsValidatorGroupMemberAddedIterator) Next ¶
func (it *ValidatorsValidatorGroupMemberAddedIterator) 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 ValidatorsValidatorGroupMemberRemoved ¶
type ValidatorsValidatorGroupMemberRemoved struct {
Group common.Address
Validator common.Address
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsValidatorGroupMemberRemoved represents a ValidatorGroupMemberRemoved event raised by the Validators contract.
type ValidatorsValidatorGroupMemberRemovedIterator ¶
type ValidatorsValidatorGroupMemberRemovedIterator struct {
Event *ValidatorsValidatorGroupMemberRemoved // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsValidatorGroupMemberRemovedIterator is returned from FilterValidatorGroupMemberRemoved and is used to iterate over the raw logs and unpacked data for ValidatorGroupMemberRemoved events raised by the Validators contract.
func (*ValidatorsValidatorGroupMemberRemovedIterator) Close ¶
func (it *ValidatorsValidatorGroupMemberRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsValidatorGroupMemberRemovedIterator) Error ¶
func (it *ValidatorsValidatorGroupMemberRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsValidatorGroupMemberRemovedIterator) Next ¶
func (it *ValidatorsValidatorGroupMemberRemovedIterator) 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 ValidatorsValidatorGroupMemberReordered ¶
type ValidatorsValidatorGroupMemberReordered struct {
Group common.Address
Validator common.Address
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsValidatorGroupMemberReordered represents a ValidatorGroupMemberReordered event raised by the Validators contract.
type ValidatorsValidatorGroupMemberReorderedIterator ¶
type ValidatorsValidatorGroupMemberReorderedIterator struct {
Event *ValidatorsValidatorGroupMemberReordered // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsValidatorGroupMemberReorderedIterator is returned from FilterValidatorGroupMemberReordered and is used to iterate over the raw logs and unpacked data for ValidatorGroupMemberReordered events raised by the Validators contract.
func (*ValidatorsValidatorGroupMemberReorderedIterator) Close ¶
func (it *ValidatorsValidatorGroupMemberReorderedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsValidatorGroupMemberReorderedIterator) Error ¶
func (it *ValidatorsValidatorGroupMemberReorderedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsValidatorGroupMemberReorderedIterator) Next ¶
func (it *ValidatorsValidatorGroupMemberReorderedIterator) 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 ValidatorsValidatorGroupRegistered ¶
type ValidatorsValidatorGroupRegistered struct {
Group common.Address
Commission *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsValidatorGroupRegistered represents a ValidatorGroupRegistered event raised by the Validators contract.
type ValidatorsValidatorGroupRegisteredIterator ¶
type ValidatorsValidatorGroupRegisteredIterator struct {
Event *ValidatorsValidatorGroupRegistered // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsValidatorGroupRegisteredIterator is returned from FilterValidatorGroupRegistered and is used to iterate over the raw logs and unpacked data for ValidatorGroupRegistered events raised by the Validators contract.
func (*ValidatorsValidatorGroupRegisteredIterator) Close ¶
func (it *ValidatorsValidatorGroupRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsValidatorGroupRegisteredIterator) Error ¶
func (it *ValidatorsValidatorGroupRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsValidatorGroupRegisteredIterator) Next ¶
func (it *ValidatorsValidatorGroupRegisteredIterator) 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 ValidatorsValidatorLockedGoldRequirementsSet ¶
type ValidatorsValidatorLockedGoldRequirementsSet struct {
Value *big.Int
Duration *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsValidatorLockedGoldRequirementsSet represents a ValidatorLockedGoldRequirementsSet event raised by the Validators contract.
type ValidatorsValidatorLockedGoldRequirementsSetIterator ¶
type ValidatorsValidatorLockedGoldRequirementsSetIterator struct {
Event *ValidatorsValidatorLockedGoldRequirementsSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsValidatorLockedGoldRequirementsSetIterator is returned from FilterValidatorLockedGoldRequirementsSet and is used to iterate over the raw logs and unpacked data for ValidatorLockedGoldRequirementsSet events raised by the Validators contract.
func (*ValidatorsValidatorLockedGoldRequirementsSetIterator) Close ¶
func (it *ValidatorsValidatorLockedGoldRequirementsSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsValidatorLockedGoldRequirementsSetIterator) Error ¶
func (it *ValidatorsValidatorLockedGoldRequirementsSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsValidatorLockedGoldRequirementsSetIterator) Next ¶
func (it *ValidatorsValidatorLockedGoldRequirementsSetIterator) 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 ValidatorsValidatorRegistered ¶
type ValidatorsValidatorRegistered struct {
Validator common.Address
EcdsaPublicKey []byte
BlsPublicKey []byte
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsValidatorRegistered represents a ValidatorRegistered event raised by the Validators contract.
type ValidatorsValidatorRegisteredIterator ¶
type ValidatorsValidatorRegisteredIterator struct {
Event *ValidatorsValidatorRegistered // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsValidatorRegisteredIterator is returned from FilterValidatorRegistered and is used to iterate over the raw logs and unpacked data for ValidatorRegistered events raised by the Validators contract.
func (*ValidatorsValidatorRegisteredIterator) Close ¶
func (it *ValidatorsValidatorRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsValidatorRegisteredIterator) Error ¶
func (it *ValidatorsValidatorRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsValidatorRegisteredIterator) Next ¶
func (it *ValidatorsValidatorRegisteredIterator) 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 ValidatorsValidatorScoreParametersSet ¶
type ValidatorsValidatorScoreParametersSet struct {
Exponent *big.Int
AdjustmentSpeed *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsValidatorScoreParametersSet represents a ValidatorScoreParametersSet event raised by the Validators contract.
type ValidatorsValidatorScoreParametersSetIterator ¶
type ValidatorsValidatorScoreParametersSetIterator struct {
Event *ValidatorsValidatorScoreParametersSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsValidatorScoreParametersSetIterator is returned from FilterValidatorScoreParametersSet and is used to iterate over the raw logs and unpacked data for ValidatorScoreParametersSet events raised by the Validators contract.
func (*ValidatorsValidatorScoreParametersSetIterator) Close ¶
func (it *ValidatorsValidatorScoreParametersSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsValidatorScoreParametersSetIterator) Error ¶
func (it *ValidatorsValidatorScoreParametersSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsValidatorScoreParametersSetIterator) Next ¶
func (it *ValidatorsValidatorScoreParametersSetIterator) 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 ValidatorsValidatorScoreUpdated ¶
type ValidatorsValidatorScoreUpdated struct {
Validator common.Address
Score *big.Int
EpochScore *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ValidatorsValidatorScoreUpdated represents a ValidatorScoreUpdated event raised by the Validators contract.
type ValidatorsValidatorScoreUpdatedIterator ¶
type ValidatorsValidatorScoreUpdatedIterator struct {
Event *ValidatorsValidatorScoreUpdated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ValidatorsValidatorScoreUpdatedIterator is returned from FilterValidatorScoreUpdated and is used to iterate over the raw logs and unpacked data for ValidatorScoreUpdated events raised by the Validators contract.
func (*ValidatorsValidatorScoreUpdatedIterator) Close ¶
func (it *ValidatorsValidatorScoreUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorsValidatorScoreUpdatedIterator) Error ¶
func (it *ValidatorsValidatorScoreUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorsValidatorScoreUpdatedIterator) Next ¶
func (it *ValidatorsValidatorScoreUpdatedIterator) 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.