Documentation
¶
Index ¶
- Constants
- type ValidatorManagerContract
- type ValidatorManagerContractCaller
- func (_ValidatorManagerContract *ValidatorManagerContractCaller) CheckThreshold(opts *bind.CallOpts, _message [32]byte, _signersIndexes []*big.Int, _v []uint8, ...) error
- func (_ValidatorManagerContract *ValidatorManagerContractCaller) GetPowers(opts *bind.CallOpts) ([]uint64, error)
- func (_ValidatorManagerContract *ValidatorManagerContractCaller) GetValidators(opts *bind.CallOpts) ([]common.Address, error)
- func (_ValidatorManagerContract *ValidatorManagerContractCaller) LoomAddress(opts *bind.CallOpts) (common.Address, error)
- func (_ValidatorManagerContract *ValidatorManagerContractCaller) Nonce(opts *bind.CallOpts) (*big.Int, error)
- func (_ValidatorManagerContract *ValidatorManagerContractCaller) Powers(opts *bind.CallOpts, arg0 *big.Int) (uint64, error)
- func (_ValidatorManagerContract *ValidatorManagerContractCaller) SignedByValidator(opts *bind.CallOpts, _message [32]byte, _signersIndex *big.Int, _v uint8, ...) error
- func (_ValidatorManagerContract *ValidatorManagerContractCaller) ThresholdDenom(opts *bind.CallOpts) (uint8, error)
- func (_ValidatorManagerContract *ValidatorManagerContractCaller) ThresholdNum(opts *bind.CallOpts) (uint8, error)
- func (_ValidatorManagerContract *ValidatorManagerContractCaller) TotalPower(opts *bind.CallOpts) (*big.Int, error)
- func (_ValidatorManagerContract *ValidatorManagerContractCaller) Validators(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- type ValidatorManagerContractCallerRaw
- type ValidatorManagerContractCallerSession
- func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) CheckThreshold(_message [32]byte, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, ...) error
- func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) GetPowers() ([]uint64, error)
- func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) GetValidators() ([]common.Address, error)
- func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) LoomAddress() (common.Address, error)
- func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) Nonce() (*big.Int, error)
- func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) Powers(arg0 *big.Int) (uint64, error)
- func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) SignedByValidator(_message [32]byte, _signersIndex *big.Int, _v uint8, _r [32]byte, _s [32]byte) error
- func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) ThresholdDenom() (uint8, error)
- func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) ThresholdNum() (uint8, error)
- func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) TotalPower() (*big.Int, error)
- func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) Validators(arg0 *big.Int) (common.Address, error)
- type ValidatorManagerContractFilterer
- func (_ValidatorManagerContract *ValidatorManagerContractFilterer) FilterValidatorSetChanged(opts *bind.FilterOpts) (*ValidatorManagerContractValidatorSetChangedIterator, error)
- func (_ValidatorManagerContract *ValidatorManagerContractFilterer) WatchValidatorSetChanged(opts *bind.WatchOpts, sink chan<- *ValidatorManagerContractValidatorSetChanged) (event.Subscription, error)
- type ValidatorManagerContractRaw
- func (_ValidatorManagerContract *ValidatorManagerContractRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ValidatorManagerContract *ValidatorManagerContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ValidatorManagerContract *ValidatorManagerContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ValidatorManagerContractSession
- func (_ValidatorManagerContract *ValidatorManagerContractSession) CheckThreshold(_message [32]byte, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, ...) error
- func (_ValidatorManagerContract *ValidatorManagerContractSession) GetPowers() ([]uint64, error)
- func (_ValidatorManagerContract *ValidatorManagerContractSession) GetValidators() ([]common.Address, error)
- func (_ValidatorManagerContract *ValidatorManagerContractSession) LoomAddress() (common.Address, error)
- func (_ValidatorManagerContract *ValidatorManagerContractSession) Nonce() (*big.Int, error)
- func (_ValidatorManagerContract *ValidatorManagerContractSession) Powers(arg0 *big.Int) (uint64, error)
- func (_ValidatorManagerContract *ValidatorManagerContractSession) RotateValidators(_newValidators []common.Address, _newPowers []uint64, ...) (*types.Transaction, error)
- func (_ValidatorManagerContract *ValidatorManagerContractSession) SetLoom(_loomAddress common.Address, _signersIndexes []*big.Int, _v []uint8, ...) (*types.Transaction, error)
- func (_ValidatorManagerContract *ValidatorManagerContractSession) SetQuorum(_num uint8, _denom uint8, _signersIndexes []*big.Int, _v []uint8, ...) (*types.Transaction, error)
- func (_ValidatorManagerContract *ValidatorManagerContractSession) SignedByValidator(_message [32]byte, _signersIndex *big.Int, _v uint8, _r [32]byte, _s [32]byte) error
- func (_ValidatorManagerContract *ValidatorManagerContractSession) ThresholdDenom() (uint8, error)
- func (_ValidatorManagerContract *ValidatorManagerContractSession) ThresholdNum() (uint8, error)
- func (_ValidatorManagerContract *ValidatorManagerContractSession) TotalPower() (*big.Int, error)
- func (_ValidatorManagerContract *ValidatorManagerContractSession) Validators(arg0 *big.Int) (common.Address, error)
- type ValidatorManagerContractTransactor
- func (_ValidatorManagerContract *ValidatorManagerContractTransactor) RotateValidators(opts *bind.TransactOpts, _newValidators []common.Address, _newPowers []uint64, ...) (*types.Transaction, error)
- func (_ValidatorManagerContract *ValidatorManagerContractTransactor) SetLoom(opts *bind.TransactOpts, _loomAddress common.Address, ...) (*types.Transaction, error)
- func (_ValidatorManagerContract *ValidatorManagerContractTransactor) SetQuorum(opts *bind.TransactOpts, _num uint8, _denom uint8, _signersIndexes []*big.Int, ...) (*types.Transaction, error)
- type ValidatorManagerContractTransactorRaw
- func (_ValidatorManagerContract *ValidatorManagerContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ValidatorManagerContract *ValidatorManagerContractTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ValidatorManagerContractTransactorSession
- func (_ValidatorManagerContract *ValidatorManagerContractTransactorSession) RotateValidators(_newValidators []common.Address, _newPowers []uint64, ...) (*types.Transaction, error)
- func (_ValidatorManagerContract *ValidatorManagerContractTransactorSession) SetLoom(_loomAddress common.Address, _signersIndexes []*big.Int, _v []uint8, ...) (*types.Transaction, error)
- func (_ValidatorManagerContract *ValidatorManagerContractTransactorSession) SetQuorum(_num uint8, _denom uint8, _signersIndexes []*big.Int, _v []uint8, ...) (*types.Transaction, error)
- type ValidatorManagerContractValidatorSetChanged
- type ValidatorManagerContractValidatorSetChangedIterator
Constants ¶
const ValidatorManagerContractABI = "" /* 4154-byte string literal not displayed */
ValidatorManagerContractABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValidatorManagerContract ¶
type ValidatorManagerContract struct { ValidatorManagerContractCaller // Read-only binding to the contract ValidatorManagerContractTransactor // Write-only binding to the contract ValidatorManagerContractFilterer // Log filterer for contract events }
ValidatorManagerContract is an auto generated Go binding around an Ethereum contract.
func NewValidatorManagerContract ¶
func NewValidatorManagerContract(address common.Address, backend bind.ContractBackend) (*ValidatorManagerContract, error)
NewValidatorManagerContract creates a new instance of ValidatorManagerContract, bound to a specific deployed contract.
type ValidatorManagerContractCaller ¶
type ValidatorManagerContractCaller struct {
// contains filtered or unexported fields
}
ValidatorManagerContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewValidatorManagerContractCaller ¶
func NewValidatorManagerContractCaller(address common.Address, caller bind.ContractCaller) (*ValidatorManagerContractCaller, error)
NewValidatorManagerContractCaller creates a new read-only instance of ValidatorManagerContract, bound to a specific deployed contract.
func (*ValidatorManagerContractCaller) CheckThreshold ¶
func (_ValidatorManagerContract *ValidatorManagerContractCaller) CheckThreshold(opts *bind.CallOpts, _message [32]byte, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) error
CheckThreshold is a free data retrieval call binding the contract method 0x0fba29c3.
Solidity: function checkThreshold(_message bytes32, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) constant returns()
func (*ValidatorManagerContractCaller) GetPowers ¶
func (_ValidatorManagerContract *ValidatorManagerContractCaller) GetPowers(opts *bind.CallOpts) ([]uint64, error)
GetPowers is a free data retrieval call binding the contract method 0xff13a1ac.
Solidity: function getPowers() constant returns(uint64[])
func (*ValidatorManagerContractCaller) GetValidators ¶
func (_ValidatorManagerContract *ValidatorManagerContractCaller) GetValidators(opts *bind.CallOpts) ([]common.Address, error)
GetValidators is a free data retrieval call binding the contract method 0xb7ab4db5.
Solidity: function getValidators() constant returns(address[])
func (*ValidatorManagerContractCaller) LoomAddress ¶
func (_ValidatorManagerContract *ValidatorManagerContractCaller) LoomAddress(opts *bind.CallOpts) (common.Address, error)
LoomAddress is a free data retrieval call binding the contract method 0x37179db8.
Solidity: function loomAddress() constant returns(address)
func (*ValidatorManagerContractCaller) Nonce ¶
func (_ValidatorManagerContract *ValidatorManagerContractCaller) Nonce(opts *bind.CallOpts) (*big.Int, error)
Nonce is a free data retrieval call binding the contract method 0xaffed0e0.
Solidity: function nonce() constant returns(uint256)
func (*ValidatorManagerContractCaller) Powers ¶
func (_ValidatorManagerContract *ValidatorManagerContractCaller) Powers(opts *bind.CallOpts, arg0 *big.Int) (uint64, error)
Powers is a free data retrieval call binding the contract method 0x40c1bfab.
Solidity: function powers( uint256) constant returns(uint64)
func (*ValidatorManagerContractCaller) SignedByValidator ¶
func (_ValidatorManagerContract *ValidatorManagerContractCaller) SignedByValidator(opts *bind.CallOpts, _message [32]byte, _signersIndex *big.Int, _v uint8, _r [32]byte, _s [32]byte) error
SignedByValidator is a free data retrieval call binding the contract method 0xc47c479a.
Solidity: function signedByValidator(_message bytes32, _signersIndex uint256, _v uint8, _r bytes32, _s bytes32) constant returns()
func (*ValidatorManagerContractCaller) ThresholdDenom ¶
func (_ValidatorManagerContract *ValidatorManagerContractCaller) ThresholdDenom(opts *bind.CallOpts) (uint8, error)
ThresholdDenom is a free data retrieval call binding the contract method 0x57d717d1.
Solidity: function threshold_denom() constant returns(uint8)
func (*ValidatorManagerContractCaller) ThresholdNum ¶
func (_ValidatorManagerContract *ValidatorManagerContractCaller) ThresholdNum(opts *bind.CallOpts) (uint8, error)
ThresholdNum is a free data retrieval call binding the contract method 0xc57829d2.
Solidity: function threshold_num() constant returns(uint8)
func (*ValidatorManagerContractCaller) TotalPower ¶
func (_ValidatorManagerContract *ValidatorManagerContractCaller) TotalPower(opts *bind.CallOpts) (*big.Int, error)
TotalPower is a free data retrieval call binding the contract method 0xdb3ad22c.
Solidity: function totalPower() constant returns(uint256)
func (*ValidatorManagerContractCaller) Validators ¶
func (_ValidatorManagerContract *ValidatorManagerContractCaller) Validators(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
Validators is a free data retrieval call binding the contract method 0x35aa2e44.
Solidity: function validators( uint256) constant returns(address)
type ValidatorManagerContractCallerRaw ¶
type ValidatorManagerContractCallerRaw struct {
Contract *ValidatorManagerContractCaller // Generic read-only contract binding to access the raw methods on
}
ValidatorManagerContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ValidatorManagerContractCallerRaw) Call ¶
func (_ValidatorManagerContract *ValidatorManagerContractCallerRaw) 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 ValidatorManagerContractCallerSession ¶
type ValidatorManagerContractCallerSession struct { Contract *ValidatorManagerContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ValidatorManagerContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ValidatorManagerContractCallerSession) CheckThreshold ¶
func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) CheckThreshold(_message [32]byte, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) error
CheckThreshold is a free data retrieval call binding the contract method 0x0fba29c3.
Solidity: function checkThreshold(_message bytes32, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) constant returns()
func (*ValidatorManagerContractCallerSession) GetPowers ¶
func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) GetPowers() ([]uint64, error)
GetPowers is a free data retrieval call binding the contract method 0xff13a1ac.
Solidity: function getPowers() constant returns(uint64[])
func (*ValidatorManagerContractCallerSession) GetValidators ¶
func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) GetValidators() ([]common.Address, error)
GetValidators is a free data retrieval call binding the contract method 0xb7ab4db5.
Solidity: function getValidators() constant returns(address[])
func (*ValidatorManagerContractCallerSession) LoomAddress ¶
func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) LoomAddress() (common.Address, error)
LoomAddress is a free data retrieval call binding the contract method 0x37179db8.
Solidity: function loomAddress() constant returns(address)
func (*ValidatorManagerContractCallerSession) Nonce ¶
func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) Nonce() (*big.Int, error)
Nonce is a free data retrieval call binding the contract method 0xaffed0e0.
Solidity: function nonce() constant returns(uint256)
func (*ValidatorManagerContractCallerSession) Powers ¶
func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) Powers(arg0 *big.Int) (uint64, error)
Powers is a free data retrieval call binding the contract method 0x40c1bfab.
Solidity: function powers( uint256) constant returns(uint64)
func (*ValidatorManagerContractCallerSession) SignedByValidator ¶
func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) SignedByValidator(_message [32]byte, _signersIndex *big.Int, _v uint8, _r [32]byte, _s [32]byte) error
SignedByValidator is a free data retrieval call binding the contract method 0xc47c479a.
Solidity: function signedByValidator(_message bytes32, _signersIndex uint256, _v uint8, _r bytes32, _s bytes32) constant returns()
func (*ValidatorManagerContractCallerSession) ThresholdDenom ¶
func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) ThresholdDenom() (uint8, error)
ThresholdDenom is a free data retrieval call binding the contract method 0x57d717d1.
Solidity: function threshold_denom() constant returns(uint8)
func (*ValidatorManagerContractCallerSession) ThresholdNum ¶
func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) ThresholdNum() (uint8, error)
ThresholdNum is a free data retrieval call binding the contract method 0xc57829d2.
Solidity: function threshold_num() constant returns(uint8)
func (*ValidatorManagerContractCallerSession) TotalPower ¶
func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) TotalPower() (*big.Int, error)
TotalPower is a free data retrieval call binding the contract method 0xdb3ad22c.
Solidity: function totalPower() constant returns(uint256)
func (*ValidatorManagerContractCallerSession) Validators ¶
func (_ValidatorManagerContract *ValidatorManagerContractCallerSession) Validators(arg0 *big.Int) (common.Address, error)
Validators is a free data retrieval call binding the contract method 0x35aa2e44.
Solidity: function validators( uint256) constant returns(address)
type ValidatorManagerContractFilterer ¶
type ValidatorManagerContractFilterer struct {
// contains filtered or unexported fields
}
ValidatorManagerContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewValidatorManagerContractFilterer ¶
func NewValidatorManagerContractFilterer(address common.Address, filterer bind.ContractFilterer) (*ValidatorManagerContractFilterer, error)
NewValidatorManagerContractFilterer creates a new log filterer instance of ValidatorManagerContract, bound to a specific deployed contract.
func (*ValidatorManagerContractFilterer) FilterValidatorSetChanged ¶
func (_ValidatorManagerContract *ValidatorManagerContractFilterer) FilterValidatorSetChanged(opts *bind.FilterOpts) (*ValidatorManagerContractValidatorSetChangedIterator, error)
FilterValidatorSetChanged is a free log retrieval operation binding the contract event 0x323c51e0ad42c317ff3b00c6ce354d799a4b5eaf3a25cf3169cf2efd339d4d54.
Solidity: e ValidatorSetChanged(_validators address[], _powers uint64[])
func (*ValidatorManagerContractFilterer) WatchValidatorSetChanged ¶
func (_ValidatorManagerContract *ValidatorManagerContractFilterer) WatchValidatorSetChanged(opts *bind.WatchOpts, sink chan<- *ValidatorManagerContractValidatorSetChanged) (event.Subscription, error)
WatchValidatorSetChanged is a free log subscription operation binding the contract event 0x323c51e0ad42c317ff3b00c6ce354d799a4b5eaf3a25cf3169cf2efd339d4d54.
Solidity: e ValidatorSetChanged(_validators address[], _powers uint64[])
type ValidatorManagerContractRaw ¶
type ValidatorManagerContractRaw struct {
Contract *ValidatorManagerContract // Generic contract binding to access the raw methods on
}
ValidatorManagerContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ValidatorManagerContractRaw) Call ¶
func (_ValidatorManagerContract *ValidatorManagerContractRaw) 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 (*ValidatorManagerContractRaw) Transact ¶
func (_ValidatorManagerContract *ValidatorManagerContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ValidatorManagerContractRaw) Transfer ¶
func (_ValidatorManagerContract *ValidatorManagerContractRaw) 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 ValidatorManagerContractSession ¶
type ValidatorManagerContractSession struct { Contract *ValidatorManagerContract // 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 }
ValidatorManagerContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ValidatorManagerContractSession) CheckThreshold ¶
func (_ValidatorManagerContract *ValidatorManagerContractSession) CheckThreshold(_message [32]byte, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) error
CheckThreshold is a free data retrieval call binding the contract method 0x0fba29c3.
Solidity: function checkThreshold(_message bytes32, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) constant returns()
func (*ValidatorManagerContractSession) GetPowers ¶
func (_ValidatorManagerContract *ValidatorManagerContractSession) GetPowers() ([]uint64, error)
GetPowers is a free data retrieval call binding the contract method 0xff13a1ac.
Solidity: function getPowers() constant returns(uint64[])
func (*ValidatorManagerContractSession) GetValidators ¶
func (_ValidatorManagerContract *ValidatorManagerContractSession) GetValidators() ([]common.Address, error)
GetValidators is a free data retrieval call binding the contract method 0xb7ab4db5.
Solidity: function getValidators() constant returns(address[])
func (*ValidatorManagerContractSession) LoomAddress ¶
func (_ValidatorManagerContract *ValidatorManagerContractSession) LoomAddress() (common.Address, error)
LoomAddress is a free data retrieval call binding the contract method 0x37179db8.
Solidity: function loomAddress() constant returns(address)
func (*ValidatorManagerContractSession) Nonce ¶
func (_ValidatorManagerContract *ValidatorManagerContractSession) Nonce() (*big.Int, error)
Nonce is a free data retrieval call binding the contract method 0xaffed0e0.
Solidity: function nonce() constant returns(uint256)
func (*ValidatorManagerContractSession) Powers ¶
func (_ValidatorManagerContract *ValidatorManagerContractSession) Powers(arg0 *big.Int) (uint64, error)
Powers is a free data retrieval call binding the contract method 0x40c1bfab.
Solidity: function powers( uint256) constant returns(uint64)
func (*ValidatorManagerContractSession) RotateValidators ¶
func (_ValidatorManagerContract *ValidatorManagerContractSession) RotateValidators(_newValidators []common.Address, _newPowers []uint64, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
RotateValidators is a paid mutator transaction binding the contract method 0xeb2eb0ef.
Solidity: function rotateValidators(_newValidators address[], _newPowers uint64[], _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
func (*ValidatorManagerContractSession) SetLoom ¶
func (_ValidatorManagerContract *ValidatorManagerContractSession) SetLoom(_loomAddress common.Address, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
SetLoom is a paid mutator transaction binding the contract method 0x9b963722.
Solidity: function setLoom(_loomAddress address, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
func (*ValidatorManagerContractSession) SetQuorum ¶
func (_ValidatorManagerContract *ValidatorManagerContractSession) SetQuorum(_num uint8, _denom uint8, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
SetQuorum is a paid mutator transaction binding the contract method 0x0d8618ce.
Solidity: function setQuorum(_num uint8, _denom uint8, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
func (*ValidatorManagerContractSession) SignedByValidator ¶
func (_ValidatorManagerContract *ValidatorManagerContractSession) SignedByValidator(_message [32]byte, _signersIndex *big.Int, _v uint8, _r [32]byte, _s [32]byte) error
SignedByValidator is a free data retrieval call binding the contract method 0xc47c479a.
Solidity: function signedByValidator(_message bytes32, _signersIndex uint256, _v uint8, _r bytes32, _s bytes32) constant returns()
func (*ValidatorManagerContractSession) ThresholdDenom ¶
func (_ValidatorManagerContract *ValidatorManagerContractSession) ThresholdDenom() (uint8, error)
ThresholdDenom is a free data retrieval call binding the contract method 0x57d717d1.
Solidity: function threshold_denom() constant returns(uint8)
func (*ValidatorManagerContractSession) ThresholdNum ¶
func (_ValidatorManagerContract *ValidatorManagerContractSession) ThresholdNum() (uint8, error)
ThresholdNum is a free data retrieval call binding the contract method 0xc57829d2.
Solidity: function threshold_num() constant returns(uint8)
func (*ValidatorManagerContractSession) TotalPower ¶
func (_ValidatorManagerContract *ValidatorManagerContractSession) TotalPower() (*big.Int, error)
TotalPower is a free data retrieval call binding the contract method 0xdb3ad22c.
Solidity: function totalPower() constant returns(uint256)
func (*ValidatorManagerContractSession) Validators ¶
func (_ValidatorManagerContract *ValidatorManagerContractSession) Validators(arg0 *big.Int) (common.Address, error)
Validators is a free data retrieval call binding the contract method 0x35aa2e44.
Solidity: function validators( uint256) constant returns(address)
type ValidatorManagerContractTransactor ¶
type ValidatorManagerContractTransactor struct {
// contains filtered or unexported fields
}
ValidatorManagerContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewValidatorManagerContractTransactor ¶
func NewValidatorManagerContractTransactor(address common.Address, transactor bind.ContractTransactor) (*ValidatorManagerContractTransactor, error)
NewValidatorManagerContractTransactor creates a new write-only instance of ValidatorManagerContract, bound to a specific deployed contract.
func (*ValidatorManagerContractTransactor) RotateValidators ¶
func (_ValidatorManagerContract *ValidatorManagerContractTransactor) RotateValidators(opts *bind.TransactOpts, _newValidators []common.Address, _newPowers []uint64, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
RotateValidators is a paid mutator transaction binding the contract method 0xeb2eb0ef.
Solidity: function rotateValidators(_newValidators address[], _newPowers uint64[], _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
func (*ValidatorManagerContractTransactor) SetLoom ¶
func (_ValidatorManagerContract *ValidatorManagerContractTransactor) SetLoom(opts *bind.TransactOpts, _loomAddress common.Address, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
SetLoom is a paid mutator transaction binding the contract method 0x9b963722.
Solidity: function setLoom(_loomAddress address, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
func (*ValidatorManagerContractTransactor) SetQuorum ¶
func (_ValidatorManagerContract *ValidatorManagerContractTransactor) SetQuorum(opts *bind.TransactOpts, _num uint8, _denom uint8, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
SetQuorum is a paid mutator transaction binding the contract method 0x0d8618ce.
Solidity: function setQuorum(_num uint8, _denom uint8, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
type ValidatorManagerContractTransactorRaw ¶
type ValidatorManagerContractTransactorRaw struct {
Contract *ValidatorManagerContractTransactor // Generic write-only contract binding to access the raw methods on
}
ValidatorManagerContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ValidatorManagerContractTransactorRaw) Transact ¶
func (_ValidatorManagerContract *ValidatorManagerContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ValidatorManagerContractTransactorRaw) Transfer ¶
func (_ValidatorManagerContract *ValidatorManagerContractTransactorRaw) 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 ValidatorManagerContractTransactorSession ¶
type ValidatorManagerContractTransactorSession struct { Contract *ValidatorManagerContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ValidatorManagerContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ValidatorManagerContractTransactorSession) RotateValidators ¶
func (_ValidatorManagerContract *ValidatorManagerContractTransactorSession) RotateValidators(_newValidators []common.Address, _newPowers []uint64, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
RotateValidators is a paid mutator transaction binding the contract method 0xeb2eb0ef.
Solidity: function rotateValidators(_newValidators address[], _newPowers uint64[], _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
func (*ValidatorManagerContractTransactorSession) SetLoom ¶
func (_ValidatorManagerContract *ValidatorManagerContractTransactorSession) SetLoom(_loomAddress common.Address, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
SetLoom is a paid mutator transaction binding the contract method 0x9b963722.
Solidity: function setLoom(_loomAddress address, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
func (*ValidatorManagerContractTransactorSession) SetQuorum ¶
func (_ValidatorManagerContract *ValidatorManagerContractTransactorSession) SetQuorum(_num uint8, _denom uint8, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
SetQuorum is a paid mutator transaction binding the contract method 0x0d8618ce.
Solidity: function setQuorum(_num uint8, _denom uint8, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
type ValidatorManagerContractValidatorSetChanged ¶
type ValidatorManagerContractValidatorSetChanged struct { Validators []common.Address Powers []uint64 Raw types.Log // Blockchain specific contextual infos }
ValidatorManagerContractValidatorSetChanged represents a ValidatorSetChanged event raised by the ValidatorManagerContract contract.
type ValidatorManagerContractValidatorSetChangedIterator ¶
type ValidatorManagerContractValidatorSetChangedIterator struct { Event *ValidatorManagerContractValidatorSetChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ValidatorManagerContractValidatorSetChangedIterator is returned from FilterValidatorSetChanged and is used to iterate over the raw logs and unpacked data for ValidatorSetChanged events raised by the ValidatorManagerContract contract.
func (*ValidatorManagerContractValidatorSetChangedIterator) Close ¶
func (it *ValidatorManagerContractValidatorSetChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ValidatorManagerContractValidatorSetChangedIterator) Error ¶
func (it *ValidatorManagerContractValidatorSetChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ValidatorManagerContractValidatorSetChangedIterator) Next ¶
func (it *ValidatorManagerContractValidatorSetChangedIterator) 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.