baklava

package
v0.0.0-...-b6c1db7 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ElectionABI = "" /* 17833-byte string literal not displayed */

ElectionABI is the input ABI used to generate the binding from.

View Source
const GoldTokenABI = "" /* 5789-byte string literal not displayed */

GoldTokenABI is the input ABI used to generate the binding from.

View Source
const GovernanceABI = "" /* 26508-byte string literal not displayed */

GovernanceABI is the input ABI used to generate the binding from.

View Source
const LockedGoldABI = "" /* 8045-byte string literal not displayed */

LockedGoldABI is the input ABI used to generate the binding from.

View Source
const StableTokenABI = "" /* 12162-byte string literal not displayed */

StableTokenABI is the input ABI used to generate the binding from.

View Source
const ValidatorsABI = "" /* 25195-byte string literal not displayed */

ValidatorsABI is the input ABI used to generate the binding from.

Variables

View Source
var ElectionBin = "" /* 55984-byte string literal not displayed */

ElectionBin is the compiled bytecode used for deploying new contracts.

View Source
var GoldTokenBin = "" /* 12648-byte string literal not displayed */

GoldTokenBin is the compiled bytecode used for deploying new contracts.

View Source
var GovernanceBin = "" /* 71880-byte string literal not displayed */

GovernanceBin is the compiled bytecode used for deploying new contracts.

View Source
var LockedGoldBin = "" /* 24872-byte string literal not displayed */

LockedGoldBin is the compiled bytecode used for deploying new contracts.

View Source
var StableTokenBin = "" /* 38382-byte string literal not displayed */

StableTokenBin is the compiled bytecode used for deploying new contracts.

View Source
var ValidatorsBin = "" /* 79610-byte string literal not displayed */

ValidatorsBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

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 DeployElection

func DeployElection(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Election, error)

DeployElection deploys a new Ethereum contract, binding an instance of Election to it.

func NewElection

func NewElection(address common.Address, backend bind.ContractBackend) (*Election, error)

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

func (_Election *ElectionCaller) ElectabilityThreshold(opts *bind.CallOpts) (*big.Int, error)

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) GetActiveVoteUnitsForGroup

func (_Election *ElectionCaller) GetActiveVoteUnitsForGroup(opts *bind.CallOpts, group common.Address) (*big.Int, error)

GetActiveVoteUnitsForGroup is a free data retrieval call binding the contract method 0x5bb5acfb.

Solidity: function getActiveVoteUnitsForGroup(address group) constant returns(uint256)

func (*ElectionCaller) GetActiveVoteUnitsForGroupByAccount

func (_Election *ElectionCaller) GetActiveVoteUnitsForGroupByAccount(opts *bind.CallOpts, group common.Address, account common.Address) (*big.Int, error)

GetActiveVoteUnitsForGroupByAccount is a free data retrieval call binding the contract method 0xa2fb4ddf.

Solidity: function getActiveVoteUnitsForGroupByAccount(address group, address account) constant returns(uint256)

func (*ElectionCaller) GetActiveVotes

func (_Election *ElectionCaller) GetActiveVotes(opts *bind.CallOpts) (*big.Int, error)

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

func (_Election *ElectionCaller) GetElectabilityThreshold(opts *bind.CallOpts) (*big.Int, error)

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

func (_Election *ElectionCaller) GetEpochNumber(opts *bind.CallOpts) (*big.Int, error)

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

func (_Election *ElectionCaller) GetEpochSize(opts *bind.CallOpts) (*big.Int, error)

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) GetPendingVotesForGroup

func (_Election *ElectionCaller) GetPendingVotesForGroup(opts *bind.CallOpts, group common.Address) (*big.Int, error)

GetPendingVotesForGroup is a free data retrieval call binding the contract method 0x95128ce3.

Solidity: function getPendingVotesForGroup(address group) constant returns(uint256)

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

func (_Election *ElectionCaller) GetTotalVotes(opts *bind.CallOpts) (*big.Int, error)

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

func (_Election *ElectionCaller) 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 (*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

func (_Election *ElectionCaller) MaxNumGroupsVotedFor(opts *bind.CallOpts) (*big.Int, error)

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

func (_Election *ElectionCaller) 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 (*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

func (_Election *ElectionCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*ElectionCaller) Registry

func (_Election *ElectionCaller) 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 (*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) GetActiveVoteUnitsForGroup

func (_Election *ElectionCallerSession) GetActiveVoteUnitsForGroup(group common.Address) (*big.Int, error)

GetActiveVoteUnitsForGroup is a free data retrieval call binding the contract method 0x5bb5acfb.

Solidity: function getActiveVoteUnitsForGroup(address group) constant returns(uint256)

func (*ElectionCallerSession) GetActiveVoteUnitsForGroupByAccount

func (_Election *ElectionCallerSession) GetActiveVoteUnitsForGroupByAccount(group common.Address, account common.Address) (*big.Int, error)

GetActiveVoteUnitsForGroupByAccount is a free data retrieval call binding the contract method 0xa2fb4ddf.

Solidity: function getActiveVoteUnitsForGroupByAccount(address group, address account) constant returns(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

func (_Election *ElectionCallerSession) GetElectableValidators() (*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 (*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) GetPendingVotesForGroup

func (_Election *ElectionCallerSession) GetPendingVotesForGroup(group common.Address) (*big.Int, error)

GetPendingVotesForGroup is a free data retrieval call binding the contract method 0x95128ce3.

Solidity: function getPendingVotesForGroup(address group) constant returns(uint256)

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

func (_Election *ElectionCallerSession) 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 (*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

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

func (*ElectionElectabilityThresholdSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ElectionElectabilityThresholdSetIterator) Next

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

type 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

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

func (*ElectionElectableValidatorsSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ElectionElectableValidatorsSetIterator) Next

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

type 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

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

func (*ElectionEpochRewardsDistributedToVotersIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ElectionEpochRewardsDistributedToVotersIterator) Next

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

type 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) FilterValidatorGroupActiveVoteRevoked

func (_Election *ElectionFilterer) FilterValidatorGroupActiveVoteRevoked(opts *bind.FilterOpts, account []common.Address, group []common.Address) (*ElectionValidatorGroupActiveVoteRevokedIterator, error)

FilterValidatorGroupActiveVoteRevoked is a free log retrieval operation binding the contract event 0xae7458f8697a680da6be36406ea0b8f40164915ac9cc40c0dad05a2ff6e8c6a8.

Solidity: event ValidatorGroupActiveVoteRevoked(address indexed account, address indexed group, uint256 value, uint256 units)

func (*ElectionFilterer) FilterValidatorGroupMarkedEligible

func (_Election *ElectionFilterer) FilterValidatorGroupMarkedEligible(opts *bind.FilterOpts, group []common.Address) (*ElectionValidatorGroupMarkedEligibleIterator, error)

FilterValidatorGroupMarkedEligible is a free log retrieval operation binding the contract event 0x8f21dc7ff6f55d73e4fca52a4ef4fcc14fbda43ac338d24922519d51455d39c1.

Solidity: event ValidatorGroupMarkedEligible(address indexed group)

func (*ElectionFilterer) FilterValidatorGroupMarkedIneligible

func (_Election *ElectionFilterer) FilterValidatorGroupMarkedIneligible(opts *bind.FilterOpts, group []common.Address) (*ElectionValidatorGroupMarkedIneligibleIterator, error)

FilterValidatorGroupMarkedIneligible is a free log retrieval operation binding the contract event 0x5c8cd4e832f3a7d79f9208c2acf25a412143aa3f751cfd3728c42a0fea4921a8.

Solidity: event ValidatorGroupMarkedIneligible(address indexed group)

func (*ElectionFilterer) FilterValidatorGroupPendingVoteRevoked

func (_Election *ElectionFilterer) FilterValidatorGroupPendingVoteRevoked(opts *bind.FilterOpts, account []common.Address, group []common.Address) (*ElectionValidatorGroupPendingVoteRevokedIterator, error)

FilterValidatorGroupPendingVoteRevoked is a free log retrieval operation binding the contract event 0x148075455e24d5cf538793db3e917a157cbadac69dd6a304186daf11b23f76fe.

Solidity: event ValidatorGroupPendingVoteRevoked(address indexed account, address indexed group, uint256 value)

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 0x45aac85f38083b18efe2d441a65b9c1ae177c78307cb5a5d4aec8f7dbcaeabfe.

Solidity: event ValidatorGroupVoteActivated(address indexed account, address indexed group, uint256 value, uint256 units)

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) 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) ParseValidatorGroupActiveVoteRevoked

func (_Election *ElectionFilterer) ParseValidatorGroupActiveVoteRevoked(log types.Log) (*ElectionValidatorGroupActiveVoteRevoked, error)

ParseValidatorGroupActiveVoteRevoked is a log parse operation binding the contract event 0xae7458f8697a680da6be36406ea0b8f40164915ac9cc40c0dad05a2ff6e8c6a8.

Solidity: event ValidatorGroupActiveVoteRevoked(address indexed account, address indexed group, uint256 value, uint256 units)

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 indexed 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 indexed group)

func (*ElectionFilterer) ParseValidatorGroupPendingVoteRevoked

func (_Election *ElectionFilterer) ParseValidatorGroupPendingVoteRevoked(log types.Log) (*ElectionValidatorGroupPendingVoteRevoked, error)

ParseValidatorGroupPendingVoteRevoked is a log parse operation binding the contract event 0x148075455e24d5cf538793db3e917a157cbadac69dd6a304186daf11b23f76fe.

Solidity: event ValidatorGroupPendingVoteRevoked(address indexed account, address indexed group, uint256 value)

func (*ElectionFilterer) ParseValidatorGroupVoteActivated

func (_Election *ElectionFilterer) ParseValidatorGroupVoteActivated(log types.Log) (*ElectionValidatorGroupVoteActivated, error)

ParseValidatorGroupVoteActivated is a log parse operation binding the contract event 0x45aac85f38083b18efe2d441a65b9c1ae177c78307cb5a5d4aec8f7dbcaeabfe.

Solidity: event ValidatorGroupVoteActivated(address indexed account, address indexed group, uint256 value, uint256 units)

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) 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) WatchValidatorGroupActiveVoteRevoked

func (_Election *ElectionFilterer) WatchValidatorGroupActiveVoteRevoked(opts *bind.WatchOpts, sink chan<- *ElectionValidatorGroupActiveVoteRevoked, account []common.Address, group []common.Address) (event.Subscription, error)

WatchValidatorGroupActiveVoteRevoked is a free log subscription operation binding the contract event 0xae7458f8697a680da6be36406ea0b8f40164915ac9cc40c0dad05a2ff6e8c6a8.

Solidity: event ValidatorGroupActiveVoteRevoked(address indexed account, address indexed group, uint256 value, uint256 units)

func (*ElectionFilterer) WatchValidatorGroupMarkedEligible

func (_Election *ElectionFilterer) WatchValidatorGroupMarkedEligible(opts *bind.WatchOpts, sink chan<- *ElectionValidatorGroupMarkedEligible, group []common.Address) (event.Subscription, error)

WatchValidatorGroupMarkedEligible is a free log subscription operation binding the contract event 0x8f21dc7ff6f55d73e4fca52a4ef4fcc14fbda43ac338d24922519d51455d39c1.

Solidity: event ValidatorGroupMarkedEligible(address indexed group)

func (*ElectionFilterer) WatchValidatorGroupMarkedIneligible

func (_Election *ElectionFilterer) WatchValidatorGroupMarkedIneligible(opts *bind.WatchOpts, sink chan<- *ElectionValidatorGroupMarkedIneligible, group []common.Address) (event.Subscription, error)

WatchValidatorGroupMarkedIneligible is a free log subscription operation binding the contract event 0x5c8cd4e832f3a7d79f9208c2acf25a412143aa3f751cfd3728c42a0fea4921a8.

Solidity: event ValidatorGroupMarkedIneligible(address indexed group)

func (*ElectionFilterer) WatchValidatorGroupPendingVoteRevoked

func (_Election *ElectionFilterer) WatchValidatorGroupPendingVoteRevoked(opts *bind.WatchOpts, sink chan<- *ElectionValidatorGroupPendingVoteRevoked, account []common.Address, group []common.Address) (event.Subscription, error)

WatchValidatorGroupPendingVoteRevoked is a free log subscription operation binding the contract event 0x148075455e24d5cf538793db3e917a157cbadac69dd6a304186daf11b23f76fe.

Solidity: event ValidatorGroupPendingVoteRevoked(address indexed account, address indexed group, uint256 value)

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 0x45aac85f38083b18efe2d441a65b9c1ae177c78307cb5a5d4aec8f7dbcaeabfe.

Solidity: event ValidatorGroupVoteActivated(address indexed account, address indexed group, uint256 value, uint256 units)

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)

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

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

func (*ElectionMaxNumGroupsVotedForSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ElectionMaxNumGroupsVotedForSetIterator) Next

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

type 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

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

func (*ElectionOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ElectionOwnershipTransferredIterator) Next

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

type 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) GetActiveVoteUnitsForGroup

func (_Election *ElectionSession) GetActiveVoteUnitsForGroup(group common.Address) (*big.Int, error)

GetActiveVoteUnitsForGroup is a free data retrieval call binding the contract method 0x5bb5acfb.

Solidity: function getActiveVoteUnitsForGroup(address group) constant returns(uint256)

func (*ElectionSession) GetActiveVoteUnitsForGroupByAccount

func (_Election *ElectionSession) GetActiveVoteUnitsForGroupByAccount(group common.Address, account common.Address) (*big.Int, error)

GetActiveVoteUnitsForGroupByAccount is a free data retrieval call binding the contract method 0xa2fb4ddf.

Solidity: function getActiveVoteUnitsForGroupByAccount(address group, address account) constant returns(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

func (_Election *ElectionSession) 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 (*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

func (_Election *ElectionSession) GetElectableValidators() (*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 (*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

func (_Election *ElectionSession) 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 (*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

func (_Election *ElectionSession) 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 (*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) GetPendingVotesForGroup

func (_Election *ElectionSession) GetPendingVotesForGroup(group common.Address) (*big.Int, error)

GetPendingVotesForGroup is a free data retrieval call binding the contract method 0x95128ce3.

Solidity: function getPendingVotesForGroup(address group) constant returns(uint256)

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

func (_Election *ElectionSession) 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 (*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

func (_Election *ElectionSession) 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 (*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

func (_Election *ElectionSession) 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 (*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

func (_Election *ElectionSession) 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 (*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 ElectionValidatorGroupActiveVoteRevoked

type ElectionValidatorGroupActiveVoteRevoked struct {
	Account common.Address
	Group   common.Address
	Value   *big.Int
	Units   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ElectionValidatorGroupActiveVoteRevoked represents a ValidatorGroupActiveVoteRevoked event raised by the Election contract.

type ElectionValidatorGroupActiveVoteRevokedIterator

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

ElectionValidatorGroupActiveVoteRevokedIterator is returned from FilterValidatorGroupActiveVoteRevoked and is used to iterate over the raw logs and unpacked data for ValidatorGroupActiveVoteRevoked events raised by the Election contract.

func (*ElectionValidatorGroupActiveVoteRevokedIterator) Close

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

func (*ElectionValidatorGroupActiveVoteRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ElectionValidatorGroupActiveVoteRevokedIterator) Next

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

type 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

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

func (*ElectionValidatorGroupMarkedEligibleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ElectionValidatorGroupMarkedEligibleIterator) Next

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

type 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

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

func (*ElectionValidatorGroupMarkedIneligibleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ElectionValidatorGroupMarkedIneligibleIterator) Next

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

type ElectionValidatorGroupPendingVoteRevoked

type ElectionValidatorGroupPendingVoteRevoked struct {
	Account common.Address
	Group   common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ElectionValidatorGroupPendingVoteRevoked represents a ValidatorGroupPendingVoteRevoked event raised by the Election contract.

type ElectionValidatorGroupPendingVoteRevokedIterator

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

ElectionValidatorGroupPendingVoteRevokedIterator is returned from FilterValidatorGroupPendingVoteRevoked and is used to iterate over the raw logs and unpacked data for ValidatorGroupPendingVoteRevoked events raised by the Election contract.

func (*ElectionValidatorGroupPendingVoteRevokedIterator) Close

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

func (*ElectionValidatorGroupPendingVoteRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ElectionValidatorGroupPendingVoteRevokedIterator) Next

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

type ElectionValidatorGroupVoteActivated

type ElectionValidatorGroupVoteActivated struct {
	Account common.Address
	Group   common.Address
	Value   *big.Int
	Units   *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

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

func (*ElectionValidatorGroupVoteActivatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ElectionValidatorGroupVoteActivatedIterator) Next

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

type 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

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

func (*ElectionValidatorGroupVoteCastIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ElectionValidatorGroupVoteCastIterator) Next

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

type GoldToken

type GoldToken struct {
	GoldTokenCaller     // Read-only binding to the contract
	GoldTokenTransactor // Write-only binding to the contract
	GoldTokenFilterer   // Log filterer for contract events
}

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

func DeployGoldToken

func DeployGoldToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *GoldToken, error)

DeployGoldToken deploys a new Ethereum contract, binding an instance of GoldToken to it.

func NewGoldToken

func NewGoldToken(address common.Address, backend bind.ContractBackend) (*GoldToken, error)

NewGoldToken creates a new instance of GoldToken, bound to a specific deployed contract.

type GoldTokenApproval

type GoldTokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

GoldTokenApproval represents a Approval event raised by the GoldToken contract.

type GoldTokenApprovalIterator

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

GoldTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the GoldToken contract.

func (*GoldTokenApprovalIterator) Close

func (it *GoldTokenApprovalIterator) Close() error

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

func (*GoldTokenApprovalIterator) Error

func (it *GoldTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GoldTokenApprovalIterator) Next

func (it *GoldTokenApprovalIterator) 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 GoldTokenCaller

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

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

func NewGoldTokenCaller

func NewGoldTokenCaller(address common.Address, caller bind.ContractCaller) (*GoldTokenCaller, error)

NewGoldTokenCaller creates a new read-only instance of GoldToken, bound to a specific deployed contract.

func (*GoldTokenCaller) Allowance

func (_GoldToken *GoldTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) constant returns(uint256)

func (*GoldTokenCaller) BalanceOf

func (_GoldToken *GoldTokenCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) constant returns(uint256)

func (*GoldTokenCaller) Decimals

func (_GoldToken *GoldTokenCaller) 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 (*GoldTokenCaller) Initialized

func (_GoldToken *GoldTokenCaller) 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 (*GoldTokenCaller) IsOwner

func (_GoldToken *GoldTokenCaller) 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 (*GoldTokenCaller) Name

func (_GoldToken *GoldTokenCaller) 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 (*GoldTokenCaller) Owner

func (_GoldToken *GoldTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*GoldTokenCaller) Registry

func (_GoldToken *GoldTokenCaller) 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 (*GoldTokenCaller) Symbol

func (_GoldToken *GoldTokenCaller) 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 (*GoldTokenCaller) TotalSupply

func (_GoldToken *GoldTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type GoldTokenCallerRaw

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

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

func (*GoldTokenCallerRaw) Call

func (_GoldToken *GoldTokenCallerRaw) 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 GoldTokenCallerSession

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

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

func (*GoldTokenCallerSession) Allowance

func (_GoldToken *GoldTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) constant returns(uint256)

func (*GoldTokenCallerSession) BalanceOf

func (_GoldToken *GoldTokenCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) constant returns(uint256)

func (*GoldTokenCallerSession) Decimals

func (_GoldToken *GoldTokenCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*GoldTokenCallerSession) Initialized

func (_GoldToken *GoldTokenCallerSession) Initialized() (bool, error)

Initialized is a free data retrieval call binding the contract method 0x158ef93e.

Solidity: function initialized() constant returns(bool)

func (*GoldTokenCallerSession) IsOwner

func (_GoldToken *GoldTokenCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*GoldTokenCallerSession) Name

func (_GoldToken *GoldTokenCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*GoldTokenCallerSession) Owner

func (_GoldToken *GoldTokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*GoldTokenCallerSession) Registry

func (_GoldToken *GoldTokenCallerSession) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() constant returns(address)

func (*GoldTokenCallerSession) Symbol

func (_GoldToken *GoldTokenCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*GoldTokenCallerSession) TotalSupply

func (_GoldToken *GoldTokenCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type GoldTokenFilterer

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

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

func NewGoldTokenFilterer

func NewGoldTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*GoldTokenFilterer, error)

NewGoldTokenFilterer creates a new log filterer instance of GoldToken, bound to a specific deployed contract.

func (*GoldTokenFilterer) FilterApproval

func (_GoldToken *GoldTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*GoldTokenApprovalIterator, 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 (*GoldTokenFilterer) FilterOwnershipTransferred

func (_GoldToken *GoldTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*GoldTokenOwnershipTransferredIterator, error)

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

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

func (*GoldTokenFilterer) FilterRegistrySet

func (_GoldToken *GoldTokenFilterer) FilterRegistrySet(opts *bind.FilterOpts, registryAddress []common.Address) (*GoldTokenRegistrySetIterator, error)

FilterRegistrySet is a free log retrieval operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.

Solidity: event RegistrySet(address indexed registryAddress)

func (*GoldTokenFilterer) FilterTransfer

func (_GoldToken *GoldTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*GoldTokenTransferIterator, 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 (*GoldTokenFilterer) FilterTransferComment

func (_GoldToken *GoldTokenFilterer) FilterTransferComment(opts *bind.FilterOpts) (*GoldTokenTransferCommentIterator, error)

FilterTransferComment is a free log retrieval operation binding the contract event 0xe5d4e30fb8364e57bc4d662a07d0cf36f4c34552004c4c3624620a2c1d1c03dc.

Solidity: event TransferComment(string comment)

func (*GoldTokenFilterer) ParseApproval

func (_GoldToken *GoldTokenFilterer) ParseApproval(log types.Log) (*GoldTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*GoldTokenFilterer) ParseOwnershipTransferred

func (_GoldToken *GoldTokenFilterer) ParseOwnershipTransferred(log types.Log) (*GoldTokenOwnershipTransferred, error)

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

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

func (*GoldTokenFilterer) ParseRegistrySet

func (_GoldToken *GoldTokenFilterer) ParseRegistrySet(log types.Log) (*GoldTokenRegistrySet, error)

ParseRegistrySet is a log parse operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.

Solidity: event RegistrySet(address indexed registryAddress)

func (*GoldTokenFilterer) ParseTransfer

func (_GoldToken *GoldTokenFilterer) ParseTransfer(log types.Log) (*GoldTokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*GoldTokenFilterer) ParseTransferComment

func (_GoldToken *GoldTokenFilterer) ParseTransferComment(log types.Log) (*GoldTokenTransferComment, error)

ParseTransferComment is a log parse operation binding the contract event 0xe5d4e30fb8364e57bc4d662a07d0cf36f4c34552004c4c3624620a2c1d1c03dc.

Solidity: event TransferComment(string comment)

func (*GoldTokenFilterer) WatchApproval

func (_GoldToken *GoldTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *GoldTokenApproval, 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 (*GoldTokenFilterer) WatchOwnershipTransferred

func (_GoldToken *GoldTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *GoldTokenOwnershipTransferred, 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 (*GoldTokenFilterer) WatchRegistrySet

func (_GoldToken *GoldTokenFilterer) WatchRegistrySet(opts *bind.WatchOpts, sink chan<- *GoldTokenRegistrySet, 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 (*GoldTokenFilterer) WatchTransfer

func (_GoldToken *GoldTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *GoldTokenTransfer, 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 (*GoldTokenFilterer) WatchTransferComment

func (_GoldToken *GoldTokenFilterer) WatchTransferComment(opts *bind.WatchOpts, sink chan<- *GoldTokenTransferComment) (event.Subscription, error)

WatchTransferComment is a free log subscription operation binding the contract event 0xe5d4e30fb8364e57bc4d662a07d0cf36f4c34552004c4c3624620a2c1d1c03dc.

Solidity: event TransferComment(string comment)

type GoldTokenOwnershipTransferred

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

GoldTokenOwnershipTransferred represents a OwnershipTransferred event raised by the GoldToken contract.

type GoldTokenOwnershipTransferredIterator

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

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

func (*GoldTokenOwnershipTransferredIterator) Close

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

func (*GoldTokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GoldTokenOwnershipTransferredIterator) Next

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

type GoldTokenRaw

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

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

func (*GoldTokenRaw) Call

func (_GoldToken *GoldTokenRaw) 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 (*GoldTokenRaw) Transact

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

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

func (*GoldTokenRaw) Transfer

func (_GoldToken *GoldTokenRaw) 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 GoldTokenRegistrySet

type GoldTokenRegistrySet struct {
	RegistryAddress common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

GoldTokenRegistrySet represents a RegistrySet event raised by the GoldToken contract.

type GoldTokenRegistrySetIterator

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

GoldTokenRegistrySetIterator is returned from FilterRegistrySet and is used to iterate over the raw logs and unpacked data for RegistrySet events raised by the GoldToken contract.

func (*GoldTokenRegistrySetIterator) Close

func (it *GoldTokenRegistrySetIterator) Close() error

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

func (*GoldTokenRegistrySetIterator) Error

func (it *GoldTokenRegistrySetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GoldTokenRegistrySetIterator) Next

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

type GoldTokenSession

type GoldTokenSession struct {
	Contract     *GoldToken        // 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
}

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

func (*GoldTokenSession) Allowance

func (_GoldToken *GoldTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) constant returns(uint256)

func (*GoldTokenSession) Approve

func (_GoldToken *GoldTokenSession) 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 (*GoldTokenSession) BalanceOf

func (_GoldToken *GoldTokenSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) constant returns(uint256)

func (*GoldTokenSession) Decimals

func (_GoldToken *GoldTokenSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*GoldTokenSession) DecreaseAllowance

func (_GoldToken *GoldTokenSession) 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 (*GoldTokenSession) IncreaseAllowance

func (_GoldToken *GoldTokenSession) 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 (*GoldTokenSession) IncreaseSupply

func (_GoldToken *GoldTokenSession) IncreaseSupply(amount *big.Int) (*types.Transaction, error)

IncreaseSupply is a paid mutator transaction binding the contract method 0xb921e163.

Solidity: function increaseSupply(uint256 amount) returns()

func (*GoldTokenSession) Initialize

func (_GoldToken *GoldTokenSession) 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 (*GoldTokenSession) Initialized

func (_GoldToken *GoldTokenSession) Initialized() (bool, error)

Initialized is a free data retrieval call binding the contract method 0x158ef93e.

Solidity: function initialized() constant returns(bool)

func (*GoldTokenSession) IsOwner

func (_GoldToken *GoldTokenSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*GoldTokenSession) Mint

func (_GoldToken *GoldTokenSession) 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 (*GoldTokenSession) Name

func (_GoldToken *GoldTokenSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*GoldTokenSession) Owner

func (_GoldToken *GoldTokenSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*GoldTokenSession) Registry

func (_GoldToken *GoldTokenSession) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() constant returns(address)

func (*GoldTokenSession) RenounceOwnership

func (_GoldToken *GoldTokenSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*GoldTokenSession) SetRegistry

func (_GoldToken *GoldTokenSession) 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 (*GoldTokenSession) Symbol

func (_GoldToken *GoldTokenSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*GoldTokenSession) TotalSupply

func (_GoldToken *GoldTokenSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*GoldTokenSession) Transfer

func (_GoldToken *GoldTokenSession) 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 (*GoldTokenSession) TransferFrom

func (_GoldToken *GoldTokenSession) 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 (*GoldTokenSession) TransferOwnership

func (_GoldToken *GoldTokenSession) 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 (*GoldTokenSession) TransferWithComment

func (_GoldToken *GoldTokenSession) 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 GoldTokenTransactor

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

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

func NewGoldTokenTransactor

func NewGoldTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*GoldTokenTransactor, error)

NewGoldTokenTransactor creates a new write-only instance of GoldToken, bound to a specific deployed contract.

func (*GoldTokenTransactor) Approve

func (_GoldToken *GoldTokenTransactor) 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 (*GoldTokenTransactor) DecreaseAllowance

func (_GoldToken *GoldTokenTransactor) 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 (*GoldTokenTransactor) IncreaseAllowance

func (_GoldToken *GoldTokenTransactor) 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 (*GoldTokenTransactor) IncreaseSupply

func (_GoldToken *GoldTokenTransactor) IncreaseSupply(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

IncreaseSupply is a paid mutator transaction binding the contract method 0xb921e163.

Solidity: function increaseSupply(uint256 amount) returns()

func (*GoldTokenTransactor) Initialize

func (_GoldToken *GoldTokenTransactor) 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 (*GoldTokenTransactor) Mint

func (_GoldToken *GoldTokenTransactor) 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 (*GoldTokenTransactor) RenounceOwnership

func (_GoldToken *GoldTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*GoldTokenTransactor) SetRegistry

func (_GoldToken *GoldTokenTransactor) 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 (*GoldTokenTransactor) Transfer

func (_GoldToken *GoldTokenTransactor) 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 (*GoldTokenTransactor) TransferFrom

func (_GoldToken *GoldTokenTransactor) 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 (*GoldTokenTransactor) TransferOwnership

func (_GoldToken *GoldTokenTransactor) 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 (*GoldTokenTransactor) TransferWithComment

func (_GoldToken *GoldTokenTransactor) 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 GoldTokenTransactorRaw

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

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

func (*GoldTokenTransactorRaw) Transact

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

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

func (*GoldTokenTransactorRaw) Transfer

func (_GoldToken *GoldTokenTransactorRaw) 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 GoldTokenTransactorSession

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

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

func (*GoldTokenTransactorSession) Approve

func (_GoldToken *GoldTokenTransactorSession) 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 (*GoldTokenTransactorSession) DecreaseAllowance

func (_GoldToken *GoldTokenTransactorSession) 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 (*GoldTokenTransactorSession) IncreaseAllowance

func (_GoldToken *GoldTokenTransactorSession) 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 (*GoldTokenTransactorSession) IncreaseSupply

func (_GoldToken *GoldTokenTransactorSession) IncreaseSupply(amount *big.Int) (*types.Transaction, error)

IncreaseSupply is a paid mutator transaction binding the contract method 0xb921e163.

Solidity: function increaseSupply(uint256 amount) returns()

func (*GoldTokenTransactorSession) Initialize

func (_GoldToken *GoldTokenTransactorSession) 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 (*GoldTokenTransactorSession) Mint

func (_GoldToken *GoldTokenTransactorSession) 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 (*GoldTokenTransactorSession) RenounceOwnership

func (_GoldToken *GoldTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*GoldTokenTransactorSession) SetRegistry

func (_GoldToken *GoldTokenTransactorSession) 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 (*GoldTokenTransactorSession) Transfer

func (_GoldToken *GoldTokenTransactorSession) 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 (*GoldTokenTransactorSession) TransferFrom

func (_GoldToken *GoldTokenTransactorSession) 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 (*GoldTokenTransactorSession) TransferOwnership

func (_GoldToken *GoldTokenTransactorSession) 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 (*GoldTokenTransactorSession) TransferWithComment

func (_GoldToken *GoldTokenTransactorSession) 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 GoldTokenTransfer

type GoldTokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

GoldTokenTransfer represents a Transfer event raised by the GoldToken contract.

type GoldTokenTransferComment

type GoldTokenTransferComment struct {
	Comment string
	Raw     types.Log // Blockchain specific contextual infos
}

GoldTokenTransferComment represents a TransferComment event raised by the GoldToken contract.

type GoldTokenTransferCommentIterator

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

GoldTokenTransferCommentIterator is returned from FilterTransferComment and is used to iterate over the raw logs and unpacked data for TransferComment events raised by the GoldToken contract.

func (*GoldTokenTransferCommentIterator) Close

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

func (*GoldTokenTransferCommentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GoldTokenTransferCommentIterator) Next

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

type GoldTokenTransferIterator

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

GoldTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the GoldToken contract.

func (*GoldTokenTransferIterator) Close

func (it *GoldTokenTransferIterator) Close() error

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

func (*GoldTokenTransferIterator) Error

func (it *GoldTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GoldTokenTransferIterator) Next

func (it *GoldTokenTransferIterator) 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 Governance

type Governance struct {
	GovernanceCaller     // Read-only binding to the contract
	GovernanceTransactor // Write-only binding to the contract
	GovernanceFilterer   // Log filterer for contract events
}

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

func DeployGovernance

func DeployGovernance(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Governance, error)

DeployGovernance deploys a new Ethereum contract, binding an instance of Governance to it.

func NewGovernance

func NewGovernance(address common.Address, backend bind.ContractBackend) (*Governance, error)

NewGovernance creates a new instance of Governance, bound to a specific deployed contract.

type GovernanceApprovalStageDurationSet

type GovernanceApprovalStageDurationSet struct {
	ApprovalStageDuration *big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

GovernanceApprovalStageDurationSet represents a ApprovalStageDurationSet event raised by the Governance contract.

type GovernanceApprovalStageDurationSetIterator

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

GovernanceApprovalStageDurationSetIterator is returned from FilterApprovalStageDurationSet and is used to iterate over the raw logs and unpacked data for ApprovalStageDurationSet events raised by the Governance contract.

func (*GovernanceApprovalStageDurationSetIterator) Close

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

func (*GovernanceApprovalStageDurationSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceApprovalStageDurationSetIterator) Next

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

type GovernanceApproverSet

type GovernanceApproverSet struct {
	Approver common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

GovernanceApproverSet represents a ApproverSet event raised by the Governance contract.

type GovernanceApproverSetIterator

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

GovernanceApproverSetIterator is returned from FilterApproverSet and is used to iterate over the raw logs and unpacked data for ApproverSet events raised by the Governance contract.

func (*GovernanceApproverSetIterator) Close

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

func (*GovernanceApproverSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceApproverSetIterator) Next

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

type GovernanceCaller

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

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

func NewGovernanceCaller

func NewGovernanceCaller(address common.Address, caller bind.ContractCaller) (*GovernanceCaller, error)

NewGovernanceCaller creates a new read-only instance of Governance, bound to a specific deployed contract.

func (*GovernanceCaller) Approver

func (_Governance *GovernanceCaller) Approver(opts *bind.CallOpts) (common.Address, error)

Approver is a free data retrieval call binding the contract method 0x141a8dd8.

Solidity: function approver() constant returns(address)

func (*GovernanceCaller) CheckProofOfPossession

func (_Governance *GovernanceCaller) 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 (*GovernanceCaller) ConcurrentProposals

func (_Governance *GovernanceCaller) ConcurrentProposals(opts *bind.CallOpts) (*big.Int, error)

ConcurrentProposals is a free data retrieval call binding the contract method 0x1201a0fb.

Solidity: function concurrentProposals() constant returns(uint256)

func (*GovernanceCaller) DequeueFrequency

func (_Governance *GovernanceCaller) DequeueFrequency(opts *bind.CallOpts) (*big.Int, error)

DequeueFrequency is a free data retrieval call binding the contract method 0x77d26a2a.

Solidity: function dequeueFrequency() constant returns(uint256)

func (*GovernanceCaller) Dequeued

func (_Governance *GovernanceCaller) Dequeued(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

Dequeued is a free data retrieval call binding the contract method 0xadd004df.

Solidity: function dequeued(uint256 ) constant returns(uint256)

func (*GovernanceCaller) EmptyIndices

func (_Governance *GovernanceCaller) EmptyIndices(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

EmptyIndices is a free data retrieval call binding the contract method 0xaa2feb83.

Solidity: function emptyIndices(uint256 ) constant returns(uint256)

func (*GovernanceCaller) FractionMulExp

func (_Governance *GovernanceCaller) 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 (*GovernanceCaller) GetApprovalStageDuration

func (_Governance *GovernanceCaller) GetApprovalStageDuration(opts *bind.CallOpts) (*big.Int, error)

GetApprovalStageDuration is a free data retrieval call binding the contract method 0xffea74c0.

Solidity: function getApprovalStageDuration() constant returns(uint256)

func (*GovernanceCaller) GetBlockNumberFromHeader

func (_Governance *GovernanceCaller) 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 (*GovernanceCaller) GetConstitution

func (_Governance *GovernanceCaller) GetConstitution(opts *bind.CallOpts, destination common.Address, functionId [4]byte) (*big.Int, error)

GetConstitution is a free data retrieval call binding the contract method 0x97b9eba6.

Solidity: function getConstitution(address destination, bytes4 functionId) constant returns(uint256)

func (*GovernanceCaller) GetDequeue

func (_Governance *GovernanceCaller) GetDequeue(opts *bind.CallOpts) ([]*big.Int, error)

GetDequeue is a free data retrieval call binding the contract method 0x6de8a63b.

Solidity: function getDequeue() constant returns(uint256[])

func (*GovernanceCaller) GetEpochNumber

func (_Governance *GovernanceCaller) GetEpochNumber(opts *bind.CallOpts) (*big.Int, error)

GetEpochNumber is a free data retrieval call binding the contract method 0x9a7b3be7.

Solidity: function getEpochNumber() constant returns(uint256)

func (*GovernanceCaller) GetEpochNumberOfBlock

func (_Governance *GovernanceCaller) 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 (*GovernanceCaller) GetEpochSize

func (_Governance *GovernanceCaller) GetEpochSize(opts *bind.CallOpts) (*big.Int, error)

GetEpochSize is a free data retrieval call binding the contract method 0xdf4da461.

Solidity: function getEpochSize() constant returns(uint256)

func (*GovernanceCaller) GetExecutionStageDuration

func (_Governance *GovernanceCaller) GetExecutionStageDuration(opts *bind.CallOpts) (*big.Int, error)

GetExecutionStageDuration is a free data retrieval call binding the contract method 0x30a095d0.

Solidity: function getExecutionStageDuration() constant returns(uint256)

func (*GovernanceCaller) GetHotfixRecord

func (_Governance *GovernanceCaller) GetHotfixRecord(opts *bind.CallOpts, hash [32]byte) (bool, bool, *big.Int, error)

GetHotfixRecord is a free data retrieval call binding the contract method 0x0e0b78ae.

Solidity: function getHotfixRecord(bytes32 hash) constant returns(bool, bool, uint256)

func (*GovernanceCaller) GetMostRecentReferendumProposal

func (_Governance *GovernanceCaller) GetMostRecentReferendumProposal(opts *bind.CallOpts, account common.Address) (*big.Int, error)

GetMostRecentReferendumProposal is a free data retrieval call binding the contract method 0x283aaefb.

Solidity: function getMostRecentReferendumProposal(address account) constant returns(uint256)

func (*GovernanceCaller) GetParentSealBitmap

func (_Governance *GovernanceCaller) 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 (*GovernanceCaller) GetParticipationParameters

func (_Governance *GovernanceCaller) GetParticipationParameters(opts *bind.CallOpts) (*big.Int, *big.Int, *big.Int, *big.Int, error)

GetParticipationParameters is a free data retrieval call binding the contract method 0xc805956d.

Solidity: function getParticipationParameters() constant returns(uint256, uint256, uint256, uint256)

func (*GovernanceCaller) GetProposal

func (_Governance *GovernanceCaller) GetProposal(opts *bind.CallOpts, proposalId *big.Int) (common.Address, *big.Int, *big.Int, *big.Int, string, error)

GetProposal is a free data retrieval call binding the contract method 0xc7f758a8.

Solidity: function getProposal(uint256 proposalId) constant returns(address, uint256, uint256, uint256, string)

func (*GovernanceCaller) GetProposalStage

func (_Governance *GovernanceCaller) GetProposalStage(opts *bind.CallOpts, proposalId *big.Int) (uint8, error)

GetProposalStage is a free data retrieval call binding the contract method 0x582ae53b.

Solidity: function getProposalStage(uint256 proposalId) constant returns(uint8)

func (*GovernanceCaller) GetProposalTransaction

func (_Governance *GovernanceCaller) GetProposalTransaction(opts *bind.CallOpts, proposalId *big.Int, index *big.Int) (*big.Int, common.Address, []byte, error)

GetProposalTransaction is a free data retrieval call binding the contract method 0xd704f0c5.

Solidity: function getProposalTransaction(uint256 proposalId, uint256 index) constant returns(uint256, address, bytes)

func (*GovernanceCaller) GetQueue

func (_Governance *GovernanceCaller) GetQueue(opts *bind.CallOpts) ([]*big.Int, []*big.Int, error)

GetQueue is a free data retrieval call binding the contract method 0x01fce27e.

Solidity: function getQueue() constant returns(uint256[], uint256[])

func (*GovernanceCaller) GetQueueLength

func (_Governance *GovernanceCaller) GetQueueLength(opts *bind.CallOpts) (*big.Int, error)

GetQueueLength is a free data retrieval call binding the contract method 0xb8f77005.

Solidity: function getQueueLength() constant returns(uint256)

func (*GovernanceCaller) GetReferendumStageDuration

func (_Governance *GovernanceCaller) GetReferendumStageDuration(opts *bind.CallOpts) (*big.Int, error)

GetReferendumStageDuration is a free data retrieval call binding the contract method 0xad78c109.

Solidity: function getReferendumStageDuration() constant returns(uint256)

func (*GovernanceCaller) GetUpvoteRecord

func (_Governance *GovernanceCaller) GetUpvoteRecord(opts *bind.CallOpts, account common.Address) (*big.Int, *big.Int, error)

GetUpvoteRecord is a free data retrieval call binding the contract method 0xcd845a76.

Solidity: function getUpvoteRecord(address account) constant returns(uint256, uint256)

func (*GovernanceCaller) GetUpvotes

func (_Governance *GovernanceCaller) GetUpvotes(opts *bind.CallOpts, proposalId *big.Int) (*big.Int, error)

GetUpvotes is a free data retrieval call binding the contract method 0x98f42702.

Solidity: function getUpvotes(uint256 proposalId) constant returns(uint256)

func (*GovernanceCaller) GetVerifiedSealBitmapFromHeader

func (_Governance *GovernanceCaller) 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 (*GovernanceCaller) GetVoteRecord

func (_Governance *GovernanceCaller) GetVoteRecord(opts *bind.CallOpts, account common.Address, index *big.Int) (*big.Int, *big.Int, error)

GetVoteRecord is a free data retrieval call binding the contract method 0x5f115a85.

Solidity: function getVoteRecord(address account, uint256 index) constant returns(uint256, uint256)

func (*GovernanceCaller) GetVoteTotals

func (_Governance *GovernanceCaller) GetVoteTotals(opts *bind.CallOpts, proposalId *big.Int) (*big.Int, *big.Int, *big.Int, error)

GetVoteTotals is a free data retrieval call binding the contract method 0xe41db455.

Solidity: function getVoteTotals(uint256 proposalId) constant returns(uint256, uint256, uint256)

func (*GovernanceCaller) HashHeader

func (_Governance *GovernanceCaller) 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 (*GovernanceCaller) HotfixWhitelistValidatorTally

func (_Governance *GovernanceCaller) HotfixWhitelistValidatorTally(opts *bind.CallOpts, hash [32]byte) (*big.Int, error)

HotfixWhitelistValidatorTally is a free data retrieval call binding the contract method 0x81d4728d.

Solidity: function hotfixWhitelistValidatorTally(bytes32 hash) constant returns(uint256)

func (*GovernanceCaller) Hotfixes

func (_Governance *GovernanceCaller) Hotfixes(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Executed      bool
	Approved      bool
	PreparedEpoch *big.Int
}, error)

Hotfixes is a free data retrieval call binding the contract method 0x45a78499.

Solidity: function hotfixes(bytes32 ) constant returns(bool executed, bool approved, uint256 preparedEpoch)

func (*GovernanceCaller) Initialized

func (_Governance *GovernanceCaller) 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 (*GovernanceCaller) IsApproved

func (_Governance *GovernanceCaller) IsApproved(opts *bind.CallOpts, proposalId *big.Int) (bool, error)

IsApproved is a free data retrieval call binding the contract method 0x7910867b.

Solidity: function isApproved(uint256 proposalId) constant returns(bool)

func (*GovernanceCaller) IsDequeuedProposal

func (_Governance *GovernanceCaller) IsDequeuedProposal(opts *bind.CallOpts, proposalId *big.Int, index *big.Int) (bool, error)

IsDequeuedProposal is a free data retrieval call binding the contract method 0x152b4834.

Solidity: function isDequeuedProposal(uint256 proposalId, uint256 index) constant returns(bool)

func (*GovernanceCaller) IsDequeuedProposalExpired

func (_Governance *GovernanceCaller) IsDequeuedProposalExpired(opts *bind.CallOpts, proposalId *big.Int) (bool, error)

IsDequeuedProposalExpired is a free data retrieval call binding the contract method 0x6f2ab693.

Solidity: function isDequeuedProposalExpired(uint256 proposalId) constant returns(bool)

func (*GovernanceCaller) IsHotfixPassing

func (_Governance *GovernanceCaller) IsHotfixPassing(opts *bind.CallOpts, hash [32]byte) (bool, error)

IsHotfixPassing is a free data retrieval call binding the contract method 0x344944cf.

Solidity: function isHotfixPassing(bytes32 hash) constant returns(bool)

func (*GovernanceCaller) IsHotfixWhitelistedBy

func (_Governance *GovernanceCaller) IsHotfixWhitelistedBy(opts *bind.CallOpts, hash [32]byte, whitelister common.Address) (bool, error)

IsHotfixWhitelistedBy is a free data retrieval call binding the contract method 0x3fa5fed0.

Solidity: function isHotfixWhitelistedBy(bytes32 hash, address whitelister) constant returns(bool)

func (*GovernanceCaller) IsOwner

func (_Governance *GovernanceCaller) 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 (*GovernanceCaller) IsProposalPassing

func (_Governance *GovernanceCaller) IsProposalPassing(opts *bind.CallOpts, proposalId *big.Int) (bool, error)

IsProposalPassing is a free data retrieval call binding the contract method 0x27621321.

Solidity: function isProposalPassing(uint256 proposalId) constant returns(bool)

func (*GovernanceCaller) IsQueued

func (_Governance *GovernanceCaller) IsQueued(opts *bind.CallOpts, proposalId *big.Int) (bool, error)

IsQueued is a free data retrieval call binding the contract method 0xc73a6d78.

Solidity: function isQueued(uint256 proposalId) constant returns(bool)

func (*GovernanceCaller) IsQueuedProposalExpired

func (_Governance *GovernanceCaller) IsQueuedProposalExpired(opts *bind.CallOpts, proposalId *big.Int) (bool, error)

IsQueuedProposalExpired is a free data retrieval call binding the contract method 0xc134b2fc.

Solidity: function isQueuedProposalExpired(uint256 proposalId) constant returns(bool)

func (*GovernanceCaller) IsVoting

func (_Governance *GovernanceCaller) IsVoting(opts *bind.CallOpts, account common.Address) (bool, error)

IsVoting is a free data retrieval call binding the contract method 0x5f8dd649.

Solidity: function isVoting(address account) constant returns(bool)

func (*GovernanceCaller) LastDequeue

func (_Governance *GovernanceCaller) LastDequeue(opts *bind.CallOpts) (*big.Int, error)

LastDequeue is a free data retrieval call binding the contract method 0xc0aee5f4.

Solidity: function lastDequeue() constant returns(uint256)

func (*GovernanceCaller) MinDeposit

func (_Governance *GovernanceCaller) MinDeposit(opts *bind.CallOpts) (*big.Int, error)

MinDeposit is a free data retrieval call binding the contract method 0x41b3d185.

Solidity: function minDeposit() constant returns(uint256)

func (*GovernanceCaller) MinQuorumSize

func (_Governance *GovernanceCaller) 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 (*GovernanceCaller) MinQuorumSizeInCurrentSet

func (_Governance *GovernanceCaller) 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 (*GovernanceCaller) NumberValidatorsInCurrentSet

func (_Governance *GovernanceCaller) 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 (*GovernanceCaller) NumberValidatorsInSet

func (_Governance *GovernanceCaller) 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 (*GovernanceCaller) Owner

func (_Governance *GovernanceCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*GovernanceCaller) ProposalCount

func (_Governance *GovernanceCaller) ProposalCount(opts *bind.CallOpts) (*big.Int, error)

ProposalCount is a free data retrieval call binding the contract method 0xda35c664.

Solidity: function proposalCount() constant returns(uint256)

func (*GovernanceCaller) ProposalExists

func (_Governance *GovernanceCaller) ProposalExists(opts *bind.CallOpts, proposalId *big.Int) (bool, error)

ProposalExists is a free data retrieval call binding the contract method 0x1374b22d.

Solidity: function proposalExists(uint256 proposalId) constant returns(bool)

func (*GovernanceCaller) QueueExpiry

func (_Governance *GovernanceCaller) QueueExpiry(opts *bind.CallOpts) (*big.Int, error)

QueueExpiry is a free data retrieval call binding the contract method 0x8e905ed6.

Solidity: function queueExpiry() constant returns(uint256)

func (*GovernanceCaller) RefundedDeposits

func (_Governance *GovernanceCaller) RefundedDeposits(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

RefundedDeposits is a free data retrieval call binding the contract method 0x60b4d34d.

Solidity: function refundedDeposits(address ) constant returns(uint256)

func (*GovernanceCaller) Registry

func (_Governance *GovernanceCaller) 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 (*GovernanceCaller) StageDurations

func (_Governance *GovernanceCaller) StageDurations(opts *bind.CallOpts) (struct {
	Approval   *big.Int
	Referendum *big.Int
	Execution  *big.Int
}, error)

StageDurations is a free data retrieval call binding the contract method 0x0f717e42.

Solidity: function stageDurations() constant returns(uint256 approval, uint256 referendum, uint256 execution)

func (*GovernanceCaller) ValidatorSignerAddressFromCurrentSet

func (_Governance *GovernanceCaller) 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 (*GovernanceCaller) ValidatorSignerAddressFromSet

func (_Governance *GovernanceCaller) 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 GovernanceCallerRaw

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

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

func (*GovernanceCallerRaw) Call

func (_Governance *GovernanceCallerRaw) 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 GovernanceCallerSession

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

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

func (*GovernanceCallerSession) Approver

func (_Governance *GovernanceCallerSession) Approver() (common.Address, error)

Approver is a free data retrieval call binding the contract method 0x141a8dd8.

Solidity: function approver() constant returns(address)

func (*GovernanceCallerSession) CheckProofOfPossession

func (_Governance *GovernanceCallerSession) 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 (*GovernanceCallerSession) ConcurrentProposals

func (_Governance *GovernanceCallerSession) ConcurrentProposals() (*big.Int, error)

ConcurrentProposals is a free data retrieval call binding the contract method 0x1201a0fb.

Solidity: function concurrentProposals() constant returns(uint256)

func (*GovernanceCallerSession) DequeueFrequency

func (_Governance *GovernanceCallerSession) DequeueFrequency() (*big.Int, error)

DequeueFrequency is a free data retrieval call binding the contract method 0x77d26a2a.

Solidity: function dequeueFrequency() constant returns(uint256)

func (*GovernanceCallerSession) Dequeued

func (_Governance *GovernanceCallerSession) Dequeued(arg0 *big.Int) (*big.Int, error)

Dequeued is a free data retrieval call binding the contract method 0xadd004df.

Solidity: function dequeued(uint256 ) constant returns(uint256)

func (*GovernanceCallerSession) EmptyIndices

func (_Governance *GovernanceCallerSession) EmptyIndices(arg0 *big.Int) (*big.Int, error)

EmptyIndices is a free data retrieval call binding the contract method 0xaa2feb83.

Solidity: function emptyIndices(uint256 ) constant returns(uint256)

func (*GovernanceCallerSession) FractionMulExp

func (_Governance *GovernanceCallerSession) 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 (*GovernanceCallerSession) GetApprovalStageDuration

func (_Governance *GovernanceCallerSession) GetApprovalStageDuration() (*big.Int, error)

GetApprovalStageDuration is a free data retrieval call binding the contract method 0xffea74c0.

Solidity: function getApprovalStageDuration() constant returns(uint256)

func (*GovernanceCallerSession) GetBlockNumberFromHeader

func (_Governance *GovernanceCallerSession) 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 (*GovernanceCallerSession) GetConstitution

func (_Governance *GovernanceCallerSession) GetConstitution(destination common.Address, functionId [4]byte) (*big.Int, error)

GetConstitution is a free data retrieval call binding the contract method 0x97b9eba6.

Solidity: function getConstitution(address destination, bytes4 functionId) constant returns(uint256)

func (*GovernanceCallerSession) GetDequeue

func (_Governance *GovernanceCallerSession) GetDequeue() ([]*big.Int, error)

GetDequeue is a free data retrieval call binding the contract method 0x6de8a63b.

Solidity: function getDequeue() constant returns(uint256[])

func (*GovernanceCallerSession) GetEpochNumber

func (_Governance *GovernanceCallerSession) GetEpochNumber() (*big.Int, error)

GetEpochNumber is a free data retrieval call binding the contract method 0x9a7b3be7.

Solidity: function getEpochNumber() constant returns(uint256)

func (*GovernanceCallerSession) GetEpochNumberOfBlock

func (_Governance *GovernanceCallerSession) 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 (*GovernanceCallerSession) GetEpochSize

func (_Governance *GovernanceCallerSession) GetEpochSize() (*big.Int, error)

GetEpochSize is a free data retrieval call binding the contract method 0xdf4da461.

Solidity: function getEpochSize() constant returns(uint256)

func (*GovernanceCallerSession) GetExecutionStageDuration

func (_Governance *GovernanceCallerSession) GetExecutionStageDuration() (*big.Int, error)

GetExecutionStageDuration is a free data retrieval call binding the contract method 0x30a095d0.

Solidity: function getExecutionStageDuration() constant returns(uint256)

func (*GovernanceCallerSession) GetHotfixRecord

func (_Governance *GovernanceCallerSession) GetHotfixRecord(hash [32]byte) (bool, bool, *big.Int, error)

GetHotfixRecord is a free data retrieval call binding the contract method 0x0e0b78ae.

Solidity: function getHotfixRecord(bytes32 hash) constant returns(bool, bool, uint256)

func (*GovernanceCallerSession) GetMostRecentReferendumProposal

func (_Governance *GovernanceCallerSession) GetMostRecentReferendumProposal(account common.Address) (*big.Int, error)

GetMostRecentReferendumProposal is a free data retrieval call binding the contract method 0x283aaefb.

Solidity: function getMostRecentReferendumProposal(address account) constant returns(uint256)

func (*GovernanceCallerSession) GetParentSealBitmap

func (_Governance *GovernanceCallerSession) 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 (*GovernanceCallerSession) GetParticipationParameters

func (_Governance *GovernanceCallerSession) GetParticipationParameters() (*big.Int, *big.Int, *big.Int, *big.Int, error)

GetParticipationParameters is a free data retrieval call binding the contract method 0xc805956d.

Solidity: function getParticipationParameters() constant returns(uint256, uint256, uint256, uint256)

func (*GovernanceCallerSession) GetProposal

func (_Governance *GovernanceCallerSession) GetProposal(proposalId *big.Int) (common.Address, *big.Int, *big.Int, *big.Int, string, error)

GetProposal is a free data retrieval call binding the contract method 0xc7f758a8.

Solidity: function getProposal(uint256 proposalId) constant returns(address, uint256, uint256, uint256, string)

func (*GovernanceCallerSession) GetProposalStage

func (_Governance *GovernanceCallerSession) GetProposalStage(proposalId *big.Int) (uint8, error)

GetProposalStage is a free data retrieval call binding the contract method 0x582ae53b.

Solidity: function getProposalStage(uint256 proposalId) constant returns(uint8)

func (*GovernanceCallerSession) GetProposalTransaction

func (_Governance *GovernanceCallerSession) GetProposalTransaction(proposalId *big.Int, index *big.Int) (*big.Int, common.Address, []byte, error)

GetProposalTransaction is a free data retrieval call binding the contract method 0xd704f0c5.

Solidity: function getProposalTransaction(uint256 proposalId, uint256 index) constant returns(uint256, address, bytes)

func (*GovernanceCallerSession) GetQueue

func (_Governance *GovernanceCallerSession) GetQueue() ([]*big.Int, []*big.Int, error)

GetQueue is a free data retrieval call binding the contract method 0x01fce27e.

Solidity: function getQueue() constant returns(uint256[], uint256[])

func (*GovernanceCallerSession) GetQueueLength

func (_Governance *GovernanceCallerSession) GetQueueLength() (*big.Int, error)

GetQueueLength is a free data retrieval call binding the contract method 0xb8f77005.

Solidity: function getQueueLength() constant returns(uint256)

func (*GovernanceCallerSession) GetReferendumStageDuration

func (_Governance *GovernanceCallerSession) GetReferendumStageDuration() (*big.Int, error)

GetReferendumStageDuration is a free data retrieval call binding the contract method 0xad78c109.

Solidity: function getReferendumStageDuration() constant returns(uint256)

func (*GovernanceCallerSession) GetUpvoteRecord

func (_Governance *GovernanceCallerSession) GetUpvoteRecord(account common.Address) (*big.Int, *big.Int, error)

GetUpvoteRecord is a free data retrieval call binding the contract method 0xcd845a76.

Solidity: function getUpvoteRecord(address account) constant returns(uint256, uint256)

func (*GovernanceCallerSession) GetUpvotes

func (_Governance *GovernanceCallerSession) GetUpvotes(proposalId *big.Int) (*big.Int, error)

GetUpvotes is a free data retrieval call binding the contract method 0x98f42702.

Solidity: function getUpvotes(uint256 proposalId) constant returns(uint256)

func (*GovernanceCallerSession) GetVerifiedSealBitmapFromHeader

func (_Governance *GovernanceCallerSession) 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 (*GovernanceCallerSession) GetVoteRecord

func (_Governance *GovernanceCallerSession) GetVoteRecord(account common.Address, index *big.Int) (*big.Int, *big.Int, error)

GetVoteRecord is a free data retrieval call binding the contract method 0x5f115a85.

Solidity: function getVoteRecord(address account, uint256 index) constant returns(uint256, uint256)

func (*GovernanceCallerSession) GetVoteTotals

func (_Governance *GovernanceCallerSession) GetVoteTotals(proposalId *big.Int) (*big.Int, *big.Int, *big.Int, error)

GetVoteTotals is a free data retrieval call binding the contract method 0xe41db455.

Solidity: function getVoteTotals(uint256 proposalId) constant returns(uint256, uint256, uint256)

func (*GovernanceCallerSession) HashHeader

func (_Governance *GovernanceCallerSession) 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 (*GovernanceCallerSession) HotfixWhitelistValidatorTally

func (_Governance *GovernanceCallerSession) HotfixWhitelistValidatorTally(hash [32]byte) (*big.Int, error)

HotfixWhitelistValidatorTally is a free data retrieval call binding the contract method 0x81d4728d.

Solidity: function hotfixWhitelistValidatorTally(bytes32 hash) constant returns(uint256)

func (*GovernanceCallerSession) Hotfixes

func (_Governance *GovernanceCallerSession) Hotfixes(arg0 [32]byte) (struct {
	Executed      bool
	Approved      bool
	PreparedEpoch *big.Int
}, error)

Hotfixes is a free data retrieval call binding the contract method 0x45a78499.

Solidity: function hotfixes(bytes32 ) constant returns(bool executed, bool approved, uint256 preparedEpoch)

func (*GovernanceCallerSession) Initialized

func (_Governance *GovernanceCallerSession) Initialized() (bool, error)

Initialized is a free data retrieval call binding the contract method 0x158ef93e.

Solidity: function initialized() constant returns(bool)

func (*GovernanceCallerSession) IsApproved

func (_Governance *GovernanceCallerSession) IsApproved(proposalId *big.Int) (bool, error)

IsApproved is a free data retrieval call binding the contract method 0x7910867b.

Solidity: function isApproved(uint256 proposalId) constant returns(bool)

func (*GovernanceCallerSession) IsDequeuedProposal

func (_Governance *GovernanceCallerSession) IsDequeuedProposal(proposalId *big.Int, index *big.Int) (bool, error)

IsDequeuedProposal is a free data retrieval call binding the contract method 0x152b4834.

Solidity: function isDequeuedProposal(uint256 proposalId, uint256 index) constant returns(bool)

func (*GovernanceCallerSession) IsDequeuedProposalExpired

func (_Governance *GovernanceCallerSession) IsDequeuedProposalExpired(proposalId *big.Int) (bool, error)

IsDequeuedProposalExpired is a free data retrieval call binding the contract method 0x6f2ab693.

Solidity: function isDequeuedProposalExpired(uint256 proposalId) constant returns(bool)

func (*GovernanceCallerSession) IsHotfixPassing

func (_Governance *GovernanceCallerSession) IsHotfixPassing(hash [32]byte) (bool, error)

IsHotfixPassing is a free data retrieval call binding the contract method 0x344944cf.

Solidity: function isHotfixPassing(bytes32 hash) constant returns(bool)

func (*GovernanceCallerSession) IsHotfixWhitelistedBy

func (_Governance *GovernanceCallerSession) IsHotfixWhitelistedBy(hash [32]byte, whitelister common.Address) (bool, error)

IsHotfixWhitelistedBy is a free data retrieval call binding the contract method 0x3fa5fed0.

Solidity: function isHotfixWhitelistedBy(bytes32 hash, address whitelister) constant returns(bool)

func (*GovernanceCallerSession) IsOwner

func (_Governance *GovernanceCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*GovernanceCallerSession) IsProposalPassing

func (_Governance *GovernanceCallerSession) IsProposalPassing(proposalId *big.Int) (bool, error)

IsProposalPassing is a free data retrieval call binding the contract method 0x27621321.

Solidity: function isProposalPassing(uint256 proposalId) constant returns(bool)

func (*GovernanceCallerSession) IsQueued

func (_Governance *GovernanceCallerSession) IsQueued(proposalId *big.Int) (bool, error)

IsQueued is a free data retrieval call binding the contract method 0xc73a6d78.

Solidity: function isQueued(uint256 proposalId) constant returns(bool)

func (*GovernanceCallerSession) IsQueuedProposalExpired

func (_Governance *GovernanceCallerSession) IsQueuedProposalExpired(proposalId *big.Int) (bool, error)

IsQueuedProposalExpired is a free data retrieval call binding the contract method 0xc134b2fc.

Solidity: function isQueuedProposalExpired(uint256 proposalId) constant returns(bool)

func (*GovernanceCallerSession) IsVoting

func (_Governance *GovernanceCallerSession) IsVoting(account common.Address) (bool, error)

IsVoting is a free data retrieval call binding the contract method 0x5f8dd649.

Solidity: function isVoting(address account) constant returns(bool)

func (*GovernanceCallerSession) LastDequeue

func (_Governance *GovernanceCallerSession) LastDequeue() (*big.Int, error)

LastDequeue is a free data retrieval call binding the contract method 0xc0aee5f4.

Solidity: function lastDequeue() constant returns(uint256)

func (*GovernanceCallerSession) MinDeposit

func (_Governance *GovernanceCallerSession) MinDeposit() (*big.Int, error)

MinDeposit is a free data retrieval call binding the contract method 0x41b3d185.

Solidity: function minDeposit() constant returns(uint256)

func (*GovernanceCallerSession) MinQuorumSize

func (_Governance *GovernanceCallerSession) 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 (*GovernanceCallerSession) MinQuorumSizeInCurrentSet

func (_Governance *GovernanceCallerSession) MinQuorumSizeInCurrentSet() (*big.Int, error)

MinQuorumSizeInCurrentSet is a free data retrieval call binding the contract method 0x7385e5da.

Solidity: function minQuorumSizeInCurrentSet() constant returns(uint256)

func (*GovernanceCallerSession) NumberValidatorsInCurrentSet

func (_Governance *GovernanceCallerSession) NumberValidatorsInCurrentSet() (*big.Int, error)

NumberValidatorsInCurrentSet is a free data retrieval call binding the contract method 0x87ee8a0f.

Solidity: function numberValidatorsInCurrentSet() constant returns(uint256)

func (*GovernanceCallerSession) NumberValidatorsInSet

func (_Governance *GovernanceCallerSession) 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 (*GovernanceCallerSession) Owner

func (_Governance *GovernanceCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*GovernanceCallerSession) ProposalCount

func (_Governance *GovernanceCallerSession) ProposalCount() (*big.Int, error)

ProposalCount is a free data retrieval call binding the contract method 0xda35c664.

Solidity: function proposalCount() constant returns(uint256)

func (*GovernanceCallerSession) ProposalExists

func (_Governance *GovernanceCallerSession) ProposalExists(proposalId *big.Int) (bool, error)

ProposalExists is a free data retrieval call binding the contract method 0x1374b22d.

Solidity: function proposalExists(uint256 proposalId) constant returns(bool)

func (*GovernanceCallerSession) QueueExpiry

func (_Governance *GovernanceCallerSession) QueueExpiry() (*big.Int, error)

QueueExpiry is a free data retrieval call binding the contract method 0x8e905ed6.

Solidity: function queueExpiry() constant returns(uint256)

func (*GovernanceCallerSession) RefundedDeposits

func (_Governance *GovernanceCallerSession) RefundedDeposits(arg0 common.Address) (*big.Int, error)

RefundedDeposits is a free data retrieval call binding the contract method 0x60b4d34d.

Solidity: function refundedDeposits(address ) constant returns(uint256)

func (*GovernanceCallerSession) Registry

func (_Governance *GovernanceCallerSession) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() constant returns(address)

func (*GovernanceCallerSession) StageDurations

func (_Governance *GovernanceCallerSession) StageDurations() (struct {
	Approval   *big.Int
	Referendum *big.Int
	Execution  *big.Int
}, error)

StageDurations is a free data retrieval call binding the contract method 0x0f717e42.

Solidity: function stageDurations() constant returns(uint256 approval, uint256 referendum, uint256 execution)

func (*GovernanceCallerSession) ValidatorSignerAddressFromCurrentSet

func (_Governance *GovernanceCallerSession) 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 (*GovernanceCallerSession) ValidatorSignerAddressFromSet

func (_Governance *GovernanceCallerSession) 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 GovernanceConcurrentProposalsSet

type GovernanceConcurrentProposalsSet struct {
	ConcurrentProposals *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

GovernanceConcurrentProposalsSet represents a ConcurrentProposalsSet event raised by the Governance contract.

type GovernanceConcurrentProposalsSetIterator

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

GovernanceConcurrentProposalsSetIterator is returned from FilterConcurrentProposalsSet and is used to iterate over the raw logs and unpacked data for ConcurrentProposalsSet events raised by the Governance contract.

func (*GovernanceConcurrentProposalsSetIterator) Close

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

func (*GovernanceConcurrentProposalsSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceConcurrentProposalsSetIterator) Next

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

type GovernanceConstitutionSet

type GovernanceConstitutionSet struct {
	Destination common.Address
	FunctionId  [4]byte
	Threshold   *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

GovernanceConstitutionSet represents a ConstitutionSet event raised by the Governance contract.

type GovernanceConstitutionSetIterator

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

GovernanceConstitutionSetIterator is returned from FilterConstitutionSet and is used to iterate over the raw logs and unpacked data for ConstitutionSet events raised by the Governance contract.

func (*GovernanceConstitutionSetIterator) Close

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

func (*GovernanceConstitutionSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceConstitutionSetIterator) Next

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

type GovernanceDequeueFrequencySet

type GovernanceDequeueFrequencySet struct {
	DequeueFrequency *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

GovernanceDequeueFrequencySet represents a DequeueFrequencySet event raised by the Governance contract.

type GovernanceDequeueFrequencySetIterator

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

GovernanceDequeueFrequencySetIterator is returned from FilterDequeueFrequencySet and is used to iterate over the raw logs and unpacked data for DequeueFrequencySet events raised by the Governance contract.

func (*GovernanceDequeueFrequencySetIterator) Close

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

func (*GovernanceDequeueFrequencySetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceDequeueFrequencySetIterator) Next

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

type GovernanceExecutionStageDurationSet

type GovernanceExecutionStageDurationSet struct {
	ExecutionStageDuration *big.Int
	Raw                    types.Log // Blockchain specific contextual infos
}

GovernanceExecutionStageDurationSet represents a ExecutionStageDurationSet event raised by the Governance contract.

type GovernanceExecutionStageDurationSetIterator

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

GovernanceExecutionStageDurationSetIterator is returned from FilterExecutionStageDurationSet and is used to iterate over the raw logs and unpacked data for ExecutionStageDurationSet events raised by the Governance contract.

func (*GovernanceExecutionStageDurationSetIterator) Close

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

func (*GovernanceExecutionStageDurationSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceExecutionStageDurationSetIterator) Next

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

type GovernanceFilterer

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

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

func NewGovernanceFilterer

func NewGovernanceFilterer(address common.Address, filterer bind.ContractFilterer) (*GovernanceFilterer, error)

NewGovernanceFilterer creates a new log filterer instance of Governance, bound to a specific deployed contract.

func (*GovernanceFilterer) FilterApprovalStageDurationSet

func (_Governance *GovernanceFilterer) FilterApprovalStageDurationSet(opts *bind.FilterOpts) (*GovernanceApprovalStageDurationSetIterator, error)

FilterApprovalStageDurationSet is a free log retrieval operation binding the contract event 0xbc44c003a66b841b48c220869efb738b265af305649ac8bafe8efe0c8130e313.

Solidity: event ApprovalStageDurationSet(uint256 approvalStageDuration)

func (*GovernanceFilterer) FilterApproverSet

func (_Governance *GovernanceFilterer) FilterApproverSet(opts *bind.FilterOpts, approver []common.Address) (*GovernanceApproverSetIterator, error)

FilterApproverSet is a free log retrieval operation binding the contract event 0xa03757d836cb0b61c0fbba2147f5d51d6071ff3dd5bf6963beb55563d64878e1.

Solidity: event ApproverSet(address indexed approver)

func (*GovernanceFilterer) FilterConcurrentProposalsSet

func (_Governance *GovernanceFilterer) FilterConcurrentProposalsSet(opts *bind.FilterOpts) (*GovernanceConcurrentProposalsSetIterator, error)

FilterConcurrentProposalsSet is a free log retrieval operation binding the contract event 0x85399b9b2595eb13c392e1638ca77730156cd8d48d4733df4db068e4aa6b93a6.

Solidity: event ConcurrentProposalsSet(uint256 concurrentProposals)

func (*GovernanceFilterer) FilterConstitutionSet

func (_Governance *GovernanceFilterer) FilterConstitutionSet(opts *bind.FilterOpts, destination []common.Address, functionId [][4]byte) (*GovernanceConstitutionSetIterator, error)

FilterConstitutionSet is a free log retrieval operation binding the contract event 0x60c5b4756af49d7b071b00dbf0f87af605cce11896ecd3b760d19f0f9d3fbcef.

Solidity: event ConstitutionSet(address indexed destination, bytes4 indexed functionId, uint256 threshold)

func (*GovernanceFilterer) FilterDequeueFrequencySet

func (_Governance *GovernanceFilterer) FilterDequeueFrequencySet(opts *bind.FilterOpts) (*GovernanceDequeueFrequencySetIterator, error)

FilterDequeueFrequencySet is a free log retrieval operation binding the contract event 0x391e82aae76c653cd640ad1b6028e2ee39ca4f29b30152e3d0a9ddd7e1169c34.

Solidity: event DequeueFrequencySet(uint256 dequeueFrequency)

func (*GovernanceFilterer) FilterExecutionStageDurationSet

func (_Governance *GovernanceFilterer) FilterExecutionStageDurationSet(opts *bind.FilterOpts) (*GovernanceExecutionStageDurationSetIterator, error)

FilterExecutionStageDurationSet is a free log retrieval operation binding the contract event 0x7819c8059302d1d66abc7fe228ecc02214e0bc5c529956c13717aabefce937d8.

Solidity: event ExecutionStageDurationSet(uint256 executionStageDuration)

func (*GovernanceFilterer) FilterHotfixApproved

func (_Governance *GovernanceFilterer) FilterHotfixApproved(opts *bind.FilterOpts, hash [][32]byte) (*GovernanceHotfixApprovedIterator, error)

FilterHotfixApproved is a free log retrieval operation binding the contract event 0x36bc158cba244a94dc9b8c08d327e8f7e3c2ab5f1925454c577527466f04851f.

Solidity: event HotfixApproved(bytes32 indexed hash)

func (*GovernanceFilterer) FilterHotfixExecuted

func (_Governance *GovernanceFilterer) FilterHotfixExecuted(opts *bind.FilterOpts, hash [][32]byte) (*GovernanceHotfixExecutedIterator, error)

FilterHotfixExecuted is a free log retrieval operation binding the contract event 0x708a7934acb657a77a617b1fcd5f6d7d9ad592b72934841bff01acefd10f9b63.

Solidity: event HotfixExecuted(bytes32 indexed hash)

func (*GovernanceFilterer) FilterHotfixPrepared

func (_Governance *GovernanceFilterer) FilterHotfixPrepared(opts *bind.FilterOpts, hash [][32]byte, epoch []*big.Int) (*GovernanceHotfixPreparedIterator, error)

FilterHotfixPrepared is a free log retrieval operation binding the contract event 0x6f184ec313435b3307a4fe59e2293381f08419a87214464c875a2a247e8af5e0.

Solidity: event HotfixPrepared(bytes32 indexed hash, uint256 indexed epoch)

func (*GovernanceFilterer) FilterHotfixWhitelisted

func (_Governance *GovernanceFilterer) FilterHotfixWhitelisted(opts *bind.FilterOpts, hash [][32]byte) (*GovernanceHotfixWhitelistedIterator, error)

FilterHotfixWhitelisted is a free log retrieval operation binding the contract event 0xf6d22d0b43a6753880b8f9511b82b86cd0fe349cd580bbe6a25b6dc063ef496f.

Solidity: event HotfixWhitelisted(bytes32 indexed hash, address whitelister)

func (*GovernanceFilterer) FilterMinDepositSet

func (_Governance *GovernanceFilterer) FilterMinDepositSet(opts *bind.FilterOpts) (*GovernanceMinDepositSetIterator, error)

FilterMinDepositSet is a free log retrieval operation binding the contract event 0xc50a7f0bdf88c216b2541b0bdea26f22305460e39ffc672ec1a7501732c5ba81.

Solidity: event MinDepositSet(uint256 minDeposit)

func (*GovernanceFilterer) FilterOwnershipTransferred

func (_Governance *GovernanceFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*GovernanceOwnershipTransferredIterator, error)

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

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

func (*GovernanceFilterer) FilterParticipationBaselineQuorumFactorSet

func (_Governance *GovernanceFilterer) FilterParticipationBaselineQuorumFactorSet(opts *bind.FilterOpts) (*GovernanceParticipationBaselineQuorumFactorSetIterator, error)

FilterParticipationBaselineQuorumFactorSet is a free log retrieval operation binding the contract event 0xddfdbe55eaaa70fe2b8bc82a9b0734c25cabe7cb6f1457f9644019f0b5ff91fc.

Solidity: event ParticipationBaselineQuorumFactorSet(uint256 baselineQuorumFactor)

func (*GovernanceFilterer) FilterParticipationBaselineUpdateFactorSet

func (_Governance *GovernanceFilterer) FilterParticipationBaselineUpdateFactorSet(opts *bind.FilterOpts) (*GovernanceParticipationBaselineUpdateFactorSetIterator, error)

FilterParticipationBaselineUpdateFactorSet is a free log retrieval operation binding the contract event 0x8dedb4d995dd500718c7c5f6a077fba6153a7ee063da961d9fcab90ff528ac1f.

Solidity: event ParticipationBaselineUpdateFactorSet(uint256 baselineUpdateFactor)

func (*GovernanceFilterer) FilterParticipationBaselineUpdated

func (_Governance *GovernanceFilterer) FilterParticipationBaselineUpdated(opts *bind.FilterOpts) (*GovernanceParticipationBaselineUpdatedIterator, error)

FilterParticipationBaselineUpdated is a free log retrieval operation binding the contract event 0x51131d2820f04a6b6edd20e22a07d5bf847e265a3906e85256fca7d6043417c5.

Solidity: event ParticipationBaselineUpdated(uint256 participationBaseline)

func (*GovernanceFilterer) FilterParticipationFloorSet

func (_Governance *GovernanceFilterer) FilterParticipationFloorSet(opts *bind.FilterOpts) (*GovernanceParticipationFloorSetIterator, error)

FilterParticipationFloorSet is a free log retrieval operation binding the contract event 0x122a37b609e0f758b6a23c43506cb567017a4d18b21fa91312fb42b44975a5b5.

Solidity: event ParticipationFloorSet(uint256 participationFloor)

func (*GovernanceFilterer) FilterProposalApproved

func (_Governance *GovernanceFilterer) FilterProposalApproved(opts *bind.FilterOpts, proposalId []*big.Int) (*GovernanceProposalApprovedIterator, error)

FilterProposalApproved is a free log retrieval operation binding the contract event 0x28ec9e38ba73636ceb2f6c1574136f83bd46284a3c74734b711bf45e12f8d929.

Solidity: event ProposalApproved(uint256 indexed proposalId)

func (*GovernanceFilterer) FilterProposalDequeued

func (_Governance *GovernanceFilterer) FilterProposalDequeued(opts *bind.FilterOpts, proposalId []*big.Int) (*GovernanceProposalDequeuedIterator, error)

FilterProposalDequeued is a free log retrieval operation binding the contract event 0x3e069fb74dcf5fbc07740b0d40d7f7fc48e9c0ca5dc3d19eb34d2e05d74c5543.

Solidity: event ProposalDequeued(uint256 indexed proposalId, uint256 timestamp)

func (*GovernanceFilterer) FilterProposalExecuted

func (_Governance *GovernanceFilterer) FilterProposalExecuted(opts *bind.FilterOpts, proposalId []*big.Int) (*GovernanceProposalExecutedIterator, error)

FilterProposalExecuted is a free log retrieval operation binding the contract event 0x712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f.

Solidity: event ProposalExecuted(uint256 indexed proposalId)

func (*GovernanceFilterer) FilterProposalExpired

func (_Governance *GovernanceFilterer) FilterProposalExpired(opts *bind.FilterOpts, proposalId []*big.Int) (*GovernanceProposalExpiredIterator, error)

FilterProposalExpired is a free log retrieval operation binding the contract event 0x88e53c486703527139dfc8d97a1e559d9bd93d3f9d52cda4e06564111e7a2643.

Solidity: event ProposalExpired(uint256 indexed proposalId)

func (*GovernanceFilterer) FilterProposalQueued

func (_Governance *GovernanceFilterer) FilterProposalQueued(opts *bind.FilterOpts, proposalId []*big.Int, proposer []common.Address) (*GovernanceProposalQueuedIterator, error)

FilterProposalQueued is a free log retrieval operation binding the contract event 0x1bfe527f3548d9258c2512b6689f0acfccdd0557d80a53845db25fc57e93d8fe.

Solidity: event ProposalQueued(uint256 indexed proposalId, address indexed proposer, uint256 transactionCount, uint256 deposit, uint256 timestamp)

func (*GovernanceFilterer) FilterProposalUpvoteRevoked

func (_Governance *GovernanceFilterer) FilterProposalUpvoteRevoked(opts *bind.FilterOpts, proposalId []*big.Int, account []common.Address) (*GovernanceProposalUpvoteRevokedIterator, error)

FilterProposalUpvoteRevoked is a free log retrieval operation binding the contract event 0x7dc46237a819c9171a9c037ec98928e563892905c4d23373ca0f3f500f4ed114.

Solidity: event ProposalUpvoteRevoked(uint256 indexed proposalId, address indexed account, uint256 revokedUpvotes)

func (*GovernanceFilterer) FilterProposalUpvoted

func (_Governance *GovernanceFilterer) FilterProposalUpvoted(opts *bind.FilterOpts, proposalId []*big.Int, account []common.Address) (*GovernanceProposalUpvotedIterator, error)

FilterProposalUpvoted is a free log retrieval operation binding the contract event 0xd19965d25ef670a1e322fbf05475924b7b12d81fd6b96ab718b261782efb3d62.

Solidity: event ProposalUpvoted(uint256 indexed proposalId, address indexed account, uint256 upvotes)

func (*GovernanceFilterer) FilterProposalVoted

func (_Governance *GovernanceFilterer) FilterProposalVoted(opts *bind.FilterOpts, proposalId []*big.Int, account []common.Address) (*GovernanceProposalVotedIterator, error)

FilterProposalVoted is a free log retrieval operation binding the contract event 0xf3709dc32cf1356da6b8a12a5be1401aeb00989556be7b16ae566e65fef7a9df.

Solidity: event ProposalVoted(uint256 indexed proposalId, address indexed account, uint256 value, uint256 weight)

func (*GovernanceFilterer) FilterQueueExpirySet

func (_Governance *GovernanceFilterer) FilterQueueExpirySet(opts *bind.FilterOpts) (*GovernanceQueueExpirySetIterator, error)

FilterQueueExpirySet is a free log retrieval operation binding the contract event 0x4ecbf0bb0701615e2d6f9b0a0996056c959fe359ce76aa7ce06c5f1d57dae4d7.

Solidity: event QueueExpirySet(uint256 queueExpiry)

func (*GovernanceFilterer) FilterReferendumStageDurationSet

func (_Governance *GovernanceFilterer) FilterReferendumStageDurationSet(opts *bind.FilterOpts) (*GovernanceReferendumStageDurationSetIterator, error)

FilterReferendumStageDurationSet is a free log retrieval operation binding the contract event 0x90290eb9b27055e686a69fb810bada5381e544d07b8270021da2d355a6c96ed6.

Solidity: event ReferendumStageDurationSet(uint256 referendumStageDuration)

func (*GovernanceFilterer) FilterRegistrySet

func (_Governance *GovernanceFilterer) FilterRegistrySet(opts *bind.FilterOpts, registryAddress []common.Address) (*GovernanceRegistrySetIterator, error)

FilterRegistrySet is a free log retrieval operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.

Solidity: event RegistrySet(address indexed registryAddress)

func (*GovernanceFilterer) ParseApprovalStageDurationSet

func (_Governance *GovernanceFilterer) ParseApprovalStageDurationSet(log types.Log) (*GovernanceApprovalStageDurationSet, error)

ParseApprovalStageDurationSet is a log parse operation binding the contract event 0xbc44c003a66b841b48c220869efb738b265af305649ac8bafe8efe0c8130e313.

Solidity: event ApprovalStageDurationSet(uint256 approvalStageDuration)

func (*GovernanceFilterer) ParseApproverSet

func (_Governance *GovernanceFilterer) ParseApproverSet(log types.Log) (*GovernanceApproverSet, error)

ParseApproverSet is a log parse operation binding the contract event 0xa03757d836cb0b61c0fbba2147f5d51d6071ff3dd5bf6963beb55563d64878e1.

Solidity: event ApproverSet(address indexed approver)

func (*GovernanceFilterer) ParseConcurrentProposalsSet

func (_Governance *GovernanceFilterer) ParseConcurrentProposalsSet(log types.Log) (*GovernanceConcurrentProposalsSet, error)

ParseConcurrentProposalsSet is a log parse operation binding the contract event 0x85399b9b2595eb13c392e1638ca77730156cd8d48d4733df4db068e4aa6b93a6.

Solidity: event ConcurrentProposalsSet(uint256 concurrentProposals)

func (*GovernanceFilterer) ParseConstitutionSet

func (_Governance *GovernanceFilterer) ParseConstitutionSet(log types.Log) (*GovernanceConstitutionSet, error)

ParseConstitutionSet is a log parse operation binding the contract event 0x60c5b4756af49d7b071b00dbf0f87af605cce11896ecd3b760d19f0f9d3fbcef.

Solidity: event ConstitutionSet(address indexed destination, bytes4 indexed functionId, uint256 threshold)

func (*GovernanceFilterer) ParseDequeueFrequencySet

func (_Governance *GovernanceFilterer) ParseDequeueFrequencySet(log types.Log) (*GovernanceDequeueFrequencySet, error)

ParseDequeueFrequencySet is a log parse operation binding the contract event 0x391e82aae76c653cd640ad1b6028e2ee39ca4f29b30152e3d0a9ddd7e1169c34.

Solidity: event DequeueFrequencySet(uint256 dequeueFrequency)

func (*GovernanceFilterer) ParseExecutionStageDurationSet

func (_Governance *GovernanceFilterer) ParseExecutionStageDurationSet(log types.Log) (*GovernanceExecutionStageDurationSet, error)

ParseExecutionStageDurationSet is a log parse operation binding the contract event 0x7819c8059302d1d66abc7fe228ecc02214e0bc5c529956c13717aabefce937d8.

Solidity: event ExecutionStageDurationSet(uint256 executionStageDuration)

func (*GovernanceFilterer) ParseHotfixApproved

func (_Governance *GovernanceFilterer) ParseHotfixApproved(log types.Log) (*GovernanceHotfixApproved, error)

ParseHotfixApproved is a log parse operation binding the contract event 0x36bc158cba244a94dc9b8c08d327e8f7e3c2ab5f1925454c577527466f04851f.

Solidity: event HotfixApproved(bytes32 indexed hash)

func (*GovernanceFilterer) ParseHotfixExecuted

func (_Governance *GovernanceFilterer) ParseHotfixExecuted(log types.Log) (*GovernanceHotfixExecuted, error)

ParseHotfixExecuted is a log parse operation binding the contract event 0x708a7934acb657a77a617b1fcd5f6d7d9ad592b72934841bff01acefd10f9b63.

Solidity: event HotfixExecuted(bytes32 indexed hash)

func (*GovernanceFilterer) ParseHotfixPrepared

func (_Governance *GovernanceFilterer) ParseHotfixPrepared(log types.Log) (*GovernanceHotfixPrepared, error)

ParseHotfixPrepared is a log parse operation binding the contract event 0x6f184ec313435b3307a4fe59e2293381f08419a87214464c875a2a247e8af5e0.

Solidity: event HotfixPrepared(bytes32 indexed hash, uint256 indexed epoch)

func (*GovernanceFilterer) ParseHotfixWhitelisted

func (_Governance *GovernanceFilterer) ParseHotfixWhitelisted(log types.Log) (*GovernanceHotfixWhitelisted, error)

ParseHotfixWhitelisted is a log parse operation binding the contract event 0xf6d22d0b43a6753880b8f9511b82b86cd0fe349cd580bbe6a25b6dc063ef496f.

Solidity: event HotfixWhitelisted(bytes32 indexed hash, address whitelister)

func (*GovernanceFilterer) ParseMinDepositSet

func (_Governance *GovernanceFilterer) ParseMinDepositSet(log types.Log) (*GovernanceMinDepositSet, error)

ParseMinDepositSet is a log parse operation binding the contract event 0xc50a7f0bdf88c216b2541b0bdea26f22305460e39ffc672ec1a7501732c5ba81.

Solidity: event MinDepositSet(uint256 minDeposit)

func (*GovernanceFilterer) ParseOwnershipTransferred

func (_Governance *GovernanceFilterer) ParseOwnershipTransferred(log types.Log) (*GovernanceOwnershipTransferred, error)

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

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

func (*GovernanceFilterer) ParseParticipationBaselineQuorumFactorSet

func (_Governance *GovernanceFilterer) ParseParticipationBaselineQuorumFactorSet(log types.Log) (*GovernanceParticipationBaselineQuorumFactorSet, error)

ParseParticipationBaselineQuorumFactorSet is a log parse operation binding the contract event 0xddfdbe55eaaa70fe2b8bc82a9b0734c25cabe7cb6f1457f9644019f0b5ff91fc.

Solidity: event ParticipationBaselineQuorumFactorSet(uint256 baselineQuorumFactor)

func (*GovernanceFilterer) ParseParticipationBaselineUpdateFactorSet

func (_Governance *GovernanceFilterer) ParseParticipationBaselineUpdateFactorSet(log types.Log) (*GovernanceParticipationBaselineUpdateFactorSet, error)

ParseParticipationBaselineUpdateFactorSet is a log parse operation binding the contract event 0x8dedb4d995dd500718c7c5f6a077fba6153a7ee063da961d9fcab90ff528ac1f.

Solidity: event ParticipationBaselineUpdateFactorSet(uint256 baselineUpdateFactor)

func (*GovernanceFilterer) ParseParticipationBaselineUpdated

func (_Governance *GovernanceFilterer) ParseParticipationBaselineUpdated(log types.Log) (*GovernanceParticipationBaselineUpdated, error)

ParseParticipationBaselineUpdated is a log parse operation binding the contract event 0x51131d2820f04a6b6edd20e22a07d5bf847e265a3906e85256fca7d6043417c5.

Solidity: event ParticipationBaselineUpdated(uint256 participationBaseline)

func (*GovernanceFilterer) ParseParticipationFloorSet

func (_Governance *GovernanceFilterer) ParseParticipationFloorSet(log types.Log) (*GovernanceParticipationFloorSet, error)

ParseParticipationFloorSet is a log parse operation binding the contract event 0x122a37b609e0f758b6a23c43506cb567017a4d18b21fa91312fb42b44975a5b5.

Solidity: event ParticipationFloorSet(uint256 participationFloor)

func (*GovernanceFilterer) ParseProposalApproved

func (_Governance *GovernanceFilterer) ParseProposalApproved(log types.Log) (*GovernanceProposalApproved, error)

ParseProposalApproved is a log parse operation binding the contract event 0x28ec9e38ba73636ceb2f6c1574136f83bd46284a3c74734b711bf45e12f8d929.

Solidity: event ProposalApproved(uint256 indexed proposalId)

func (*GovernanceFilterer) ParseProposalDequeued

func (_Governance *GovernanceFilterer) ParseProposalDequeued(log types.Log) (*GovernanceProposalDequeued, error)

ParseProposalDequeued is a log parse operation binding the contract event 0x3e069fb74dcf5fbc07740b0d40d7f7fc48e9c0ca5dc3d19eb34d2e05d74c5543.

Solidity: event ProposalDequeued(uint256 indexed proposalId, uint256 timestamp)

func (*GovernanceFilterer) ParseProposalExecuted

func (_Governance *GovernanceFilterer) ParseProposalExecuted(log types.Log) (*GovernanceProposalExecuted, error)

ParseProposalExecuted is a log parse operation binding the contract event 0x712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f.

Solidity: event ProposalExecuted(uint256 indexed proposalId)

func (*GovernanceFilterer) ParseProposalExpired

func (_Governance *GovernanceFilterer) ParseProposalExpired(log types.Log) (*GovernanceProposalExpired, error)

ParseProposalExpired is a log parse operation binding the contract event 0x88e53c486703527139dfc8d97a1e559d9bd93d3f9d52cda4e06564111e7a2643.

Solidity: event ProposalExpired(uint256 indexed proposalId)

func (*GovernanceFilterer) ParseProposalQueued

func (_Governance *GovernanceFilterer) ParseProposalQueued(log types.Log) (*GovernanceProposalQueued, error)

ParseProposalQueued is a log parse operation binding the contract event 0x1bfe527f3548d9258c2512b6689f0acfccdd0557d80a53845db25fc57e93d8fe.

Solidity: event ProposalQueued(uint256 indexed proposalId, address indexed proposer, uint256 transactionCount, uint256 deposit, uint256 timestamp)

func (*GovernanceFilterer) ParseProposalUpvoteRevoked

func (_Governance *GovernanceFilterer) ParseProposalUpvoteRevoked(log types.Log) (*GovernanceProposalUpvoteRevoked, error)

ParseProposalUpvoteRevoked is a log parse operation binding the contract event 0x7dc46237a819c9171a9c037ec98928e563892905c4d23373ca0f3f500f4ed114.

Solidity: event ProposalUpvoteRevoked(uint256 indexed proposalId, address indexed account, uint256 revokedUpvotes)

func (*GovernanceFilterer) ParseProposalUpvoted

func (_Governance *GovernanceFilterer) ParseProposalUpvoted(log types.Log) (*GovernanceProposalUpvoted, error)

ParseProposalUpvoted is a log parse operation binding the contract event 0xd19965d25ef670a1e322fbf05475924b7b12d81fd6b96ab718b261782efb3d62.

Solidity: event ProposalUpvoted(uint256 indexed proposalId, address indexed account, uint256 upvotes)

func (*GovernanceFilterer) ParseProposalVoted

func (_Governance *GovernanceFilterer) ParseProposalVoted(log types.Log) (*GovernanceProposalVoted, error)

ParseProposalVoted is a log parse operation binding the contract event 0xf3709dc32cf1356da6b8a12a5be1401aeb00989556be7b16ae566e65fef7a9df.

Solidity: event ProposalVoted(uint256 indexed proposalId, address indexed account, uint256 value, uint256 weight)

func (*GovernanceFilterer) ParseQueueExpirySet

func (_Governance *GovernanceFilterer) ParseQueueExpirySet(log types.Log) (*GovernanceQueueExpirySet, error)

ParseQueueExpirySet is a log parse operation binding the contract event 0x4ecbf0bb0701615e2d6f9b0a0996056c959fe359ce76aa7ce06c5f1d57dae4d7.

Solidity: event QueueExpirySet(uint256 queueExpiry)

func (*GovernanceFilterer) ParseReferendumStageDurationSet

func (_Governance *GovernanceFilterer) ParseReferendumStageDurationSet(log types.Log) (*GovernanceReferendumStageDurationSet, error)

ParseReferendumStageDurationSet is a log parse operation binding the contract event 0x90290eb9b27055e686a69fb810bada5381e544d07b8270021da2d355a6c96ed6.

Solidity: event ReferendumStageDurationSet(uint256 referendumStageDuration)

func (*GovernanceFilterer) ParseRegistrySet

func (_Governance *GovernanceFilterer) ParseRegistrySet(log types.Log) (*GovernanceRegistrySet, error)

ParseRegistrySet is a log parse operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.

Solidity: event RegistrySet(address indexed registryAddress)

func (*GovernanceFilterer) WatchApprovalStageDurationSet

func (_Governance *GovernanceFilterer) WatchApprovalStageDurationSet(opts *bind.WatchOpts, sink chan<- *GovernanceApprovalStageDurationSet) (event.Subscription, error)

WatchApprovalStageDurationSet is a free log subscription operation binding the contract event 0xbc44c003a66b841b48c220869efb738b265af305649ac8bafe8efe0c8130e313.

Solidity: event ApprovalStageDurationSet(uint256 approvalStageDuration)

func (*GovernanceFilterer) WatchApproverSet

func (_Governance *GovernanceFilterer) WatchApproverSet(opts *bind.WatchOpts, sink chan<- *GovernanceApproverSet, approver []common.Address) (event.Subscription, error)

WatchApproverSet is a free log subscription operation binding the contract event 0xa03757d836cb0b61c0fbba2147f5d51d6071ff3dd5bf6963beb55563d64878e1.

Solidity: event ApproverSet(address indexed approver)

func (*GovernanceFilterer) WatchConcurrentProposalsSet

func (_Governance *GovernanceFilterer) WatchConcurrentProposalsSet(opts *bind.WatchOpts, sink chan<- *GovernanceConcurrentProposalsSet) (event.Subscription, error)

WatchConcurrentProposalsSet is a free log subscription operation binding the contract event 0x85399b9b2595eb13c392e1638ca77730156cd8d48d4733df4db068e4aa6b93a6.

Solidity: event ConcurrentProposalsSet(uint256 concurrentProposals)

func (*GovernanceFilterer) WatchConstitutionSet

func (_Governance *GovernanceFilterer) WatchConstitutionSet(opts *bind.WatchOpts, sink chan<- *GovernanceConstitutionSet, destination []common.Address, functionId [][4]byte) (event.Subscription, error)

WatchConstitutionSet is a free log subscription operation binding the contract event 0x60c5b4756af49d7b071b00dbf0f87af605cce11896ecd3b760d19f0f9d3fbcef.

Solidity: event ConstitutionSet(address indexed destination, bytes4 indexed functionId, uint256 threshold)

func (*GovernanceFilterer) WatchDequeueFrequencySet

func (_Governance *GovernanceFilterer) WatchDequeueFrequencySet(opts *bind.WatchOpts, sink chan<- *GovernanceDequeueFrequencySet) (event.Subscription, error)

WatchDequeueFrequencySet is a free log subscription operation binding the contract event 0x391e82aae76c653cd640ad1b6028e2ee39ca4f29b30152e3d0a9ddd7e1169c34.

Solidity: event DequeueFrequencySet(uint256 dequeueFrequency)

func (*GovernanceFilterer) WatchExecutionStageDurationSet

func (_Governance *GovernanceFilterer) WatchExecutionStageDurationSet(opts *bind.WatchOpts, sink chan<- *GovernanceExecutionStageDurationSet) (event.Subscription, error)

WatchExecutionStageDurationSet is a free log subscription operation binding the contract event 0x7819c8059302d1d66abc7fe228ecc02214e0bc5c529956c13717aabefce937d8.

Solidity: event ExecutionStageDurationSet(uint256 executionStageDuration)

func (*GovernanceFilterer) WatchHotfixApproved

func (_Governance *GovernanceFilterer) WatchHotfixApproved(opts *bind.WatchOpts, sink chan<- *GovernanceHotfixApproved, hash [][32]byte) (event.Subscription, error)

WatchHotfixApproved is a free log subscription operation binding the contract event 0x36bc158cba244a94dc9b8c08d327e8f7e3c2ab5f1925454c577527466f04851f.

Solidity: event HotfixApproved(bytes32 indexed hash)

func (*GovernanceFilterer) WatchHotfixExecuted

func (_Governance *GovernanceFilterer) WatchHotfixExecuted(opts *bind.WatchOpts, sink chan<- *GovernanceHotfixExecuted, hash [][32]byte) (event.Subscription, error)

WatchHotfixExecuted is a free log subscription operation binding the contract event 0x708a7934acb657a77a617b1fcd5f6d7d9ad592b72934841bff01acefd10f9b63.

Solidity: event HotfixExecuted(bytes32 indexed hash)

func (*GovernanceFilterer) WatchHotfixPrepared

func (_Governance *GovernanceFilterer) WatchHotfixPrepared(opts *bind.WatchOpts, sink chan<- *GovernanceHotfixPrepared, hash [][32]byte, epoch []*big.Int) (event.Subscription, error)

WatchHotfixPrepared is a free log subscription operation binding the contract event 0x6f184ec313435b3307a4fe59e2293381f08419a87214464c875a2a247e8af5e0.

Solidity: event HotfixPrepared(bytes32 indexed hash, uint256 indexed epoch)

func (*GovernanceFilterer) WatchHotfixWhitelisted

func (_Governance *GovernanceFilterer) WatchHotfixWhitelisted(opts *bind.WatchOpts, sink chan<- *GovernanceHotfixWhitelisted, hash [][32]byte) (event.Subscription, error)

WatchHotfixWhitelisted is a free log subscription operation binding the contract event 0xf6d22d0b43a6753880b8f9511b82b86cd0fe349cd580bbe6a25b6dc063ef496f.

Solidity: event HotfixWhitelisted(bytes32 indexed hash, address whitelister)

func (*GovernanceFilterer) WatchMinDepositSet

func (_Governance *GovernanceFilterer) WatchMinDepositSet(opts *bind.WatchOpts, sink chan<- *GovernanceMinDepositSet) (event.Subscription, error)

WatchMinDepositSet is a free log subscription operation binding the contract event 0xc50a7f0bdf88c216b2541b0bdea26f22305460e39ffc672ec1a7501732c5ba81.

Solidity: event MinDepositSet(uint256 minDeposit)

func (*GovernanceFilterer) WatchOwnershipTransferred

func (_Governance *GovernanceFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *GovernanceOwnershipTransferred, 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 (*GovernanceFilterer) WatchParticipationBaselineQuorumFactorSet

func (_Governance *GovernanceFilterer) WatchParticipationBaselineQuorumFactorSet(opts *bind.WatchOpts, sink chan<- *GovernanceParticipationBaselineQuorumFactorSet) (event.Subscription, error)

WatchParticipationBaselineQuorumFactorSet is a free log subscription operation binding the contract event 0xddfdbe55eaaa70fe2b8bc82a9b0734c25cabe7cb6f1457f9644019f0b5ff91fc.

Solidity: event ParticipationBaselineQuorumFactorSet(uint256 baselineQuorumFactor)

func (*GovernanceFilterer) WatchParticipationBaselineUpdateFactorSet

func (_Governance *GovernanceFilterer) WatchParticipationBaselineUpdateFactorSet(opts *bind.WatchOpts, sink chan<- *GovernanceParticipationBaselineUpdateFactorSet) (event.Subscription, error)

WatchParticipationBaselineUpdateFactorSet is a free log subscription operation binding the contract event 0x8dedb4d995dd500718c7c5f6a077fba6153a7ee063da961d9fcab90ff528ac1f.

Solidity: event ParticipationBaselineUpdateFactorSet(uint256 baselineUpdateFactor)

func (*GovernanceFilterer) WatchParticipationBaselineUpdated

func (_Governance *GovernanceFilterer) WatchParticipationBaselineUpdated(opts *bind.WatchOpts, sink chan<- *GovernanceParticipationBaselineUpdated) (event.Subscription, error)

WatchParticipationBaselineUpdated is a free log subscription operation binding the contract event 0x51131d2820f04a6b6edd20e22a07d5bf847e265a3906e85256fca7d6043417c5.

Solidity: event ParticipationBaselineUpdated(uint256 participationBaseline)

func (*GovernanceFilterer) WatchParticipationFloorSet

func (_Governance *GovernanceFilterer) WatchParticipationFloorSet(opts *bind.WatchOpts, sink chan<- *GovernanceParticipationFloorSet) (event.Subscription, error)

WatchParticipationFloorSet is a free log subscription operation binding the contract event 0x122a37b609e0f758b6a23c43506cb567017a4d18b21fa91312fb42b44975a5b5.

Solidity: event ParticipationFloorSet(uint256 participationFloor)

func (*GovernanceFilterer) WatchProposalApproved

func (_Governance *GovernanceFilterer) WatchProposalApproved(opts *bind.WatchOpts, sink chan<- *GovernanceProposalApproved, proposalId []*big.Int) (event.Subscription, error)

WatchProposalApproved is a free log subscription operation binding the contract event 0x28ec9e38ba73636ceb2f6c1574136f83bd46284a3c74734b711bf45e12f8d929.

Solidity: event ProposalApproved(uint256 indexed proposalId)

func (*GovernanceFilterer) WatchProposalDequeued

func (_Governance *GovernanceFilterer) WatchProposalDequeued(opts *bind.WatchOpts, sink chan<- *GovernanceProposalDequeued, proposalId []*big.Int) (event.Subscription, error)

WatchProposalDequeued is a free log subscription operation binding the contract event 0x3e069fb74dcf5fbc07740b0d40d7f7fc48e9c0ca5dc3d19eb34d2e05d74c5543.

Solidity: event ProposalDequeued(uint256 indexed proposalId, uint256 timestamp)

func (*GovernanceFilterer) WatchProposalExecuted

func (_Governance *GovernanceFilterer) WatchProposalExecuted(opts *bind.WatchOpts, sink chan<- *GovernanceProposalExecuted, proposalId []*big.Int) (event.Subscription, error)

WatchProposalExecuted is a free log subscription operation binding the contract event 0x712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f.

Solidity: event ProposalExecuted(uint256 indexed proposalId)

func (*GovernanceFilterer) WatchProposalExpired

func (_Governance *GovernanceFilterer) WatchProposalExpired(opts *bind.WatchOpts, sink chan<- *GovernanceProposalExpired, proposalId []*big.Int) (event.Subscription, error)

WatchProposalExpired is a free log subscription operation binding the contract event 0x88e53c486703527139dfc8d97a1e559d9bd93d3f9d52cda4e06564111e7a2643.

Solidity: event ProposalExpired(uint256 indexed proposalId)

func (*GovernanceFilterer) WatchProposalQueued

func (_Governance *GovernanceFilterer) WatchProposalQueued(opts *bind.WatchOpts, sink chan<- *GovernanceProposalQueued, proposalId []*big.Int, proposer []common.Address) (event.Subscription, error)

WatchProposalQueued is a free log subscription operation binding the contract event 0x1bfe527f3548d9258c2512b6689f0acfccdd0557d80a53845db25fc57e93d8fe.

Solidity: event ProposalQueued(uint256 indexed proposalId, address indexed proposer, uint256 transactionCount, uint256 deposit, uint256 timestamp)

func (*GovernanceFilterer) WatchProposalUpvoteRevoked

func (_Governance *GovernanceFilterer) WatchProposalUpvoteRevoked(opts *bind.WatchOpts, sink chan<- *GovernanceProposalUpvoteRevoked, proposalId []*big.Int, account []common.Address) (event.Subscription, error)

WatchProposalUpvoteRevoked is a free log subscription operation binding the contract event 0x7dc46237a819c9171a9c037ec98928e563892905c4d23373ca0f3f500f4ed114.

Solidity: event ProposalUpvoteRevoked(uint256 indexed proposalId, address indexed account, uint256 revokedUpvotes)

func (*GovernanceFilterer) WatchProposalUpvoted

func (_Governance *GovernanceFilterer) WatchProposalUpvoted(opts *bind.WatchOpts, sink chan<- *GovernanceProposalUpvoted, proposalId []*big.Int, account []common.Address) (event.Subscription, error)

WatchProposalUpvoted is a free log subscription operation binding the contract event 0xd19965d25ef670a1e322fbf05475924b7b12d81fd6b96ab718b261782efb3d62.

Solidity: event ProposalUpvoted(uint256 indexed proposalId, address indexed account, uint256 upvotes)

func (*GovernanceFilterer) WatchProposalVoted

func (_Governance *GovernanceFilterer) WatchProposalVoted(opts *bind.WatchOpts, sink chan<- *GovernanceProposalVoted, proposalId []*big.Int, account []common.Address) (event.Subscription, error)

WatchProposalVoted is a free log subscription operation binding the contract event 0xf3709dc32cf1356da6b8a12a5be1401aeb00989556be7b16ae566e65fef7a9df.

Solidity: event ProposalVoted(uint256 indexed proposalId, address indexed account, uint256 value, uint256 weight)

func (*GovernanceFilterer) WatchQueueExpirySet

func (_Governance *GovernanceFilterer) WatchQueueExpirySet(opts *bind.WatchOpts, sink chan<- *GovernanceQueueExpirySet) (event.Subscription, error)

WatchQueueExpirySet is a free log subscription operation binding the contract event 0x4ecbf0bb0701615e2d6f9b0a0996056c959fe359ce76aa7ce06c5f1d57dae4d7.

Solidity: event QueueExpirySet(uint256 queueExpiry)

func (*GovernanceFilterer) WatchReferendumStageDurationSet

func (_Governance *GovernanceFilterer) WatchReferendumStageDurationSet(opts *bind.WatchOpts, sink chan<- *GovernanceReferendumStageDurationSet) (event.Subscription, error)

WatchReferendumStageDurationSet is a free log subscription operation binding the contract event 0x90290eb9b27055e686a69fb810bada5381e544d07b8270021da2d355a6c96ed6.

Solidity: event ReferendumStageDurationSet(uint256 referendumStageDuration)

func (*GovernanceFilterer) WatchRegistrySet

func (_Governance *GovernanceFilterer) WatchRegistrySet(opts *bind.WatchOpts, sink chan<- *GovernanceRegistrySet, registryAddress []common.Address) (event.Subscription, error)

WatchRegistrySet is a free log subscription operation binding the contract event 0x27fe5f0c1c3b1ed427cc63d0f05759ffdecf9aec9e18d31ef366fc8a6cb5dc3b.

Solidity: event RegistrySet(address indexed registryAddress)

type GovernanceHotfixApproved

type GovernanceHotfixApproved struct {
	Hash [32]byte
	Raw  types.Log // Blockchain specific contextual infos
}

GovernanceHotfixApproved represents a HotfixApproved event raised by the Governance contract.

type GovernanceHotfixApprovedIterator

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

GovernanceHotfixApprovedIterator is returned from FilterHotfixApproved and is used to iterate over the raw logs and unpacked data for HotfixApproved events raised by the Governance contract.

func (*GovernanceHotfixApprovedIterator) Close

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

func (*GovernanceHotfixApprovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceHotfixApprovedIterator) Next

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

type GovernanceHotfixExecuted

type GovernanceHotfixExecuted struct {
	Hash [32]byte
	Raw  types.Log // Blockchain specific contextual infos
}

GovernanceHotfixExecuted represents a HotfixExecuted event raised by the Governance contract.

type GovernanceHotfixExecutedIterator

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

GovernanceHotfixExecutedIterator is returned from FilterHotfixExecuted and is used to iterate over the raw logs and unpacked data for HotfixExecuted events raised by the Governance contract.

func (*GovernanceHotfixExecutedIterator) Close

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

func (*GovernanceHotfixExecutedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceHotfixExecutedIterator) Next

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

type GovernanceHotfixPrepared

type GovernanceHotfixPrepared struct {
	Hash  [32]byte
	Epoch *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

GovernanceHotfixPrepared represents a HotfixPrepared event raised by the Governance contract.

type GovernanceHotfixPreparedIterator

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

GovernanceHotfixPreparedIterator is returned from FilterHotfixPrepared and is used to iterate over the raw logs and unpacked data for HotfixPrepared events raised by the Governance contract.

func (*GovernanceHotfixPreparedIterator) Close

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

func (*GovernanceHotfixPreparedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceHotfixPreparedIterator) Next

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

type GovernanceHotfixWhitelisted

type GovernanceHotfixWhitelisted struct {
	Hash        [32]byte
	Whitelister common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

GovernanceHotfixWhitelisted represents a HotfixWhitelisted event raised by the Governance contract.

type GovernanceHotfixWhitelistedIterator

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

GovernanceHotfixWhitelistedIterator is returned from FilterHotfixWhitelisted and is used to iterate over the raw logs and unpacked data for HotfixWhitelisted events raised by the Governance contract.

func (*GovernanceHotfixWhitelistedIterator) Close

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

func (*GovernanceHotfixWhitelistedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceHotfixWhitelistedIterator) Next

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

type GovernanceMinDepositSet

type GovernanceMinDepositSet struct {
	MinDeposit *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

GovernanceMinDepositSet represents a MinDepositSet event raised by the Governance contract.

type GovernanceMinDepositSetIterator

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

GovernanceMinDepositSetIterator is returned from FilterMinDepositSet and is used to iterate over the raw logs and unpacked data for MinDepositSet events raised by the Governance contract.

func (*GovernanceMinDepositSetIterator) Close

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

func (*GovernanceMinDepositSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceMinDepositSetIterator) Next

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

type GovernanceOwnershipTransferred

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

GovernanceOwnershipTransferred represents a OwnershipTransferred event raised by the Governance contract.

type GovernanceOwnershipTransferredIterator

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

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

func (*GovernanceOwnershipTransferredIterator) Close

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

func (*GovernanceOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceOwnershipTransferredIterator) Next

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

type GovernanceParticipationBaselineQuorumFactorSet

type GovernanceParticipationBaselineQuorumFactorSet struct {
	BaselineQuorumFactor *big.Int
	Raw                  types.Log // Blockchain specific contextual infos
}

GovernanceParticipationBaselineQuorumFactorSet represents a ParticipationBaselineQuorumFactorSet event raised by the Governance contract.

type GovernanceParticipationBaselineQuorumFactorSetIterator

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

GovernanceParticipationBaselineQuorumFactorSetIterator is returned from FilterParticipationBaselineQuorumFactorSet and is used to iterate over the raw logs and unpacked data for ParticipationBaselineQuorumFactorSet events raised by the Governance contract.

func (*GovernanceParticipationBaselineQuorumFactorSetIterator) Close

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

func (*GovernanceParticipationBaselineQuorumFactorSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceParticipationBaselineQuorumFactorSetIterator) Next

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

type GovernanceParticipationBaselineUpdateFactorSet

type GovernanceParticipationBaselineUpdateFactorSet struct {
	BaselineUpdateFactor *big.Int
	Raw                  types.Log // Blockchain specific contextual infos
}

GovernanceParticipationBaselineUpdateFactorSet represents a ParticipationBaselineUpdateFactorSet event raised by the Governance contract.

type GovernanceParticipationBaselineUpdateFactorSetIterator

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

GovernanceParticipationBaselineUpdateFactorSetIterator is returned from FilterParticipationBaselineUpdateFactorSet and is used to iterate over the raw logs and unpacked data for ParticipationBaselineUpdateFactorSet events raised by the Governance contract.

func (*GovernanceParticipationBaselineUpdateFactorSetIterator) Close

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

func (*GovernanceParticipationBaselineUpdateFactorSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceParticipationBaselineUpdateFactorSetIterator) Next

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

type GovernanceParticipationBaselineUpdated

type GovernanceParticipationBaselineUpdated struct {
	ParticipationBaseline *big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

GovernanceParticipationBaselineUpdated represents a ParticipationBaselineUpdated event raised by the Governance contract.

type GovernanceParticipationBaselineUpdatedIterator

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

GovernanceParticipationBaselineUpdatedIterator is returned from FilterParticipationBaselineUpdated and is used to iterate over the raw logs and unpacked data for ParticipationBaselineUpdated events raised by the Governance contract.

func (*GovernanceParticipationBaselineUpdatedIterator) Close

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

func (*GovernanceParticipationBaselineUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceParticipationBaselineUpdatedIterator) Next

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

type GovernanceParticipationFloorSet

type GovernanceParticipationFloorSet struct {
	ParticipationFloor *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

GovernanceParticipationFloorSet represents a ParticipationFloorSet event raised by the Governance contract.

type GovernanceParticipationFloorSetIterator

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

GovernanceParticipationFloorSetIterator is returned from FilterParticipationFloorSet and is used to iterate over the raw logs and unpacked data for ParticipationFloorSet events raised by the Governance contract.

func (*GovernanceParticipationFloorSetIterator) Close

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

func (*GovernanceParticipationFloorSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceParticipationFloorSetIterator) Next

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

type GovernanceProposalApproved

type GovernanceProposalApproved struct {
	ProposalId *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

GovernanceProposalApproved represents a ProposalApproved event raised by the Governance contract.

type GovernanceProposalApprovedIterator

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

GovernanceProposalApprovedIterator is returned from FilterProposalApproved and is used to iterate over the raw logs and unpacked data for ProposalApproved events raised by the Governance contract.

func (*GovernanceProposalApprovedIterator) Close

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

func (*GovernanceProposalApprovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceProposalApprovedIterator) Next

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

type GovernanceProposalDequeued

type GovernanceProposalDequeued struct {
	ProposalId *big.Int
	Timestamp  *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

GovernanceProposalDequeued represents a ProposalDequeued event raised by the Governance contract.

type GovernanceProposalDequeuedIterator

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

GovernanceProposalDequeuedIterator is returned from FilterProposalDequeued and is used to iterate over the raw logs and unpacked data for ProposalDequeued events raised by the Governance contract.

func (*GovernanceProposalDequeuedIterator) Close

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

func (*GovernanceProposalDequeuedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceProposalDequeuedIterator) Next

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

type GovernanceProposalExecuted

type GovernanceProposalExecuted struct {
	ProposalId *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

GovernanceProposalExecuted represents a ProposalExecuted event raised by the Governance contract.

type GovernanceProposalExecutedIterator

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

GovernanceProposalExecutedIterator is returned from FilterProposalExecuted and is used to iterate over the raw logs and unpacked data for ProposalExecuted events raised by the Governance contract.

func (*GovernanceProposalExecutedIterator) Close

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

func (*GovernanceProposalExecutedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceProposalExecutedIterator) Next

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

type GovernanceProposalExpired

type GovernanceProposalExpired struct {
	ProposalId *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

GovernanceProposalExpired represents a ProposalExpired event raised by the Governance contract.

type GovernanceProposalExpiredIterator

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

GovernanceProposalExpiredIterator is returned from FilterProposalExpired and is used to iterate over the raw logs and unpacked data for ProposalExpired events raised by the Governance contract.

func (*GovernanceProposalExpiredIterator) Close

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

func (*GovernanceProposalExpiredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceProposalExpiredIterator) Next

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

type GovernanceProposalQueued

type GovernanceProposalQueued struct {
	ProposalId       *big.Int
	Proposer         common.Address
	TransactionCount *big.Int
	Deposit          *big.Int
	Timestamp        *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

GovernanceProposalQueued represents a ProposalQueued event raised by the Governance contract.

type GovernanceProposalQueuedIterator

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

GovernanceProposalQueuedIterator is returned from FilterProposalQueued and is used to iterate over the raw logs and unpacked data for ProposalQueued events raised by the Governance contract.

func (*GovernanceProposalQueuedIterator) Close

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

func (*GovernanceProposalQueuedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceProposalQueuedIterator) Next

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

type GovernanceProposalUpvoteRevoked

type GovernanceProposalUpvoteRevoked struct {
	ProposalId     *big.Int
	Account        common.Address
	RevokedUpvotes *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

GovernanceProposalUpvoteRevoked represents a ProposalUpvoteRevoked event raised by the Governance contract.

type GovernanceProposalUpvoteRevokedIterator

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

GovernanceProposalUpvoteRevokedIterator is returned from FilterProposalUpvoteRevoked and is used to iterate over the raw logs and unpacked data for ProposalUpvoteRevoked events raised by the Governance contract.

func (*GovernanceProposalUpvoteRevokedIterator) Close

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

func (*GovernanceProposalUpvoteRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceProposalUpvoteRevokedIterator) Next

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

type GovernanceProposalUpvoted

type GovernanceProposalUpvoted struct {
	ProposalId *big.Int
	Account    common.Address
	Upvotes    *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

GovernanceProposalUpvoted represents a ProposalUpvoted event raised by the Governance contract.

type GovernanceProposalUpvotedIterator

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

GovernanceProposalUpvotedIterator is returned from FilterProposalUpvoted and is used to iterate over the raw logs and unpacked data for ProposalUpvoted events raised by the Governance contract.

func (*GovernanceProposalUpvotedIterator) Close

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

func (*GovernanceProposalUpvotedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceProposalUpvotedIterator) Next

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

type GovernanceProposalVoted

type GovernanceProposalVoted struct {
	ProposalId *big.Int
	Account    common.Address
	Value      *big.Int
	Weight     *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

GovernanceProposalVoted represents a ProposalVoted event raised by the Governance contract.

type GovernanceProposalVotedIterator

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

GovernanceProposalVotedIterator is returned from FilterProposalVoted and is used to iterate over the raw logs and unpacked data for ProposalVoted events raised by the Governance contract.

func (*GovernanceProposalVotedIterator) Close

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

func (*GovernanceProposalVotedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceProposalVotedIterator) Next

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

type GovernanceQueueExpirySet

type GovernanceQueueExpirySet struct {
	QueueExpiry *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

GovernanceQueueExpirySet represents a QueueExpirySet event raised by the Governance contract.

type GovernanceQueueExpirySetIterator

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

GovernanceQueueExpirySetIterator is returned from FilterQueueExpirySet and is used to iterate over the raw logs and unpacked data for QueueExpirySet events raised by the Governance contract.

func (*GovernanceQueueExpirySetIterator) Close

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

func (*GovernanceQueueExpirySetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceQueueExpirySetIterator) Next

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

type GovernanceRaw

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

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

func (*GovernanceRaw) Call

func (_Governance *GovernanceRaw) 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 (*GovernanceRaw) Transact

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

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

func (*GovernanceRaw) Transfer

func (_Governance *GovernanceRaw) 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 GovernanceReferendumStageDurationSet

type GovernanceReferendumStageDurationSet struct {
	ReferendumStageDuration *big.Int
	Raw                     types.Log // Blockchain specific contextual infos
}

GovernanceReferendumStageDurationSet represents a ReferendumStageDurationSet event raised by the Governance contract.

type GovernanceReferendumStageDurationSetIterator

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

GovernanceReferendumStageDurationSetIterator is returned from FilterReferendumStageDurationSet and is used to iterate over the raw logs and unpacked data for ReferendumStageDurationSet events raised by the Governance contract.

func (*GovernanceReferendumStageDurationSetIterator) Close

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

func (*GovernanceReferendumStageDurationSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceReferendumStageDurationSetIterator) Next

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

type GovernanceRegistrySet

type GovernanceRegistrySet struct {
	RegistryAddress common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

GovernanceRegistrySet represents a RegistrySet event raised by the Governance contract.

type GovernanceRegistrySetIterator

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

GovernanceRegistrySetIterator is returned from FilterRegistrySet and is used to iterate over the raw logs and unpacked data for RegistrySet events raised by the Governance contract.

func (*GovernanceRegistrySetIterator) Close

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

func (*GovernanceRegistrySetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceRegistrySetIterator) Next

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

type GovernanceSession

type GovernanceSession struct {
	Contract     *Governance       // 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
}

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

func (*GovernanceSession) Approve

func (_Governance *GovernanceSession) Approve(proposalId *big.Int, index *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x5d35a3d9.

Solidity: function approve(uint256 proposalId, uint256 index) returns(bool)

func (*GovernanceSession) ApproveHotfix

func (_Governance *GovernanceSession) ApproveHotfix(hash [32]byte) (*types.Transaction, error)

ApproveHotfix is a paid mutator transaction binding the contract method 0xb0f99842.

Solidity: function approveHotfix(bytes32 hash) returns()

func (*GovernanceSession) Approver

func (_Governance *GovernanceSession) Approver() (common.Address, error)

Approver is a free data retrieval call binding the contract method 0x141a8dd8.

Solidity: function approver() constant returns(address)

func (*GovernanceSession) CheckProofOfPossession

func (_Governance *GovernanceSession) 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 (*GovernanceSession) ConcurrentProposals

func (_Governance *GovernanceSession) ConcurrentProposals() (*big.Int, error)

ConcurrentProposals is a free data retrieval call binding the contract method 0x1201a0fb.

Solidity: function concurrentProposals() constant returns(uint256)

func (*GovernanceSession) DequeueFrequency

func (_Governance *GovernanceSession) DequeueFrequency() (*big.Int, error)

DequeueFrequency is a free data retrieval call binding the contract method 0x77d26a2a.

Solidity: function dequeueFrequency() constant returns(uint256)

func (*GovernanceSession) DequeueProposalsIfReady

func (_Governance *GovernanceSession) DequeueProposalsIfReady() (*types.Transaction, error)

DequeueProposalsIfReady is a paid mutator transaction binding the contract method 0x3bb0ed2b.

Solidity: function dequeueProposalsIfReady() returns()

func (*GovernanceSession) Dequeued

func (_Governance *GovernanceSession) Dequeued(arg0 *big.Int) (*big.Int, error)

Dequeued is a free data retrieval call binding the contract method 0xadd004df.

Solidity: function dequeued(uint256 ) constant returns(uint256)

func (*GovernanceSession) EmptyIndices

func (_Governance *GovernanceSession) EmptyIndices(arg0 *big.Int) (*big.Int, error)

EmptyIndices is a free data retrieval call binding the contract method 0xaa2feb83.

Solidity: function emptyIndices(uint256 ) constant returns(uint256)

func (*GovernanceSession) Execute

func (_Governance *GovernanceSession) Execute(proposalId *big.Int, index *big.Int) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x5601eaea.

Solidity: function execute(uint256 proposalId, uint256 index) returns(bool)

func (*GovernanceSession) ExecuteHotfix

func (_Governance *GovernanceSession) ExecuteHotfix(values []*big.Int, destinations []common.Address, data []byte, dataLengths []*big.Int, salt [32]byte) (*types.Transaction, error)

ExecuteHotfix is a paid mutator transaction binding the contract method 0xcf48eb94.

Solidity: function executeHotfix(uint256[] values, address[] destinations, bytes data, uint256[] dataLengths, bytes32 salt) returns()

func (*GovernanceSession) FractionMulExp

func (_Governance *GovernanceSession) 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 (*GovernanceSession) GetApprovalStageDuration

func (_Governance *GovernanceSession) GetApprovalStageDuration() (*big.Int, error)

GetApprovalStageDuration is a free data retrieval call binding the contract method 0xffea74c0.

Solidity: function getApprovalStageDuration() constant returns(uint256)

func (*GovernanceSession) GetBlockNumberFromHeader

func (_Governance *GovernanceSession) 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 (*GovernanceSession) GetConstitution

func (_Governance *GovernanceSession) GetConstitution(destination common.Address, functionId [4]byte) (*big.Int, error)

GetConstitution is a free data retrieval call binding the contract method 0x97b9eba6.

Solidity: function getConstitution(address destination, bytes4 functionId) constant returns(uint256)

func (*GovernanceSession) GetDequeue

func (_Governance *GovernanceSession) GetDequeue() ([]*big.Int, error)

GetDequeue is a free data retrieval call binding the contract method 0x6de8a63b.

Solidity: function getDequeue() constant returns(uint256[])

func (*GovernanceSession) GetEpochNumber

func (_Governance *GovernanceSession) GetEpochNumber() (*big.Int, error)

GetEpochNumber is a free data retrieval call binding the contract method 0x9a7b3be7.

Solidity: function getEpochNumber() constant returns(uint256)

func (*GovernanceSession) GetEpochNumberOfBlock

func (_Governance *GovernanceSession) 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 (*GovernanceSession) GetEpochSize

func (_Governance *GovernanceSession) GetEpochSize() (*big.Int, error)

GetEpochSize is a free data retrieval call binding the contract method 0xdf4da461.

Solidity: function getEpochSize() constant returns(uint256)

func (*GovernanceSession) GetExecutionStageDuration

func (_Governance *GovernanceSession) GetExecutionStageDuration() (*big.Int, error)

GetExecutionStageDuration is a free data retrieval call binding the contract method 0x30a095d0.

Solidity: function getExecutionStageDuration() constant returns(uint256)

func (*GovernanceSession) GetHotfixRecord

func (_Governance *GovernanceSession) GetHotfixRecord(hash [32]byte) (bool, bool, *big.Int, error)

GetHotfixRecord is a free data retrieval call binding the contract method 0x0e0b78ae.

Solidity: function getHotfixRecord(bytes32 hash) constant returns(bool, bool, uint256)

func (*GovernanceSession) GetMostRecentReferendumProposal

func (_Governance *GovernanceSession) GetMostRecentReferendumProposal(account common.Address) (*big.Int, error)

GetMostRecentReferendumProposal is a free data retrieval call binding the contract method 0x283aaefb.

Solidity: function getMostRecentReferendumProposal(address account) constant returns(uint256)

func (*GovernanceSession) GetParentSealBitmap

func (_Governance *GovernanceSession) 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 (*GovernanceSession) GetParticipationParameters

func (_Governance *GovernanceSession) GetParticipationParameters() (*big.Int, *big.Int, *big.Int, *big.Int, error)

GetParticipationParameters is a free data retrieval call binding the contract method 0xc805956d.

Solidity: function getParticipationParameters() constant returns(uint256, uint256, uint256, uint256)

func (*GovernanceSession) GetProposal

func (_Governance *GovernanceSession) GetProposal(proposalId *big.Int) (common.Address, *big.Int, *big.Int, *big.Int, string, error)

GetProposal is a free data retrieval call binding the contract method 0xc7f758a8.

Solidity: function getProposal(uint256 proposalId) constant returns(address, uint256, uint256, uint256, string)

func (*GovernanceSession) GetProposalStage

func (_Governance *GovernanceSession) GetProposalStage(proposalId *big.Int) (uint8, error)

GetProposalStage is a free data retrieval call binding the contract method 0x582ae53b.

Solidity: function getProposalStage(uint256 proposalId) constant returns(uint8)

func (*GovernanceSession) GetProposalTransaction

func (_Governance *GovernanceSession) GetProposalTransaction(proposalId *big.Int, index *big.Int) (*big.Int, common.Address, []byte, error)

GetProposalTransaction is a free data retrieval call binding the contract method 0xd704f0c5.

Solidity: function getProposalTransaction(uint256 proposalId, uint256 index) constant returns(uint256, address, bytes)

func (*GovernanceSession) GetQueue

func (_Governance *GovernanceSession) GetQueue() ([]*big.Int, []*big.Int, error)

GetQueue is a free data retrieval call binding the contract method 0x01fce27e.

Solidity: function getQueue() constant returns(uint256[], uint256[])

func (*GovernanceSession) GetQueueLength

func (_Governance *GovernanceSession) GetQueueLength() (*big.Int, error)

GetQueueLength is a free data retrieval call binding the contract method 0xb8f77005.

Solidity: function getQueueLength() constant returns(uint256)

func (*GovernanceSession) GetReferendumStageDuration

func (_Governance *GovernanceSession) GetReferendumStageDuration() (*big.Int, error)

GetReferendumStageDuration is a free data retrieval call binding the contract method 0xad78c109.

Solidity: function getReferendumStageDuration() constant returns(uint256)

func (*GovernanceSession) GetUpvoteRecord

func (_Governance *GovernanceSession) GetUpvoteRecord(account common.Address) (*big.Int, *big.Int, error)

GetUpvoteRecord is a free data retrieval call binding the contract method 0xcd845a76.

Solidity: function getUpvoteRecord(address account) constant returns(uint256, uint256)

func (*GovernanceSession) GetUpvotes

func (_Governance *GovernanceSession) GetUpvotes(proposalId *big.Int) (*big.Int, error)

GetUpvotes is a free data retrieval call binding the contract method 0x98f42702.

Solidity: function getUpvotes(uint256 proposalId) constant returns(uint256)

func (*GovernanceSession) GetVerifiedSealBitmapFromHeader

func (_Governance *GovernanceSession) 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 (*GovernanceSession) GetVoteRecord

func (_Governance *GovernanceSession) GetVoteRecord(account common.Address, index *big.Int) (*big.Int, *big.Int, error)

GetVoteRecord is a free data retrieval call binding the contract method 0x5f115a85.

Solidity: function getVoteRecord(address account, uint256 index) constant returns(uint256, uint256)

func (*GovernanceSession) GetVoteTotals

func (_Governance *GovernanceSession) GetVoteTotals(proposalId *big.Int) (*big.Int, *big.Int, *big.Int, error)

GetVoteTotals is a free data retrieval call binding the contract method 0xe41db455.

Solidity: function getVoteTotals(uint256 proposalId) constant returns(uint256, uint256, uint256)

func (*GovernanceSession) HashHeader

func (_Governance *GovernanceSession) 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 (*GovernanceSession) HotfixWhitelistValidatorTally

func (_Governance *GovernanceSession) HotfixWhitelistValidatorTally(hash [32]byte) (*big.Int, error)

HotfixWhitelistValidatorTally is a free data retrieval call binding the contract method 0x81d4728d.

Solidity: function hotfixWhitelistValidatorTally(bytes32 hash) constant returns(uint256)

func (*GovernanceSession) Hotfixes

func (_Governance *GovernanceSession) Hotfixes(arg0 [32]byte) (struct {
	Executed      bool
	Approved      bool
	PreparedEpoch *big.Int
}, error)

Hotfixes is a free data retrieval call binding the contract method 0x45a78499.

Solidity: function hotfixes(bytes32 ) constant returns(bool executed, bool approved, uint256 preparedEpoch)

func (*GovernanceSession) Initialize

func (_Governance *GovernanceSession) Initialize(registryAddress common.Address, _approver common.Address, _concurrentProposals *big.Int, _minDeposit *big.Int, _queueExpiry *big.Int, _dequeueFrequency *big.Int, approvalStageDuration *big.Int, referendumStageDuration *big.Int, executionStageDuration *big.Int, participationBaseline *big.Int, participationFloor *big.Int, baselineUpdateFactor *big.Int, baselineQuorumFactor *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc1939b20.

Solidity: function initialize(address registryAddress, address _approver, uint256 _concurrentProposals, uint256 _minDeposit, uint256 _queueExpiry, uint256 _dequeueFrequency, uint256 approvalStageDuration, uint256 referendumStageDuration, uint256 executionStageDuration, uint256 participationBaseline, uint256 participationFloor, uint256 baselineUpdateFactor, uint256 baselineQuorumFactor) returns()

func (*GovernanceSession) Initialized

func (_Governance *GovernanceSession) Initialized() (bool, error)

Initialized is a free data retrieval call binding the contract method 0x158ef93e.

Solidity: function initialized() constant returns(bool)

func (*GovernanceSession) IsApproved

func (_Governance *GovernanceSession) IsApproved(proposalId *big.Int) (bool, error)

IsApproved is a free data retrieval call binding the contract method 0x7910867b.

Solidity: function isApproved(uint256 proposalId) constant returns(bool)

func (*GovernanceSession) IsDequeuedProposal

func (_Governance *GovernanceSession) IsDequeuedProposal(proposalId *big.Int, index *big.Int) (bool, error)

IsDequeuedProposal is a free data retrieval call binding the contract method 0x152b4834.

Solidity: function isDequeuedProposal(uint256 proposalId, uint256 index) constant returns(bool)

func (*GovernanceSession) IsDequeuedProposalExpired

func (_Governance *GovernanceSession) IsDequeuedProposalExpired(proposalId *big.Int) (bool, error)

IsDequeuedProposalExpired is a free data retrieval call binding the contract method 0x6f2ab693.

Solidity: function isDequeuedProposalExpired(uint256 proposalId) constant returns(bool)

func (*GovernanceSession) IsHotfixPassing

func (_Governance *GovernanceSession) IsHotfixPassing(hash [32]byte) (bool, error)

IsHotfixPassing is a free data retrieval call binding the contract method 0x344944cf.

Solidity: function isHotfixPassing(bytes32 hash) constant returns(bool)

func (*GovernanceSession) IsHotfixWhitelistedBy

func (_Governance *GovernanceSession) IsHotfixWhitelistedBy(hash [32]byte, whitelister common.Address) (bool, error)

IsHotfixWhitelistedBy is a free data retrieval call binding the contract method 0x3fa5fed0.

Solidity: function isHotfixWhitelistedBy(bytes32 hash, address whitelister) constant returns(bool)

func (*GovernanceSession) IsOwner

func (_Governance *GovernanceSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*GovernanceSession) IsProposalPassing

func (_Governance *GovernanceSession) IsProposalPassing(proposalId *big.Int) (bool, error)

IsProposalPassing is a free data retrieval call binding the contract method 0x27621321.

Solidity: function isProposalPassing(uint256 proposalId) constant returns(bool)

func (*GovernanceSession) IsQueued

func (_Governance *GovernanceSession) IsQueued(proposalId *big.Int) (bool, error)

IsQueued is a free data retrieval call binding the contract method 0xc73a6d78.

Solidity: function isQueued(uint256 proposalId) constant returns(bool)

func (*GovernanceSession) IsQueuedProposalExpired

func (_Governance *GovernanceSession) IsQueuedProposalExpired(proposalId *big.Int) (bool, error)

IsQueuedProposalExpired is a free data retrieval call binding the contract method 0xc134b2fc.

Solidity: function isQueuedProposalExpired(uint256 proposalId) constant returns(bool)

func (*GovernanceSession) IsVoting

func (_Governance *GovernanceSession) IsVoting(account common.Address) (bool, error)

IsVoting is a free data retrieval call binding the contract method 0x5f8dd649.

Solidity: function isVoting(address account) constant returns(bool)

func (*GovernanceSession) LastDequeue

func (_Governance *GovernanceSession) LastDequeue() (*big.Int, error)

LastDequeue is a free data retrieval call binding the contract method 0xc0aee5f4.

Solidity: function lastDequeue() constant returns(uint256)

func (*GovernanceSession) MinDeposit

func (_Governance *GovernanceSession) MinDeposit() (*big.Int, error)

MinDeposit is a free data retrieval call binding the contract method 0x41b3d185.

Solidity: function minDeposit() constant returns(uint256)

func (*GovernanceSession) MinQuorumSize

func (_Governance *GovernanceSession) 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 (*GovernanceSession) MinQuorumSizeInCurrentSet

func (_Governance *GovernanceSession) MinQuorumSizeInCurrentSet() (*big.Int, error)

MinQuorumSizeInCurrentSet is a free data retrieval call binding the contract method 0x7385e5da.

Solidity: function minQuorumSizeInCurrentSet() constant returns(uint256)

func (*GovernanceSession) NumberValidatorsInCurrentSet

func (_Governance *GovernanceSession) NumberValidatorsInCurrentSet() (*big.Int, error)

NumberValidatorsInCurrentSet is a free data retrieval call binding the contract method 0x87ee8a0f.

Solidity: function numberValidatorsInCurrentSet() constant returns(uint256)

func (*GovernanceSession) NumberValidatorsInSet

func (_Governance *GovernanceSession) 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 (*GovernanceSession) Owner

func (_Governance *GovernanceSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*GovernanceSession) PrepareHotfix

func (_Governance *GovernanceSession) PrepareHotfix(hash [32]byte) (*types.Transaction, error)

PrepareHotfix is a paid mutator transaction binding the contract method 0x9cb02dfc.

Solidity: function prepareHotfix(bytes32 hash) returns()

func (*GovernanceSession) ProposalCount

func (_Governance *GovernanceSession) ProposalCount() (*big.Int, error)

ProposalCount is a free data retrieval call binding the contract method 0xda35c664.

Solidity: function proposalCount() constant returns(uint256)

func (*GovernanceSession) ProposalExists

func (_Governance *GovernanceSession) ProposalExists(proposalId *big.Int) (bool, error)

ProposalExists is a free data retrieval call binding the contract method 0x1374b22d.

Solidity: function proposalExists(uint256 proposalId) constant returns(bool)

func (*GovernanceSession) Propose

func (_Governance *GovernanceSession) Propose(values []*big.Int, destinations []common.Address, data []byte, dataLengths []*big.Int, descriptionUrl string) (*types.Transaction, error)

Propose is a paid mutator transaction binding the contract method 0x65bbdaa0.

Solidity: function propose(uint256[] values, address[] destinations, bytes data, uint256[] dataLengths, string descriptionUrl) returns(uint256)

func (*GovernanceSession) QueueExpiry

func (_Governance *GovernanceSession) QueueExpiry() (*big.Int, error)

QueueExpiry is a free data retrieval call binding the contract method 0x8e905ed6.

Solidity: function queueExpiry() constant returns(uint256)

func (*GovernanceSession) RefundedDeposits

func (_Governance *GovernanceSession) RefundedDeposits(arg0 common.Address) (*big.Int, error)

RefundedDeposits is a free data retrieval call binding the contract method 0x60b4d34d.

Solidity: function refundedDeposits(address ) constant returns(uint256)

func (*GovernanceSession) Registry

func (_Governance *GovernanceSession) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() constant returns(address)

func (*GovernanceSession) RenounceOwnership

func (_Governance *GovernanceSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*GovernanceSession) RevokeUpvote

func (_Governance *GovernanceSession) RevokeUpvote(lesser *big.Int, greater *big.Int) (*types.Transaction, error)

RevokeUpvote is a paid mutator transaction binding the contract method 0xaf108a0e.

Solidity: function revokeUpvote(uint256 lesser, uint256 greater) returns(bool)

func (*GovernanceSession) SetApprovalStageDuration

func (_Governance *GovernanceSession) SetApprovalStageDuration(approvalStageDuration *big.Int) (*types.Transaction, error)

SetApprovalStageDuration is a paid mutator transaction binding the contract method 0x9a6c3d83.

Solidity: function setApprovalStageDuration(uint256 approvalStageDuration) returns()

func (*GovernanceSession) SetApprover

func (_Governance *GovernanceSession) SetApprover(_approver common.Address) (*types.Transaction, error)

SetApprover is a paid mutator transaction binding the contract method 0x3156560e.

Solidity: function setApprover(address _approver) returns()

func (*GovernanceSession) SetBaselineQuorumFactor

func (_Governance *GovernanceSession) SetBaselineQuorumFactor(baselineQuorumFactor *big.Int) (*types.Transaction, error)

SetBaselineQuorumFactor is a paid mutator transaction binding the contract method 0x04acaec9.

Solidity: function setBaselineQuorumFactor(uint256 baselineQuorumFactor) returns()

func (*GovernanceSession) SetBaselineUpdateFactor

func (_Governance *GovernanceSession) SetBaselineUpdateFactor(baselineUpdateFactor *big.Int) (*types.Transaction, error)

SetBaselineUpdateFactor is a paid mutator transaction binding the contract method 0x5c759394.

Solidity: function setBaselineUpdateFactor(uint256 baselineUpdateFactor) returns()

func (*GovernanceSession) SetConcurrentProposals

func (_Governance *GovernanceSession) SetConcurrentProposals(_concurrentProposals *big.Int) (*types.Transaction, error)

SetConcurrentProposals is a paid mutator transaction binding the contract method 0xc8d8d2b5.

Solidity: function setConcurrentProposals(uint256 _concurrentProposals) returns()

func (*GovernanceSession) SetConstitution

func (_Governance *GovernanceSession) SetConstitution(destination common.Address, functionId [4]byte, threshold *big.Int) (*types.Transaction, error)

SetConstitution is a paid mutator transaction binding the contract method 0xed385274.

Solidity: function setConstitution(address destination, bytes4 functionId, uint256 threshold) returns()

func (*GovernanceSession) SetDequeueFrequency

func (_Governance *GovernanceSession) SetDequeueFrequency(_dequeueFrequency *big.Int) (*types.Transaction, error)

SetDequeueFrequency is a paid mutator transaction binding the contract method 0x8018556e.

Solidity: function setDequeueFrequency(uint256 _dequeueFrequency) returns()

func (*GovernanceSession) SetExecutionStageDuration

func (_Governance *GovernanceSession) SetExecutionStageDuration(executionStageDuration *big.Int) (*types.Transaction, error)

SetExecutionStageDuration is a paid mutator transaction binding the contract method 0x6643ac58.

Solidity: function setExecutionStageDuration(uint256 executionStageDuration) returns()

func (*GovernanceSession) SetMinDeposit

func (_Governance *GovernanceSession) SetMinDeposit(_minDeposit *big.Int) (*types.Transaction, error)

SetMinDeposit is a paid mutator transaction binding the contract method 0x8fcc9cfb.

Solidity: function setMinDeposit(uint256 _minDeposit) returns()

func (*GovernanceSession) SetParticipationBaseline

func (_Governance *GovernanceSession) SetParticipationBaseline(participationBaseline *big.Int) (*types.Transaction, error)

SetParticipationBaseline is a paid mutator transaction binding the contract method 0x3db9dd9a.

Solidity: function setParticipationBaseline(uint256 participationBaseline) returns()

func (*GovernanceSession) SetParticipationFloor

func (_Governance *GovernanceSession) SetParticipationFloor(participationFloor *big.Int) (*types.Transaction, error)

SetParticipationFloor is a paid mutator transaction binding the contract method 0x1c65bc61.

Solidity: function setParticipationFloor(uint256 participationFloor) returns()

func (*GovernanceSession) SetQueueExpiry

func (_Governance *GovernanceSession) SetQueueExpiry(_queueExpiry *big.Int) (*types.Transaction, error)

SetQueueExpiry is a paid mutator transaction binding the contract method 0x2c052355.

Solidity: function setQueueExpiry(uint256 _queueExpiry) returns()

func (*GovernanceSession) SetReferendumStageDuration

func (_Governance *GovernanceSession) SetReferendumStageDuration(referendumStageDuration *big.Int) (*types.Transaction, error)

SetReferendumStageDuration is a paid mutator transaction binding the contract method 0xcea69e74.

Solidity: function setReferendumStageDuration(uint256 referendumStageDuration) returns()

func (*GovernanceSession) SetRegistry

func (_Governance *GovernanceSession) 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 (*GovernanceSession) StageDurations

func (_Governance *GovernanceSession) StageDurations() (struct {
	Approval   *big.Int
	Referendum *big.Int
	Execution  *big.Int
}, error)

StageDurations is a free data retrieval call binding the contract method 0x0f717e42.

Solidity: function stageDurations() constant returns(uint256 approval, uint256 referendum, uint256 execution)

func (*GovernanceSession) TransferOwnership

func (_Governance *GovernanceSession) 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 (*GovernanceSession) Upvote

func (_Governance *GovernanceSession) Upvote(proposalId *big.Int, lesser *big.Int, greater *big.Int) (*types.Transaction, error)

Upvote is a paid mutator transaction binding the contract method 0x57333978.

Solidity: function upvote(uint256 proposalId, uint256 lesser, uint256 greater) returns(bool)

func (*GovernanceSession) ValidatorSignerAddressFromCurrentSet

func (_Governance *GovernanceSession) 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 (*GovernanceSession) ValidatorSignerAddressFromSet

func (_Governance *GovernanceSession) 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 (*GovernanceSession) Vote

func (_Governance *GovernanceSession) Vote(proposalId *big.Int, index *big.Int, value uint8) (*types.Transaction, error)

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

Solidity: function vote(uint256 proposalId, uint256 index, uint8 value) returns(bool)

func (*GovernanceSession) WhitelistHotfix

func (_Governance *GovernanceSession) WhitelistHotfix(hash [32]byte) (*types.Transaction, error)

WhitelistHotfix is a paid mutator transaction binding the contract method 0xb15f0f58.

Solidity: function whitelistHotfix(bytes32 hash) returns()

func (*GovernanceSession) Withdraw

func (_Governance *GovernanceSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns(bool)

type GovernanceTransactor

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

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

func NewGovernanceTransactor

func NewGovernanceTransactor(address common.Address, transactor bind.ContractTransactor) (*GovernanceTransactor, error)

NewGovernanceTransactor creates a new write-only instance of Governance, bound to a specific deployed contract.

func (*GovernanceTransactor) Approve

func (_Governance *GovernanceTransactor) Approve(opts *bind.TransactOpts, proposalId *big.Int, index *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x5d35a3d9.

Solidity: function approve(uint256 proposalId, uint256 index) returns(bool)

func (*GovernanceTransactor) ApproveHotfix

func (_Governance *GovernanceTransactor) ApproveHotfix(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)

ApproveHotfix is a paid mutator transaction binding the contract method 0xb0f99842.

Solidity: function approveHotfix(bytes32 hash) returns()

func (*GovernanceTransactor) DequeueProposalsIfReady

func (_Governance *GovernanceTransactor) DequeueProposalsIfReady(opts *bind.TransactOpts) (*types.Transaction, error)

DequeueProposalsIfReady is a paid mutator transaction binding the contract method 0x3bb0ed2b.

Solidity: function dequeueProposalsIfReady() returns()

func (*GovernanceTransactor) Execute

func (_Governance *GovernanceTransactor) Execute(opts *bind.TransactOpts, proposalId *big.Int, index *big.Int) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x5601eaea.

Solidity: function execute(uint256 proposalId, uint256 index) returns(bool)

func (*GovernanceTransactor) ExecuteHotfix

func (_Governance *GovernanceTransactor) ExecuteHotfix(opts *bind.TransactOpts, values []*big.Int, destinations []common.Address, data []byte, dataLengths []*big.Int, salt [32]byte) (*types.Transaction, error)

ExecuteHotfix is a paid mutator transaction binding the contract method 0xcf48eb94.

Solidity: function executeHotfix(uint256[] values, address[] destinations, bytes data, uint256[] dataLengths, bytes32 salt) returns()

func (*GovernanceTransactor) Initialize

func (_Governance *GovernanceTransactor) Initialize(opts *bind.TransactOpts, registryAddress common.Address, _approver common.Address, _concurrentProposals *big.Int, _minDeposit *big.Int, _queueExpiry *big.Int, _dequeueFrequency *big.Int, approvalStageDuration *big.Int, referendumStageDuration *big.Int, executionStageDuration *big.Int, participationBaseline *big.Int, participationFloor *big.Int, baselineUpdateFactor *big.Int, baselineQuorumFactor *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc1939b20.

Solidity: function initialize(address registryAddress, address _approver, uint256 _concurrentProposals, uint256 _minDeposit, uint256 _queueExpiry, uint256 _dequeueFrequency, uint256 approvalStageDuration, uint256 referendumStageDuration, uint256 executionStageDuration, uint256 participationBaseline, uint256 participationFloor, uint256 baselineUpdateFactor, uint256 baselineQuorumFactor) returns()

func (*GovernanceTransactor) PrepareHotfix

func (_Governance *GovernanceTransactor) PrepareHotfix(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)

PrepareHotfix is a paid mutator transaction binding the contract method 0x9cb02dfc.

Solidity: function prepareHotfix(bytes32 hash) returns()

func (*GovernanceTransactor) Propose

func (_Governance *GovernanceTransactor) Propose(opts *bind.TransactOpts, values []*big.Int, destinations []common.Address, data []byte, dataLengths []*big.Int, descriptionUrl string) (*types.Transaction, error)

Propose is a paid mutator transaction binding the contract method 0x65bbdaa0.

Solidity: function propose(uint256[] values, address[] destinations, bytes data, uint256[] dataLengths, string descriptionUrl) returns(uint256)

func (*GovernanceTransactor) RenounceOwnership

func (_Governance *GovernanceTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*GovernanceTransactor) RevokeUpvote

func (_Governance *GovernanceTransactor) RevokeUpvote(opts *bind.TransactOpts, lesser *big.Int, greater *big.Int) (*types.Transaction, error)

RevokeUpvote is a paid mutator transaction binding the contract method 0xaf108a0e.

Solidity: function revokeUpvote(uint256 lesser, uint256 greater) returns(bool)

func (*GovernanceTransactor) SetApprovalStageDuration

func (_Governance *GovernanceTransactor) SetApprovalStageDuration(opts *bind.TransactOpts, approvalStageDuration *big.Int) (*types.Transaction, error)

SetApprovalStageDuration is a paid mutator transaction binding the contract method 0x9a6c3d83.

Solidity: function setApprovalStageDuration(uint256 approvalStageDuration) returns()

func (*GovernanceTransactor) SetApprover

func (_Governance *GovernanceTransactor) SetApprover(opts *bind.TransactOpts, _approver common.Address) (*types.Transaction, error)

SetApprover is a paid mutator transaction binding the contract method 0x3156560e.

Solidity: function setApprover(address _approver) returns()

func (*GovernanceTransactor) SetBaselineQuorumFactor

func (_Governance *GovernanceTransactor) SetBaselineQuorumFactor(opts *bind.TransactOpts, baselineQuorumFactor *big.Int) (*types.Transaction, error)

SetBaselineQuorumFactor is a paid mutator transaction binding the contract method 0x04acaec9.

Solidity: function setBaselineQuorumFactor(uint256 baselineQuorumFactor) returns()

func (*GovernanceTransactor) SetBaselineUpdateFactor

func (_Governance *GovernanceTransactor) SetBaselineUpdateFactor(opts *bind.TransactOpts, baselineUpdateFactor *big.Int) (*types.Transaction, error)

SetBaselineUpdateFactor is a paid mutator transaction binding the contract method 0x5c759394.

Solidity: function setBaselineUpdateFactor(uint256 baselineUpdateFactor) returns()

func (*GovernanceTransactor) SetConcurrentProposals

func (_Governance *GovernanceTransactor) SetConcurrentProposals(opts *bind.TransactOpts, _concurrentProposals *big.Int) (*types.Transaction, error)

SetConcurrentProposals is a paid mutator transaction binding the contract method 0xc8d8d2b5.

Solidity: function setConcurrentProposals(uint256 _concurrentProposals) returns()

func (*GovernanceTransactor) SetConstitution

func (_Governance *GovernanceTransactor) SetConstitution(opts *bind.TransactOpts, destination common.Address, functionId [4]byte, threshold *big.Int) (*types.Transaction, error)

SetConstitution is a paid mutator transaction binding the contract method 0xed385274.

Solidity: function setConstitution(address destination, bytes4 functionId, uint256 threshold) returns()

func (*GovernanceTransactor) SetDequeueFrequency

func (_Governance *GovernanceTransactor) SetDequeueFrequency(opts *bind.TransactOpts, _dequeueFrequency *big.Int) (*types.Transaction, error)

SetDequeueFrequency is a paid mutator transaction binding the contract method 0x8018556e.

Solidity: function setDequeueFrequency(uint256 _dequeueFrequency) returns()

func (*GovernanceTransactor) SetExecutionStageDuration

func (_Governance *GovernanceTransactor) SetExecutionStageDuration(opts *bind.TransactOpts, executionStageDuration *big.Int) (*types.Transaction, error)

SetExecutionStageDuration is a paid mutator transaction binding the contract method 0x6643ac58.

Solidity: function setExecutionStageDuration(uint256 executionStageDuration) returns()

func (*GovernanceTransactor) SetMinDeposit

func (_Governance *GovernanceTransactor) SetMinDeposit(opts *bind.TransactOpts, _minDeposit *big.Int) (*types.Transaction, error)

SetMinDeposit is a paid mutator transaction binding the contract method 0x8fcc9cfb.

Solidity: function setMinDeposit(uint256 _minDeposit) returns()

func (*GovernanceTransactor) SetParticipationBaseline

func (_Governance *GovernanceTransactor) SetParticipationBaseline(opts *bind.TransactOpts, participationBaseline *big.Int) (*types.Transaction, error)

SetParticipationBaseline is a paid mutator transaction binding the contract method 0x3db9dd9a.

Solidity: function setParticipationBaseline(uint256 participationBaseline) returns()

func (*GovernanceTransactor) SetParticipationFloor

func (_Governance *GovernanceTransactor) SetParticipationFloor(opts *bind.TransactOpts, participationFloor *big.Int) (*types.Transaction, error)

SetParticipationFloor is a paid mutator transaction binding the contract method 0x1c65bc61.

Solidity: function setParticipationFloor(uint256 participationFloor) returns()

func (*GovernanceTransactor) SetQueueExpiry

func (_Governance *GovernanceTransactor) SetQueueExpiry(opts *bind.TransactOpts, _queueExpiry *big.Int) (*types.Transaction, error)

SetQueueExpiry is a paid mutator transaction binding the contract method 0x2c052355.

Solidity: function setQueueExpiry(uint256 _queueExpiry) returns()

func (*GovernanceTransactor) SetReferendumStageDuration

func (_Governance *GovernanceTransactor) SetReferendumStageDuration(opts *bind.TransactOpts, referendumStageDuration *big.Int) (*types.Transaction, error)

SetReferendumStageDuration is a paid mutator transaction binding the contract method 0xcea69e74.

Solidity: function setReferendumStageDuration(uint256 referendumStageDuration) returns()

func (*GovernanceTransactor) SetRegistry

func (_Governance *GovernanceTransactor) 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 (*GovernanceTransactor) TransferOwnership

func (_Governance *GovernanceTransactor) 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 (*GovernanceTransactor) Upvote

func (_Governance *GovernanceTransactor) Upvote(opts *bind.TransactOpts, proposalId *big.Int, lesser *big.Int, greater *big.Int) (*types.Transaction, error)

Upvote is a paid mutator transaction binding the contract method 0x57333978.

Solidity: function upvote(uint256 proposalId, uint256 lesser, uint256 greater) returns(bool)

func (*GovernanceTransactor) Vote

func (_Governance *GovernanceTransactor) Vote(opts *bind.TransactOpts, proposalId *big.Int, index *big.Int, value uint8) (*types.Transaction, error)

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

Solidity: function vote(uint256 proposalId, uint256 index, uint8 value) returns(bool)

func (*GovernanceTransactor) WhitelistHotfix

func (_Governance *GovernanceTransactor) WhitelistHotfix(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)

WhitelistHotfix is a paid mutator transaction binding the contract method 0xb15f0f58.

Solidity: function whitelistHotfix(bytes32 hash) returns()

func (*GovernanceTransactor) Withdraw

func (_Governance *GovernanceTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns(bool)

type GovernanceTransactorRaw

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

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

func (*GovernanceTransactorRaw) Transact

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

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

func (*GovernanceTransactorRaw) Transfer

func (_Governance *GovernanceTransactorRaw) 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 GovernanceTransactorSession

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

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

func (*GovernanceTransactorSession) Approve

func (_Governance *GovernanceTransactorSession) Approve(proposalId *big.Int, index *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x5d35a3d9.

Solidity: function approve(uint256 proposalId, uint256 index) returns(bool)

func (*GovernanceTransactorSession) ApproveHotfix

func (_Governance *GovernanceTransactorSession) ApproveHotfix(hash [32]byte) (*types.Transaction, error)

ApproveHotfix is a paid mutator transaction binding the contract method 0xb0f99842.

Solidity: function approveHotfix(bytes32 hash) returns()

func (*GovernanceTransactorSession) DequeueProposalsIfReady

func (_Governance *GovernanceTransactorSession) DequeueProposalsIfReady() (*types.Transaction, error)

DequeueProposalsIfReady is a paid mutator transaction binding the contract method 0x3bb0ed2b.

Solidity: function dequeueProposalsIfReady() returns()

func (*GovernanceTransactorSession) Execute

func (_Governance *GovernanceTransactorSession) Execute(proposalId *big.Int, index *big.Int) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x5601eaea.

Solidity: function execute(uint256 proposalId, uint256 index) returns(bool)

func (*GovernanceTransactorSession) ExecuteHotfix

func (_Governance *GovernanceTransactorSession) ExecuteHotfix(values []*big.Int, destinations []common.Address, data []byte, dataLengths []*big.Int, salt [32]byte) (*types.Transaction, error)

ExecuteHotfix is a paid mutator transaction binding the contract method 0xcf48eb94.

Solidity: function executeHotfix(uint256[] values, address[] destinations, bytes data, uint256[] dataLengths, bytes32 salt) returns()

func (*GovernanceTransactorSession) Initialize

func (_Governance *GovernanceTransactorSession) Initialize(registryAddress common.Address, _approver common.Address, _concurrentProposals *big.Int, _minDeposit *big.Int, _queueExpiry *big.Int, _dequeueFrequency *big.Int, approvalStageDuration *big.Int, referendumStageDuration *big.Int, executionStageDuration *big.Int, participationBaseline *big.Int, participationFloor *big.Int, baselineUpdateFactor *big.Int, baselineQuorumFactor *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc1939b20.

Solidity: function initialize(address registryAddress, address _approver, uint256 _concurrentProposals, uint256 _minDeposit, uint256 _queueExpiry, uint256 _dequeueFrequency, uint256 approvalStageDuration, uint256 referendumStageDuration, uint256 executionStageDuration, uint256 participationBaseline, uint256 participationFloor, uint256 baselineUpdateFactor, uint256 baselineQuorumFactor) returns()

func (*GovernanceTransactorSession) PrepareHotfix

func (_Governance *GovernanceTransactorSession) PrepareHotfix(hash [32]byte) (*types.Transaction, error)

PrepareHotfix is a paid mutator transaction binding the contract method 0x9cb02dfc.

Solidity: function prepareHotfix(bytes32 hash) returns()

func (*GovernanceTransactorSession) Propose

func (_Governance *GovernanceTransactorSession) Propose(values []*big.Int, destinations []common.Address, data []byte, dataLengths []*big.Int, descriptionUrl string) (*types.Transaction, error)

Propose is a paid mutator transaction binding the contract method 0x65bbdaa0.

Solidity: function propose(uint256[] values, address[] destinations, bytes data, uint256[] dataLengths, string descriptionUrl) returns(uint256)

func (*GovernanceTransactorSession) RenounceOwnership

func (_Governance *GovernanceTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*GovernanceTransactorSession) RevokeUpvote

func (_Governance *GovernanceTransactorSession) RevokeUpvote(lesser *big.Int, greater *big.Int) (*types.Transaction, error)

RevokeUpvote is a paid mutator transaction binding the contract method 0xaf108a0e.

Solidity: function revokeUpvote(uint256 lesser, uint256 greater) returns(bool)

func (*GovernanceTransactorSession) SetApprovalStageDuration

func (_Governance *GovernanceTransactorSession) SetApprovalStageDuration(approvalStageDuration *big.Int) (*types.Transaction, error)

SetApprovalStageDuration is a paid mutator transaction binding the contract method 0x9a6c3d83.

Solidity: function setApprovalStageDuration(uint256 approvalStageDuration) returns()

func (*GovernanceTransactorSession) SetApprover

func (_Governance *GovernanceTransactorSession) SetApprover(_approver common.Address) (*types.Transaction, error)

SetApprover is a paid mutator transaction binding the contract method 0x3156560e.

Solidity: function setApprover(address _approver) returns()

func (*GovernanceTransactorSession) SetBaselineQuorumFactor

func (_Governance *GovernanceTransactorSession) SetBaselineQuorumFactor(baselineQuorumFactor *big.Int) (*types.Transaction, error)

SetBaselineQuorumFactor is a paid mutator transaction binding the contract method 0x04acaec9.

Solidity: function setBaselineQuorumFactor(uint256 baselineQuorumFactor) returns()

func (*GovernanceTransactorSession) SetBaselineUpdateFactor

func (_Governance *GovernanceTransactorSession) SetBaselineUpdateFactor(baselineUpdateFactor *big.Int) (*types.Transaction, error)

SetBaselineUpdateFactor is a paid mutator transaction binding the contract method 0x5c759394.

Solidity: function setBaselineUpdateFactor(uint256 baselineUpdateFactor) returns()

func (*GovernanceTransactorSession) SetConcurrentProposals

func (_Governance *GovernanceTransactorSession) SetConcurrentProposals(_concurrentProposals *big.Int) (*types.Transaction, error)

SetConcurrentProposals is a paid mutator transaction binding the contract method 0xc8d8d2b5.

Solidity: function setConcurrentProposals(uint256 _concurrentProposals) returns()

func (*GovernanceTransactorSession) SetConstitution

func (_Governance *GovernanceTransactorSession) SetConstitution(destination common.Address, functionId [4]byte, threshold *big.Int) (*types.Transaction, error)

SetConstitution is a paid mutator transaction binding the contract method 0xed385274.

Solidity: function setConstitution(address destination, bytes4 functionId, uint256 threshold) returns()

func (*GovernanceTransactorSession) SetDequeueFrequency

func (_Governance *GovernanceTransactorSession) SetDequeueFrequency(_dequeueFrequency *big.Int) (*types.Transaction, error)

SetDequeueFrequency is a paid mutator transaction binding the contract method 0x8018556e.

Solidity: function setDequeueFrequency(uint256 _dequeueFrequency) returns()

func (*GovernanceTransactorSession) SetExecutionStageDuration

func (_Governance *GovernanceTransactorSession) SetExecutionStageDuration(executionStageDuration *big.Int) (*types.Transaction, error)

SetExecutionStageDuration is a paid mutator transaction binding the contract method 0x6643ac58.

Solidity: function setExecutionStageDuration(uint256 executionStageDuration) returns()

func (*GovernanceTransactorSession) SetMinDeposit

func (_Governance *GovernanceTransactorSession) SetMinDeposit(_minDeposit *big.Int) (*types.Transaction, error)

SetMinDeposit is a paid mutator transaction binding the contract method 0x8fcc9cfb.

Solidity: function setMinDeposit(uint256 _minDeposit) returns()

func (*GovernanceTransactorSession) SetParticipationBaseline

func (_Governance *GovernanceTransactorSession) SetParticipationBaseline(participationBaseline *big.Int) (*types.Transaction, error)

SetParticipationBaseline is a paid mutator transaction binding the contract method 0x3db9dd9a.

Solidity: function setParticipationBaseline(uint256 participationBaseline) returns()

func (*GovernanceTransactorSession) SetParticipationFloor

func (_Governance *GovernanceTransactorSession) SetParticipationFloor(participationFloor *big.Int) (*types.Transaction, error)

SetParticipationFloor is a paid mutator transaction binding the contract method 0x1c65bc61.

Solidity: function setParticipationFloor(uint256 participationFloor) returns()

func (*GovernanceTransactorSession) SetQueueExpiry

func (_Governance *GovernanceTransactorSession) SetQueueExpiry(_queueExpiry *big.Int) (*types.Transaction, error)

SetQueueExpiry is a paid mutator transaction binding the contract method 0x2c052355.

Solidity: function setQueueExpiry(uint256 _queueExpiry) returns()

func (*GovernanceTransactorSession) SetReferendumStageDuration

func (_Governance *GovernanceTransactorSession) SetReferendumStageDuration(referendumStageDuration *big.Int) (*types.Transaction, error)

SetReferendumStageDuration is a paid mutator transaction binding the contract method 0xcea69e74.

Solidity: function setReferendumStageDuration(uint256 referendumStageDuration) returns()

func (*GovernanceTransactorSession) SetRegistry

func (_Governance *GovernanceTransactorSession) 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 (*GovernanceTransactorSession) TransferOwnership

func (_Governance *GovernanceTransactorSession) 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 (*GovernanceTransactorSession) Upvote

func (_Governance *GovernanceTransactorSession) Upvote(proposalId *big.Int, lesser *big.Int, greater *big.Int) (*types.Transaction, error)

Upvote is a paid mutator transaction binding the contract method 0x57333978.

Solidity: function upvote(uint256 proposalId, uint256 lesser, uint256 greater) returns(bool)

func (*GovernanceTransactorSession) Vote

func (_Governance *GovernanceTransactorSession) Vote(proposalId *big.Int, index *big.Int, value uint8) (*types.Transaction, error)

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

Solidity: function vote(uint256 proposalId, uint256 index, uint8 value) returns(bool)

func (*GovernanceTransactorSession) WhitelistHotfix

func (_Governance *GovernanceTransactorSession) WhitelistHotfix(hash [32]byte) (*types.Transaction, error)

WhitelistHotfix is a paid mutator transaction binding the contract method 0xb15f0f58.

Solidity: function whitelistHotfix(bytes32 hash) returns()

func (*GovernanceTransactorSession) Withdraw

func (_Governance *GovernanceTransactorSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns(bool)

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 DeployLockedGold

func DeployLockedGold(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *LockedGold, error)

DeployLockedGold deploys a new Ethereum contract, binding an instance of LockedGold to it.

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

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

func (*LockedGoldAccountSlashedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LockedGoldAccountSlashedIterator) Next

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

type 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

func (_LockedGold *LockedGoldCaller) GetNonvotingLockedGold(opts *bind.CallOpts) (*big.Int, error)

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

func (_LockedGold *LockedGoldCaller) GetTotalLockedGold(opts *bind.CallOpts) (*big.Int, error)

GetTotalLockedGold is a free data retrieval call binding the contract method 0x30a61d59.

Solidity: function getTotalLockedGold() constant returns(uint256)

func (*LockedGoldCaller) GetTotalPendingWithdrawals

func (_LockedGold *LockedGoldCaller) GetTotalPendingWithdrawals(opts *bind.CallOpts, account common.Address) (*big.Int, error)

GetTotalPendingWithdrawals is a free data retrieval call binding the contract method 0xb6e1e49d.

Solidity: function getTotalPendingWithdrawals(address account) 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

func (_LockedGold *LockedGoldCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*LockedGoldCaller) Registry

func (_LockedGold *LockedGoldCaller) 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 (*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

func (_LockedGold *LockedGoldCaller) TotalNonvoting(opts *bind.CallOpts) (*big.Int, error)

TotalNonvoting is a free data retrieval call binding the contract method 0xc1867f6d.

Solidity: function totalNonvoting() constant returns(uint256)

func (*LockedGoldCaller) UnlockingPeriod

func (_LockedGold *LockedGoldCaller) UnlockingPeriod(opts *bind.CallOpts) (*big.Int, error)

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) GetTotalPendingWithdrawals

func (_LockedGold *LockedGoldCallerSession) GetTotalPendingWithdrawals(account common.Address) (*big.Int, error)

GetTotalPendingWithdrawals is a free data retrieval call binding the contract method 0xb6e1e49d.

Solidity: function getTotalPendingWithdrawals(address account) 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) 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

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

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

func (*LockedGoldGoldUnlockedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LockedGoldGoldUnlockedIterator) Next

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

type 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

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

func (*LockedGoldGoldWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LockedGoldGoldWithdrawnIterator) Next

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

type 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

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

func (*LockedGoldOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LockedGoldOwnershipTransferredIterator) Next

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

type 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

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

func (*LockedGoldRegistrySetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LockedGoldRegistrySetIterator) Next

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

type 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) GetTotalPendingWithdrawals

func (_LockedGold *LockedGoldSession) GetTotalPendingWithdrawals(account common.Address) (*big.Int, error)

GetTotalPendingWithdrawals is a free data retrieval call binding the contract method 0xb6e1e49d.

Solidity: function getTotalPendingWithdrawals(address account) 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

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

func (*LockedGoldSlasherWhitelistAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LockedGoldSlasherWhitelistAddedIterator) Next

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

type 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

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

func (*LockedGoldSlasherWhitelistRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LockedGoldSlasherWhitelistRemovedIterator) Next

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

type 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

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

func (*LockedGoldUnlockingPeriodSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LockedGoldUnlockingPeriodSetIterator) Next

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

type 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 DeployStableToken

func DeployStableToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StableToken, error)

DeployStableToken deploys a new Ethereum contract, binding an instance of StableToken to it.

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

func (_StableToken *StableTokenCaller) GetEpochNumber(opts *bind.CallOpts) (*big.Int, error)

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

func (_StableToken *StableTokenCaller) GetEpochSize(opts *bind.CallOpts) (*big.Int, error)

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

func (_StableToken *StableTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*StableTokenCaller) Registry

func (_StableToken *StableTokenCaller) 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 (*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

func (_StableToken *StableTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

func (_StableToken *StableTokenCallerSession) 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 (*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

func (_StableToken *StableTokenCallerSession) UnitsToValue(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 (*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

func (_StableToken *StableTokenCallerSession) ValueToUnits(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 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) 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

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

func (*StableTokenInflationFactorUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StableTokenInflationFactorUpdatedIterator) Next

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

type 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

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

func (*StableTokenInflationParametersUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StableTokenInflationParametersUpdatedIterator) Next

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

type 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

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

func (*StableTokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StableTokenOwnershipTransferredIterator) Next

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

type 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

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

func (*StableTokenRegistrySetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StableTokenRegistrySetIterator) Next

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

type 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

func (_StableToken *StableTokenSession) 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 (*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

func (_StableToken *StableTokenSession) 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 (*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

func (_StableToken *StableTokenSession) UnitsToValue(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 (*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

func (_StableToken *StableTokenSession) ValueToUnits(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 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

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

func (*StableTokenTransferCommentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StableTokenTransferCommentIterator) Next

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

type 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 DeployValidators

func DeployValidators(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Validators, error)

DeployValidators deploys a new Ethereum contract, binding an instance of Validators to it.

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

func (_Validators *ValidatorsCaller) CommissionUpdateDelay(opts *bind.CallOpts) (*big.Int, error)

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

func (_Validators *ValidatorsCaller) GetEpochNumber(opts *bind.CallOpts) (*big.Int, error)

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

func (_Validators *ValidatorsCaller) GetEpochSize(opts *bind.CallOpts) (*big.Int, error)

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

func (_Validators *ValidatorsCaller) GetMaxGroupSize(opts *bind.CallOpts) (*big.Int, error)

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

func (_Validators *ValidatorsCaller) MaxGroupSize(opts *bind.CallOpts) (*big.Int, error)

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

func (_Validators *ValidatorsCaller) MembershipHistoryLength(opts *bind.CallOpts) (*big.Int, error)

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

func (_Validators *ValidatorsCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*ValidatorsCaller) Registry

func (_Validators *ValidatorsCaller) 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 (*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

func (_Validators *ValidatorsCallerSession) CalculateEpochScore(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 (*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

func (_Validators *ValidatorsCallerSession) 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 (*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

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

func (*ValidatorsCommissionUpdateDelaySetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsCommissionUpdateDelaySetIterator) Next

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

type 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 0xd09501348473474a20c772c79c653e1fd7e8b437e418fe235d277d2c88853251.

Solidity: event ValidatorRegistered(address indexed validator)

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 0xd09501348473474a20c772c79c653e1fd7e8b437e418fe235d277d2c88853251.

Solidity: event ValidatorRegistered(address indexed validator)

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) 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 0xd09501348473474a20c772c79c653e1fd7e8b437e418fe235d277d2c88853251.

Solidity: event ValidatorRegistered(address indexed validator)

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

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

func (*ValidatorsGroupLockedGoldRequirementsSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsGroupLockedGoldRequirementsSetIterator) Next

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

type 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

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

func (*ValidatorsMaxGroupSizeSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsMaxGroupSizeSetIterator) Next

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

type 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

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

func (*ValidatorsMembershipHistoryLengthSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsMembershipHistoryLengthSetIterator) Next

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

type 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

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

func (*ValidatorsOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsOwnershipTransferredIterator) Next

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

type 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

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

func (*ValidatorsRegistrySetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsRegistrySetIterator) Next

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

type 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

func (_Validators *ValidatorsSession) CalculateEpochScore(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 (*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

func (_Validators *ValidatorsSession) 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 (*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

func (_Validators *ValidatorsSession) 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 (*ValidatorsSession) GetGroupNumMembers

func (_Validators *ValidatorsSession) 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 (*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

func (_Validators *ValidatorsSession) 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 (*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

func (_Validators *ValidatorsSession) 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 (*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

func (_Validators *ValidatorsSession) 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 (*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) 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) SetNextCommissionUpdate

func (_Validators *ValidatorsSession) SetNextCommissionUpdate(commission *big.Int) (*types.Transaction, error)

SetNextCommissionUpdate is a paid mutator transaction binding the contract method 0x86d81a5a.

Solidity: function setNextCommissionUpdate(uint256 commission) returns()

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) 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) SetNextCommissionUpdate

func (_Validators *ValidatorsTransactor) SetNextCommissionUpdate(opts *bind.TransactOpts, commission *big.Int) (*types.Transaction, error)

SetNextCommissionUpdate is a paid mutator transaction binding the contract method 0x86d81a5a.

Solidity: function setNextCommissionUpdate(uint256 commission) returns()

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) 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) SetNextCommissionUpdate

func (_Validators *ValidatorsTransactorSession) SetNextCommissionUpdate(commission *big.Int) (*types.Transaction, error)

SetNextCommissionUpdate is a paid mutator transaction binding the contract method 0x86d81a5a.

Solidity: function setNextCommissionUpdate(uint256 commission) returns()

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

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

func (*ValidatorsValidatorAffiliatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsValidatorAffiliatedIterator) Next

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

type 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

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

func (*ValidatorsValidatorBlsPublicKeyUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsValidatorBlsPublicKeyUpdatedIterator) Next

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

type 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

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

func (*ValidatorsValidatorDeaffiliatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsValidatorDeaffiliatedIterator) Next

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

type 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

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

func (*ValidatorsValidatorDeregisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsValidatorDeregisteredIterator) Next

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

type 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

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

func (*ValidatorsValidatorEcdsaPublicKeyUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsValidatorEcdsaPublicKeyUpdatedIterator) Next

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

type 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

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

func (*ValidatorsValidatorEpochPaymentDistributedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsValidatorEpochPaymentDistributedIterator) Next

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

type 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

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

func (*ValidatorsValidatorGroupCommissionUpdateQueuedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsValidatorGroupCommissionUpdateQueuedIterator) Next

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

type 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

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

func (*ValidatorsValidatorGroupCommissionUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsValidatorGroupCommissionUpdatedIterator) Next

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

type 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

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

func (*ValidatorsValidatorGroupDeregisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsValidatorGroupDeregisteredIterator) Next

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

type 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

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

func (*ValidatorsValidatorGroupMemberAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsValidatorGroupMemberAddedIterator) Next

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

type 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

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

func (*ValidatorsValidatorGroupMemberRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsValidatorGroupMemberRemovedIterator) Next

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

type 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

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

func (*ValidatorsValidatorGroupMemberReorderedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsValidatorGroupMemberReorderedIterator) Next

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

type 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

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

func (*ValidatorsValidatorGroupRegisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsValidatorGroupRegisteredIterator) Next

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

type 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

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

func (*ValidatorsValidatorLockedGoldRequirementsSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsValidatorLockedGoldRequirementsSetIterator) Next

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

type ValidatorsValidatorRegistered

type ValidatorsValidatorRegistered struct {
	Validator common.Address
	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

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

func (*ValidatorsValidatorRegisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsValidatorRegisteredIterator) Next

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

type 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

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

func (*ValidatorsValidatorScoreParametersSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsValidatorScoreParametersSetIterator) Next

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

type 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

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

func (*ValidatorsValidatorScoreUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorsValidatorScoreUpdatedIterator) Next

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

Jump to

Keyboard shortcuts

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