Documentation
¶
Index ¶
- Constants
- Variables
- type NodeManager
- type NodeManagerCaller
- func (_NodeManager *NodeManagerCaller) ConnectionAllowed(opts *bind.CallOpts, _enodeId string, _ip string, _port uint16) (bool, error)
- func (_NodeManager *NodeManagerCaller) GetNodeDetails(opts *bind.CallOpts, enodeId string) (struct{ ... }, error)
- func (_NodeManager *NodeManagerCaller) GetNodeDetailsFromIndex(opts *bind.CallOpts, _nodeIndex *big.Int) (struct{ ... }, error)
- func (_NodeManager *NodeManagerCaller) GetNumberOfNodes(opts *bind.CallOpts) (*big.Int, error)
- type NodeManagerCallerRaw
- type NodeManagerCallerSession
- func (_NodeManager *NodeManagerCallerSession) ConnectionAllowed(_enodeId string, _ip string, _port uint16) (bool, error)
- func (_NodeManager *NodeManagerCallerSession) GetNodeDetails(enodeId string) (struct{ ... }, error)
- func (_NodeManager *NodeManagerCallerSession) GetNodeDetailsFromIndex(_nodeIndex *big.Int) (struct{ ... }, error)
- func (_NodeManager *NodeManagerCallerSession) GetNumberOfNodes() (*big.Int, error)
- type NodeManagerFilterer
- func (_NodeManager *NodeManagerFilterer) FilterNodeActivated(opts *bind.FilterOpts) (*NodeManagerNodeActivatedIterator, error)
- func (_NodeManager *NodeManagerFilterer) FilterNodeApproved(opts *bind.FilterOpts) (*NodeManagerNodeApprovedIterator, error)
- func (_NodeManager *NodeManagerFilterer) FilterNodeBlacklisted(opts *bind.FilterOpts) (*NodeManagerNodeBlacklistedIterator, error)
- func (_NodeManager *NodeManagerFilterer) FilterNodeDeactivated(opts *bind.FilterOpts) (*NodeManagerNodeDeactivatedIterator, error)
- func (_NodeManager *NodeManagerFilterer) FilterNodeProposed(opts *bind.FilterOpts) (*NodeManagerNodeProposedIterator, error)
- func (_NodeManager *NodeManagerFilterer) FilterNodeRecoveryCompleted(opts *bind.FilterOpts) (*NodeManagerNodeRecoveryCompletedIterator, error)
- func (_NodeManager *NodeManagerFilterer) FilterNodeRecoveryInitiated(opts *bind.FilterOpts) (*NodeManagerNodeRecoveryInitiatedIterator, error)
- func (_NodeManager *NodeManagerFilterer) ParseNodeActivated(log types.Log) (*NodeManagerNodeActivated, error)
- func (_NodeManager *NodeManagerFilterer) ParseNodeApproved(log types.Log) (*NodeManagerNodeApproved, error)
- func (_NodeManager *NodeManagerFilterer) ParseNodeBlacklisted(log types.Log) (*NodeManagerNodeBlacklisted, error)
- func (_NodeManager *NodeManagerFilterer) ParseNodeDeactivated(log types.Log) (*NodeManagerNodeDeactivated, error)
- func (_NodeManager *NodeManagerFilterer) ParseNodeProposed(log types.Log) (*NodeManagerNodeProposed, error)
- func (_NodeManager *NodeManagerFilterer) ParseNodeRecoveryCompleted(log types.Log) (*NodeManagerNodeRecoveryCompleted, error)
- func (_NodeManager *NodeManagerFilterer) ParseNodeRecoveryInitiated(log types.Log) (*NodeManagerNodeRecoveryInitiated, error)
- func (_NodeManager *NodeManagerFilterer) WatchNodeActivated(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeActivated) (event.Subscription, error)
- func (_NodeManager *NodeManagerFilterer) WatchNodeApproved(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeApproved) (event.Subscription, error)
- func (_NodeManager *NodeManagerFilterer) WatchNodeBlacklisted(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeBlacklisted) (event.Subscription, error)
- func (_NodeManager *NodeManagerFilterer) WatchNodeDeactivated(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeDeactivated) (event.Subscription, error)
- func (_NodeManager *NodeManagerFilterer) WatchNodeProposed(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeProposed) (event.Subscription, error)
- func (_NodeManager *NodeManagerFilterer) WatchNodeRecoveryCompleted(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeRecoveryCompleted) (event.Subscription, error)
- func (_NodeManager *NodeManagerFilterer) WatchNodeRecoveryInitiated(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeRecoveryInitiated) (event.Subscription, error)
- type NodeManagerNodeActivated
- type NodeManagerNodeActivatedIterator
- type NodeManagerNodeApproved
- type NodeManagerNodeApprovedIterator
- type NodeManagerNodeBlacklisted
- type NodeManagerNodeBlacklistedIterator
- type NodeManagerNodeDeactivated
- type NodeManagerNodeDeactivatedIterator
- type NodeManagerNodeProposed
- type NodeManagerNodeProposedIterator
- type NodeManagerNodeRecoveryCompleted
- type NodeManagerNodeRecoveryCompletedIterator
- type NodeManagerNodeRecoveryInitiated
- type NodeManagerNodeRecoveryInitiatedIterator
- type NodeManagerRaw
- func (_NodeManager *NodeManagerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_NodeManager *NodeManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_NodeManager *NodeManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type NodeManagerSession
- func (_NodeManager *NodeManagerSession) AddAdminNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
- func (_NodeManager *NodeManagerSession) AddNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
- func (_NodeManager *NodeManagerSession) AddOrgNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
- func (_NodeManager *NodeManagerSession) ApproveNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
- func (_NodeManager *NodeManagerSession) ConnectionAllowed(_enodeId string, _ip string, _port uint16) (bool, error)
- func (_NodeManager *NodeManagerSession) GetNodeDetails(enodeId string) (struct{ ... }, error)
- func (_NodeManager *NodeManagerSession) GetNodeDetailsFromIndex(_nodeIndex *big.Int) (struct{ ... }, error)
- func (_NodeManager *NodeManagerSession) GetNumberOfNodes() (*big.Int, error)
- func (_NodeManager *NodeManagerSession) UpdateNodeStatus(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string, ...) (*types.Transaction, error)
- type NodeManagerTransactor
- func (_NodeManager *NodeManagerTransactor) AddAdminNode(opts *bind.TransactOpts, _enodeId string, _ip string, _port uint16, ...) (*types.Transaction, error)
- func (_NodeManager *NodeManagerTransactor) AddNode(opts *bind.TransactOpts, _enodeId string, _ip string, _port uint16, ...) (*types.Transaction, error)
- func (_NodeManager *NodeManagerTransactor) AddOrgNode(opts *bind.TransactOpts, _enodeId string, _ip string, _port uint16, ...) (*types.Transaction, error)
- func (_NodeManager *NodeManagerTransactor) ApproveNode(opts *bind.TransactOpts, _enodeId string, _ip string, _port uint16, ...) (*types.Transaction, error)
- func (_NodeManager *NodeManagerTransactor) UpdateNodeStatus(opts *bind.TransactOpts, _enodeId string, _ip string, _port uint16, ...) (*types.Transaction, error)
- type NodeManagerTransactorRaw
- type NodeManagerTransactorSession
- func (_NodeManager *NodeManagerTransactorSession) AddAdminNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
- func (_NodeManager *NodeManagerTransactorSession) AddNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
- func (_NodeManager *NodeManagerTransactorSession) AddOrgNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
- func (_NodeManager *NodeManagerTransactorSession) ApproveNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
- func (_NodeManager *NodeManagerTransactorSession) UpdateNodeStatus(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string, ...) (*types.Transaction, error)
- type PermUpgr
- type PermUpgrCaller
- type PermUpgrCallerRaw
- type PermUpgrCallerSession
- type PermUpgrFilterer
- type PermUpgrRaw
- func (_PermUpgr *PermUpgrRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_PermUpgr *PermUpgrRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_PermUpgr *PermUpgrRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PermUpgrSession
- func (_PermUpgr *PermUpgrSession) ConfirmImplChange(_proposedImpl common.Address) (*types.Transaction, error)
- func (_PermUpgr *PermUpgrSession) GetGuardian() (common.Address, error)
- func (_PermUpgr *PermUpgrSession) GetPermImpl() (common.Address, error)
- func (_PermUpgr *PermUpgrSession) GetPermInterface() (common.Address, error)
- func (_PermUpgr *PermUpgrSession) Init(_permInterface common.Address, _permImpl common.Address) (*types.Transaction, error)
- type PermUpgrTransactor
- type PermUpgrTransactorRaw
- type PermUpgrTransactorSession
Constants ¶
const NodeManagerABI = "" /* 6077-byte string literal not displayed */
NodeManagerABI is the input ABI used to generate the binding from.
const PermUpgrABI = "" /* 1126-byte string literal not displayed */
PermUpgrABI is the input ABI used to generate the binding from.
Variables ¶
var NodeActivatedTopicHash = "0xfb98f62dea866f0c373574c8523f611d0db1d8f19cc1b95d07a221d36a6a45de"
var NodeApprovedTopicHash = "0x9394c836a3325586270659f6aa3b9f835abca9afe7fec5abfc69760bb12bce0d"
var NodeBlacklistedTopicHash = "0x25300d4d785e654bc9b7979700cfa0fdc9ace890a46841fecfce661fd2c41a33"
var NodeDeactivatedTopicHash = "0xf631019be71bc682c59150635d714061185232e98e60de8bdd87bbee239cc5c8"
var NodeManagerBin = "" /* 26400-byte string literal not displayed */
NodeManagerBin is the compiled bytecode used for deploying new contracts.
var NodeManagerParsedABI, _ = abi.JSON(strings.NewReader(NodeManagerABI))
var NodeProposedTopicHash = "0xf9bad9f8a2dccc52fad61273a7fd673335b420319506c19b87df9ce7a19732da"
var NodeRecoveryCompletedTopicHash = "0x60aac8c36efdaabf125dc9ec2124bde8b3ceafe5c8b4fc8063fc4ac9017eb0be"
var NodeRecoveryInitiatedTopicHash = "0x72779f66ea90e28bae76fbfe03eaef5ae01699976c7493f93186ab9560ccfaa4"
var PermUpgrBin = "" /* 3536-byte string literal not displayed */
PermUpgrBin is the compiled bytecode used for deploying new contracts.
var PermUpgrParsedABI, _ = abi.JSON(strings.NewReader(PermUpgrABI))
Functions ¶
This section is empty.
Types ¶
type NodeManager ¶
type NodeManager struct { NodeManagerCaller // Read-only binding to the contract NodeManagerTransactor // Write-only binding to the contract NodeManagerFilterer // Log filterer for contract events }
NodeManager is an auto generated Go binding around an Ethereum contract.
func DeployNodeManager ¶
func DeployNodeManager(auth *bind.TransactOpts, backend bind.ContractBackend, _permUpgradable common.Address) (common.Address, *types.Transaction, *NodeManager, error)
DeployNodeManager deploys a new Ethereum contract, binding an instance of NodeManager to it.
func NewNodeManager ¶
func NewNodeManager(address common.Address, backend bind.ContractBackend) (*NodeManager, error)
NewNodeManager creates a new instance of NodeManager, bound to a specific deployed contract.
type NodeManagerCaller ¶
type NodeManagerCaller struct {
// contains filtered or unexported fields
}
NodeManagerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewNodeManagerCaller ¶
func NewNodeManagerCaller(address common.Address, caller bind.ContractCaller) (*NodeManagerCaller, error)
NewNodeManagerCaller creates a new read-only instance of NodeManager, bound to a specific deployed contract.
func (*NodeManagerCaller) ConnectionAllowed ¶
func (_NodeManager *NodeManagerCaller) ConnectionAllowed(opts *bind.CallOpts, _enodeId string, _ip string, _port uint16) (bool, error)
ConnectionAllowed is a free data retrieval call binding the contract method 0x45a59e5b.
Solidity: function connectionAllowed(string _enodeId, string _ip, uint16 _port) constant returns(bool)
func (*NodeManagerCaller) GetNodeDetails ¶
func (_NodeManager *NodeManagerCaller) GetNodeDetails(opts *bind.CallOpts, enodeId string) (struct { OrgId string EnodeId string Ip string Port uint16 Raftport uint16 NodeStatus *big.Int }, error)
GetNodeDetails is a free data retrieval call binding the contract method 0x3f0e0e47.
Solidity: function getNodeDetails(string enodeId) constant returns(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _nodeStatus)
func (*NodeManagerCaller) GetNodeDetailsFromIndex ¶
func (_NodeManager *NodeManagerCaller) GetNodeDetailsFromIndex(opts *bind.CallOpts, _nodeIndex *big.Int) (struct { OrgId string EnodeId string Ip string Port uint16 Raftport uint16 NodeStatus *big.Int }, error)
GetNodeDetailsFromIndex is a free data retrieval call binding the contract method 0x97c07a9b.
Solidity: function getNodeDetailsFromIndex(uint256 _nodeIndex) constant returns(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _nodeStatus)
func (*NodeManagerCaller) GetNumberOfNodes ¶
GetNumberOfNodes is a free data retrieval call binding the contract method 0xb81c806a.
Solidity: function getNumberOfNodes() constant returns(uint256)
type NodeManagerCallerRaw ¶
type NodeManagerCallerRaw struct {
Contract *NodeManagerCaller // Generic read-only contract binding to access the raw methods on
}
NodeManagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*NodeManagerCallerRaw) Call ¶
func (_NodeManager *NodeManagerCallerRaw) 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 NodeManagerCallerSession ¶
type NodeManagerCallerSession struct { Contract *NodeManagerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
NodeManagerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*NodeManagerCallerSession) ConnectionAllowed ¶
func (_NodeManager *NodeManagerCallerSession) ConnectionAllowed(_enodeId string, _ip string, _port uint16) (bool, error)
ConnectionAllowed is a free data retrieval call binding the contract method 0x45a59e5b.
Solidity: function connectionAllowed(string _enodeId, string _ip, uint16 _port) constant returns(bool)
func (*NodeManagerCallerSession) GetNodeDetails ¶
func (_NodeManager *NodeManagerCallerSession) GetNodeDetails(enodeId string) (struct { OrgId string EnodeId string Ip string Port uint16 Raftport uint16 NodeStatus *big.Int }, error)
GetNodeDetails is a free data retrieval call binding the contract method 0x3f0e0e47.
Solidity: function getNodeDetails(string enodeId) constant returns(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _nodeStatus)
func (*NodeManagerCallerSession) GetNodeDetailsFromIndex ¶
func (_NodeManager *NodeManagerCallerSession) GetNodeDetailsFromIndex(_nodeIndex *big.Int) (struct { OrgId string EnodeId string Ip string Port uint16 Raftport uint16 NodeStatus *big.Int }, error)
GetNodeDetailsFromIndex is a free data retrieval call binding the contract method 0x97c07a9b.
Solidity: function getNodeDetailsFromIndex(uint256 _nodeIndex) constant returns(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _nodeStatus)
func (*NodeManagerCallerSession) GetNumberOfNodes ¶
func (_NodeManager *NodeManagerCallerSession) GetNumberOfNodes() (*big.Int, error)
GetNumberOfNodes is a free data retrieval call binding the contract method 0xb81c806a.
Solidity: function getNumberOfNodes() constant returns(uint256)
type NodeManagerFilterer ¶
type NodeManagerFilterer struct {
// contains filtered or unexported fields
}
NodeManagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewNodeManagerFilterer ¶
func NewNodeManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*NodeManagerFilterer, error)
NewNodeManagerFilterer creates a new log filterer instance of NodeManager, bound to a specific deployed contract.
func (*NodeManagerFilterer) FilterNodeActivated ¶
func (_NodeManager *NodeManagerFilterer) FilterNodeActivated(opts *bind.FilterOpts) (*NodeManagerNodeActivatedIterator, error)
FilterNodeActivated is a free log retrieval operation binding the contract event 0xfb98f62dea866f0c373574c8523f611d0db1d8f19cc1b95d07a221d36a6a45de.
Solidity: event NodeActivated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) FilterNodeApproved ¶
func (_NodeManager *NodeManagerFilterer) FilterNodeApproved(opts *bind.FilterOpts) (*NodeManagerNodeApprovedIterator, error)
FilterNodeApproved is a free log retrieval operation binding the contract event 0x9394c836a3325586270659f6aa3b9f835abca9afe7fec5abfc69760bb12bce0d.
Solidity: event NodeApproved(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) FilterNodeBlacklisted ¶
func (_NodeManager *NodeManagerFilterer) FilterNodeBlacklisted(opts *bind.FilterOpts) (*NodeManagerNodeBlacklistedIterator, error)
FilterNodeBlacklisted is a free log retrieval operation binding the contract event 0x25300d4d785e654bc9b7979700cfa0fdc9ace890a46841fecfce661fd2c41a33.
Solidity: event NodeBlacklisted(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) FilterNodeDeactivated ¶
func (_NodeManager *NodeManagerFilterer) FilterNodeDeactivated(opts *bind.FilterOpts) (*NodeManagerNodeDeactivatedIterator, error)
FilterNodeDeactivated is a free log retrieval operation binding the contract event 0xf631019be71bc682c59150635d714061185232e98e60de8bdd87bbee239cc5c8.
Solidity: event NodeDeactivated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) FilterNodeProposed ¶
func (_NodeManager *NodeManagerFilterer) FilterNodeProposed(opts *bind.FilterOpts) (*NodeManagerNodeProposedIterator, error)
FilterNodeProposed is a free log retrieval operation binding the contract event 0xf9bad9f8a2dccc52fad61273a7fd673335b420319506c19b87df9ce7a19732da.
Solidity: event NodeProposed(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) FilterNodeRecoveryCompleted ¶
func (_NodeManager *NodeManagerFilterer) FilterNodeRecoveryCompleted(opts *bind.FilterOpts) (*NodeManagerNodeRecoveryCompletedIterator, error)
FilterNodeRecoveryCompleted is a free log retrieval operation binding the contract event 0x60aac8c36efdaabf125dc9ec2124bde8b3ceafe5c8b4fc8063fc4ac9017eb0be.
Solidity: event NodeRecoveryCompleted(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) FilterNodeRecoveryInitiated ¶
func (_NodeManager *NodeManagerFilterer) FilterNodeRecoveryInitiated(opts *bind.FilterOpts) (*NodeManagerNodeRecoveryInitiatedIterator, error)
FilterNodeRecoveryInitiated is a free log retrieval operation binding the contract event 0x72779f66ea90e28bae76fbfe03eaef5ae01699976c7493f93186ab9560ccfaa4.
Solidity: event NodeRecoveryInitiated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) ParseNodeActivated ¶
func (_NodeManager *NodeManagerFilterer) ParseNodeActivated(log types.Log) (*NodeManagerNodeActivated, error)
ParseNodeActivated is a log parse operation binding the contract event 0xfb98f62dea866f0c373574c8523f611d0db1d8f19cc1b95d07a221d36a6a45de.
Solidity: event NodeActivated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) ParseNodeApproved ¶
func (_NodeManager *NodeManagerFilterer) ParseNodeApproved(log types.Log) (*NodeManagerNodeApproved, error)
ParseNodeApproved is a log parse operation binding the contract event 0x9394c836a3325586270659f6aa3b9f835abca9afe7fec5abfc69760bb12bce0d.
Solidity: event NodeApproved(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) ParseNodeBlacklisted ¶
func (_NodeManager *NodeManagerFilterer) ParseNodeBlacklisted(log types.Log) (*NodeManagerNodeBlacklisted, error)
ParseNodeBlacklisted is a log parse operation binding the contract event 0x25300d4d785e654bc9b7979700cfa0fdc9ace890a46841fecfce661fd2c41a33.
Solidity: event NodeBlacklisted(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) ParseNodeDeactivated ¶
func (_NodeManager *NodeManagerFilterer) ParseNodeDeactivated(log types.Log) (*NodeManagerNodeDeactivated, error)
ParseNodeDeactivated is a log parse operation binding the contract event 0xf631019be71bc682c59150635d714061185232e98e60de8bdd87bbee239cc5c8.
Solidity: event NodeDeactivated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) ParseNodeProposed ¶
func (_NodeManager *NodeManagerFilterer) ParseNodeProposed(log types.Log) (*NodeManagerNodeProposed, error)
ParseNodeProposed is a log parse operation binding the contract event 0xf9bad9f8a2dccc52fad61273a7fd673335b420319506c19b87df9ce7a19732da.
Solidity: event NodeProposed(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) ParseNodeRecoveryCompleted ¶
func (_NodeManager *NodeManagerFilterer) ParseNodeRecoveryCompleted(log types.Log) (*NodeManagerNodeRecoveryCompleted, error)
ParseNodeRecoveryCompleted is a log parse operation binding the contract event 0x60aac8c36efdaabf125dc9ec2124bde8b3ceafe5c8b4fc8063fc4ac9017eb0be.
Solidity: event NodeRecoveryCompleted(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) ParseNodeRecoveryInitiated ¶
func (_NodeManager *NodeManagerFilterer) ParseNodeRecoveryInitiated(log types.Log) (*NodeManagerNodeRecoveryInitiated, error)
ParseNodeRecoveryInitiated is a log parse operation binding the contract event 0x72779f66ea90e28bae76fbfe03eaef5ae01699976c7493f93186ab9560ccfaa4.
Solidity: event NodeRecoveryInitiated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) WatchNodeActivated ¶
func (_NodeManager *NodeManagerFilterer) WatchNodeActivated(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeActivated) (event.Subscription, error)
WatchNodeActivated is a free log subscription operation binding the contract event 0xfb98f62dea866f0c373574c8523f611d0db1d8f19cc1b95d07a221d36a6a45de.
Solidity: event NodeActivated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) WatchNodeApproved ¶
func (_NodeManager *NodeManagerFilterer) WatchNodeApproved(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeApproved) (event.Subscription, error)
WatchNodeApproved is a free log subscription operation binding the contract event 0x9394c836a3325586270659f6aa3b9f835abca9afe7fec5abfc69760bb12bce0d.
Solidity: event NodeApproved(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) WatchNodeBlacklisted ¶
func (_NodeManager *NodeManagerFilterer) WatchNodeBlacklisted(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeBlacklisted) (event.Subscription, error)
WatchNodeBlacklisted is a free log subscription operation binding the contract event 0x25300d4d785e654bc9b7979700cfa0fdc9ace890a46841fecfce661fd2c41a33.
Solidity: event NodeBlacklisted(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) WatchNodeDeactivated ¶
func (_NodeManager *NodeManagerFilterer) WatchNodeDeactivated(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeDeactivated) (event.Subscription, error)
WatchNodeDeactivated is a free log subscription operation binding the contract event 0xf631019be71bc682c59150635d714061185232e98e60de8bdd87bbee239cc5c8.
Solidity: event NodeDeactivated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) WatchNodeProposed ¶
func (_NodeManager *NodeManagerFilterer) WatchNodeProposed(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeProposed) (event.Subscription, error)
WatchNodeProposed is a free log subscription operation binding the contract event 0xf9bad9f8a2dccc52fad61273a7fd673335b420319506c19b87df9ce7a19732da.
Solidity: event NodeProposed(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) WatchNodeRecoveryCompleted ¶
func (_NodeManager *NodeManagerFilterer) WatchNodeRecoveryCompleted(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeRecoveryCompleted) (event.Subscription, error)
WatchNodeRecoveryCompleted is a free log subscription operation binding the contract event 0x60aac8c36efdaabf125dc9ec2124bde8b3ceafe5c8b4fc8063fc4ac9017eb0be.
Solidity: event NodeRecoveryCompleted(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
func (*NodeManagerFilterer) WatchNodeRecoveryInitiated ¶
func (_NodeManager *NodeManagerFilterer) WatchNodeRecoveryInitiated(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeRecoveryInitiated) (event.Subscription, error)
WatchNodeRecoveryInitiated is a free log subscription operation binding the contract event 0x72779f66ea90e28bae76fbfe03eaef5ae01699976c7493f93186ab9560ccfaa4.
Solidity: event NodeRecoveryInitiated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)
type NodeManagerNodeActivated ¶
type NodeManagerNodeActivated struct { EnodeId string Ip string Port uint16 Raftport uint16 OrgId string Raw types.Log // Blockchain specific contextual infos }
NodeManagerNodeActivated represents a NodeActivated event raised by the NodeManager contract.
type NodeManagerNodeActivatedIterator ¶
type NodeManagerNodeActivatedIterator struct { Event *NodeManagerNodeActivated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodeManagerNodeActivatedIterator is returned from FilterNodeActivated and is used to iterate over the raw logs and unpacked data for NodeActivated events raised by the NodeManager contract.
func (*NodeManagerNodeActivatedIterator) Close ¶
func (it *NodeManagerNodeActivatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodeManagerNodeActivatedIterator) Error ¶
func (it *NodeManagerNodeActivatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodeManagerNodeActivatedIterator) Next ¶
func (it *NodeManagerNodeActivatedIterator) 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 NodeManagerNodeApproved ¶
type NodeManagerNodeApproved struct { EnodeId string Ip string Port uint16 Raftport uint16 OrgId string Raw types.Log // Blockchain specific contextual infos }
NodeManagerNodeApproved represents a NodeApproved event raised by the NodeManager contract.
type NodeManagerNodeApprovedIterator ¶
type NodeManagerNodeApprovedIterator struct { Event *NodeManagerNodeApproved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodeManagerNodeApprovedIterator is returned from FilterNodeApproved and is used to iterate over the raw logs and unpacked data for NodeApproved events raised by the NodeManager contract.
func (*NodeManagerNodeApprovedIterator) Close ¶
func (it *NodeManagerNodeApprovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodeManagerNodeApprovedIterator) Error ¶
func (it *NodeManagerNodeApprovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodeManagerNodeApprovedIterator) Next ¶
func (it *NodeManagerNodeApprovedIterator) 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 NodeManagerNodeBlacklisted ¶
type NodeManagerNodeBlacklisted struct { EnodeId string Ip string Port uint16 Raftport uint16 OrgId string Raw types.Log // Blockchain specific contextual infos }
NodeManagerNodeBlacklisted represents a NodeBlacklisted event raised by the NodeManager contract.
type NodeManagerNodeBlacklistedIterator ¶
type NodeManagerNodeBlacklistedIterator struct { Event *NodeManagerNodeBlacklisted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodeManagerNodeBlacklistedIterator is returned from FilterNodeBlacklisted and is used to iterate over the raw logs and unpacked data for NodeBlacklisted events raised by the NodeManager contract.
func (*NodeManagerNodeBlacklistedIterator) Close ¶
func (it *NodeManagerNodeBlacklistedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodeManagerNodeBlacklistedIterator) Error ¶
func (it *NodeManagerNodeBlacklistedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodeManagerNodeBlacklistedIterator) Next ¶
func (it *NodeManagerNodeBlacklistedIterator) 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 NodeManagerNodeDeactivated ¶
type NodeManagerNodeDeactivated struct { EnodeId string Ip string Port uint16 Raftport uint16 OrgId string Raw types.Log // Blockchain specific contextual infos }
NodeManagerNodeDeactivated represents a NodeDeactivated event raised by the NodeManager contract.
type NodeManagerNodeDeactivatedIterator ¶
type NodeManagerNodeDeactivatedIterator struct { Event *NodeManagerNodeDeactivated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodeManagerNodeDeactivatedIterator is returned from FilterNodeDeactivated and is used to iterate over the raw logs and unpacked data for NodeDeactivated events raised by the NodeManager contract.
func (*NodeManagerNodeDeactivatedIterator) Close ¶
func (it *NodeManagerNodeDeactivatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodeManagerNodeDeactivatedIterator) Error ¶
func (it *NodeManagerNodeDeactivatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodeManagerNodeDeactivatedIterator) Next ¶
func (it *NodeManagerNodeDeactivatedIterator) 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 NodeManagerNodeProposed ¶
type NodeManagerNodeProposed struct { EnodeId string Ip string Port uint16 Raftport uint16 OrgId string Raw types.Log // Blockchain specific contextual infos }
NodeManagerNodeProposed represents a NodeProposed event raised by the NodeManager contract.
type NodeManagerNodeProposedIterator ¶
type NodeManagerNodeProposedIterator struct { Event *NodeManagerNodeProposed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodeManagerNodeProposedIterator is returned from FilterNodeProposed and is used to iterate over the raw logs and unpacked data for NodeProposed events raised by the NodeManager contract.
func (*NodeManagerNodeProposedIterator) Close ¶
func (it *NodeManagerNodeProposedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodeManagerNodeProposedIterator) Error ¶
func (it *NodeManagerNodeProposedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodeManagerNodeProposedIterator) Next ¶
func (it *NodeManagerNodeProposedIterator) 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 NodeManagerNodeRecoveryCompleted ¶
type NodeManagerNodeRecoveryCompleted struct { EnodeId string Ip string Port uint16 Raftport uint16 OrgId string Raw types.Log // Blockchain specific contextual infos }
NodeManagerNodeRecoveryCompleted represents a NodeRecoveryCompleted event raised by the NodeManager contract.
type NodeManagerNodeRecoveryCompletedIterator ¶
type NodeManagerNodeRecoveryCompletedIterator struct { Event *NodeManagerNodeRecoveryCompleted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodeManagerNodeRecoveryCompletedIterator is returned from FilterNodeRecoveryCompleted and is used to iterate over the raw logs and unpacked data for NodeRecoveryCompleted events raised by the NodeManager contract.
func (*NodeManagerNodeRecoveryCompletedIterator) Close ¶
func (it *NodeManagerNodeRecoveryCompletedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodeManagerNodeRecoveryCompletedIterator) Error ¶
func (it *NodeManagerNodeRecoveryCompletedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodeManagerNodeRecoveryCompletedIterator) Next ¶
func (it *NodeManagerNodeRecoveryCompletedIterator) 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 NodeManagerNodeRecoveryInitiated ¶
type NodeManagerNodeRecoveryInitiated struct { EnodeId string Ip string Port uint16 Raftport uint16 OrgId string Raw types.Log // Blockchain specific contextual infos }
NodeManagerNodeRecoveryInitiated represents a NodeRecoveryInitiated event raised by the NodeManager contract.
type NodeManagerNodeRecoveryInitiatedIterator ¶
type NodeManagerNodeRecoveryInitiatedIterator struct { Event *NodeManagerNodeRecoveryInitiated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodeManagerNodeRecoveryInitiatedIterator is returned from FilterNodeRecoveryInitiated and is used to iterate over the raw logs and unpacked data for NodeRecoveryInitiated events raised by the NodeManager contract.
func (*NodeManagerNodeRecoveryInitiatedIterator) Close ¶
func (it *NodeManagerNodeRecoveryInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodeManagerNodeRecoveryInitiatedIterator) Error ¶
func (it *NodeManagerNodeRecoveryInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodeManagerNodeRecoveryInitiatedIterator) Next ¶
func (it *NodeManagerNodeRecoveryInitiatedIterator) 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 NodeManagerRaw ¶
type NodeManagerRaw struct {
Contract *NodeManager // Generic contract binding to access the raw methods on
}
NodeManagerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*NodeManagerRaw) Call ¶
func (_NodeManager *NodeManagerRaw) 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 (*NodeManagerRaw) Transact ¶
func (_NodeManager *NodeManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NodeManagerRaw) Transfer ¶
func (_NodeManager *NodeManagerRaw) 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 NodeManagerSession ¶
type NodeManagerSession struct { Contract *NodeManager // 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 }
NodeManagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*NodeManagerSession) AddAdminNode ¶
func (_NodeManager *NodeManagerSession) AddAdminNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
AddAdminNode is a paid mutator transaction binding the contract method 0x4530abe1.
Solidity: function addAdminNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()
func (*NodeManagerSession) AddNode ¶
func (_NodeManager *NodeManagerSession) AddNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
AddNode is a paid mutator transaction binding the contract method 0x549583df.
Solidity: function addNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()
func (*NodeManagerSession) AddOrgNode ¶
func (_NodeManager *NodeManagerSession) AddOrgNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
AddOrgNode is a paid mutator transaction binding the contract method 0x4c573311.
Solidity: function addOrgNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()
func (*NodeManagerSession) ApproveNode ¶
func (_NodeManager *NodeManagerSession) ApproveNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
ApproveNode is a paid mutator transaction binding the contract method 0xf82e08ac.
Solidity: function approveNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()
func (*NodeManagerSession) ConnectionAllowed ¶
func (_NodeManager *NodeManagerSession) ConnectionAllowed(_enodeId string, _ip string, _port uint16) (bool, error)
ConnectionAllowed is a free data retrieval call binding the contract method 0x45a59e5b.
Solidity: function connectionAllowed(string _enodeId, string _ip, uint16 _port) constant returns(bool)
func (*NodeManagerSession) GetNodeDetails ¶
func (_NodeManager *NodeManagerSession) GetNodeDetails(enodeId string) (struct { OrgId string EnodeId string Ip string Port uint16 Raftport uint16 NodeStatus *big.Int }, error)
GetNodeDetails is a free data retrieval call binding the contract method 0x3f0e0e47.
Solidity: function getNodeDetails(string enodeId) constant returns(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _nodeStatus)
func (*NodeManagerSession) GetNodeDetailsFromIndex ¶
func (_NodeManager *NodeManagerSession) GetNodeDetailsFromIndex(_nodeIndex *big.Int) (struct { OrgId string EnodeId string Ip string Port uint16 Raftport uint16 NodeStatus *big.Int }, error)
GetNodeDetailsFromIndex is a free data retrieval call binding the contract method 0x97c07a9b.
Solidity: function getNodeDetailsFromIndex(uint256 _nodeIndex) constant returns(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _nodeStatus)
func (*NodeManagerSession) GetNumberOfNodes ¶
func (_NodeManager *NodeManagerSession) GetNumberOfNodes() (*big.Int, error)
GetNumberOfNodes is a free data retrieval call binding the contract method 0xb81c806a.
Solidity: function getNumberOfNodes() constant returns(uint256)
func (*NodeManagerSession) UpdateNodeStatus ¶
func (_NodeManager *NodeManagerSession) UpdateNodeStatus(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string, _action *big.Int) (*types.Transaction, error)
UpdateNodeStatus is a paid mutator transaction binding the contract method 0x37d50b27.
Solidity: function updateNodeStatus(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId, uint256 _action) returns()
type NodeManagerTransactor ¶
type NodeManagerTransactor struct {
// contains filtered or unexported fields
}
NodeManagerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewNodeManagerTransactor ¶
func NewNodeManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*NodeManagerTransactor, error)
NewNodeManagerTransactor creates a new write-only instance of NodeManager, bound to a specific deployed contract.
func (*NodeManagerTransactor) AddAdminNode ¶
func (_NodeManager *NodeManagerTransactor) AddAdminNode(opts *bind.TransactOpts, _enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
AddAdminNode is a paid mutator transaction binding the contract method 0x4530abe1.
Solidity: function addAdminNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()
func (*NodeManagerTransactor) AddNode ¶
func (_NodeManager *NodeManagerTransactor) AddNode(opts *bind.TransactOpts, _enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
AddNode is a paid mutator transaction binding the contract method 0x549583df.
Solidity: function addNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()
func (*NodeManagerTransactor) AddOrgNode ¶
func (_NodeManager *NodeManagerTransactor) AddOrgNode(opts *bind.TransactOpts, _enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
AddOrgNode is a paid mutator transaction binding the contract method 0x4c573311.
Solidity: function addOrgNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()
func (*NodeManagerTransactor) ApproveNode ¶
func (_NodeManager *NodeManagerTransactor) ApproveNode(opts *bind.TransactOpts, _enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
ApproveNode is a paid mutator transaction binding the contract method 0xf82e08ac.
Solidity: function approveNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()
func (*NodeManagerTransactor) UpdateNodeStatus ¶
func (_NodeManager *NodeManagerTransactor) UpdateNodeStatus(opts *bind.TransactOpts, _enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string, _action *big.Int) (*types.Transaction, error)
UpdateNodeStatus is a paid mutator transaction binding the contract method 0x37d50b27.
Solidity: function updateNodeStatus(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId, uint256 _action) returns()
type NodeManagerTransactorRaw ¶
type NodeManagerTransactorRaw struct {
Contract *NodeManagerTransactor // Generic write-only contract binding to access the raw methods on
}
NodeManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*NodeManagerTransactorRaw) Transact ¶
func (_NodeManager *NodeManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NodeManagerTransactorRaw) Transfer ¶
func (_NodeManager *NodeManagerTransactorRaw) 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 NodeManagerTransactorSession ¶
type NodeManagerTransactorSession struct { Contract *NodeManagerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
NodeManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*NodeManagerTransactorSession) AddAdminNode ¶
func (_NodeManager *NodeManagerTransactorSession) AddAdminNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
AddAdminNode is a paid mutator transaction binding the contract method 0x4530abe1.
Solidity: function addAdminNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()
func (*NodeManagerTransactorSession) AddNode ¶
func (_NodeManager *NodeManagerTransactorSession) AddNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
AddNode is a paid mutator transaction binding the contract method 0x549583df.
Solidity: function addNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()
func (*NodeManagerTransactorSession) AddOrgNode ¶
func (_NodeManager *NodeManagerTransactorSession) AddOrgNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
AddOrgNode is a paid mutator transaction binding the contract method 0x4c573311.
Solidity: function addOrgNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()
func (*NodeManagerTransactorSession) ApproveNode ¶
func (_NodeManager *NodeManagerTransactorSession) ApproveNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)
ApproveNode is a paid mutator transaction binding the contract method 0xf82e08ac.
Solidity: function approveNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()
func (*NodeManagerTransactorSession) UpdateNodeStatus ¶
func (_NodeManager *NodeManagerTransactorSession) UpdateNodeStatus(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string, _action *big.Int) (*types.Transaction, error)
UpdateNodeStatus is a paid mutator transaction binding the contract method 0x37d50b27.
Solidity: function updateNodeStatus(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId, uint256 _action) returns()
type PermUpgr ¶
type PermUpgr struct { PermUpgrCaller // Read-only binding to the contract PermUpgrTransactor // Write-only binding to the contract PermUpgrFilterer // Log filterer for contract events }
PermUpgr is an auto generated Go binding around an Ethereum contract.
func DeployPermUpgr ¶
func DeployPermUpgr(auth *bind.TransactOpts, backend bind.ContractBackend, _guardian common.Address) (common.Address, *types.Transaction, *PermUpgr, error)
DeployPermUpgr deploys a new Ethereum contract, binding an instance of PermUpgr to it.
func NewPermUpgr ¶
NewPermUpgr creates a new instance of PermUpgr, bound to a specific deployed contract.
type PermUpgrCaller ¶
type PermUpgrCaller struct {
// contains filtered or unexported fields
}
PermUpgrCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPermUpgrCaller ¶
func NewPermUpgrCaller(address common.Address, caller bind.ContractCaller) (*PermUpgrCaller, error)
NewPermUpgrCaller creates a new read-only instance of PermUpgr, bound to a specific deployed contract.
func (*PermUpgrCaller) GetGuardian ¶
GetGuardian is a free data retrieval call binding the contract method 0xa75b87d2.
Solidity: function getGuardian() constant returns(address)
func (*PermUpgrCaller) GetPermImpl ¶
GetPermImpl is a free data retrieval call binding the contract method 0x0e32cf90.
Solidity: function getPermImpl() constant returns(address)
func (*PermUpgrCaller) GetPermInterface ¶
GetPermInterface is a free data retrieval call binding the contract method 0xe572515c.
Solidity: function getPermInterface() constant returns(address)
type PermUpgrCallerRaw ¶
type PermUpgrCallerRaw struct {
Contract *PermUpgrCaller // Generic read-only contract binding to access the raw methods on
}
PermUpgrCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PermUpgrCallerRaw) Call ¶
func (_PermUpgr *PermUpgrCallerRaw) 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 PermUpgrCallerSession ¶
type PermUpgrCallerSession struct { Contract *PermUpgrCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PermUpgrCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PermUpgrCallerSession) GetGuardian ¶
func (_PermUpgr *PermUpgrCallerSession) GetGuardian() (common.Address, error)
GetGuardian is a free data retrieval call binding the contract method 0xa75b87d2.
Solidity: function getGuardian() constant returns(address)
func (*PermUpgrCallerSession) GetPermImpl ¶
func (_PermUpgr *PermUpgrCallerSession) GetPermImpl() (common.Address, error)
GetPermImpl is a free data retrieval call binding the contract method 0x0e32cf90.
Solidity: function getPermImpl() constant returns(address)
func (*PermUpgrCallerSession) GetPermInterface ¶
func (_PermUpgr *PermUpgrCallerSession) GetPermInterface() (common.Address, error)
GetPermInterface is a free data retrieval call binding the contract method 0xe572515c.
Solidity: function getPermInterface() constant returns(address)
type PermUpgrFilterer ¶
type PermUpgrFilterer struct {
// contains filtered or unexported fields
}
PermUpgrFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPermUpgrFilterer ¶
func NewPermUpgrFilterer(address common.Address, filterer bind.ContractFilterer) (*PermUpgrFilterer, error)
NewPermUpgrFilterer creates a new log filterer instance of PermUpgr, bound to a specific deployed contract.
type PermUpgrRaw ¶
type PermUpgrRaw struct {
Contract *PermUpgr // Generic contract binding to access the raw methods on
}
PermUpgrRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PermUpgrRaw) Call ¶
func (_PermUpgr *PermUpgrRaw) 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 (*PermUpgrRaw) Transact ¶
func (_PermUpgr *PermUpgrRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PermUpgrRaw) Transfer ¶
func (_PermUpgr *PermUpgrRaw) 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 PermUpgrSession ¶
type PermUpgrSession struct { Contract *PermUpgr // 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 }
PermUpgrSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PermUpgrSession) ConfirmImplChange ¶
func (_PermUpgr *PermUpgrSession) ConfirmImplChange(_proposedImpl common.Address) (*types.Transaction, error)
ConfirmImplChange is a paid mutator transaction binding the contract method 0x22bcb39a.
Solidity: function confirmImplChange(address _proposedImpl) returns()
func (*PermUpgrSession) GetGuardian ¶
func (_PermUpgr *PermUpgrSession) GetGuardian() (common.Address, error)
GetGuardian is a free data retrieval call binding the contract method 0xa75b87d2.
Solidity: function getGuardian() constant returns(address)
func (*PermUpgrSession) GetPermImpl ¶
func (_PermUpgr *PermUpgrSession) GetPermImpl() (common.Address, error)
GetPermImpl is a free data retrieval call binding the contract method 0x0e32cf90.
Solidity: function getPermImpl() constant returns(address)
func (*PermUpgrSession) GetPermInterface ¶
func (_PermUpgr *PermUpgrSession) GetPermInterface() (common.Address, error)
GetPermInterface is a free data retrieval call binding the contract method 0xe572515c.
Solidity: function getPermInterface() constant returns(address)
func (*PermUpgrSession) Init ¶
func (_PermUpgr *PermUpgrSession) Init(_permInterface common.Address, _permImpl common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xf09a4016.
Solidity: function init(address _permInterface, address _permImpl) returns()
type PermUpgrTransactor ¶
type PermUpgrTransactor struct {
// contains filtered or unexported fields
}
PermUpgrTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPermUpgrTransactor ¶
func NewPermUpgrTransactor(address common.Address, transactor bind.ContractTransactor) (*PermUpgrTransactor, error)
NewPermUpgrTransactor creates a new write-only instance of PermUpgr, bound to a specific deployed contract.
func (*PermUpgrTransactor) ConfirmImplChange ¶
func (_PermUpgr *PermUpgrTransactor) ConfirmImplChange(opts *bind.TransactOpts, _proposedImpl common.Address) (*types.Transaction, error)
ConfirmImplChange is a paid mutator transaction binding the contract method 0x22bcb39a.
Solidity: function confirmImplChange(address _proposedImpl) returns()
func (*PermUpgrTransactor) Init ¶
func (_PermUpgr *PermUpgrTransactor) Init(opts *bind.TransactOpts, _permInterface common.Address, _permImpl common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xf09a4016.
Solidity: function init(address _permInterface, address _permImpl) returns()
type PermUpgrTransactorRaw ¶
type PermUpgrTransactorRaw struct {
Contract *PermUpgrTransactor // Generic write-only contract binding to access the raw methods on
}
PermUpgrTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PermUpgrTransactorRaw) Transact ¶
func (_PermUpgr *PermUpgrTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PermUpgrTransactorRaw) Transfer ¶
func (_PermUpgr *PermUpgrTransactorRaw) 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 PermUpgrTransactorSession ¶
type PermUpgrTransactorSession struct { Contract *PermUpgrTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PermUpgrTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PermUpgrTransactorSession) ConfirmImplChange ¶
func (_PermUpgr *PermUpgrTransactorSession) ConfirmImplChange(_proposedImpl common.Address) (*types.Transaction, error)
ConfirmImplChange is a paid mutator transaction binding the contract method 0x22bcb39a.
Solidity: function confirmImplChange(address _proposedImpl) returns()
func (*PermUpgrTransactorSession) Init ¶
func (_PermUpgr *PermUpgrTransactorSession) Init(_permInterface common.Address, _permImpl common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xf09a4016.
Solidity: function init(address _permInterface, address _permImpl) returns()