permission

package
v0.0.0-...-83a01c7 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const AcctManagerABI = "" /* 4863-byte string literal not displayed */

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

View Source
const NodeManagerABI = "" /* 3644-byte string literal not displayed */

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

View Source
const PermUpgrABI = "" /* 1126-byte string literal not displayed */

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

Variables

View Source
var AccountAccessModifiedTopicHash = "0x68e62a03aeb0a125c2fc869eed72f2fca473680987bdd680c093a534e17cc776"
View Source
var AccountAccessRevokedTopicHash = "0x6b5105396435a8a139aeed682dd573cd2a7e6279de77f8c11f95a30399212ad1"
View Source
var AccountStatusChangedTopicHash = "0x36b0ea38154dec5e98b6bf928b971a9db5e8cd4b6946350e9e43fb9848c70b25"
View Source
var AcctManagerBin = "" /* 29722-byte string literal not displayed */

AcctManagerBin is the compiled bytecode used for deploying new contracts.

View Source
var AcctManagerParsedABI, _ = abi.JSON(strings.NewReader(AcctManagerABI))
View Source
var NodeActivatedTopicHash = "0x49796be3ca168a59c8ae46c75a36a9bb3a84753d3e12a812f93ae010e783b14f"
View Source
var NodeApprovedTopicHash = "0x0413ce00d5de406d9939003416263a7530eaeb13f9d281c8baeba1601def960d"
View Source
var NodeBlacklistedTopicHash = "0x4714623279994517c446c8fb72c3fdaca26434da1e2490d3976fe0cd880cfa7a"
View Source
var NodeDeactivatedTopicHash = "0xc6c3720fe673e87bb26e06be713d514278aa94c3939cfe7c64b9bea4d486824a"
View Source
var NodeManagerBin = "" /* 18968-byte string literal not displayed */

NodeManagerBin is the compiled bytecode used for deploying new contracts.

View Source
var NodeManagerParsedABI, _ = abi.JSON(strings.NewReader(NodeManagerABI))
View Source
var NodeProposedTopicHash = "0xb1a7eec7dd1a516c3132d6d1f770758b19aa34c3a07c138caf662688b7e3556f"
View Source
var NodeRecoveryCompletedTopicHash = "0x787d7bc525e7c4658c64e3e456d974a1be21cc196e8162a4bf1337a12cb38dac"
View Source
var NodeRecoveryInitiatedTopicHash = "0xfd385c618a1e89d01fb9a21780846793e282e8bc0b60caf6ccb3e422d543fbfb"
View Source
var PermUpgrBin = "" /* 3536-byte string literal not displayed */

PermUpgrBin is the compiled bytecode used for deploying new contracts.

View Source
var PermUpgrParsedABI, _ = abi.JSON(strings.NewReader(PermUpgrABI))

Functions

This section is empty.

Types

type AcctManager

type AcctManager struct {
	AcctManagerCaller     // Read-only binding to the contract
	AcctManagerTransactor // Write-only binding to the contract
	AcctManagerFilterer   // Log filterer for contract events
}

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

func DeployAcctManager

func DeployAcctManager(auth *bind.TransactOpts, backend bind.ContractBackend, _permUpgradable common.Address) (common.Address, *types.Transaction, *AcctManager, error)

DeployAcctManager deploys a new Ethereum contract, binding an instance of AcctManager to it.

func NewAcctManager

func NewAcctManager(address common.Address, backend bind.ContractBackend) (*AcctManager, error)

NewAcctManager creates a new instance of AcctManager, bound to a specific deployed contract.

type AcctManagerAccountAccessModified

type AcctManagerAccountAccessModified struct {
	Account  common.Address
	OrgId    string
	RoleId   string
	OrgAdmin bool
	Status   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

AcctManagerAccountAccessModified represents a AccountAccessModified event raised by the AcctManager contract.

type AcctManagerAccountAccessModifiedIterator

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

AcctManagerAccountAccessModifiedIterator is returned from FilterAccountAccessModified and is used to iterate over the raw logs and unpacked data for AccountAccessModified events raised by the AcctManager contract.

func (*AcctManagerAccountAccessModifiedIterator) Close

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

func (*AcctManagerAccountAccessModifiedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AcctManagerAccountAccessModifiedIterator) 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 AcctManagerAccountAccessRevoked

type AcctManagerAccountAccessRevoked struct {
	Account  common.Address
	OrgId    string
	RoleId   string
	OrgAdmin bool
	Raw      types.Log // Blockchain specific contextual infos
}

AcctManagerAccountAccessRevoked represents a AccountAccessRevoked event raised by the AcctManager contract.

type AcctManagerAccountAccessRevokedIterator

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

AcctManagerAccountAccessRevokedIterator is returned from FilterAccountAccessRevoked and is used to iterate over the raw logs and unpacked data for AccountAccessRevoked events raised by the AcctManager contract.

func (*AcctManagerAccountAccessRevokedIterator) Close

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

func (*AcctManagerAccountAccessRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AcctManagerAccountAccessRevokedIterator) 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 AcctManagerAccountStatusChanged

type AcctManagerAccountStatusChanged struct {
	Account common.Address
	OrgId   string
	Status  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

AcctManagerAccountStatusChanged represents a AccountStatusChanged event raised by the AcctManager contract.

type AcctManagerAccountStatusChangedIterator

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

AcctManagerAccountStatusChangedIterator is returned from FilterAccountStatusChanged and is used to iterate over the raw logs and unpacked data for AccountStatusChanged events raised by the AcctManager contract.

func (*AcctManagerAccountStatusChangedIterator) Close

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

func (*AcctManagerAccountStatusChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AcctManagerAccountStatusChangedIterator) 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 AcctManagerCaller

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

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

func NewAcctManagerCaller

func NewAcctManagerCaller(address common.Address, caller bind.ContractCaller) (*AcctManagerCaller, error)

NewAcctManagerCaller creates a new read-only instance of AcctManager, bound to a specific deployed contract.

func (*AcctManagerCaller) CheckOrgAdmin

func (_AcctManager *AcctManagerCaller) CheckOrgAdmin(opts *bind.CallOpts, _account common.Address, _orgId string, _ultParent string) (bool, error)

CheckOrgAdmin is a free data retrieval call binding the contract method 0xe8b42bf4.

Solidity: function checkOrgAdmin(address _account, string _orgId, string _ultParent) constant returns(bool)

func (*AcctManagerCaller) GetAccountDetails

func (_AcctManager *AcctManagerCaller) GetAccountDetails(opts *bind.CallOpts, _account common.Address) (common.Address, string, string, *big.Int, bool, error)

GetAccountDetails is a free data retrieval call binding the contract method 0x2aceb534.

Solidity: function getAccountDetails(address _account) constant returns(address, string, string, uint256, bool)

func (*AcctManagerCaller) GetAccountDetailsFromIndex

func (_AcctManager *AcctManagerCaller) GetAccountDetailsFromIndex(opts *bind.CallOpts, _aIndex *big.Int) (common.Address, string, string, *big.Int, bool, error)

GetAccountDetailsFromIndex is a free data retrieval call binding the contract method 0xb2018568.

Solidity: function getAccountDetailsFromIndex(uint256 _aIndex) constant returns(address, string, string, uint256, bool)

func (*AcctManagerCaller) GetAccountRole

func (_AcctManager *AcctManagerCaller) GetAccountRole(opts *bind.CallOpts, _account common.Address) (string, error)

GetAccountRole is a free data retrieval call binding the contract method 0x81d66b23.

Solidity: function getAccountRole(address _account) constant returns(string)

func (*AcctManagerCaller) GetNumberOfAccounts

func (_AcctManager *AcctManagerCaller) GetNumberOfAccounts(opts *bind.CallOpts) (*big.Int, error)

GetNumberOfAccounts is a free data retrieval call binding the contract method 0x309e36ef.

Solidity: function getNumberOfAccounts() constant returns(uint256)

func (*AcctManagerCaller) OrgAdminExists

func (_AcctManager *AcctManagerCaller) OrgAdminExists(opts *bind.CallOpts, _orgId string) (bool, error)

OrgAdminExists is a free data retrieval call binding the contract method 0x950145cf.

Solidity: function orgAdminExists(string _orgId) constant returns(bool)

func (*AcctManagerCaller) ValidateAccount

func (_AcctManager *AcctManagerCaller) ValidateAccount(opts *bind.CallOpts, _account common.Address, _orgId string) (bool, error)

ValidateAccount is a free data retrieval call binding the contract method 0x6b568d76.

Solidity: function validateAccount(address _account, string _orgId) constant returns(bool)

type AcctManagerCallerRaw

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

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

func (*AcctManagerCallerRaw) Call

func (_AcctManager *AcctManagerCallerRaw) 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 AcctManagerCallerSession

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

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

func (*AcctManagerCallerSession) CheckOrgAdmin

func (_AcctManager *AcctManagerCallerSession) CheckOrgAdmin(_account common.Address, _orgId string, _ultParent string) (bool, error)

CheckOrgAdmin is a free data retrieval call binding the contract method 0xe8b42bf4.

Solidity: function checkOrgAdmin(address _account, string _orgId, string _ultParent) constant returns(bool)

func (*AcctManagerCallerSession) GetAccountDetails

func (_AcctManager *AcctManagerCallerSession) GetAccountDetails(_account common.Address) (common.Address, string, string, *big.Int, bool, error)

GetAccountDetails is a free data retrieval call binding the contract method 0x2aceb534.

Solidity: function getAccountDetails(address _account) constant returns(address, string, string, uint256, bool)

func (*AcctManagerCallerSession) GetAccountDetailsFromIndex

func (_AcctManager *AcctManagerCallerSession) GetAccountDetailsFromIndex(_aIndex *big.Int) (common.Address, string, string, *big.Int, bool, error)

GetAccountDetailsFromIndex is a free data retrieval call binding the contract method 0xb2018568.

Solidity: function getAccountDetailsFromIndex(uint256 _aIndex) constant returns(address, string, string, uint256, bool)

func (*AcctManagerCallerSession) GetAccountRole

func (_AcctManager *AcctManagerCallerSession) GetAccountRole(_account common.Address) (string, error)

GetAccountRole is a free data retrieval call binding the contract method 0x81d66b23.

Solidity: function getAccountRole(address _account) constant returns(string)

func (*AcctManagerCallerSession) GetNumberOfAccounts

func (_AcctManager *AcctManagerCallerSession) GetNumberOfAccounts() (*big.Int, error)

GetNumberOfAccounts is a free data retrieval call binding the contract method 0x309e36ef.

Solidity: function getNumberOfAccounts() constant returns(uint256)

func (*AcctManagerCallerSession) OrgAdminExists

func (_AcctManager *AcctManagerCallerSession) OrgAdminExists(_orgId string) (bool, error)

OrgAdminExists is a free data retrieval call binding the contract method 0x950145cf.

Solidity: function orgAdminExists(string _orgId) constant returns(bool)

func (*AcctManagerCallerSession) ValidateAccount

func (_AcctManager *AcctManagerCallerSession) ValidateAccount(_account common.Address, _orgId string) (bool, error)

ValidateAccount is a free data retrieval call binding the contract method 0x6b568d76.

Solidity: function validateAccount(address _account, string _orgId) constant returns(bool)

type AcctManagerFilterer

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

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

func NewAcctManagerFilterer

func NewAcctManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*AcctManagerFilterer, error)

NewAcctManagerFilterer creates a new log filterer instance of AcctManager, bound to a specific deployed contract.

func (*AcctManagerFilterer) FilterAccountAccessModified

func (_AcctManager *AcctManagerFilterer) FilterAccountAccessModified(opts *bind.FilterOpts) (*AcctManagerAccountAccessModifiedIterator, error)

FilterAccountAccessModified is a free log retrieval operation binding the contract event 0x68e62a03aeb0a125c2fc869eed72f2fca473680987bdd680c093a534e17cc776.

Solidity: event AccountAccessModified(address _account, string _orgId, string _roleId, bool _orgAdmin, uint256 _status)

func (*AcctManagerFilterer) FilterAccountAccessRevoked

func (_AcctManager *AcctManagerFilterer) FilterAccountAccessRevoked(opts *bind.FilterOpts) (*AcctManagerAccountAccessRevokedIterator, error)

FilterAccountAccessRevoked is a free log retrieval operation binding the contract event 0x6b5105396435a8a139aeed682dd573cd2a7e6279de77f8c11f95a30399212ad1.

Solidity: event AccountAccessRevoked(address _account, string _orgId, string _roleId, bool _orgAdmin)

func (*AcctManagerFilterer) FilterAccountStatusChanged

func (_AcctManager *AcctManagerFilterer) FilterAccountStatusChanged(opts *bind.FilterOpts) (*AcctManagerAccountStatusChangedIterator, error)

FilterAccountStatusChanged is a free log retrieval operation binding the contract event 0x36b0ea38154dec5e98b6bf928b971a9db5e8cd4b6946350e9e43fb9848c70b25.

Solidity: event AccountStatusChanged(address _account, string _orgId, uint256 _status)

func (*AcctManagerFilterer) ParseAccountAccessModified

func (_AcctManager *AcctManagerFilterer) ParseAccountAccessModified(log types.Log) (*AcctManagerAccountAccessModified, error)

ParseAccountAccessModified is a log parse operation binding the contract event 0x68e62a03aeb0a125c2fc869eed72f2fca473680987bdd680c093a534e17cc776.

Solidity: event AccountAccessModified(address _account, string _orgId, string _roleId, bool _orgAdmin, uint256 _status)

func (*AcctManagerFilterer) ParseAccountAccessRevoked

func (_AcctManager *AcctManagerFilterer) ParseAccountAccessRevoked(log types.Log) (*AcctManagerAccountAccessRevoked, error)

ParseAccountAccessRevoked is a log parse operation binding the contract event 0x6b5105396435a8a139aeed682dd573cd2a7e6279de77f8c11f95a30399212ad1.

Solidity: event AccountAccessRevoked(address _account, string _orgId, string _roleId, bool _orgAdmin)

func (*AcctManagerFilterer) ParseAccountStatusChanged

func (_AcctManager *AcctManagerFilterer) ParseAccountStatusChanged(log types.Log) (*AcctManagerAccountStatusChanged, error)

ParseAccountStatusChanged is a log parse operation binding the contract event 0x36b0ea38154dec5e98b6bf928b971a9db5e8cd4b6946350e9e43fb9848c70b25.

Solidity: event AccountStatusChanged(address _account, string _orgId, uint256 _status)

func (*AcctManagerFilterer) WatchAccountAccessModified

func (_AcctManager *AcctManagerFilterer) WatchAccountAccessModified(opts *bind.WatchOpts, sink chan<- *AcctManagerAccountAccessModified) (event.Subscription, error)

WatchAccountAccessModified is a free log subscription operation binding the contract event 0x68e62a03aeb0a125c2fc869eed72f2fca473680987bdd680c093a534e17cc776.

Solidity: event AccountAccessModified(address _account, string _orgId, string _roleId, bool _orgAdmin, uint256 _status)

func (*AcctManagerFilterer) WatchAccountAccessRevoked

func (_AcctManager *AcctManagerFilterer) WatchAccountAccessRevoked(opts *bind.WatchOpts, sink chan<- *AcctManagerAccountAccessRevoked) (event.Subscription, error)

WatchAccountAccessRevoked is a free log subscription operation binding the contract event 0x6b5105396435a8a139aeed682dd573cd2a7e6279de77f8c11f95a30399212ad1.

Solidity: event AccountAccessRevoked(address _account, string _orgId, string _roleId, bool _orgAdmin)

func (*AcctManagerFilterer) WatchAccountStatusChanged

func (_AcctManager *AcctManagerFilterer) WatchAccountStatusChanged(opts *bind.WatchOpts, sink chan<- *AcctManagerAccountStatusChanged) (event.Subscription, error)

WatchAccountStatusChanged is a free log subscription operation binding the contract event 0x36b0ea38154dec5e98b6bf928b971a9db5e8cd4b6946350e9e43fb9848c70b25.

Solidity: event AccountStatusChanged(address _account, string _orgId, uint256 _status)

type AcctManagerRaw

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

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

func (*AcctManagerRaw) Call

func (_AcctManager *AcctManagerRaw) 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 (*AcctManagerRaw) Transact

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

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

func (*AcctManagerRaw) Transfer

func (_AcctManager *AcctManagerRaw) 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 AcctManagerSession

type AcctManagerSession struct {
	Contract     *AcctManager      // 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
}

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

func (*AcctManagerSession) AddNewAdmin

func (_AcctManager *AcctManagerSession) AddNewAdmin(_orgId string, _account common.Address) (*types.Transaction, error)

AddNewAdmin is a paid mutator transaction binding the contract method 0xc214e5e5.

Solidity: function addNewAdmin(string _orgId, address _account) returns(bool voterUpdate)

func (*AcctManagerSession) AssignAccountRole

func (_AcctManager *AcctManagerSession) AssignAccountRole(_account common.Address, _orgId string, _roleId string, _adminRole bool) (*types.Transaction, error)

AssignAccountRole is a paid mutator transaction binding the contract method 0x143a5604.

Solidity: function assignAccountRole(address _account, string _orgId, string _roleId, bool _adminRole) returns()

func (*AcctManagerSession) AssignAdminRole

func (_AcctManager *AcctManagerSession) AssignAdminRole(_account common.Address, _orgId string, _roleId string, _status *big.Int) (*types.Transaction, error)

AssignAdminRole is a paid mutator transaction binding the contract method 0xe3483a9d.

Solidity: function assignAdminRole(address _account, string _orgId, string _roleId, uint256 _status) returns()

func (*AcctManagerSession) CheckOrgAdmin

func (_AcctManager *AcctManagerSession) CheckOrgAdmin(_account common.Address, _orgId string, _ultParent string) (bool, error)

CheckOrgAdmin is a free data retrieval call binding the contract method 0xe8b42bf4.

Solidity: function checkOrgAdmin(address _account, string _orgId, string _ultParent) constant returns(bool)

func (*AcctManagerSession) GetAccountDetails

func (_AcctManager *AcctManagerSession) GetAccountDetails(_account common.Address) (common.Address, string, string, *big.Int, bool, error)

GetAccountDetails is a free data retrieval call binding the contract method 0x2aceb534.

Solidity: function getAccountDetails(address _account) constant returns(address, string, string, uint256, bool)

func (*AcctManagerSession) GetAccountDetailsFromIndex

func (_AcctManager *AcctManagerSession) GetAccountDetailsFromIndex(_aIndex *big.Int) (common.Address, string, string, *big.Int, bool, error)

GetAccountDetailsFromIndex is a free data retrieval call binding the contract method 0xb2018568.

Solidity: function getAccountDetailsFromIndex(uint256 _aIndex) constant returns(address, string, string, uint256, bool)

func (*AcctManagerSession) GetAccountRole

func (_AcctManager *AcctManagerSession) GetAccountRole(_account common.Address) (string, error)

GetAccountRole is a free data retrieval call binding the contract method 0x81d66b23.

Solidity: function getAccountRole(address _account) constant returns(string)

func (*AcctManagerSession) GetNumberOfAccounts

func (_AcctManager *AcctManagerSession) GetNumberOfAccounts() (*big.Int, error)

GetNumberOfAccounts is a free data retrieval call binding the contract method 0x309e36ef.

Solidity: function getNumberOfAccounts() constant returns(uint256)

func (*AcctManagerSession) OrgAdminExists

func (_AcctManager *AcctManagerSession) OrgAdminExists(_orgId string) (bool, error)

OrgAdminExists is a free data retrieval call binding the contract method 0x950145cf.

Solidity: function orgAdminExists(string _orgId) constant returns(bool)

func (*AcctManagerSession) RemoveExistingAdmin

func (_AcctManager *AcctManagerSession) RemoveExistingAdmin(_orgId string) (*types.Transaction, error)

RemoveExistingAdmin is a paid mutator transaction binding the contract method 0x1d09dc93.

Solidity: function removeExistingAdmin(string _orgId) returns(bool voterUpdate, address account)

func (*AcctManagerSession) SetDefaults

func (_AcctManager *AcctManagerSession) SetDefaults(_nwAdminRole string, _oAdminRole string) (*types.Transaction, error)

SetDefaults is a paid mutator transaction binding the contract method 0xcef7f6af.

Solidity: function setDefaults(string _nwAdminRole, string _oAdminRole) returns()

func (*AcctManagerSession) UpdateAccountStatus

func (_AcctManager *AcctManagerSession) UpdateAccountStatus(_orgId string, _account common.Address, _action *big.Int) (*types.Transaction, error)

UpdateAccountStatus is a paid mutator transaction binding the contract method 0x84b7a84a.

Solidity: function updateAccountStatus(string _orgId, address _account, uint256 _action) returns()

func (*AcctManagerSession) ValidateAccount

func (_AcctManager *AcctManagerSession) ValidateAccount(_account common.Address, _orgId string) (bool, error)

ValidateAccount is a free data retrieval call binding the contract method 0x6b568d76.

Solidity: function validateAccount(address _account, string _orgId) constant returns(bool)

type AcctManagerTransactor

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

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

func NewAcctManagerTransactor

func NewAcctManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*AcctManagerTransactor, error)

NewAcctManagerTransactor creates a new write-only instance of AcctManager, bound to a specific deployed contract.

func (*AcctManagerTransactor) AddNewAdmin

func (_AcctManager *AcctManagerTransactor) AddNewAdmin(opts *bind.TransactOpts, _orgId string, _account common.Address) (*types.Transaction, error)

AddNewAdmin is a paid mutator transaction binding the contract method 0xc214e5e5.

Solidity: function addNewAdmin(string _orgId, address _account) returns(bool voterUpdate)

func (*AcctManagerTransactor) AssignAccountRole

func (_AcctManager *AcctManagerTransactor) AssignAccountRole(opts *bind.TransactOpts, _account common.Address, _orgId string, _roleId string, _adminRole bool) (*types.Transaction, error)

AssignAccountRole is a paid mutator transaction binding the contract method 0x143a5604.

Solidity: function assignAccountRole(address _account, string _orgId, string _roleId, bool _adminRole) returns()

func (*AcctManagerTransactor) AssignAdminRole

func (_AcctManager *AcctManagerTransactor) AssignAdminRole(opts *bind.TransactOpts, _account common.Address, _orgId string, _roleId string, _status *big.Int) (*types.Transaction, error)

AssignAdminRole is a paid mutator transaction binding the contract method 0xe3483a9d.

Solidity: function assignAdminRole(address _account, string _orgId, string _roleId, uint256 _status) returns()

func (*AcctManagerTransactor) RemoveExistingAdmin

func (_AcctManager *AcctManagerTransactor) RemoveExistingAdmin(opts *bind.TransactOpts, _orgId string) (*types.Transaction, error)

RemoveExistingAdmin is a paid mutator transaction binding the contract method 0x1d09dc93.

Solidity: function removeExistingAdmin(string _orgId) returns(bool voterUpdate, address account)

func (*AcctManagerTransactor) SetDefaults

func (_AcctManager *AcctManagerTransactor) SetDefaults(opts *bind.TransactOpts, _nwAdminRole string, _oAdminRole string) (*types.Transaction, error)

SetDefaults is a paid mutator transaction binding the contract method 0xcef7f6af.

Solidity: function setDefaults(string _nwAdminRole, string _oAdminRole) returns()

func (*AcctManagerTransactor) UpdateAccountStatus

func (_AcctManager *AcctManagerTransactor) UpdateAccountStatus(opts *bind.TransactOpts, _orgId string, _account common.Address, _action *big.Int) (*types.Transaction, error)

UpdateAccountStatus is a paid mutator transaction binding the contract method 0x84b7a84a.

Solidity: function updateAccountStatus(string _orgId, address _account, uint256 _action) returns()

type AcctManagerTransactorRaw

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

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

func (*AcctManagerTransactorRaw) Transact

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

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

func (*AcctManagerTransactorRaw) Transfer

func (_AcctManager *AcctManagerTransactorRaw) 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 AcctManagerTransactorSession

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

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

func (*AcctManagerTransactorSession) AddNewAdmin

func (_AcctManager *AcctManagerTransactorSession) AddNewAdmin(_orgId string, _account common.Address) (*types.Transaction, error)

AddNewAdmin is a paid mutator transaction binding the contract method 0xc214e5e5.

Solidity: function addNewAdmin(string _orgId, address _account) returns(bool voterUpdate)

func (*AcctManagerTransactorSession) AssignAccountRole

func (_AcctManager *AcctManagerTransactorSession) AssignAccountRole(_account common.Address, _orgId string, _roleId string, _adminRole bool) (*types.Transaction, error)

AssignAccountRole is a paid mutator transaction binding the contract method 0x143a5604.

Solidity: function assignAccountRole(address _account, string _orgId, string _roleId, bool _adminRole) returns()

func (*AcctManagerTransactorSession) AssignAdminRole

func (_AcctManager *AcctManagerTransactorSession) AssignAdminRole(_account common.Address, _orgId string, _roleId string, _status *big.Int) (*types.Transaction, error)

AssignAdminRole is a paid mutator transaction binding the contract method 0xe3483a9d.

Solidity: function assignAdminRole(address _account, string _orgId, string _roleId, uint256 _status) returns()

func (*AcctManagerTransactorSession) RemoveExistingAdmin

func (_AcctManager *AcctManagerTransactorSession) RemoveExistingAdmin(_orgId string) (*types.Transaction, error)

RemoveExistingAdmin is a paid mutator transaction binding the contract method 0x1d09dc93.

Solidity: function removeExistingAdmin(string _orgId) returns(bool voterUpdate, address account)

func (*AcctManagerTransactorSession) SetDefaults

func (_AcctManager *AcctManagerTransactorSession) SetDefaults(_nwAdminRole string, _oAdminRole string) (*types.Transaction, error)

SetDefaults is a paid mutator transaction binding the contract method 0xcef7f6af.

Solidity: function setDefaults(string _nwAdminRole, string _oAdminRole) returns()

func (*AcctManagerTransactorSession) UpdateAccountStatus

func (_AcctManager *AcctManagerTransactorSession) UpdateAccountStatus(_orgId string, _account common.Address, _action *big.Int) (*types.Transaction, error)

UpdateAccountStatus is a paid mutator transaction binding the contract method 0x84b7a84a.

Solidity: function updateAccountStatus(string _orgId, address _account, uint256 _action) returns()

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

func (_NodeManager *NodeManagerCaller) GetNodeDetails(opts *bind.CallOpts, enodeId string) (struct {
	OrgId      string
	EnodeId    string
	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, uint256 _nodeStatus)

func (*NodeManagerCaller) GetNodeDetailsFromIndex

func (_NodeManager *NodeManagerCaller) GetNodeDetailsFromIndex(opts *bind.CallOpts, _nodeIndex *big.Int) (struct {
	OrgId      string
	EnodeId    string
	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, uint256 _nodeStatus)

func (*NodeManagerCaller) GetNumberOfNodes

func (_NodeManager *NodeManagerCaller) GetNumberOfNodes(opts *bind.CallOpts) (*big.Int, error)

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

func (_NodeManager *NodeManagerCallerSession) GetNodeDetails(enodeId string) (struct {
	OrgId      string
	EnodeId    string
	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, uint256 _nodeStatus)

func (*NodeManagerCallerSession) GetNodeDetailsFromIndex

func (_NodeManager *NodeManagerCallerSession) GetNodeDetailsFromIndex(_nodeIndex *big.Int) (struct {
	OrgId      string
	EnodeId    string
	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, 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 0x49796be3ca168a59c8ae46c75a36a9bb3a84753d3e12a812f93ae010e783b14f.

Solidity: event NodeActivated(string _enodeId, 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 0x0413ce00d5de406d9939003416263a7530eaeb13f9d281c8baeba1601def960d.

Solidity: event NodeApproved(string _enodeId, 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 0x4714623279994517c446c8fb72c3fdaca26434da1e2490d3976fe0cd880cfa7a.

Solidity: event NodeBlacklisted(string _enodeId, 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 0xc6c3720fe673e87bb26e06be713d514278aa94c3939cfe7c64b9bea4d486824a.

Solidity: event NodeDeactivated(string _enodeId, 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 0xb1a7eec7dd1a516c3132d6d1f770758b19aa34c3a07c138caf662688b7e3556f.

Solidity: event NodeProposed(string _enodeId, 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 0x787d7bc525e7c4658c64e3e456d974a1be21cc196e8162a4bf1337a12cb38dac.

Solidity: event NodeRecoveryCompleted(string _enodeId, 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 0xfd385c618a1e89d01fb9a21780846793e282e8bc0b60caf6ccb3e422d543fbfb.

Solidity: event NodeRecoveryInitiated(string _enodeId, string _orgId)

func (*NodeManagerFilterer) ParseNodeActivated

func (_NodeManager *NodeManagerFilterer) ParseNodeActivated(log types.Log) (*NodeManagerNodeActivated, error)

ParseNodeActivated is a log parse operation binding the contract event 0x49796be3ca168a59c8ae46c75a36a9bb3a84753d3e12a812f93ae010e783b14f.

Solidity: event NodeActivated(string _enodeId, string _orgId)

func (*NodeManagerFilterer) ParseNodeApproved

func (_NodeManager *NodeManagerFilterer) ParseNodeApproved(log types.Log) (*NodeManagerNodeApproved, error)

ParseNodeApproved is a log parse operation binding the contract event 0x0413ce00d5de406d9939003416263a7530eaeb13f9d281c8baeba1601def960d.

Solidity: event NodeApproved(string _enodeId, string _orgId)

func (*NodeManagerFilterer) ParseNodeBlacklisted

func (_NodeManager *NodeManagerFilterer) ParseNodeBlacklisted(log types.Log) (*NodeManagerNodeBlacklisted, error)

ParseNodeBlacklisted is a log parse operation binding the contract event 0x4714623279994517c446c8fb72c3fdaca26434da1e2490d3976fe0cd880cfa7a.

Solidity: event NodeBlacklisted(string _enodeId, string _orgId)

func (*NodeManagerFilterer) ParseNodeDeactivated

func (_NodeManager *NodeManagerFilterer) ParseNodeDeactivated(log types.Log) (*NodeManagerNodeDeactivated, error)

ParseNodeDeactivated is a log parse operation binding the contract event 0xc6c3720fe673e87bb26e06be713d514278aa94c3939cfe7c64b9bea4d486824a.

Solidity: event NodeDeactivated(string _enodeId, string _orgId)

func (*NodeManagerFilterer) ParseNodeProposed

func (_NodeManager *NodeManagerFilterer) ParseNodeProposed(log types.Log) (*NodeManagerNodeProposed, error)

ParseNodeProposed is a log parse operation binding the contract event 0xb1a7eec7dd1a516c3132d6d1f770758b19aa34c3a07c138caf662688b7e3556f.

Solidity: event NodeProposed(string _enodeId, string _orgId)

func (*NodeManagerFilterer) ParseNodeRecoveryCompleted

func (_NodeManager *NodeManagerFilterer) ParseNodeRecoveryCompleted(log types.Log) (*NodeManagerNodeRecoveryCompleted, error)

ParseNodeRecoveryCompleted is a log parse operation binding the contract event 0x787d7bc525e7c4658c64e3e456d974a1be21cc196e8162a4bf1337a12cb38dac.

Solidity: event NodeRecoveryCompleted(string _enodeId, string _orgId)

func (*NodeManagerFilterer) ParseNodeRecoveryInitiated

func (_NodeManager *NodeManagerFilterer) ParseNodeRecoveryInitiated(log types.Log) (*NodeManagerNodeRecoveryInitiated, error)

ParseNodeRecoveryInitiated is a log parse operation binding the contract event 0xfd385c618a1e89d01fb9a21780846793e282e8bc0b60caf6ccb3e422d543fbfb.

Solidity: event NodeRecoveryInitiated(string _enodeId, 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 0x49796be3ca168a59c8ae46c75a36a9bb3a84753d3e12a812f93ae010e783b14f.

Solidity: event NodeActivated(string _enodeId, 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 0x0413ce00d5de406d9939003416263a7530eaeb13f9d281c8baeba1601def960d.

Solidity: event NodeApproved(string _enodeId, 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 0x4714623279994517c446c8fb72c3fdaca26434da1e2490d3976fe0cd880cfa7a.

Solidity: event NodeBlacklisted(string _enodeId, 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 0xc6c3720fe673e87bb26e06be713d514278aa94c3939cfe7c64b9bea4d486824a.

Solidity: event NodeDeactivated(string _enodeId, 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 0xb1a7eec7dd1a516c3132d6d1f770758b19aa34c3a07c138caf662688b7e3556f.

Solidity: event NodeProposed(string _enodeId, 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 0x787d7bc525e7c4658c64e3e456d974a1be21cc196e8162a4bf1337a12cb38dac.

Solidity: event NodeRecoveryCompleted(string _enodeId, 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 0xfd385c618a1e89d01fb9a21780846793e282e8bc0b60caf6ccb3e422d543fbfb.

Solidity: event NodeRecoveryInitiated(string _enodeId, string _orgId)

type NodeManagerNodeActivated

type NodeManagerNodeActivated struct {
	EnodeId string
	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

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

func (*NodeManagerNodeActivatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NodeManagerNodeActivatedIterator) 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 NodeManagerNodeApproved

type NodeManagerNodeApproved struct {
	EnodeId string
	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

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

func (*NodeManagerNodeApprovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NodeManagerNodeApprovedIterator) 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 NodeManagerNodeBlacklisted

type NodeManagerNodeBlacklisted struct {
	EnodeId string
	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

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

func (*NodeManagerNodeBlacklistedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NodeManagerNodeBlacklistedIterator) 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 NodeManagerNodeDeactivated

type NodeManagerNodeDeactivated struct {
	EnodeId string
	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

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

func (*NodeManagerNodeDeactivatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NodeManagerNodeDeactivatedIterator) 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 NodeManagerNodeProposed

type NodeManagerNodeProposed struct {
	EnodeId string
	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

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

func (*NodeManagerNodeProposedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NodeManagerNodeProposedIterator) 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 NodeManagerNodeRecoveryCompleted

type NodeManagerNodeRecoveryCompleted struct {
	EnodeId string
	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

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

func (*NodeManagerNodeRecoveryCompletedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NodeManagerNodeRecoveryCompletedIterator) 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 NodeManagerNodeRecoveryInitiated

type NodeManagerNodeRecoveryInitiated struct {
	EnodeId string
	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

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

func (*NodeManagerNodeRecoveryInitiatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NodeManagerNodeRecoveryInitiatedIterator) 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 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, _orgId string) (*types.Transaction, error)

AddAdminNode is a paid mutator transaction binding the contract method 0xe3b09d84.

Solidity: function addAdminNode(string _enodeId, string _orgId) returns()

func (*NodeManagerSession) AddNode

func (_NodeManager *NodeManagerSession) AddNode(_enodeId string, _orgId string) (*types.Transaction, error)

AddNode is a paid mutator transaction binding the contract method 0xa97a4406.

Solidity: function addNode(string _enodeId, string _orgId) returns()

func (*NodeManagerSession) AddOrgNode

func (_NodeManager *NodeManagerSession) AddOrgNode(_enodeId string, _orgId string) (*types.Transaction, error)

AddOrgNode is a paid mutator transaction binding the contract method 0x3f5e1a45.

Solidity: function addOrgNode(string _enodeId, string _orgId) returns()

func (*NodeManagerSession) ApproveNode

func (_NodeManager *NodeManagerSession) ApproveNode(_enodeId string, _orgId string) (*types.Transaction, error)

ApproveNode is a paid mutator transaction binding the contract method 0x86bc3652.

Solidity: function approveNode(string _enodeId, string _orgId) returns()

func (*NodeManagerSession) GetNodeDetails

func (_NodeManager *NodeManagerSession) GetNodeDetails(enodeId string) (struct {
	OrgId      string
	EnodeId    string
	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, uint256 _nodeStatus)

func (*NodeManagerSession) GetNodeDetailsFromIndex

func (_NodeManager *NodeManagerSession) GetNodeDetailsFromIndex(_nodeIndex *big.Int) (struct {
	OrgId      string
	EnodeId    string
	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, 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, _orgId string, _action *big.Int) (*types.Transaction, error)

UpdateNodeStatus is a paid mutator transaction binding the contract method 0x0cc50146.

Solidity: function updateNodeStatus(string _enodeId, 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, _orgId string) (*types.Transaction, error)

AddAdminNode is a paid mutator transaction binding the contract method 0xe3b09d84.

Solidity: function addAdminNode(string _enodeId, string _orgId) returns()

func (*NodeManagerTransactor) AddNode

func (_NodeManager *NodeManagerTransactor) AddNode(opts *bind.TransactOpts, _enodeId string, _orgId string) (*types.Transaction, error)

AddNode is a paid mutator transaction binding the contract method 0xa97a4406.

Solidity: function addNode(string _enodeId, string _orgId) returns()

func (*NodeManagerTransactor) AddOrgNode

func (_NodeManager *NodeManagerTransactor) AddOrgNode(opts *bind.TransactOpts, _enodeId string, _orgId string) (*types.Transaction, error)

AddOrgNode is a paid mutator transaction binding the contract method 0x3f5e1a45.

Solidity: function addOrgNode(string _enodeId, string _orgId) returns()

func (*NodeManagerTransactor) ApproveNode

func (_NodeManager *NodeManagerTransactor) ApproveNode(opts *bind.TransactOpts, _enodeId string, _orgId string) (*types.Transaction, error)

ApproveNode is a paid mutator transaction binding the contract method 0x86bc3652.

Solidity: function approveNode(string _enodeId, string _orgId) returns()

func (*NodeManagerTransactor) UpdateNodeStatus

func (_NodeManager *NodeManagerTransactor) UpdateNodeStatus(opts *bind.TransactOpts, _enodeId string, _orgId string, _action *big.Int) (*types.Transaction, error)

UpdateNodeStatus is a paid mutator transaction binding the contract method 0x0cc50146.

Solidity: function updateNodeStatus(string _enodeId, 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, _orgId string) (*types.Transaction, error)

AddAdminNode is a paid mutator transaction binding the contract method 0xe3b09d84.

Solidity: function addAdminNode(string _enodeId, string _orgId) returns()

func (*NodeManagerTransactorSession) AddNode

func (_NodeManager *NodeManagerTransactorSession) AddNode(_enodeId string, _orgId string) (*types.Transaction, error)

AddNode is a paid mutator transaction binding the contract method 0xa97a4406.

Solidity: function addNode(string _enodeId, string _orgId) returns()

func (*NodeManagerTransactorSession) AddOrgNode

func (_NodeManager *NodeManagerTransactorSession) AddOrgNode(_enodeId string, _orgId string) (*types.Transaction, error)

AddOrgNode is a paid mutator transaction binding the contract method 0x3f5e1a45.

Solidity: function addOrgNode(string _enodeId, string _orgId) returns()

func (*NodeManagerTransactorSession) ApproveNode

func (_NodeManager *NodeManagerTransactorSession) ApproveNode(_enodeId string, _orgId string) (*types.Transaction, error)

ApproveNode is a paid mutator transaction binding the contract method 0x86bc3652.

Solidity: function approveNode(string _enodeId, string _orgId) returns()

func (*NodeManagerTransactorSession) UpdateNodeStatus

func (_NodeManager *NodeManagerTransactorSession) UpdateNodeStatus(_enodeId string, _orgId string, _action *big.Int) (*types.Transaction, error)

UpdateNodeStatus is a paid mutator transaction binding the contract method 0x0cc50146.

Solidity: function updateNodeStatus(string _enodeId, 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

func NewPermUpgr(address common.Address, backend bind.ContractBackend) (*PermUpgr, error)

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

func (_PermUpgr *PermUpgrCaller) GetGuardian(opts *bind.CallOpts) (common.Address, error)

GetGuardian is a free data retrieval call binding the contract method 0xa75b87d2.

Solidity: function getGuardian() constant returns(address)

func (*PermUpgrCaller) GetPermImpl

func (_PermUpgr *PermUpgrCaller) GetPermImpl(opts *bind.CallOpts) (common.Address, error)

GetPermImpl is a free data retrieval call binding the contract method 0x0e32cf90.

Solidity: function getPermImpl() constant returns(address)

func (*PermUpgrCaller) GetPermInterface

func (_PermUpgr *PermUpgrCaller) GetPermInterface(opts *bind.CallOpts) (common.Address, error)

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

Jump to

Keyboard shortcuts

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