permission

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2019 License: GPL-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 AcctManagerBin = `` /* 37250-byte string literal not displayed */

AcctManagerBin is the compiled bytecode used for deploying new contracts.

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

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

View Source
const NodeManagerBin = `` /* 25474-byte string literal not displayed */

NodeManagerBin is the compiled bytecode used for deploying new contracts.

View Source
const OrgManagerABI = "" /* 4470-byte string literal not displayed */

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

View Source
const OrgManagerBin = `` /* 33128-byte string literal not displayed */

OrgManagerBin is the compiled bytecode used for deploying new contracts.

View Source
const PermImplABI = "" /* 8844-byte string literal not displayed */

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

View Source
const PermImplBin = `` /* 82584-byte string literal not displayed */

PermImplBin is the compiled bytecode used for deploying new contracts.

View Source
const PermInterfaceABI = "" /* 7451-byte string literal not displayed */

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

View Source
const PermInterfaceBin = `` /* 28710-byte string literal not displayed */

PermInterfaceBin is the compiled bytecode used for deploying new contracts.

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

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

View Source
const PermUpgrBin = `` /* 5722-byte string literal not displayed */

PermUpgrBin is the compiled bytecode used for deploying new contracts.

View Source
const RoleManagerABI = "" /* 3350-byte string literal not displayed */

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

View Source
const RoleManagerBin = `` /* 21170-byte string literal not displayed */

RoleManagerBin is the compiled bytecode used for deploying new contracts.

View Source
const VoterManagerABI = "" /* 2336-byte string literal not displayed */

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

View Source
const VoterManagerBin = `` /* 21138-byte string literal not displayed */

VoterManagerBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

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(_account address, _orgId string, _ultParent string) 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(_account address) 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(_aIndex uint256) 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(_account address) 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(_orgId string) 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(_account address, _orgId string) 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(_account address, _orgId string, _ultParent string) 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(_account address) 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(_aIndex uint256) 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(_account address) 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(_orgId string) 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(_account address, _orgId string) 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: e AccountAccessModified(_account address, _orgId string, _roleId string, _orgAdmin bool, _status uint256)

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: e AccountAccessRevoked(_account address, _orgId string, _roleId string, _orgAdmin bool)

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: e AccountStatusChanged(_account address, _orgId string, _status uint256)

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: e AccountAccessModified(_account address, _orgId string, _roleId string, _orgAdmin bool, _status uint256)

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: e AccountAccessRevoked(_account address, _orgId string, _roleId string, _orgAdmin bool)

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: e AccountStatusChanged(_account address, _orgId string, _status uint256)

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(_orgId string, _account address) returns(voterUpdate bool)

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(_account address, _orgId string, _roleId string, _adminRole bool) 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(_account address, _orgId string, _roleId string, _status uint256) 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(_account address, _orgId string, _ultParent string) 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(_account address) 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(_aIndex uint256) 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(_account address) 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(_orgId string) 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(_orgId string) returns(voterUpdate bool, account address)

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(_nwAdminRole string, _oAdminRole string) 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(_orgId string, _account address, _action uint256) 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(_account address, _orgId string) 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(_orgId string, _account address) returns(voterUpdate bool)

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(_account address, _orgId string, _roleId string, _adminRole bool) 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(_account address, _orgId string, _roleId string, _status uint256) 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(_orgId string) returns(voterUpdate bool, account address)

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(_nwAdminRole string, _oAdminRole string) 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(_orgId string, _account address, _action uint256) 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(_orgId string, _account address) returns(voterUpdate bool)

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(_account address, _orgId string, _roleId string, _adminRole bool) 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(_account address, _orgId string, _roleId string, _status uint256) 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(_orgId string) returns(voterUpdate bool, account address)

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(_nwAdminRole string, _oAdminRole string) 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(_orgId string, _account address, _action uint256) 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(enodeId string) constant returns(_orgId string, _enodeId string, _nodeStatus uint256)

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(_nodeIndex uint256) constant returns(_orgId string, _enodeId string, _nodeStatus uint256)

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(enodeId string) constant returns(_orgId string, _enodeId string, _nodeStatus uint256)

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(_nodeIndex uint256) constant returns(_orgId string, _enodeId string, _nodeStatus uint256)

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: e NodeActivated(_enodeId string, _orgId string)

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: e NodeApproved(_enodeId string, _orgId string)

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: e NodeBlacklisted(_enodeId string, _orgId string)

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: e NodeDeactivated(_enodeId string, _orgId string)

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: e NodeProposed(_enodeId string, _orgId string)

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: e NodeRecoveryCompleted(_enodeId string, _orgId string)

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: e NodeRecoveryInitiated(_enodeId string, _orgId string)

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: e NodeActivated(_enodeId string, _orgId string)

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: e NodeApproved(_enodeId string, _orgId string)

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: e NodeBlacklisted(_enodeId string, _orgId string)

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: e NodeDeactivated(_enodeId string, _orgId string)

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: e NodeProposed(_enodeId string, _orgId string)

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: e NodeRecoveryCompleted(_enodeId string, _orgId string)

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: e NodeRecoveryInitiated(_enodeId string, _orgId string)

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(_enodeId string, _orgId string) 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(_enodeId string, _orgId string) 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(_enodeId string, _orgId string) 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(_enodeId string, _orgId string) 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(enodeId string) constant returns(_orgId string, _enodeId string, _nodeStatus uint256)

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(_nodeIndex uint256) constant returns(_orgId string, _enodeId string, _nodeStatus uint256)

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(_enodeId string, _orgId string, _action uint256) 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(_enodeId string, _orgId string) 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(_enodeId string, _orgId string) 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(_enodeId string, _orgId string) 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(_enodeId string, _orgId string) 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(_enodeId string, _orgId string, _action uint256) 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(_enodeId string, _orgId string) 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(_enodeId string, _orgId string) 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(_enodeId string, _orgId string) 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(_enodeId string, _orgId string) 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(_enodeId string, _orgId string, _action uint256) returns()

type OrgManager

type OrgManager struct {
	OrgManagerCaller     // Read-only binding to the contract
	OrgManagerTransactor // Write-only binding to the contract
	OrgManagerFilterer   // Log filterer for contract events
}

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

func DeployOrgManager

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

DeployOrgManager deploys a new Ethereum contract, binding an instance of OrgManager to it.

func NewOrgManager

func NewOrgManager(address common.Address, backend bind.ContractBackend) (*OrgManager, error)

NewOrgManager creates a new instance of OrgManager, bound to a specific deployed contract.

type OrgManagerCaller

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

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

func NewOrgManagerCaller

func NewOrgManagerCaller(address common.Address, caller bind.ContractCaller) (*OrgManagerCaller, error)

NewOrgManagerCaller creates a new read-only instance of OrgManager, bound to a specific deployed contract.

func (*OrgManagerCaller) CheckOrgExists

func (_OrgManager *OrgManagerCaller) CheckOrgExists(opts *bind.CallOpts, _orgId string) (bool, error)

CheckOrgExists is a free data retrieval call binding the contract method 0xffe40d1d.

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

func (*OrgManagerCaller) CheckOrgStatus

func (_OrgManager *OrgManagerCaller) CheckOrgStatus(opts *bind.CallOpts, _orgId string, _orgStatus *big.Int) (bool, error)

CheckOrgStatus is a free data retrieval call binding the contract method 0x8c8642df.

Solidity: function checkOrgStatus(_orgId string, _orgStatus uint256) constant returns(bool)

func (*OrgManagerCaller) GetNumberOfOrgs

func (_OrgManager *OrgManagerCaller) GetNumberOfOrgs(opts *bind.CallOpts) (*big.Int, error)

GetNumberOfOrgs is a free data retrieval call binding the contract method 0x7755ebdd.

Solidity: function getNumberOfOrgs() constant returns(uint256)

func (*OrgManagerCaller) GetOrgIndex

func (_OrgManager *OrgManagerCaller) GetOrgIndex(opts *bind.CallOpts, _orgId string) (*big.Int, error)

GetOrgIndex is a free data retrieval call binding the contract method 0x320d2c39.

Solidity: function _getOrgIndex(_orgId string) constant returns(uint256)

func (*OrgManagerCaller) GetOrgInfo

func (_OrgManager *OrgManagerCaller) GetOrgInfo(opts *bind.CallOpts, _orgIndex *big.Int) (string, string, string, *big.Int, *big.Int, error)

GetOrgInfo is a free data retrieval call binding the contract method 0x5c4f32ee.

Solidity: function getOrgInfo(_orgIndex uint256) constant returns(string, string, string, uint256, uint256)

func (*OrgManagerCaller) GetUltimateParent

func (_OrgManager *OrgManagerCaller) GetUltimateParent(opts *bind.CallOpts, _orgId string) (string, error)

GetUltimateParent is a free data retrieval call binding the contract method 0x177c8d8a.

Solidity: function getUltimateParent(_orgId string) constant returns(string)

type OrgManagerCallerRaw

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

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

func (*OrgManagerCallerRaw) Call

func (_OrgManager *OrgManagerCallerRaw) 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 OrgManagerCallerSession

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

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

func (*OrgManagerCallerSession) CheckOrgExists

func (_OrgManager *OrgManagerCallerSession) CheckOrgExists(_orgId string) (bool, error)

CheckOrgExists is a free data retrieval call binding the contract method 0xffe40d1d.

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

func (*OrgManagerCallerSession) CheckOrgStatus

func (_OrgManager *OrgManagerCallerSession) CheckOrgStatus(_orgId string, _orgStatus *big.Int) (bool, error)

CheckOrgStatus is a free data retrieval call binding the contract method 0x8c8642df.

Solidity: function checkOrgStatus(_orgId string, _orgStatus uint256) constant returns(bool)

func (*OrgManagerCallerSession) GetNumberOfOrgs

func (_OrgManager *OrgManagerCallerSession) GetNumberOfOrgs() (*big.Int, error)

GetNumberOfOrgs is a free data retrieval call binding the contract method 0x7755ebdd.

Solidity: function getNumberOfOrgs() constant returns(uint256)

func (*OrgManagerCallerSession) GetOrgIndex

func (_OrgManager *OrgManagerCallerSession) GetOrgIndex(_orgId string) (*big.Int, error)

GetOrgIndex is a free data retrieval call binding the contract method 0x320d2c39.

Solidity: function _getOrgIndex(_orgId string) constant returns(uint256)

func (*OrgManagerCallerSession) GetOrgInfo

func (_OrgManager *OrgManagerCallerSession) GetOrgInfo(_orgIndex *big.Int) (string, string, string, *big.Int, *big.Int, error)

GetOrgInfo is a free data retrieval call binding the contract method 0x5c4f32ee.

Solidity: function getOrgInfo(_orgIndex uint256) constant returns(string, string, string, uint256, uint256)

func (*OrgManagerCallerSession) GetUltimateParent

func (_OrgManager *OrgManagerCallerSession) GetUltimateParent(_orgId string) (string, error)

GetUltimateParent is a free data retrieval call binding the contract method 0x177c8d8a.

Solidity: function getUltimateParent(_orgId string) constant returns(string)

type OrgManagerFilterer

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

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

func NewOrgManagerFilterer

func NewOrgManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*OrgManagerFilterer, error)

NewOrgManagerFilterer creates a new log filterer instance of OrgManager, bound to a specific deployed contract.

func (*OrgManagerFilterer) FilterOrgApproved

func (_OrgManager *OrgManagerFilterer) FilterOrgApproved(opts *bind.FilterOpts) (*OrgManagerOrgApprovedIterator, error)

FilterOrgApproved is a free log retrieval operation binding the contract event 0xd705723a50859c9cc1d3953e10b8b9478820e7a62927ad3215897ed87b20591c.

Solidity: e OrgApproved(_orgId string, _porgId string, _ultParent string, _level uint256, _status uint256)

func (*OrgManagerFilterer) FilterOrgPendingApproval

func (_OrgManager *OrgManagerFilterer) FilterOrgPendingApproval(opts *bind.FilterOpts) (*OrgManagerOrgPendingApprovalIterator, error)

FilterOrgPendingApproval is a free log retrieval operation binding the contract event 0x0e8b7be64e0c730234ba2cd252b227fb481d7a247ba806d1941144c535bf054b.

Solidity: e OrgPendingApproval(_orgId string, _porgId string, _ultParent string, _level uint256, _status uint256)

func (*OrgManagerFilterer) FilterOrgSuspended

func (_OrgManager *OrgManagerFilterer) FilterOrgSuspended(opts *bind.FilterOpts) (*OrgManagerOrgSuspendedIterator, error)

FilterOrgSuspended is a free log retrieval operation binding the contract event 0x73ccf8d6c8385bf5347269bd59712da33183c1a5e1702494bcdb87d0f4674d96.

Solidity: e OrgSuspended(_orgId string, _porgId string, _ultParent string, _level uint256)

func (*OrgManagerFilterer) FilterOrgSuspensionRevoked

func (_OrgManager *OrgManagerFilterer) FilterOrgSuspensionRevoked(opts *bind.FilterOpts) (*OrgManagerOrgSuspensionRevokedIterator, error)

FilterOrgSuspensionRevoked is a free log retrieval operation binding the contract event 0x882f030c609566cd82918a97d457fd48f9cfcefd11282e2654cde3f94579c15f.

Solidity: e OrgSuspensionRevoked(_orgId string, _porgId string, _ultParent string, _level uint256)

func (*OrgManagerFilterer) WatchOrgApproved

func (_OrgManager *OrgManagerFilterer) WatchOrgApproved(opts *bind.WatchOpts, sink chan<- *OrgManagerOrgApproved) (event.Subscription, error)

WatchOrgApproved is a free log subscription operation binding the contract event 0xd705723a50859c9cc1d3953e10b8b9478820e7a62927ad3215897ed87b20591c.

Solidity: e OrgApproved(_orgId string, _porgId string, _ultParent string, _level uint256, _status uint256)

func (*OrgManagerFilterer) WatchOrgPendingApproval

func (_OrgManager *OrgManagerFilterer) WatchOrgPendingApproval(opts *bind.WatchOpts, sink chan<- *OrgManagerOrgPendingApproval) (event.Subscription, error)

WatchOrgPendingApproval is a free log subscription operation binding the contract event 0x0e8b7be64e0c730234ba2cd252b227fb481d7a247ba806d1941144c535bf054b.

Solidity: e OrgPendingApproval(_orgId string, _porgId string, _ultParent string, _level uint256, _status uint256)

func (*OrgManagerFilterer) WatchOrgSuspended

func (_OrgManager *OrgManagerFilterer) WatchOrgSuspended(opts *bind.WatchOpts, sink chan<- *OrgManagerOrgSuspended) (event.Subscription, error)

WatchOrgSuspended is a free log subscription operation binding the contract event 0x73ccf8d6c8385bf5347269bd59712da33183c1a5e1702494bcdb87d0f4674d96.

Solidity: e OrgSuspended(_orgId string, _porgId string, _ultParent string, _level uint256)

func (*OrgManagerFilterer) WatchOrgSuspensionRevoked

func (_OrgManager *OrgManagerFilterer) WatchOrgSuspensionRevoked(opts *bind.WatchOpts, sink chan<- *OrgManagerOrgSuspensionRevoked) (event.Subscription, error)

WatchOrgSuspensionRevoked is a free log subscription operation binding the contract event 0x882f030c609566cd82918a97d457fd48f9cfcefd11282e2654cde3f94579c15f.

Solidity: e OrgSuspensionRevoked(_orgId string, _porgId string, _ultParent string, _level uint256)

type OrgManagerOrgApproved

type OrgManagerOrgApproved struct {
	OrgId     string
	PorgId    string
	UltParent string
	Level     *big.Int
	Status    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

OrgManagerOrgApproved represents a OrgApproved event raised by the OrgManager contract.

type OrgManagerOrgApprovedIterator

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

OrgManagerOrgApprovedIterator is returned from FilterOrgApproved and is used to iterate over the raw logs and unpacked data for OrgApproved events raised by the OrgManager contract.

func (*OrgManagerOrgApprovedIterator) Close

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

func (*OrgManagerOrgApprovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OrgManagerOrgApprovedIterator) 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 OrgManagerOrgPendingApproval

type OrgManagerOrgPendingApproval struct {
	OrgId     string
	PorgId    string
	UltParent string
	Level     *big.Int
	Status    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

OrgManagerOrgPendingApproval represents a OrgPendingApproval event raised by the OrgManager contract.

type OrgManagerOrgPendingApprovalIterator

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

OrgManagerOrgPendingApprovalIterator is returned from FilterOrgPendingApproval and is used to iterate over the raw logs and unpacked data for OrgPendingApproval events raised by the OrgManager contract.

func (*OrgManagerOrgPendingApprovalIterator) Close

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

func (*OrgManagerOrgPendingApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OrgManagerOrgPendingApprovalIterator) 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 OrgManagerOrgSuspended

type OrgManagerOrgSuspended struct {
	OrgId     string
	PorgId    string
	UltParent string
	Level     *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

OrgManagerOrgSuspended represents a OrgSuspended event raised by the OrgManager contract.

type OrgManagerOrgSuspendedIterator

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

OrgManagerOrgSuspendedIterator is returned from FilterOrgSuspended and is used to iterate over the raw logs and unpacked data for OrgSuspended events raised by the OrgManager contract.

func (*OrgManagerOrgSuspendedIterator) Close

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

func (*OrgManagerOrgSuspendedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OrgManagerOrgSuspendedIterator) 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 OrgManagerOrgSuspensionRevoked

type OrgManagerOrgSuspensionRevoked struct {
	OrgId     string
	PorgId    string
	UltParent string
	Level     *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

OrgManagerOrgSuspensionRevoked represents a OrgSuspensionRevoked event raised by the OrgManager contract.

type OrgManagerOrgSuspensionRevokedIterator

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

OrgManagerOrgSuspensionRevokedIterator is returned from FilterOrgSuspensionRevoked and is used to iterate over the raw logs and unpacked data for OrgSuspensionRevoked events raised by the OrgManager contract.

func (*OrgManagerOrgSuspensionRevokedIterator) Close

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

func (*OrgManagerOrgSuspensionRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OrgManagerOrgSuspensionRevokedIterator) 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 OrgManagerRaw

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

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

func (*OrgManagerRaw) Call

func (_OrgManager *OrgManagerRaw) 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 (*OrgManagerRaw) Transact

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

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

func (*OrgManagerRaw) Transfer

func (_OrgManager *OrgManagerRaw) 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 OrgManagerSession

type OrgManagerSession struct {
	Contract     *OrgManager       // 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
}

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

func (*OrgManagerSession) AddOrg

func (_OrgManager *OrgManagerSession) AddOrg(_orgId string) (*types.Transaction, error)

AddOrg is a paid mutator transaction binding the contract method 0xf9953de5.

Solidity: function addOrg(_orgId string) returns()

func (*OrgManagerSession) AddSubOrg

func (_OrgManager *OrgManagerSession) AddSubOrg(_pOrgId string, _orgId string) (*types.Transaction, error)

AddSubOrg is a paid mutator transaction binding the contract method 0x1f953480.

Solidity: function addSubOrg(_pOrgId string, _orgId string) returns()

func (*OrgManagerSession) ApproveOrg

func (_OrgManager *OrgManagerSession) ApproveOrg(_orgId string) (*types.Transaction, error)

ApproveOrg is a paid mutator transaction binding the contract method 0xe3028316.

Solidity: function approveOrg(_orgId string) returns()

func (*OrgManagerSession) ApproveOrgStatusUpdate

func (_OrgManager *OrgManagerSession) ApproveOrgStatusUpdate(_orgId string, _action *big.Int) (*types.Transaction, error)

ApproveOrgStatusUpdate is a paid mutator transaction binding the contract method 0x14f775f9.

Solidity: function approveOrgStatusUpdate(_orgId string, _action uint256) returns()

func (*OrgManagerSession) CheckOrgExists

func (_OrgManager *OrgManagerSession) CheckOrgExists(_orgId string) (bool, error)

CheckOrgExists is a free data retrieval call binding the contract method 0xffe40d1d.

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

func (*OrgManagerSession) CheckOrgStatus

func (_OrgManager *OrgManagerSession) CheckOrgStatus(_orgId string, _orgStatus *big.Int) (bool, error)

CheckOrgStatus is a free data retrieval call binding the contract method 0x8c8642df.

Solidity: function checkOrgStatus(_orgId string, _orgStatus uint256) constant returns(bool)

func (*OrgManagerSession) GetNumberOfOrgs

func (_OrgManager *OrgManagerSession) GetNumberOfOrgs() (*big.Int, error)

GetNumberOfOrgs is a free data retrieval call binding the contract method 0x7755ebdd.

Solidity: function getNumberOfOrgs() constant returns(uint256)

func (*OrgManagerSession) GetOrgIndex

func (_OrgManager *OrgManagerSession) GetOrgIndex(_orgId string) (*big.Int, error)

GetOrgIndex is a free data retrieval call binding the contract method 0x320d2c39.

Solidity: function _getOrgIndex(_orgId string) constant returns(uint256)

func (*OrgManagerSession) GetOrgInfo

func (_OrgManager *OrgManagerSession) GetOrgInfo(_orgIndex *big.Int) (string, string, string, *big.Int, *big.Int, error)

GetOrgInfo is a free data retrieval call binding the contract method 0x5c4f32ee.

Solidity: function getOrgInfo(_orgIndex uint256) constant returns(string, string, string, uint256, uint256)

func (*OrgManagerSession) GetUltimateParent

func (_OrgManager *OrgManagerSession) GetUltimateParent(_orgId string) (string, error)

GetUltimateParent is a free data retrieval call binding the contract method 0x177c8d8a.

Solidity: function getUltimateParent(_orgId string) constant returns(string)

func (*OrgManagerSession) SetUpOrg

func (_OrgManager *OrgManagerSession) SetUpOrg(_orgId string, _breadth *big.Int, _depth *big.Int) (*types.Transaction, error)

SetUpOrg is a paid mutator transaction binding the contract method 0x9e58eb9f.

Solidity: function setUpOrg(_orgId string, _breadth uint256, _depth uint256) returns()

func (*OrgManagerSession) UpdateOrg

func (_OrgManager *OrgManagerSession) UpdateOrg(_orgId string, _action *big.Int) (*types.Transaction, error)

UpdateOrg is a paid mutator transaction binding the contract method 0x0cc27493.

Solidity: function updateOrg(_orgId string, _action uint256) returns(uint256)

type OrgManagerTransactor

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

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

func NewOrgManagerTransactor

func NewOrgManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*OrgManagerTransactor, error)

NewOrgManagerTransactor creates a new write-only instance of OrgManager, bound to a specific deployed contract.

func (*OrgManagerTransactor) AddOrg

func (_OrgManager *OrgManagerTransactor) AddOrg(opts *bind.TransactOpts, _orgId string) (*types.Transaction, error)

AddOrg is a paid mutator transaction binding the contract method 0xf9953de5.

Solidity: function addOrg(_orgId string) returns()

func (*OrgManagerTransactor) AddSubOrg

func (_OrgManager *OrgManagerTransactor) AddSubOrg(opts *bind.TransactOpts, _pOrgId string, _orgId string) (*types.Transaction, error)

AddSubOrg is a paid mutator transaction binding the contract method 0x1f953480.

Solidity: function addSubOrg(_pOrgId string, _orgId string) returns()

func (*OrgManagerTransactor) ApproveOrg

func (_OrgManager *OrgManagerTransactor) ApproveOrg(opts *bind.TransactOpts, _orgId string) (*types.Transaction, error)

ApproveOrg is a paid mutator transaction binding the contract method 0xe3028316.

Solidity: function approveOrg(_orgId string) returns()

func (*OrgManagerTransactor) ApproveOrgStatusUpdate

func (_OrgManager *OrgManagerTransactor) ApproveOrgStatusUpdate(opts *bind.TransactOpts, _orgId string, _action *big.Int) (*types.Transaction, error)

ApproveOrgStatusUpdate is a paid mutator transaction binding the contract method 0x14f775f9.

Solidity: function approveOrgStatusUpdate(_orgId string, _action uint256) returns()

func (*OrgManagerTransactor) SetUpOrg

func (_OrgManager *OrgManagerTransactor) SetUpOrg(opts *bind.TransactOpts, _orgId string, _breadth *big.Int, _depth *big.Int) (*types.Transaction, error)

SetUpOrg is a paid mutator transaction binding the contract method 0x9e58eb9f.

Solidity: function setUpOrg(_orgId string, _breadth uint256, _depth uint256) returns()

func (*OrgManagerTransactor) UpdateOrg

func (_OrgManager *OrgManagerTransactor) UpdateOrg(opts *bind.TransactOpts, _orgId string, _action *big.Int) (*types.Transaction, error)

UpdateOrg is a paid mutator transaction binding the contract method 0x0cc27493.

Solidity: function updateOrg(_orgId string, _action uint256) returns(uint256)

type OrgManagerTransactorRaw

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

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

func (*OrgManagerTransactorRaw) Transact

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

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

func (*OrgManagerTransactorRaw) Transfer

func (_OrgManager *OrgManagerTransactorRaw) 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 OrgManagerTransactorSession

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

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

func (*OrgManagerTransactorSession) AddOrg

func (_OrgManager *OrgManagerTransactorSession) AddOrg(_orgId string) (*types.Transaction, error)

AddOrg is a paid mutator transaction binding the contract method 0xf9953de5.

Solidity: function addOrg(_orgId string) returns()

func (*OrgManagerTransactorSession) AddSubOrg

func (_OrgManager *OrgManagerTransactorSession) AddSubOrg(_pOrgId string, _orgId string) (*types.Transaction, error)

AddSubOrg is a paid mutator transaction binding the contract method 0x1f953480.

Solidity: function addSubOrg(_pOrgId string, _orgId string) returns()

func (*OrgManagerTransactorSession) ApproveOrg

func (_OrgManager *OrgManagerTransactorSession) ApproveOrg(_orgId string) (*types.Transaction, error)

ApproveOrg is a paid mutator transaction binding the contract method 0xe3028316.

Solidity: function approveOrg(_orgId string) returns()

func (*OrgManagerTransactorSession) ApproveOrgStatusUpdate

func (_OrgManager *OrgManagerTransactorSession) ApproveOrgStatusUpdate(_orgId string, _action *big.Int) (*types.Transaction, error)

ApproveOrgStatusUpdate is a paid mutator transaction binding the contract method 0x14f775f9.

Solidity: function approveOrgStatusUpdate(_orgId string, _action uint256) returns()

func (*OrgManagerTransactorSession) SetUpOrg

func (_OrgManager *OrgManagerTransactorSession) SetUpOrg(_orgId string, _breadth *big.Int, _depth *big.Int) (*types.Transaction, error)

SetUpOrg is a paid mutator transaction binding the contract method 0x9e58eb9f.

Solidity: function setUpOrg(_orgId string, _breadth uint256, _depth uint256) returns()

func (*OrgManagerTransactorSession) UpdateOrg

func (_OrgManager *OrgManagerTransactorSession) UpdateOrg(_orgId string, _action *big.Int) (*types.Transaction, error)

UpdateOrg is a paid mutator transaction binding the contract method 0x0cc27493.

Solidity: function updateOrg(_orgId string, _action uint256) returns(uint256)

type PermImpl

type PermImpl struct {
	PermImplCaller     // Read-only binding to the contract
	PermImplTransactor // Write-only binding to the contract
	PermImplFilterer   // Log filterer for contract events
}

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

func DeployPermImpl

func DeployPermImpl(auth *bind.TransactOpts, backend bind.ContractBackend, _permUpgradable common.Address, _orgManager common.Address, _rolesManager common.Address, _accountManager common.Address, _voterManager common.Address, _nodeManager common.Address) (common.Address, *types.Transaction, *PermImpl, error)

DeployPermImpl deploys a new Ethereum contract, binding an instance of PermImpl to it.

func NewPermImpl

func NewPermImpl(address common.Address, backend bind.ContractBackend) (*PermImpl, error)

NewPermImpl creates a new instance of PermImpl, bound to a specific deployed contract.

type PermImplCaller

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

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

func NewPermImplCaller

func NewPermImplCaller(address common.Address, caller bind.ContractCaller) (*PermImplCaller, error)

NewPermImplCaller creates a new read-only instance of PermImpl, bound to a specific deployed contract.

func (*PermImplCaller) GetNetworkBootStatus

func (_PermImpl *PermImplCaller) GetNetworkBootStatus(opts *bind.CallOpts) (bool, error)

GetNetworkBootStatus is a free data retrieval call binding the contract method 0x4cbfa82e.

Solidity: function getNetworkBootStatus() constant returns(bool)

func (*PermImplCaller) GetPendingOp

func (_PermImpl *PermImplCaller) GetPendingOp(opts *bind.CallOpts, _orgId string) (string, string, common.Address, *big.Int, error)

GetPendingOp is a free data retrieval call binding the contract method 0xf346a3a7.

Solidity: function getPendingOp(_orgId string) constant returns(string, string, address, uint256)

func (*PermImplCaller) GetPolicyDetails

func (_PermImpl *PermImplCaller) GetPolicyDetails(opts *bind.CallOpts) (string, string, string, bool, error)

GetPolicyDetails is a free data retrieval call binding the contract method 0xcc9ba6fa.

Solidity: function getPolicyDetails() constant returns(string, string, string, bool)

func (*PermImplCaller) IsNetworkAdmin

func (_PermImpl *PermImplCaller) IsNetworkAdmin(opts *bind.CallOpts, _account common.Address) (bool, error)

IsNetworkAdmin is a free data retrieval call binding the contract method 0xd1aa0c20.

Solidity: function isNetworkAdmin(_account address) constant returns(bool)

func (*PermImplCaller) IsOrgAdmin

func (_PermImpl *PermImplCaller) IsOrgAdmin(opts *bind.CallOpts, _account common.Address, _orgId string) (bool, error)

IsOrgAdmin is a free data retrieval call binding the contract method 0x9bd38101.

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

func (*PermImplCaller) ValidateAccount

func (_PermImpl *PermImplCaller) 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(_account address, _orgId string) constant returns(bool)

type PermImplCallerRaw

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

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

func (*PermImplCallerRaw) Call

func (_PermImpl *PermImplCallerRaw) 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 PermImplCallerSession

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

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

func (*PermImplCallerSession) GetNetworkBootStatus

func (_PermImpl *PermImplCallerSession) GetNetworkBootStatus() (bool, error)

GetNetworkBootStatus is a free data retrieval call binding the contract method 0x4cbfa82e.

Solidity: function getNetworkBootStatus() constant returns(bool)

func (*PermImplCallerSession) GetPendingOp

func (_PermImpl *PermImplCallerSession) GetPendingOp(_orgId string) (string, string, common.Address, *big.Int, error)

GetPendingOp is a free data retrieval call binding the contract method 0xf346a3a7.

Solidity: function getPendingOp(_orgId string) constant returns(string, string, address, uint256)

func (*PermImplCallerSession) GetPolicyDetails

func (_PermImpl *PermImplCallerSession) GetPolicyDetails() (string, string, string, bool, error)

GetPolicyDetails is a free data retrieval call binding the contract method 0xcc9ba6fa.

Solidity: function getPolicyDetails() constant returns(string, string, string, bool)

func (*PermImplCallerSession) IsNetworkAdmin

func (_PermImpl *PermImplCallerSession) IsNetworkAdmin(_account common.Address) (bool, error)

IsNetworkAdmin is a free data retrieval call binding the contract method 0xd1aa0c20.

Solidity: function isNetworkAdmin(_account address) constant returns(bool)

func (*PermImplCallerSession) IsOrgAdmin

func (_PermImpl *PermImplCallerSession) IsOrgAdmin(_account common.Address, _orgId string) (bool, error)

IsOrgAdmin is a free data retrieval call binding the contract method 0x9bd38101.

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

func (*PermImplCallerSession) ValidateAccount

func (_PermImpl *PermImplCallerSession) ValidateAccount(_account common.Address, _orgId string) (bool, error)

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

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

type PermImplFilterer

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

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

func NewPermImplFilterer

func NewPermImplFilterer(address common.Address, filterer bind.ContractFilterer) (*PermImplFilterer, error)

NewPermImplFilterer creates a new log filterer instance of PermImpl, bound to a specific deployed contract.

func (*PermImplFilterer) FilterPermissionsInitialized

func (_PermImpl *PermImplFilterer) FilterPermissionsInitialized(opts *bind.FilterOpts) (*PermImplPermissionsInitializedIterator, error)

FilterPermissionsInitialized is a free log retrieval operation binding the contract event 0x04f651be6fb8fc575d94591e56e9f6e66e33ef23e949765918b3bdae50c617cf.

Solidity: e PermissionsInitialized(_networkBootStatus bool)

func (*PermImplFilterer) WatchPermissionsInitialized

func (_PermImpl *PermImplFilterer) WatchPermissionsInitialized(opts *bind.WatchOpts, sink chan<- *PermImplPermissionsInitialized) (event.Subscription, error)

WatchPermissionsInitialized is a free log subscription operation binding the contract event 0x04f651be6fb8fc575d94591e56e9f6e66e33ef23e949765918b3bdae50c617cf.

Solidity: e PermissionsInitialized(_networkBootStatus bool)

type PermImplPermissionsInitialized

type PermImplPermissionsInitialized struct {
	NetworkBootStatus bool
	Raw               types.Log // Blockchain specific contextual infos
}

PermImplPermissionsInitialized represents a PermissionsInitialized event raised by the PermImpl contract.

type PermImplPermissionsInitializedIterator

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

PermImplPermissionsInitializedIterator is returned from FilterPermissionsInitialized and is used to iterate over the raw logs and unpacked data for PermissionsInitialized events raised by the PermImpl contract.

func (*PermImplPermissionsInitializedIterator) Close

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

func (*PermImplPermissionsInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PermImplPermissionsInitializedIterator) 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 PermImplRaw

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

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

func (*PermImplRaw) Call

func (_PermImpl *PermImplRaw) 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 (*PermImplRaw) Transact

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

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

func (*PermImplRaw) Transfer

func (_PermImpl *PermImplRaw) 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 PermImplSession

type PermImplSession struct {
	Contract     *PermImpl         // 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
}

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

func (*PermImplSession) AddAdminAccount

func (_PermImpl *PermImplSession) AddAdminAccount(_account common.Address) (*types.Transaction, error)

AddAdminAccount is a paid mutator transaction binding the contract method 0x4fe57e7a.

Solidity: function addAdminAccount(_account address) returns()

func (*PermImplSession) AddAdminNode

func (_PermImpl *PermImplSession) AddAdminNode(_enodeId string) (*types.Transaction, error)

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

Solidity: function addAdminNode(_enodeId string) returns()

func (*PermImplSession) AddNewRole

func (_PermImpl *PermImplSession) AddNewRole(_roleId string, _orgId string, _access *big.Int, _voter bool, _admin bool, _caller common.Address) (*types.Transaction, error)

AddNewRole is a paid mutator transaction binding the contract method 0x1b04c276.

Solidity: function addNewRole(_roleId string, _orgId string, _access uint256, _voter bool, _admin bool, _caller address) returns()

func (*PermImplSession) AddNode

func (_PermImpl *PermImplSession) AddNode(_orgId string, _enodeId string, _caller common.Address) (*types.Transaction, error)

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

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

func (*PermImplSession) AddOrg

func (_PermImpl *PermImplSession) AddOrg(_orgId string, _enodeId string, _account common.Address, _caller common.Address) (*types.Transaction, error)

AddOrg is a paid mutator transaction binding the contract method 0xf922f802.

Solidity: function addOrg(_orgId string, _enodeId string, _account address, _caller address) returns()

func (*PermImplSession) AddSubOrg

func (_PermImpl *PermImplSession) AddSubOrg(_pOrgId string, _orgId string, _enodeId string, _caller common.Address) (*types.Transaction, error)

AddSubOrg is a paid mutator transaction binding the contract method 0xa64d2860.

Solidity: function addSubOrg(_pOrgId string, _orgId string, _enodeId string, _caller address) returns()

func (*PermImplSession) ApproveAdminRole

func (_PermImpl *PermImplSession) ApproveAdminRole(_orgId string, _account common.Address, _caller common.Address) (*types.Transaction, error)

ApproveAdminRole is a paid mutator transaction binding the contract method 0x88843041.

Solidity: function approveAdminRole(_orgId string, _account address, _caller address) returns()

func (*PermImplSession) ApproveBlacklistedAccountRecovery

func (_PermImpl *PermImplSession) ApproveBlacklistedAccountRecovery(_orgId string, _account common.Address, _caller common.Address) (*types.Transaction, error)

ApproveBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x4b20f45f.

Solidity: function approveBlacklistedAccountRecovery(_orgId string, _account address, _caller address) returns()

func (*PermImplSession) ApproveBlacklistedNodeRecovery

func (_PermImpl *PermImplSession) ApproveBlacklistedNodeRecovery(_orgId string, _enodeId string, _caller common.Address) (*types.Transaction, error)

ApproveBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x655a8ef5.

Solidity: function approveBlacklistedNodeRecovery(_orgId string, _enodeId string, _caller address) returns()

func (*PermImplSession) ApproveOrg

func (_PermImpl *PermImplSession) ApproveOrg(_orgId string, _enodeId string, _account common.Address, _caller common.Address) (*types.Transaction, error)

ApproveOrg is a paid mutator transaction binding the contract method 0x3bc07dea.

Solidity: function approveOrg(_orgId string, _enodeId string, _account address, _caller address) returns()

func (*PermImplSession) ApproveOrgStatus

func (_PermImpl *PermImplSession) ApproveOrgStatus(_orgId string, _action *big.Int, _caller common.Address) (*types.Transaction, error)

ApproveOrgStatus is a paid mutator transaction binding the contract method 0xb5546564.

Solidity: function approveOrgStatus(_orgId string, _action uint256, _caller address) returns()

func (*PermImplSession) AssignAccountRole

func (_PermImpl *PermImplSession) AssignAccountRole(_account common.Address, _orgId string, _roleId string, _caller common.Address) (*types.Transaction, error)

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

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

func (*PermImplSession) AssignAdminRole

func (_PermImpl *PermImplSession) AssignAdminRole(_orgId string, _account common.Address, _roleId string, _caller common.Address) (*types.Transaction, error)

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

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

func (*PermImplSession) GetNetworkBootStatus

func (_PermImpl *PermImplSession) GetNetworkBootStatus() (bool, error)

GetNetworkBootStatus is a free data retrieval call binding the contract method 0x4cbfa82e.

Solidity: function getNetworkBootStatus() constant returns(bool)

func (*PermImplSession) GetPendingOp

func (_PermImpl *PermImplSession) GetPendingOp(_orgId string) (string, string, common.Address, *big.Int, error)

GetPendingOp is a free data retrieval call binding the contract method 0xf346a3a7.

Solidity: function getPendingOp(_orgId string) constant returns(string, string, address, uint256)

func (*PermImplSession) GetPolicyDetails

func (_PermImpl *PermImplSession) GetPolicyDetails() (string, string, string, bool, error)

GetPolicyDetails is a free data retrieval call binding the contract method 0xcc9ba6fa.

Solidity: function getPolicyDetails() constant returns(string, string, string, bool)

func (*PermImplSession) Init

func (_PermImpl *PermImplSession) Init(_breadth *big.Int, _depth *big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xa5843f08.

Solidity: function init(_breadth uint256, _depth uint256) returns()

func (*PermImplSession) IsNetworkAdmin

func (_PermImpl *PermImplSession) IsNetworkAdmin(_account common.Address) (bool, error)

IsNetworkAdmin is a free data retrieval call binding the contract method 0xd1aa0c20.

Solidity: function isNetworkAdmin(_account address) constant returns(bool)

func (*PermImplSession) IsOrgAdmin

func (_PermImpl *PermImplSession) IsOrgAdmin(_account common.Address, _orgId string) (bool, error)

IsOrgAdmin is a free data retrieval call binding the contract method 0x9bd38101.

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

func (*PermImplSession) RemoveRole

func (_PermImpl *PermImplSession) RemoveRole(_roleId string, _orgId string, _caller common.Address) (*types.Transaction, error)

RemoveRole is a paid mutator transaction binding the contract method 0x5ca5adbe.

Solidity: function removeRole(_roleId string, _orgId string, _caller address) returns()

func (*PermImplSession) SetMigrationPolicy

func (_PermImpl *PermImplSession) SetMigrationPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string, _networkBootStatus bool) (*types.Transaction, error)

SetMigrationPolicy is a paid mutator transaction binding the contract method 0xf5ad584a.

Solidity: function setMigrationPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string, _networkBootStatus bool) returns()

func (*PermImplSession) SetPolicy

func (_PermImpl *PermImplSession) SetPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string) (*types.Transaction, error)

SetPolicy is a paid mutator transaction binding the contract method 0x1b610220.

Solidity: function setPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string) returns()

func (*PermImplSession) StartBlacklistedAccountRecovery

func (_PermImpl *PermImplSession) StartBlacklistedAccountRecovery(_orgId string, _account common.Address, _caller common.Address) (*types.Transaction, error)

StartBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x1c249912.

Solidity: function startBlacklistedAccountRecovery(_orgId string, _account address, _caller address) returns()

func (*PermImplSession) StartBlacklistedNodeRecovery

func (_PermImpl *PermImplSession) StartBlacklistedNodeRecovery(_orgId string, _enodeId string, _caller common.Address) (*types.Transaction, error)

StartBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0xc3dc8e09.

Solidity: function startBlacklistedNodeRecovery(_orgId string, _enodeId string, _caller address) returns()

func (*PermImplSession) UpdateAccountStatus

func (_PermImpl *PermImplSession) UpdateAccountStatus(_orgId string, _account common.Address, _action *big.Int, _caller common.Address) (*types.Transaction, error)

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

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

func (*PermImplSession) UpdateNetworkBootStatus

func (_PermImpl *PermImplSession) UpdateNetworkBootStatus() (*types.Transaction, error)

UpdateNetworkBootStatus is a paid mutator transaction binding the contract method 0x44478e79.

Solidity: function updateNetworkBootStatus() returns(bool)

func (*PermImplSession) UpdateNodeStatus

func (_PermImpl *PermImplSession) UpdateNodeStatus(_orgId string, _enodeId string, _action *big.Int, _caller common.Address) (*types.Transaction, error)

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

Solidity: function updateNodeStatus(_orgId string, _enodeId string, _action uint256, _caller address) returns()

func (*PermImplSession) UpdateOrgStatus

func (_PermImpl *PermImplSession) UpdateOrgStatus(_orgId string, _action *big.Int, _caller common.Address) (*types.Transaction, error)

UpdateOrgStatus is a paid mutator transaction binding the contract method 0x3cf5f33b.

Solidity: function updateOrgStatus(_orgId string, _action uint256, _caller address) returns()

func (*PermImplSession) ValidateAccount

func (_PermImpl *PermImplSession) ValidateAccount(_account common.Address, _orgId string) (bool, error)

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

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

type PermImplTransactor

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

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

func NewPermImplTransactor

func NewPermImplTransactor(address common.Address, transactor bind.ContractTransactor) (*PermImplTransactor, error)

NewPermImplTransactor creates a new write-only instance of PermImpl, bound to a specific deployed contract.

func (*PermImplTransactor) AddAdminAccount

func (_PermImpl *PermImplTransactor) AddAdminAccount(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)

AddAdminAccount is a paid mutator transaction binding the contract method 0x4fe57e7a.

Solidity: function addAdminAccount(_account address) returns()

func (*PermImplTransactor) AddAdminNode

func (_PermImpl *PermImplTransactor) AddAdminNode(opts *bind.TransactOpts, _enodeId string) (*types.Transaction, error)

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

Solidity: function addAdminNode(_enodeId string) returns()

func (*PermImplTransactor) AddNewRole

func (_PermImpl *PermImplTransactor) AddNewRole(opts *bind.TransactOpts, _roleId string, _orgId string, _access *big.Int, _voter bool, _admin bool, _caller common.Address) (*types.Transaction, error)

AddNewRole is a paid mutator transaction binding the contract method 0x1b04c276.

Solidity: function addNewRole(_roleId string, _orgId string, _access uint256, _voter bool, _admin bool, _caller address) returns()

func (*PermImplTransactor) AddNode

func (_PermImpl *PermImplTransactor) AddNode(opts *bind.TransactOpts, _orgId string, _enodeId string, _caller common.Address) (*types.Transaction, error)

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

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

func (*PermImplTransactor) AddOrg

func (_PermImpl *PermImplTransactor) AddOrg(opts *bind.TransactOpts, _orgId string, _enodeId string, _account common.Address, _caller common.Address) (*types.Transaction, error)

AddOrg is a paid mutator transaction binding the contract method 0xf922f802.

Solidity: function addOrg(_orgId string, _enodeId string, _account address, _caller address) returns()

func (*PermImplTransactor) AddSubOrg

func (_PermImpl *PermImplTransactor) AddSubOrg(opts *bind.TransactOpts, _pOrgId string, _orgId string, _enodeId string, _caller common.Address) (*types.Transaction, error)

AddSubOrg is a paid mutator transaction binding the contract method 0xa64d2860.

Solidity: function addSubOrg(_pOrgId string, _orgId string, _enodeId string, _caller address) returns()

func (*PermImplTransactor) ApproveAdminRole

func (_PermImpl *PermImplTransactor) ApproveAdminRole(opts *bind.TransactOpts, _orgId string, _account common.Address, _caller common.Address) (*types.Transaction, error)

ApproveAdminRole is a paid mutator transaction binding the contract method 0x88843041.

Solidity: function approveAdminRole(_orgId string, _account address, _caller address) returns()

func (*PermImplTransactor) ApproveBlacklistedAccountRecovery

func (_PermImpl *PermImplTransactor) ApproveBlacklistedAccountRecovery(opts *bind.TransactOpts, _orgId string, _account common.Address, _caller common.Address) (*types.Transaction, error)

ApproveBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x4b20f45f.

Solidity: function approveBlacklistedAccountRecovery(_orgId string, _account address, _caller address) returns()

func (*PermImplTransactor) ApproveBlacklistedNodeRecovery

func (_PermImpl *PermImplTransactor) ApproveBlacklistedNodeRecovery(opts *bind.TransactOpts, _orgId string, _enodeId string, _caller common.Address) (*types.Transaction, error)

ApproveBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x655a8ef5.

Solidity: function approveBlacklistedNodeRecovery(_orgId string, _enodeId string, _caller address) returns()

func (*PermImplTransactor) ApproveOrg

func (_PermImpl *PermImplTransactor) ApproveOrg(opts *bind.TransactOpts, _orgId string, _enodeId string, _account common.Address, _caller common.Address) (*types.Transaction, error)

ApproveOrg is a paid mutator transaction binding the contract method 0x3bc07dea.

Solidity: function approveOrg(_orgId string, _enodeId string, _account address, _caller address) returns()

func (*PermImplTransactor) ApproveOrgStatus

func (_PermImpl *PermImplTransactor) ApproveOrgStatus(opts *bind.TransactOpts, _orgId string, _action *big.Int, _caller common.Address) (*types.Transaction, error)

ApproveOrgStatus is a paid mutator transaction binding the contract method 0xb5546564.

Solidity: function approveOrgStatus(_orgId string, _action uint256, _caller address) returns()

func (*PermImplTransactor) AssignAccountRole

func (_PermImpl *PermImplTransactor) AssignAccountRole(opts *bind.TransactOpts, _account common.Address, _orgId string, _roleId string, _caller common.Address) (*types.Transaction, error)

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

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

func (*PermImplTransactor) AssignAdminRole

func (_PermImpl *PermImplTransactor) AssignAdminRole(opts *bind.TransactOpts, _orgId string, _account common.Address, _roleId string, _caller common.Address) (*types.Transaction, error)

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

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

func (*PermImplTransactor) Init

func (_PermImpl *PermImplTransactor) Init(opts *bind.TransactOpts, _breadth *big.Int, _depth *big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xa5843f08.

Solidity: function init(_breadth uint256, _depth uint256) returns()

func (*PermImplTransactor) RemoveRole

func (_PermImpl *PermImplTransactor) RemoveRole(opts *bind.TransactOpts, _roleId string, _orgId string, _caller common.Address) (*types.Transaction, error)

RemoveRole is a paid mutator transaction binding the contract method 0x5ca5adbe.

Solidity: function removeRole(_roleId string, _orgId string, _caller address) returns()

func (*PermImplTransactor) SetMigrationPolicy

func (_PermImpl *PermImplTransactor) SetMigrationPolicy(opts *bind.TransactOpts, _nwAdminOrg string, _nwAdminRole string, _oAdminRole string, _networkBootStatus bool) (*types.Transaction, error)

SetMigrationPolicy is a paid mutator transaction binding the contract method 0xf5ad584a.

Solidity: function setMigrationPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string, _networkBootStatus bool) returns()

func (*PermImplTransactor) SetPolicy

func (_PermImpl *PermImplTransactor) SetPolicy(opts *bind.TransactOpts, _nwAdminOrg string, _nwAdminRole string, _oAdminRole string) (*types.Transaction, error)

SetPolicy is a paid mutator transaction binding the contract method 0x1b610220.

Solidity: function setPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string) returns()

func (*PermImplTransactor) StartBlacklistedAccountRecovery

func (_PermImpl *PermImplTransactor) StartBlacklistedAccountRecovery(opts *bind.TransactOpts, _orgId string, _account common.Address, _caller common.Address) (*types.Transaction, error)

StartBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x1c249912.

Solidity: function startBlacklistedAccountRecovery(_orgId string, _account address, _caller address) returns()

func (*PermImplTransactor) StartBlacklistedNodeRecovery

func (_PermImpl *PermImplTransactor) StartBlacklistedNodeRecovery(opts *bind.TransactOpts, _orgId string, _enodeId string, _caller common.Address) (*types.Transaction, error)

StartBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0xc3dc8e09.

Solidity: function startBlacklistedNodeRecovery(_orgId string, _enodeId string, _caller address) returns()

func (*PermImplTransactor) UpdateAccountStatus

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

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

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

func (*PermImplTransactor) UpdateNetworkBootStatus

func (_PermImpl *PermImplTransactor) UpdateNetworkBootStatus(opts *bind.TransactOpts) (*types.Transaction, error)

UpdateNetworkBootStatus is a paid mutator transaction binding the contract method 0x44478e79.

Solidity: function updateNetworkBootStatus() returns(bool)

func (*PermImplTransactor) UpdateNodeStatus

func (_PermImpl *PermImplTransactor) UpdateNodeStatus(opts *bind.TransactOpts, _orgId string, _enodeId string, _action *big.Int, _caller common.Address) (*types.Transaction, error)

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

Solidity: function updateNodeStatus(_orgId string, _enodeId string, _action uint256, _caller address) returns()

func (*PermImplTransactor) UpdateOrgStatus

func (_PermImpl *PermImplTransactor) UpdateOrgStatus(opts *bind.TransactOpts, _orgId string, _action *big.Int, _caller common.Address) (*types.Transaction, error)

UpdateOrgStatus is a paid mutator transaction binding the contract method 0x3cf5f33b.

Solidity: function updateOrgStatus(_orgId string, _action uint256, _caller address) returns()

type PermImplTransactorRaw

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

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

func (*PermImplTransactorRaw) Transact

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

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

func (*PermImplTransactorRaw) Transfer

func (_PermImpl *PermImplTransactorRaw) 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 PermImplTransactorSession

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

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

func (*PermImplTransactorSession) AddAdminAccount

func (_PermImpl *PermImplTransactorSession) AddAdminAccount(_account common.Address) (*types.Transaction, error)

AddAdminAccount is a paid mutator transaction binding the contract method 0x4fe57e7a.

Solidity: function addAdminAccount(_account address) returns()

func (*PermImplTransactorSession) AddAdminNode

func (_PermImpl *PermImplTransactorSession) AddAdminNode(_enodeId string) (*types.Transaction, error)

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

Solidity: function addAdminNode(_enodeId string) returns()

func (*PermImplTransactorSession) AddNewRole

func (_PermImpl *PermImplTransactorSession) AddNewRole(_roleId string, _orgId string, _access *big.Int, _voter bool, _admin bool, _caller common.Address) (*types.Transaction, error)

AddNewRole is a paid mutator transaction binding the contract method 0x1b04c276.

Solidity: function addNewRole(_roleId string, _orgId string, _access uint256, _voter bool, _admin bool, _caller address) returns()

func (*PermImplTransactorSession) AddNode

func (_PermImpl *PermImplTransactorSession) AddNode(_orgId string, _enodeId string, _caller common.Address) (*types.Transaction, error)

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

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

func (*PermImplTransactorSession) AddOrg

func (_PermImpl *PermImplTransactorSession) AddOrg(_orgId string, _enodeId string, _account common.Address, _caller common.Address) (*types.Transaction, error)

AddOrg is a paid mutator transaction binding the contract method 0xf922f802.

Solidity: function addOrg(_orgId string, _enodeId string, _account address, _caller address) returns()

func (*PermImplTransactorSession) AddSubOrg

func (_PermImpl *PermImplTransactorSession) AddSubOrg(_pOrgId string, _orgId string, _enodeId string, _caller common.Address) (*types.Transaction, error)

AddSubOrg is a paid mutator transaction binding the contract method 0xa64d2860.

Solidity: function addSubOrg(_pOrgId string, _orgId string, _enodeId string, _caller address) returns()

func (*PermImplTransactorSession) ApproveAdminRole

func (_PermImpl *PermImplTransactorSession) ApproveAdminRole(_orgId string, _account common.Address, _caller common.Address) (*types.Transaction, error)

ApproveAdminRole is a paid mutator transaction binding the contract method 0x88843041.

Solidity: function approveAdminRole(_orgId string, _account address, _caller address) returns()

func (*PermImplTransactorSession) ApproveBlacklistedAccountRecovery

func (_PermImpl *PermImplTransactorSession) ApproveBlacklistedAccountRecovery(_orgId string, _account common.Address, _caller common.Address) (*types.Transaction, error)

ApproveBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x4b20f45f.

Solidity: function approveBlacklistedAccountRecovery(_orgId string, _account address, _caller address) returns()

func (*PermImplTransactorSession) ApproveBlacklistedNodeRecovery

func (_PermImpl *PermImplTransactorSession) ApproveBlacklistedNodeRecovery(_orgId string, _enodeId string, _caller common.Address) (*types.Transaction, error)

ApproveBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x655a8ef5.

Solidity: function approveBlacklistedNodeRecovery(_orgId string, _enodeId string, _caller address) returns()

func (*PermImplTransactorSession) ApproveOrg

func (_PermImpl *PermImplTransactorSession) ApproveOrg(_orgId string, _enodeId string, _account common.Address, _caller common.Address) (*types.Transaction, error)

ApproveOrg is a paid mutator transaction binding the contract method 0x3bc07dea.

Solidity: function approveOrg(_orgId string, _enodeId string, _account address, _caller address) returns()

func (*PermImplTransactorSession) ApproveOrgStatus

func (_PermImpl *PermImplTransactorSession) ApproveOrgStatus(_orgId string, _action *big.Int, _caller common.Address) (*types.Transaction, error)

ApproveOrgStatus is a paid mutator transaction binding the contract method 0xb5546564.

Solidity: function approveOrgStatus(_orgId string, _action uint256, _caller address) returns()

func (*PermImplTransactorSession) AssignAccountRole

func (_PermImpl *PermImplTransactorSession) AssignAccountRole(_account common.Address, _orgId string, _roleId string, _caller common.Address) (*types.Transaction, error)

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

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

func (*PermImplTransactorSession) AssignAdminRole

func (_PermImpl *PermImplTransactorSession) AssignAdminRole(_orgId string, _account common.Address, _roleId string, _caller common.Address) (*types.Transaction, error)

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

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

func (*PermImplTransactorSession) Init

func (_PermImpl *PermImplTransactorSession) Init(_breadth *big.Int, _depth *big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xa5843f08.

Solidity: function init(_breadth uint256, _depth uint256) returns()

func (*PermImplTransactorSession) RemoveRole

func (_PermImpl *PermImplTransactorSession) RemoveRole(_roleId string, _orgId string, _caller common.Address) (*types.Transaction, error)

RemoveRole is a paid mutator transaction binding the contract method 0x5ca5adbe.

Solidity: function removeRole(_roleId string, _orgId string, _caller address) returns()

func (*PermImplTransactorSession) SetMigrationPolicy

func (_PermImpl *PermImplTransactorSession) SetMigrationPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string, _networkBootStatus bool) (*types.Transaction, error)

SetMigrationPolicy is a paid mutator transaction binding the contract method 0xf5ad584a.

Solidity: function setMigrationPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string, _networkBootStatus bool) returns()

func (*PermImplTransactorSession) SetPolicy

func (_PermImpl *PermImplTransactorSession) SetPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string) (*types.Transaction, error)

SetPolicy is a paid mutator transaction binding the contract method 0x1b610220.

Solidity: function setPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string) returns()

func (*PermImplTransactorSession) StartBlacklistedAccountRecovery

func (_PermImpl *PermImplTransactorSession) StartBlacklistedAccountRecovery(_orgId string, _account common.Address, _caller common.Address) (*types.Transaction, error)

StartBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x1c249912.

Solidity: function startBlacklistedAccountRecovery(_orgId string, _account address, _caller address) returns()

func (*PermImplTransactorSession) StartBlacklistedNodeRecovery

func (_PermImpl *PermImplTransactorSession) StartBlacklistedNodeRecovery(_orgId string, _enodeId string, _caller common.Address) (*types.Transaction, error)

StartBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0xc3dc8e09.

Solidity: function startBlacklistedNodeRecovery(_orgId string, _enodeId string, _caller address) returns()

func (*PermImplTransactorSession) UpdateAccountStatus

func (_PermImpl *PermImplTransactorSession) UpdateAccountStatus(_orgId string, _account common.Address, _action *big.Int, _caller common.Address) (*types.Transaction, error)

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

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

func (*PermImplTransactorSession) UpdateNetworkBootStatus

func (_PermImpl *PermImplTransactorSession) UpdateNetworkBootStatus() (*types.Transaction, error)

UpdateNetworkBootStatus is a paid mutator transaction binding the contract method 0x44478e79.

Solidity: function updateNetworkBootStatus() returns(bool)

func (*PermImplTransactorSession) UpdateNodeStatus

func (_PermImpl *PermImplTransactorSession) UpdateNodeStatus(_orgId string, _enodeId string, _action *big.Int, _caller common.Address) (*types.Transaction, error)

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

Solidity: function updateNodeStatus(_orgId string, _enodeId string, _action uint256, _caller address) returns()

func (*PermImplTransactorSession) UpdateOrgStatus

func (_PermImpl *PermImplTransactorSession) UpdateOrgStatus(_orgId string, _action *big.Int, _caller common.Address) (*types.Transaction, error)

UpdateOrgStatus is a paid mutator transaction binding the contract method 0x3cf5f33b.

Solidity: function updateOrgStatus(_orgId string, _action uint256, _caller address) returns()

type PermInterface

type PermInterface struct {
	PermInterfaceCaller     // Read-only binding to the contract
	PermInterfaceTransactor // Write-only binding to the contract
	PermInterfaceFilterer   // Log filterer for contract events
}

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

func DeployPermInterface

func DeployPermInterface(auth *bind.TransactOpts, backend bind.ContractBackend, _permImplUpgradeable common.Address) (common.Address, *types.Transaction, *PermInterface, error)

DeployPermInterface deploys a new Ethereum contract, binding an instance of PermInterface to it.

func NewPermInterface

func NewPermInterface(address common.Address, backend bind.ContractBackend) (*PermInterface, error)

NewPermInterface creates a new instance of PermInterface, bound to a specific deployed contract.

type PermInterfaceCaller

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

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

func NewPermInterfaceCaller

func NewPermInterfaceCaller(address common.Address, caller bind.ContractCaller) (*PermInterfaceCaller, error)

NewPermInterfaceCaller creates a new read-only instance of PermInterface, bound to a specific deployed contract.

func (*PermInterfaceCaller) GetNetworkBootStatus

func (_PermInterface *PermInterfaceCaller) GetNetworkBootStatus(opts *bind.CallOpts) (bool, error)

GetNetworkBootStatus is a free data retrieval call binding the contract method 0x4cbfa82e.

Solidity: function getNetworkBootStatus() constant returns(bool)

func (*PermInterfaceCaller) GetPendingOp

func (_PermInterface *PermInterfaceCaller) GetPendingOp(opts *bind.CallOpts, _orgId string) (string, string, common.Address, *big.Int, error)

GetPendingOp is a free data retrieval call binding the contract method 0xf346a3a7.

Solidity: function getPendingOp(_orgId string) constant returns(string, string, address, uint256)

func (*PermInterfaceCaller) GetPermissionsImpl

func (_PermInterface *PermInterfaceCaller) GetPermissionsImpl(opts *bind.CallOpts) (common.Address, error)

GetPermissionsImpl is a free data retrieval call binding the contract method 0x03ed6933.

Solidity: function getPermissionsImpl() constant returns(address)

func (*PermInterfaceCaller) IsNetworkAdmin

func (_PermInterface *PermInterfaceCaller) IsNetworkAdmin(opts *bind.CallOpts, _account common.Address) (bool, error)

IsNetworkAdmin is a free data retrieval call binding the contract method 0xd1aa0c20.

Solidity: function isNetworkAdmin(_account address) constant returns(bool)

func (*PermInterfaceCaller) IsOrgAdmin

func (_PermInterface *PermInterfaceCaller) IsOrgAdmin(opts *bind.CallOpts, _account common.Address, _orgId string) (bool, error)

IsOrgAdmin is a free data retrieval call binding the contract method 0x9bd38101.

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

func (*PermInterfaceCaller) ValidateAccount

func (_PermInterface *PermInterfaceCaller) 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(_account address, _orgId string) constant returns(bool)

type PermInterfaceCallerRaw

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

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

func (*PermInterfaceCallerRaw) Call

func (_PermInterface *PermInterfaceCallerRaw) 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 PermInterfaceCallerSession

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

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

func (*PermInterfaceCallerSession) GetNetworkBootStatus

func (_PermInterface *PermInterfaceCallerSession) GetNetworkBootStatus() (bool, error)

GetNetworkBootStatus is a free data retrieval call binding the contract method 0x4cbfa82e.

Solidity: function getNetworkBootStatus() constant returns(bool)

func (*PermInterfaceCallerSession) GetPendingOp

func (_PermInterface *PermInterfaceCallerSession) GetPendingOp(_orgId string) (string, string, common.Address, *big.Int, error)

GetPendingOp is a free data retrieval call binding the contract method 0xf346a3a7.

Solidity: function getPendingOp(_orgId string) constant returns(string, string, address, uint256)

func (*PermInterfaceCallerSession) GetPermissionsImpl

func (_PermInterface *PermInterfaceCallerSession) GetPermissionsImpl() (common.Address, error)

GetPermissionsImpl is a free data retrieval call binding the contract method 0x03ed6933.

Solidity: function getPermissionsImpl() constant returns(address)

func (*PermInterfaceCallerSession) IsNetworkAdmin

func (_PermInterface *PermInterfaceCallerSession) IsNetworkAdmin(_account common.Address) (bool, error)

IsNetworkAdmin is a free data retrieval call binding the contract method 0xd1aa0c20.

Solidity: function isNetworkAdmin(_account address) constant returns(bool)

func (*PermInterfaceCallerSession) IsOrgAdmin

func (_PermInterface *PermInterfaceCallerSession) IsOrgAdmin(_account common.Address, _orgId string) (bool, error)

IsOrgAdmin is a free data retrieval call binding the contract method 0x9bd38101.

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

func (*PermInterfaceCallerSession) ValidateAccount

func (_PermInterface *PermInterfaceCallerSession) ValidateAccount(_account common.Address, _orgId string) (bool, error)

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

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

type PermInterfaceFilterer

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

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

func NewPermInterfaceFilterer

func NewPermInterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*PermInterfaceFilterer, error)

NewPermInterfaceFilterer creates a new log filterer instance of PermInterface, bound to a specific deployed contract.

type PermInterfaceRaw

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

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

func (*PermInterfaceRaw) Call

func (_PermInterface *PermInterfaceRaw) 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 (*PermInterfaceRaw) Transact

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

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

func (*PermInterfaceRaw) Transfer

func (_PermInterface *PermInterfaceRaw) 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 PermInterfaceSession

type PermInterfaceSession struct {
	Contract     *PermInterface    // 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
}

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

func (*PermInterfaceSession) AddAdminAccount

func (_PermInterface *PermInterfaceSession) AddAdminAccount(_acct common.Address) (*types.Transaction, error)

AddAdminAccount is a paid mutator transaction binding the contract method 0x4fe57e7a.

Solidity: function addAdminAccount(_acct address) returns()

func (*PermInterfaceSession) AddAdminNode

func (_PermInterface *PermInterfaceSession) AddAdminNode(_enodeId string) (*types.Transaction, error)

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

Solidity: function addAdminNode(_enodeId string) returns()

func (*PermInterfaceSession) AddNewRole

func (_PermInterface *PermInterfaceSession) AddNewRole(_roleId string, _orgId string, _access *big.Int, _voter bool, _admin bool) (*types.Transaction, error)

AddNewRole is a paid mutator transaction binding the contract method 0x51f604c3.

Solidity: function addNewRole(_roleId string, _orgId string, _access uint256, _voter bool, _admin bool) returns()

func (*PermInterfaceSession) AddNode

func (_PermInterface *PermInterfaceSession) AddNode(_orgId string, _enodeId string) (*types.Transaction, error)

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

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

func (*PermInterfaceSession) AddOrg

func (_PermInterface *PermInterfaceSession) AddOrg(_orgId string, _enodeId string, _account common.Address) (*types.Transaction, error)

AddOrg is a paid mutator transaction binding the contract method 0x8f362a3e.

Solidity: function addOrg(_orgId string, _enodeId string, _account address) returns()

func (*PermInterfaceSession) AddSubOrg

func (_PermInterface *PermInterfaceSession) AddSubOrg(_pOrgId string, _orgId string, _enodeId string) (*types.Transaction, error)

AddSubOrg is a paid mutator transaction binding the contract method 0x4cff819e.

Solidity: function addSubOrg(_pOrgId string, _orgId string, _enodeId string) returns()

func (*PermInterfaceSession) ApproveAdminRole

func (_PermInterface *PermInterfaceSession) ApproveAdminRole(_orgId string, _account common.Address) (*types.Transaction, error)

ApproveAdminRole is a paid mutator transaction binding the contract method 0x16724c44.

Solidity: function approveAdminRole(_orgId string, _account address) returns()

func (*PermInterfaceSession) ApproveBlacklistedAccountRecovery

func (_PermInterface *PermInterfaceSession) ApproveBlacklistedAccountRecovery(_orgId string, _account common.Address) (*types.Transaction, error)

ApproveBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x3e239b23.

Solidity: function approveBlacklistedAccountRecovery(_orgId string, _account address) returns()

func (*PermInterfaceSession) ApproveBlacklistedNodeRecovery

func (_PermInterface *PermInterfaceSession) ApproveBlacklistedNodeRecovery(_orgId string, _enodeId string) (*types.Transaction, error)

ApproveBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x5adbfa7a.

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

func (*PermInterfaceSession) ApproveOrg

func (_PermInterface *PermInterfaceSession) ApproveOrg(_orgId string, _enodeId string, _account common.Address) (*types.Transaction, error)

ApproveOrg is a paid mutator transaction binding the contract method 0x7e461258.

Solidity: function approveOrg(_orgId string, _enodeId string, _account address) returns()

func (*PermInterfaceSession) ApproveOrgStatus

func (_PermInterface *PermInterfaceSession) ApproveOrgStatus(_orgId string, _action *big.Int) (*types.Transaction, error)

ApproveOrgStatus is a paid mutator transaction binding the contract method 0x5be9672c.

Solidity: function approveOrgStatus(_orgId string, _action uint256) returns()

func (*PermInterfaceSession) AssignAccountRole

func (_PermInterface *PermInterfaceSession) AssignAccountRole(_account common.Address, _orgId string, _roleId string) (*types.Transaction, error)

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

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

func (*PermInterfaceSession) AssignAdminRole

func (_PermInterface *PermInterfaceSession) AssignAdminRole(_orgId string, _account common.Address, _roleId string) (*types.Transaction, error)

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

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

func (*PermInterfaceSession) GetNetworkBootStatus

func (_PermInterface *PermInterfaceSession) GetNetworkBootStatus() (bool, error)

GetNetworkBootStatus is a free data retrieval call binding the contract method 0x4cbfa82e.

Solidity: function getNetworkBootStatus() constant returns(bool)

func (*PermInterfaceSession) GetPendingOp

func (_PermInterface *PermInterfaceSession) GetPendingOp(_orgId string) (string, string, common.Address, *big.Int, error)

GetPendingOp is a free data retrieval call binding the contract method 0xf346a3a7.

Solidity: function getPendingOp(_orgId string) constant returns(string, string, address, uint256)

func (*PermInterfaceSession) GetPermissionsImpl

func (_PermInterface *PermInterfaceSession) GetPermissionsImpl() (common.Address, error)

GetPermissionsImpl is a free data retrieval call binding the contract method 0x03ed6933.

Solidity: function getPermissionsImpl() constant returns(address)

func (*PermInterfaceSession) Init

func (_PermInterface *PermInterfaceSession) Init(_breadth *big.Int, _depth *big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xa5843f08.

Solidity: function init(_breadth uint256, _depth uint256) returns()

func (*PermInterfaceSession) IsNetworkAdmin

func (_PermInterface *PermInterfaceSession) IsNetworkAdmin(_account common.Address) (bool, error)

IsNetworkAdmin is a free data retrieval call binding the contract method 0xd1aa0c20.

Solidity: function isNetworkAdmin(_account address) constant returns(bool)

func (*PermInterfaceSession) IsOrgAdmin

func (_PermInterface *PermInterfaceSession) IsOrgAdmin(_account common.Address, _orgId string) (bool, error)

IsOrgAdmin is a free data retrieval call binding the contract method 0x9bd38101.

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

func (*PermInterfaceSession) RemoveRole

func (_PermInterface *PermInterfaceSession) RemoveRole(_roleId string, _orgId string) (*types.Transaction, error)

RemoveRole is a paid mutator transaction binding the contract method 0xa6343012.

Solidity: function removeRole(_roleId string, _orgId string) returns()

func (*PermInterfaceSession) SetPermImplementation

func (_PermInterface *PermInterfaceSession) SetPermImplementation(_permImplementation common.Address) (*types.Transaction, error)

SetPermImplementation is a paid mutator transaction binding the contract method 0x511bbd9f.

Solidity: function setPermImplementation(_permImplementation address) returns()

func (*PermInterfaceSession) SetPolicy

func (_PermInterface *PermInterfaceSession) SetPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string) (*types.Transaction, error)

SetPolicy is a paid mutator transaction binding the contract method 0x1b610220.

Solidity: function setPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string) returns()

func (*PermInterfaceSession) StartBlacklistedAccountRecovery

func (_PermInterface *PermInterfaceSession) StartBlacklistedAccountRecovery(_orgId string, _account common.Address) (*types.Transaction, error)

StartBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0xa97914bf.

Solidity: function startBlacklistedAccountRecovery(_orgId string, _account address) returns()

func (*PermInterfaceSession) StartBlacklistedNodeRecovery

func (_PermInterface *PermInterfaceSession) StartBlacklistedNodeRecovery(_orgId string, _enodeId string) (*types.Transaction, error)

StartBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x8cb58ef3.

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

func (*PermInterfaceSession) UpdateAccountStatus

func (_PermInterface *PermInterfaceSession) 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(_orgId string, _account address, _action uint256) returns()

func (*PermInterfaceSession) UpdateNetworkBootStatus

func (_PermInterface *PermInterfaceSession) UpdateNetworkBootStatus() (*types.Transaction, error)

UpdateNetworkBootStatus is a paid mutator transaction binding the contract method 0x44478e79.

Solidity: function updateNetworkBootStatus() returns(bool)

func (*PermInterfaceSession) UpdateNodeStatus

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

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

Solidity: function updateNodeStatus(_orgId string, _enodeId string, _action uint256) returns()

func (*PermInterfaceSession) UpdateOrgStatus

func (_PermInterface *PermInterfaceSession) UpdateOrgStatus(_orgId string, _action *big.Int) (*types.Transaction, error)

UpdateOrgStatus is a paid mutator transaction binding the contract method 0xbb3b6e80.

Solidity: function updateOrgStatus(_orgId string, _action uint256) returns()

func (*PermInterfaceSession) ValidateAccount

func (_PermInterface *PermInterfaceSession) ValidateAccount(_account common.Address, _orgId string) (bool, error)

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

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

type PermInterfaceTransactor

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

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

func NewPermInterfaceTransactor

func NewPermInterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*PermInterfaceTransactor, error)

NewPermInterfaceTransactor creates a new write-only instance of PermInterface, bound to a specific deployed contract.

func (*PermInterfaceTransactor) AddAdminAccount

func (_PermInterface *PermInterfaceTransactor) AddAdminAccount(opts *bind.TransactOpts, _acct common.Address) (*types.Transaction, error)

AddAdminAccount is a paid mutator transaction binding the contract method 0x4fe57e7a.

Solidity: function addAdminAccount(_acct address) returns()

func (*PermInterfaceTransactor) AddAdminNode

func (_PermInterface *PermInterfaceTransactor) AddAdminNode(opts *bind.TransactOpts, _enodeId string) (*types.Transaction, error)

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

Solidity: function addAdminNode(_enodeId string) returns()

func (*PermInterfaceTransactor) AddNewRole

func (_PermInterface *PermInterfaceTransactor) AddNewRole(opts *bind.TransactOpts, _roleId string, _orgId string, _access *big.Int, _voter bool, _admin bool) (*types.Transaction, error)

AddNewRole is a paid mutator transaction binding the contract method 0x51f604c3.

Solidity: function addNewRole(_roleId string, _orgId string, _access uint256, _voter bool, _admin bool) returns()

func (*PermInterfaceTransactor) AddNode

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

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

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

func (*PermInterfaceTransactor) AddOrg

func (_PermInterface *PermInterfaceTransactor) AddOrg(opts *bind.TransactOpts, _orgId string, _enodeId string, _account common.Address) (*types.Transaction, error)

AddOrg is a paid mutator transaction binding the contract method 0x8f362a3e.

Solidity: function addOrg(_orgId string, _enodeId string, _account address) returns()

func (*PermInterfaceTransactor) AddSubOrg

func (_PermInterface *PermInterfaceTransactor) AddSubOrg(opts *bind.TransactOpts, _pOrgId string, _orgId string, _enodeId string) (*types.Transaction, error)

AddSubOrg is a paid mutator transaction binding the contract method 0x4cff819e.

Solidity: function addSubOrg(_pOrgId string, _orgId string, _enodeId string) returns()

func (*PermInterfaceTransactor) ApproveAdminRole

func (_PermInterface *PermInterfaceTransactor) ApproveAdminRole(opts *bind.TransactOpts, _orgId string, _account common.Address) (*types.Transaction, error)

ApproveAdminRole is a paid mutator transaction binding the contract method 0x16724c44.

Solidity: function approveAdminRole(_orgId string, _account address) returns()

func (*PermInterfaceTransactor) ApproveBlacklistedAccountRecovery

func (_PermInterface *PermInterfaceTransactor) ApproveBlacklistedAccountRecovery(opts *bind.TransactOpts, _orgId string, _account common.Address) (*types.Transaction, error)

ApproveBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x3e239b23.

Solidity: function approveBlacklistedAccountRecovery(_orgId string, _account address) returns()

func (*PermInterfaceTransactor) ApproveBlacklistedNodeRecovery

func (_PermInterface *PermInterfaceTransactor) ApproveBlacklistedNodeRecovery(opts *bind.TransactOpts, _orgId string, _enodeId string) (*types.Transaction, error)

ApproveBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x5adbfa7a.

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

func (*PermInterfaceTransactor) ApproveOrg

func (_PermInterface *PermInterfaceTransactor) ApproveOrg(opts *bind.TransactOpts, _orgId string, _enodeId string, _account common.Address) (*types.Transaction, error)

ApproveOrg is a paid mutator transaction binding the contract method 0x7e461258.

Solidity: function approveOrg(_orgId string, _enodeId string, _account address) returns()

func (*PermInterfaceTransactor) ApproveOrgStatus

func (_PermInterface *PermInterfaceTransactor) ApproveOrgStatus(opts *bind.TransactOpts, _orgId string, _action *big.Int) (*types.Transaction, error)

ApproveOrgStatus is a paid mutator transaction binding the contract method 0x5be9672c.

Solidity: function approveOrgStatus(_orgId string, _action uint256) returns()

func (*PermInterfaceTransactor) AssignAccountRole

func (_PermInterface *PermInterfaceTransactor) AssignAccountRole(opts *bind.TransactOpts, _account common.Address, _orgId string, _roleId string) (*types.Transaction, error)

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

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

func (*PermInterfaceTransactor) AssignAdminRole

func (_PermInterface *PermInterfaceTransactor) AssignAdminRole(opts *bind.TransactOpts, _orgId string, _account common.Address, _roleId string) (*types.Transaction, error)

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

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

func (*PermInterfaceTransactor) Init

func (_PermInterface *PermInterfaceTransactor) Init(opts *bind.TransactOpts, _breadth *big.Int, _depth *big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xa5843f08.

Solidity: function init(_breadth uint256, _depth uint256) returns()

func (*PermInterfaceTransactor) RemoveRole

func (_PermInterface *PermInterfaceTransactor) RemoveRole(opts *bind.TransactOpts, _roleId string, _orgId string) (*types.Transaction, error)

RemoveRole is a paid mutator transaction binding the contract method 0xa6343012.

Solidity: function removeRole(_roleId string, _orgId string) returns()

func (*PermInterfaceTransactor) SetPermImplementation

func (_PermInterface *PermInterfaceTransactor) SetPermImplementation(opts *bind.TransactOpts, _permImplementation common.Address) (*types.Transaction, error)

SetPermImplementation is a paid mutator transaction binding the contract method 0x511bbd9f.

Solidity: function setPermImplementation(_permImplementation address) returns()

func (*PermInterfaceTransactor) SetPolicy

func (_PermInterface *PermInterfaceTransactor) SetPolicy(opts *bind.TransactOpts, _nwAdminOrg string, _nwAdminRole string, _oAdminRole string) (*types.Transaction, error)

SetPolicy is a paid mutator transaction binding the contract method 0x1b610220.

Solidity: function setPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string) returns()

func (*PermInterfaceTransactor) StartBlacklistedAccountRecovery

func (_PermInterface *PermInterfaceTransactor) StartBlacklistedAccountRecovery(opts *bind.TransactOpts, _orgId string, _account common.Address) (*types.Transaction, error)

StartBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0xa97914bf.

Solidity: function startBlacklistedAccountRecovery(_orgId string, _account address) returns()

func (*PermInterfaceTransactor) StartBlacklistedNodeRecovery

func (_PermInterface *PermInterfaceTransactor) StartBlacklistedNodeRecovery(opts *bind.TransactOpts, _orgId string, _enodeId string) (*types.Transaction, error)

StartBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x8cb58ef3.

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

func (*PermInterfaceTransactor) UpdateAccountStatus

func (_PermInterface *PermInterfaceTransactor) 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(_orgId string, _account address, _action uint256) returns()

func (*PermInterfaceTransactor) UpdateNetworkBootStatus

func (_PermInterface *PermInterfaceTransactor) UpdateNetworkBootStatus(opts *bind.TransactOpts) (*types.Transaction, error)

UpdateNetworkBootStatus is a paid mutator transaction binding the contract method 0x44478e79.

Solidity: function updateNetworkBootStatus() returns(bool)

func (*PermInterfaceTransactor) UpdateNodeStatus

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

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

Solidity: function updateNodeStatus(_orgId string, _enodeId string, _action uint256) returns()

func (*PermInterfaceTransactor) UpdateOrgStatus

func (_PermInterface *PermInterfaceTransactor) UpdateOrgStatus(opts *bind.TransactOpts, _orgId string, _action *big.Int) (*types.Transaction, error)

UpdateOrgStatus is a paid mutator transaction binding the contract method 0xbb3b6e80.

Solidity: function updateOrgStatus(_orgId string, _action uint256) returns()

type PermInterfaceTransactorRaw

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

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

func (*PermInterfaceTransactorRaw) Transact

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

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

func (*PermInterfaceTransactorRaw) Transfer

func (_PermInterface *PermInterfaceTransactorRaw) 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 PermInterfaceTransactorSession

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

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

func (*PermInterfaceTransactorSession) AddAdminAccount

func (_PermInterface *PermInterfaceTransactorSession) AddAdminAccount(_acct common.Address) (*types.Transaction, error)

AddAdminAccount is a paid mutator transaction binding the contract method 0x4fe57e7a.

Solidity: function addAdminAccount(_acct address) returns()

func (*PermInterfaceTransactorSession) AddAdminNode

func (_PermInterface *PermInterfaceTransactorSession) AddAdminNode(_enodeId string) (*types.Transaction, error)

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

Solidity: function addAdminNode(_enodeId string) returns()

func (*PermInterfaceTransactorSession) AddNewRole

func (_PermInterface *PermInterfaceTransactorSession) AddNewRole(_roleId string, _orgId string, _access *big.Int, _voter bool, _admin bool) (*types.Transaction, error)

AddNewRole is a paid mutator transaction binding the contract method 0x51f604c3.

Solidity: function addNewRole(_roleId string, _orgId string, _access uint256, _voter bool, _admin bool) returns()

func (*PermInterfaceTransactorSession) AddNode

func (_PermInterface *PermInterfaceTransactorSession) AddNode(_orgId string, _enodeId string) (*types.Transaction, error)

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

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

func (*PermInterfaceTransactorSession) AddOrg

func (_PermInterface *PermInterfaceTransactorSession) AddOrg(_orgId string, _enodeId string, _account common.Address) (*types.Transaction, error)

AddOrg is a paid mutator transaction binding the contract method 0x8f362a3e.

Solidity: function addOrg(_orgId string, _enodeId string, _account address) returns()

func (*PermInterfaceTransactorSession) AddSubOrg

func (_PermInterface *PermInterfaceTransactorSession) AddSubOrg(_pOrgId string, _orgId string, _enodeId string) (*types.Transaction, error)

AddSubOrg is a paid mutator transaction binding the contract method 0x4cff819e.

Solidity: function addSubOrg(_pOrgId string, _orgId string, _enodeId string) returns()

func (*PermInterfaceTransactorSession) ApproveAdminRole

func (_PermInterface *PermInterfaceTransactorSession) ApproveAdminRole(_orgId string, _account common.Address) (*types.Transaction, error)

ApproveAdminRole is a paid mutator transaction binding the contract method 0x16724c44.

Solidity: function approveAdminRole(_orgId string, _account address) returns()

func (*PermInterfaceTransactorSession) ApproveBlacklistedAccountRecovery

func (_PermInterface *PermInterfaceTransactorSession) ApproveBlacklistedAccountRecovery(_orgId string, _account common.Address) (*types.Transaction, error)

ApproveBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x3e239b23.

Solidity: function approveBlacklistedAccountRecovery(_orgId string, _account address) returns()

func (*PermInterfaceTransactorSession) ApproveBlacklistedNodeRecovery

func (_PermInterface *PermInterfaceTransactorSession) ApproveBlacklistedNodeRecovery(_orgId string, _enodeId string) (*types.Transaction, error)

ApproveBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x5adbfa7a.

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

func (*PermInterfaceTransactorSession) ApproveOrg

func (_PermInterface *PermInterfaceTransactorSession) ApproveOrg(_orgId string, _enodeId string, _account common.Address) (*types.Transaction, error)

ApproveOrg is a paid mutator transaction binding the contract method 0x7e461258.

Solidity: function approveOrg(_orgId string, _enodeId string, _account address) returns()

func (*PermInterfaceTransactorSession) ApproveOrgStatus

func (_PermInterface *PermInterfaceTransactorSession) ApproveOrgStatus(_orgId string, _action *big.Int) (*types.Transaction, error)

ApproveOrgStatus is a paid mutator transaction binding the contract method 0x5be9672c.

Solidity: function approveOrgStatus(_orgId string, _action uint256) returns()

func (*PermInterfaceTransactorSession) AssignAccountRole

func (_PermInterface *PermInterfaceTransactorSession) AssignAccountRole(_account common.Address, _orgId string, _roleId string) (*types.Transaction, error)

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

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

func (*PermInterfaceTransactorSession) AssignAdminRole

func (_PermInterface *PermInterfaceTransactorSession) AssignAdminRole(_orgId string, _account common.Address, _roleId string) (*types.Transaction, error)

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

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

func (*PermInterfaceTransactorSession) Init

func (_PermInterface *PermInterfaceTransactorSession) Init(_breadth *big.Int, _depth *big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xa5843f08.

Solidity: function init(_breadth uint256, _depth uint256) returns()

func (*PermInterfaceTransactorSession) RemoveRole

func (_PermInterface *PermInterfaceTransactorSession) RemoveRole(_roleId string, _orgId string) (*types.Transaction, error)

RemoveRole is a paid mutator transaction binding the contract method 0xa6343012.

Solidity: function removeRole(_roleId string, _orgId string) returns()

func (*PermInterfaceTransactorSession) SetPermImplementation

func (_PermInterface *PermInterfaceTransactorSession) SetPermImplementation(_permImplementation common.Address) (*types.Transaction, error)

SetPermImplementation is a paid mutator transaction binding the contract method 0x511bbd9f.

Solidity: function setPermImplementation(_permImplementation address) returns()

func (*PermInterfaceTransactorSession) SetPolicy

func (_PermInterface *PermInterfaceTransactorSession) SetPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string) (*types.Transaction, error)

SetPolicy is a paid mutator transaction binding the contract method 0x1b610220.

Solidity: function setPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string) returns()

func (*PermInterfaceTransactorSession) StartBlacklistedAccountRecovery

func (_PermInterface *PermInterfaceTransactorSession) StartBlacklistedAccountRecovery(_orgId string, _account common.Address) (*types.Transaction, error)

StartBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0xa97914bf.

Solidity: function startBlacklistedAccountRecovery(_orgId string, _account address) returns()

func (*PermInterfaceTransactorSession) StartBlacklistedNodeRecovery

func (_PermInterface *PermInterfaceTransactorSession) StartBlacklistedNodeRecovery(_orgId string, _enodeId string) (*types.Transaction, error)

StartBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x8cb58ef3.

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

func (*PermInterfaceTransactorSession) UpdateAccountStatus

func (_PermInterface *PermInterfaceTransactorSession) 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(_orgId string, _account address, _action uint256) returns()

func (*PermInterfaceTransactorSession) UpdateNetworkBootStatus

func (_PermInterface *PermInterfaceTransactorSession) UpdateNetworkBootStatus() (*types.Transaction, error)

UpdateNetworkBootStatus is a paid mutator transaction binding the contract method 0x44478e79.

Solidity: function updateNetworkBootStatus() returns(bool)

func (*PermInterfaceTransactorSession) UpdateNodeStatus

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

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

Solidity: function updateNodeStatus(_orgId string, _enodeId string, _action uint256) returns()

func (*PermInterfaceTransactorSession) UpdateOrgStatus

func (_PermInterface *PermInterfaceTransactorSession) UpdateOrgStatus(_orgId string, _action *big.Int) (*types.Transaction, error)

UpdateOrgStatus is a paid mutator transaction binding the contract method 0xbb3b6e80.

Solidity: function updateOrgStatus(_orgId string, _action uint256) 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(_proposedImpl address) 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(_permInterface address, _permImpl address) 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(_proposedImpl address) 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(_permInterface address, _permImpl address) 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(_proposedImpl address) 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(_permInterface address, _permImpl address) returns()

type RoleManager

type RoleManager struct {
	RoleManagerCaller     // Read-only binding to the contract
	RoleManagerTransactor // Write-only binding to the contract
	RoleManagerFilterer   // Log filterer for contract events
}

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

func DeployRoleManager

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

DeployRoleManager deploys a new Ethereum contract, binding an instance of RoleManager to it.

func NewRoleManager

func NewRoleManager(address common.Address, backend bind.ContractBackend) (*RoleManager, error)

NewRoleManager creates a new instance of RoleManager, bound to a specific deployed contract.

type RoleManagerCaller

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

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

func NewRoleManagerCaller

func NewRoleManagerCaller(address common.Address, caller bind.ContractCaller) (*RoleManagerCaller, error)

NewRoleManagerCaller creates a new read-only instance of RoleManager, bound to a specific deployed contract.

func (*RoleManagerCaller) GetNumberOfRoles

func (_RoleManager *RoleManagerCaller) GetNumberOfRoles(opts *bind.CallOpts) (*big.Int, error)

GetNumberOfRoles is a free data retrieval call binding the contract method 0x87f55d31.

Solidity: function getNumberOfRoles() constant returns(uint256)

func (*RoleManagerCaller) GetRoleDetails

func (_RoleManager *RoleManagerCaller) GetRoleDetails(opts *bind.CallOpts, _roleId string, _orgId string) (struct {
	RoleId     string
	OrgId      string
	AccessType *big.Int
	Voter      bool
	Admin      bool
	Active     bool
}, error)

GetRoleDetails is a free data retrieval call binding the contract method 0x1870aba3.

Solidity: function getRoleDetails(_roleId string, _orgId string) constant returns(roleId string, orgId string, accessType uint256, voter bool, admin bool, active bool)

func (*RoleManagerCaller) GetRoleDetailsFromIndex

func (_RoleManager *RoleManagerCaller) GetRoleDetailsFromIndex(opts *bind.CallOpts, _rIndex *big.Int) (struct {
	RoleId     string
	OrgId      string
	AccessType *big.Int
	Voter      bool
	Admin      bool
	Active     bool
}, error)

GetRoleDetailsFromIndex is a free data retrieval call binding the contract method 0xa451d4a8.

Solidity: function getRoleDetailsFromIndex(_rIndex uint256) constant returns(roleId string, orgId string, accessType uint256, voter bool, admin bool, active bool)

func (*RoleManagerCaller) IsAdminRole

func (_RoleManager *RoleManagerCaller) IsAdminRole(opts *bind.CallOpts, _roleId string, _orgId string, _ultParent string) (bool, error)

IsAdminRole is a free data retrieval call binding the contract method 0xbe322e54.

Solidity: function isAdminRole(_roleId string, _orgId string, _ultParent string) constant returns(bool)

func (*RoleManagerCaller) IsVoterRole

func (_RoleManager *RoleManagerCaller) IsVoterRole(opts *bind.CallOpts, _roleId string, _orgId string, _ultParent string) (bool, error)

IsVoterRole is a free data retrieval call binding the contract method 0xdeb16ba7.

Solidity: function isVoterRole(_roleId string, _orgId string, _ultParent string) constant returns(bool)

func (*RoleManagerCaller) RoleExists

func (_RoleManager *RoleManagerCaller) RoleExists(opts *bind.CallOpts, _roleId string, _orgId string, _ultParent string) (bool, error)

RoleExists is a free data retrieval call binding the contract method 0xabf5739f.

Solidity: function roleExists(_roleId string, _orgId string, _ultParent string) constant returns(bool)

type RoleManagerCallerRaw

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

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

func (*RoleManagerCallerRaw) Call

func (_RoleManager *RoleManagerCallerRaw) 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 RoleManagerCallerSession

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

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

func (*RoleManagerCallerSession) GetNumberOfRoles

func (_RoleManager *RoleManagerCallerSession) GetNumberOfRoles() (*big.Int, error)

GetNumberOfRoles is a free data retrieval call binding the contract method 0x87f55d31.

Solidity: function getNumberOfRoles() constant returns(uint256)

func (*RoleManagerCallerSession) GetRoleDetails

func (_RoleManager *RoleManagerCallerSession) GetRoleDetails(_roleId string, _orgId string) (struct {
	RoleId     string
	OrgId      string
	AccessType *big.Int
	Voter      bool
	Admin      bool
	Active     bool
}, error)

GetRoleDetails is a free data retrieval call binding the contract method 0x1870aba3.

Solidity: function getRoleDetails(_roleId string, _orgId string) constant returns(roleId string, orgId string, accessType uint256, voter bool, admin bool, active bool)

func (*RoleManagerCallerSession) GetRoleDetailsFromIndex

func (_RoleManager *RoleManagerCallerSession) GetRoleDetailsFromIndex(_rIndex *big.Int) (struct {
	RoleId     string
	OrgId      string
	AccessType *big.Int
	Voter      bool
	Admin      bool
	Active     bool
}, error)

GetRoleDetailsFromIndex is a free data retrieval call binding the contract method 0xa451d4a8.

Solidity: function getRoleDetailsFromIndex(_rIndex uint256) constant returns(roleId string, orgId string, accessType uint256, voter bool, admin bool, active bool)

func (*RoleManagerCallerSession) IsAdminRole

func (_RoleManager *RoleManagerCallerSession) IsAdminRole(_roleId string, _orgId string, _ultParent string) (bool, error)

IsAdminRole is a free data retrieval call binding the contract method 0xbe322e54.

Solidity: function isAdminRole(_roleId string, _orgId string, _ultParent string) constant returns(bool)

func (*RoleManagerCallerSession) IsVoterRole

func (_RoleManager *RoleManagerCallerSession) IsVoterRole(_roleId string, _orgId string, _ultParent string) (bool, error)

IsVoterRole is a free data retrieval call binding the contract method 0xdeb16ba7.

Solidity: function isVoterRole(_roleId string, _orgId string, _ultParent string) constant returns(bool)

func (*RoleManagerCallerSession) RoleExists

func (_RoleManager *RoleManagerCallerSession) RoleExists(_roleId string, _orgId string, _ultParent string) (bool, error)

RoleExists is a free data retrieval call binding the contract method 0xabf5739f.

Solidity: function roleExists(_roleId string, _orgId string, _ultParent string) constant returns(bool)

type RoleManagerFilterer

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

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

func NewRoleManagerFilterer

func NewRoleManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*RoleManagerFilterer, error)

NewRoleManagerFilterer creates a new log filterer instance of RoleManager, bound to a specific deployed contract.

func (*RoleManagerFilterer) FilterRoleCreated

func (_RoleManager *RoleManagerFilterer) FilterRoleCreated(opts *bind.FilterOpts) (*RoleManagerRoleCreatedIterator, error)

FilterRoleCreated is a free log retrieval operation binding the contract event 0xefa5bc1bedbee25b04b00855c15a0c180ecb4a2440d4d08296e49561655e2b1c.

Solidity: e RoleCreated(_roleId string, _orgId string, _baseAccess uint256, _isVoter bool, _isAdmin bool)

func (*RoleManagerFilterer) FilterRoleRevoked

func (_RoleManager *RoleManagerFilterer) FilterRoleRevoked(opts *bind.FilterOpts) (*RoleManagerRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0x1196059dd83524bf989fd94bb65808c09dbea2ab791fb6bfa87a0e0aa64b2ea6.

Solidity: e RoleRevoked(_roleId string, _orgId string)

func (*RoleManagerFilterer) WatchRoleCreated

func (_RoleManager *RoleManagerFilterer) WatchRoleCreated(opts *bind.WatchOpts, sink chan<- *RoleManagerRoleCreated) (event.Subscription, error)

WatchRoleCreated is a free log subscription operation binding the contract event 0xefa5bc1bedbee25b04b00855c15a0c180ecb4a2440d4d08296e49561655e2b1c.

Solidity: e RoleCreated(_roleId string, _orgId string, _baseAccess uint256, _isVoter bool, _isAdmin bool)

func (*RoleManagerFilterer) WatchRoleRevoked

func (_RoleManager *RoleManagerFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *RoleManagerRoleRevoked) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0x1196059dd83524bf989fd94bb65808c09dbea2ab791fb6bfa87a0e0aa64b2ea6.

Solidity: e RoleRevoked(_roleId string, _orgId string)

type RoleManagerRaw

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

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

func (*RoleManagerRaw) Call

func (_RoleManager *RoleManagerRaw) 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 (*RoleManagerRaw) Transact

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

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

func (*RoleManagerRaw) Transfer

func (_RoleManager *RoleManagerRaw) 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 RoleManagerRoleCreated

type RoleManagerRoleCreated struct {
	RoleId     string
	OrgId      string
	BaseAccess *big.Int
	IsVoter    bool
	IsAdmin    bool
	Raw        types.Log // Blockchain specific contextual infos
}

RoleManagerRoleCreated represents a RoleCreated event raised by the RoleManager contract.

type RoleManagerRoleCreatedIterator

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

RoleManagerRoleCreatedIterator is returned from FilterRoleCreated and is used to iterate over the raw logs and unpacked data for RoleCreated events raised by the RoleManager contract.

func (*RoleManagerRoleCreatedIterator) Close

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

func (*RoleManagerRoleCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RoleManagerRoleCreatedIterator) 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 RoleManagerRoleRevoked

type RoleManagerRoleRevoked struct {
	RoleId string
	OrgId  string
	Raw    types.Log // Blockchain specific contextual infos
}

RoleManagerRoleRevoked represents a RoleRevoked event raised by the RoleManager contract.

type RoleManagerRoleRevokedIterator

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

RoleManagerRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the RoleManager contract.

func (*RoleManagerRoleRevokedIterator) Close

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

func (*RoleManagerRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RoleManagerRoleRevokedIterator) 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 RoleManagerSession

type RoleManagerSession struct {
	Contract     *RoleManager      // 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
}

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

func (*RoleManagerSession) AddRole

func (_RoleManager *RoleManagerSession) AddRole(_roleId string, _orgId string, _baseAccess *big.Int, _isVoter bool, _isAdmin bool) (*types.Transaction, error)

AddRole is a paid mutator transaction binding the contract method 0x7b713579.

Solidity: function addRole(_roleId string, _orgId string, _baseAccess uint256, _isVoter bool, _isAdmin bool) returns()

func (*RoleManagerSession) GetNumberOfRoles

func (_RoleManager *RoleManagerSession) GetNumberOfRoles() (*big.Int, error)

GetNumberOfRoles is a free data retrieval call binding the contract method 0x87f55d31.

Solidity: function getNumberOfRoles() constant returns(uint256)

func (*RoleManagerSession) GetRoleDetails

func (_RoleManager *RoleManagerSession) GetRoleDetails(_roleId string, _orgId string) (struct {
	RoleId     string
	OrgId      string
	AccessType *big.Int
	Voter      bool
	Admin      bool
	Active     bool
}, error)

GetRoleDetails is a free data retrieval call binding the contract method 0x1870aba3.

Solidity: function getRoleDetails(_roleId string, _orgId string) constant returns(roleId string, orgId string, accessType uint256, voter bool, admin bool, active bool)

func (*RoleManagerSession) GetRoleDetailsFromIndex

func (_RoleManager *RoleManagerSession) GetRoleDetailsFromIndex(_rIndex *big.Int) (struct {
	RoleId     string
	OrgId      string
	AccessType *big.Int
	Voter      bool
	Admin      bool
	Active     bool
}, error)

GetRoleDetailsFromIndex is a free data retrieval call binding the contract method 0xa451d4a8.

Solidity: function getRoleDetailsFromIndex(_rIndex uint256) constant returns(roleId string, orgId string, accessType uint256, voter bool, admin bool, active bool)

func (*RoleManagerSession) IsAdminRole

func (_RoleManager *RoleManagerSession) IsAdminRole(_roleId string, _orgId string, _ultParent string) (bool, error)

IsAdminRole is a free data retrieval call binding the contract method 0xbe322e54.

Solidity: function isAdminRole(_roleId string, _orgId string, _ultParent string) constant returns(bool)

func (*RoleManagerSession) IsVoterRole

func (_RoleManager *RoleManagerSession) IsVoterRole(_roleId string, _orgId string, _ultParent string) (bool, error)

IsVoterRole is a free data retrieval call binding the contract method 0xdeb16ba7.

Solidity: function isVoterRole(_roleId string, _orgId string, _ultParent string) constant returns(bool)

func (*RoleManagerSession) RemoveRole

func (_RoleManager *RoleManagerSession) RemoveRole(_roleId string, _orgId string) (*types.Transaction, error)

RemoveRole is a paid mutator transaction binding the contract method 0xa6343012.

Solidity: function removeRole(_roleId string, _orgId string) returns()

func (*RoleManagerSession) RoleExists

func (_RoleManager *RoleManagerSession) RoleExists(_roleId string, _orgId string, _ultParent string) (bool, error)

RoleExists is a free data retrieval call binding the contract method 0xabf5739f.

Solidity: function roleExists(_roleId string, _orgId string, _ultParent string) constant returns(bool)

type RoleManagerTransactor

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

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

func NewRoleManagerTransactor

func NewRoleManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*RoleManagerTransactor, error)

NewRoleManagerTransactor creates a new write-only instance of RoleManager, bound to a specific deployed contract.

func (*RoleManagerTransactor) AddRole

func (_RoleManager *RoleManagerTransactor) AddRole(opts *bind.TransactOpts, _roleId string, _orgId string, _baseAccess *big.Int, _isVoter bool, _isAdmin bool) (*types.Transaction, error)

AddRole is a paid mutator transaction binding the contract method 0x7b713579.

Solidity: function addRole(_roleId string, _orgId string, _baseAccess uint256, _isVoter bool, _isAdmin bool) returns()

func (*RoleManagerTransactor) RemoveRole

func (_RoleManager *RoleManagerTransactor) RemoveRole(opts *bind.TransactOpts, _roleId string, _orgId string) (*types.Transaction, error)

RemoveRole is a paid mutator transaction binding the contract method 0xa6343012.

Solidity: function removeRole(_roleId string, _orgId string) returns()

type RoleManagerTransactorRaw

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

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

func (*RoleManagerTransactorRaw) Transact

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

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

func (*RoleManagerTransactorRaw) Transfer

func (_RoleManager *RoleManagerTransactorRaw) 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 RoleManagerTransactorSession

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

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

func (*RoleManagerTransactorSession) AddRole

func (_RoleManager *RoleManagerTransactorSession) AddRole(_roleId string, _orgId string, _baseAccess *big.Int, _isVoter bool, _isAdmin bool) (*types.Transaction, error)

AddRole is a paid mutator transaction binding the contract method 0x7b713579.

Solidity: function addRole(_roleId string, _orgId string, _baseAccess uint256, _isVoter bool, _isAdmin bool) returns()

func (*RoleManagerTransactorSession) RemoveRole

func (_RoleManager *RoleManagerTransactorSession) RemoveRole(_roleId string, _orgId string) (*types.Transaction, error)

RemoveRole is a paid mutator transaction binding the contract method 0xa6343012.

Solidity: function removeRole(_roleId string, _orgId string) returns()

type VoterManager

type VoterManager struct {
	VoterManagerCaller     // Read-only binding to the contract
	VoterManagerTransactor // Write-only binding to the contract
	VoterManagerFilterer   // Log filterer for contract events
}

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

func DeployVoterManager

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

DeployVoterManager deploys a new Ethereum contract, binding an instance of VoterManager to it.

func NewVoterManager

func NewVoterManager(address common.Address, backend bind.ContractBackend) (*VoterManager, error)

NewVoterManager creates a new instance of VoterManager, bound to a specific deployed contract.

type VoterManagerCaller

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

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

func NewVoterManagerCaller

func NewVoterManagerCaller(address common.Address, caller bind.ContractCaller) (*VoterManagerCaller, error)

NewVoterManagerCaller creates a new read-only instance of VoterManager, bound to a specific deployed contract.

func (*VoterManagerCaller) GetPendingOpDetails

func (_VoterManager *VoterManagerCaller) GetPendingOpDetails(opts *bind.CallOpts, _orgId string) (string, string, common.Address, *big.Int, error)

GetPendingOpDetails is a free data retrieval call binding the contract method 0x014e6acc.

Solidity: function getPendingOpDetails(_orgId string) constant returns(string, string, address, uint256)

type VoterManagerCallerRaw

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

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

func (*VoterManagerCallerRaw) Call

func (_VoterManager *VoterManagerCallerRaw) 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 VoterManagerCallerSession

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

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

func (*VoterManagerCallerSession) GetPendingOpDetails

func (_VoterManager *VoterManagerCallerSession) GetPendingOpDetails(_orgId string) (string, string, common.Address, *big.Int, error)

GetPendingOpDetails is a free data retrieval call binding the contract method 0x014e6acc.

Solidity: function getPendingOpDetails(_orgId string) constant returns(string, string, address, uint256)

type VoterManagerFilterer

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

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

func NewVoterManagerFilterer

func NewVoterManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*VoterManagerFilterer, error)

NewVoterManagerFilterer creates a new log filterer instance of VoterManager, bound to a specific deployed contract.

func (*VoterManagerFilterer) FilterVoteProcessed

func (_VoterManager *VoterManagerFilterer) FilterVoteProcessed(opts *bind.FilterOpts) (*VoterManagerVoteProcessedIterator, error)

FilterVoteProcessed is a free log retrieval operation binding the contract event 0x87999b54e45aa02834a1265e356d7bcdceb72b8cbb4396ebaeba32a103b43508.

Solidity: e VoteProcessed(_orgId string)

func (*VoterManagerFilterer) FilterVoterAdded

func (_VoterManager *VoterManagerFilterer) FilterVoterAdded(opts *bind.FilterOpts) (*VoterManagerVoterAddedIterator, error)

FilterVoterAdded is a free log retrieval operation binding the contract event 0x424f3ad05c61ea35cad66f22b70b1fad7250d8229921238078c401db36d34574.

Solidity: e VoterAdded(_orgId string, _vAccount address)

func (*VoterManagerFilterer) FilterVoterDeleted

func (_VoterManager *VoterManagerFilterer) FilterVoterDeleted(opts *bind.FilterOpts) (*VoterManagerVoterDeletedIterator, error)

FilterVoterDeleted is a free log retrieval operation binding the contract event 0x654cd85d9b2abaf3affef0a047625d088e6e4d0448935c9b5016b5f5aa0ca3b6.

Solidity: e VoterDeleted(_orgId string, _vAccount address)

func (*VoterManagerFilterer) FilterVotingItemAdded

func (_VoterManager *VoterManagerFilterer) FilterVotingItemAdded(opts *bind.FilterOpts) (*VoterManagerVotingItemAddedIterator, error)

FilterVotingItemAdded is a free log retrieval operation binding the contract event 0x5bfaebb5931145594f63236d2a59314c4dc6035b65d0ca4cee9c7298e2f06ca3.

Solidity: e VotingItemAdded(_orgId string)

func (*VoterManagerFilterer) WatchVoteProcessed

func (_VoterManager *VoterManagerFilterer) WatchVoteProcessed(opts *bind.WatchOpts, sink chan<- *VoterManagerVoteProcessed) (event.Subscription, error)

WatchVoteProcessed is a free log subscription operation binding the contract event 0x87999b54e45aa02834a1265e356d7bcdceb72b8cbb4396ebaeba32a103b43508.

Solidity: e VoteProcessed(_orgId string)

func (*VoterManagerFilterer) WatchVoterAdded

func (_VoterManager *VoterManagerFilterer) WatchVoterAdded(opts *bind.WatchOpts, sink chan<- *VoterManagerVoterAdded) (event.Subscription, error)

WatchVoterAdded is a free log subscription operation binding the contract event 0x424f3ad05c61ea35cad66f22b70b1fad7250d8229921238078c401db36d34574.

Solidity: e VoterAdded(_orgId string, _vAccount address)

func (*VoterManagerFilterer) WatchVoterDeleted

func (_VoterManager *VoterManagerFilterer) WatchVoterDeleted(opts *bind.WatchOpts, sink chan<- *VoterManagerVoterDeleted) (event.Subscription, error)

WatchVoterDeleted is a free log subscription operation binding the contract event 0x654cd85d9b2abaf3affef0a047625d088e6e4d0448935c9b5016b5f5aa0ca3b6.

Solidity: e VoterDeleted(_orgId string, _vAccount address)

func (*VoterManagerFilterer) WatchVotingItemAdded

func (_VoterManager *VoterManagerFilterer) WatchVotingItemAdded(opts *bind.WatchOpts, sink chan<- *VoterManagerVotingItemAdded) (event.Subscription, error)

WatchVotingItemAdded is a free log subscription operation binding the contract event 0x5bfaebb5931145594f63236d2a59314c4dc6035b65d0ca4cee9c7298e2f06ca3.

Solidity: e VotingItemAdded(_orgId string)

type VoterManagerRaw

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

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

func (*VoterManagerRaw) Call

func (_VoterManager *VoterManagerRaw) 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 (*VoterManagerRaw) Transact

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

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

func (*VoterManagerRaw) Transfer

func (_VoterManager *VoterManagerRaw) 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 VoterManagerSession

type VoterManagerSession struct {
	Contract     *VoterManager     // 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
}

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

func (*VoterManagerSession) AddVoter

func (_VoterManager *VoterManagerSession) AddVoter(_orgId string, _vAccount common.Address) (*types.Transaction, error)

AddVoter is a paid mutator transaction binding the contract method 0x5607395b.

Solidity: function addVoter(_orgId string, _vAccount address) returns()

func (*VoterManagerSession) AddVotingItem

func (_VoterManager *VoterManagerSession) AddVotingItem(_authOrg string, _orgId string, _enodeId string, _account common.Address, _pendingOp *big.Int) (*types.Transaction, error)

AddVotingItem is a paid mutator transaction binding the contract method 0xe98ac22d.

Solidity: function addVotingItem(_authOrg string, _orgId string, _enodeId string, _account address, _pendingOp uint256) returns()

func (*VoterManagerSession) DeleteVoter

func (_VoterManager *VoterManagerSession) DeleteVoter(_orgId string, _vAccount common.Address) (*types.Transaction, error)

DeleteVoter is a paid mutator transaction binding the contract method 0x59cbd6fe.

Solidity: function deleteVoter(_orgId string, _vAccount address) returns()

func (*VoterManagerSession) GetPendingOpDetails

func (_VoterManager *VoterManagerSession) GetPendingOpDetails(_orgId string) (string, string, common.Address, *big.Int, error)

GetPendingOpDetails is a free data retrieval call binding the contract method 0x014e6acc.

Solidity: function getPendingOpDetails(_orgId string) constant returns(string, string, address, uint256)

func (*VoterManagerSession) ProcessVote

func (_VoterManager *VoterManagerSession) ProcessVote(_authOrg string, _vAccount common.Address, _pendingOp *big.Int) (*types.Transaction, error)

ProcessVote is a paid mutator transaction binding the contract method 0xb0213864.

Solidity: function processVote(_authOrg string, _vAccount address, _pendingOp uint256) returns(bool)

type VoterManagerTransactor

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

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

func NewVoterManagerTransactor

func NewVoterManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*VoterManagerTransactor, error)

NewVoterManagerTransactor creates a new write-only instance of VoterManager, bound to a specific deployed contract.

func (*VoterManagerTransactor) AddVoter

func (_VoterManager *VoterManagerTransactor) AddVoter(opts *bind.TransactOpts, _orgId string, _vAccount common.Address) (*types.Transaction, error)

AddVoter is a paid mutator transaction binding the contract method 0x5607395b.

Solidity: function addVoter(_orgId string, _vAccount address) returns()

func (*VoterManagerTransactor) AddVotingItem

func (_VoterManager *VoterManagerTransactor) AddVotingItem(opts *bind.TransactOpts, _authOrg string, _orgId string, _enodeId string, _account common.Address, _pendingOp *big.Int) (*types.Transaction, error)

AddVotingItem is a paid mutator transaction binding the contract method 0xe98ac22d.

Solidity: function addVotingItem(_authOrg string, _orgId string, _enodeId string, _account address, _pendingOp uint256) returns()

func (*VoterManagerTransactor) DeleteVoter

func (_VoterManager *VoterManagerTransactor) DeleteVoter(opts *bind.TransactOpts, _orgId string, _vAccount common.Address) (*types.Transaction, error)

DeleteVoter is a paid mutator transaction binding the contract method 0x59cbd6fe.

Solidity: function deleteVoter(_orgId string, _vAccount address) returns()

func (*VoterManagerTransactor) ProcessVote

func (_VoterManager *VoterManagerTransactor) ProcessVote(opts *bind.TransactOpts, _authOrg string, _vAccount common.Address, _pendingOp *big.Int) (*types.Transaction, error)

ProcessVote is a paid mutator transaction binding the contract method 0xb0213864.

Solidity: function processVote(_authOrg string, _vAccount address, _pendingOp uint256) returns(bool)

type VoterManagerTransactorRaw

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

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

func (*VoterManagerTransactorRaw) Transact

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

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

func (*VoterManagerTransactorRaw) Transfer

func (_VoterManager *VoterManagerTransactorRaw) 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 VoterManagerTransactorSession

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

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

func (*VoterManagerTransactorSession) AddVoter

func (_VoterManager *VoterManagerTransactorSession) AddVoter(_orgId string, _vAccount common.Address) (*types.Transaction, error)

AddVoter is a paid mutator transaction binding the contract method 0x5607395b.

Solidity: function addVoter(_orgId string, _vAccount address) returns()

func (*VoterManagerTransactorSession) AddVotingItem

func (_VoterManager *VoterManagerTransactorSession) AddVotingItem(_authOrg string, _orgId string, _enodeId string, _account common.Address, _pendingOp *big.Int) (*types.Transaction, error)

AddVotingItem is a paid mutator transaction binding the contract method 0xe98ac22d.

Solidity: function addVotingItem(_authOrg string, _orgId string, _enodeId string, _account address, _pendingOp uint256) returns()

func (*VoterManagerTransactorSession) DeleteVoter

func (_VoterManager *VoterManagerTransactorSession) DeleteVoter(_orgId string, _vAccount common.Address) (*types.Transaction, error)

DeleteVoter is a paid mutator transaction binding the contract method 0x59cbd6fe.

Solidity: function deleteVoter(_orgId string, _vAccount address) returns()

func (*VoterManagerTransactorSession) ProcessVote

func (_VoterManager *VoterManagerTransactorSession) ProcessVote(_authOrg string, _vAccount common.Address, _pendingOp *big.Int) (*types.Transaction, error)

ProcessVote is a paid mutator transaction binding the contract method 0xb0213864.

Solidity: function processVote(_authOrg string, _vAccount address, _pendingOp uint256) returns(bool)

type VoterManagerVoteProcessed

type VoterManagerVoteProcessed struct {
	OrgId string
	Raw   types.Log // Blockchain specific contextual infos
}

VoterManagerVoteProcessed represents a VoteProcessed event raised by the VoterManager contract.

type VoterManagerVoteProcessedIterator

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

VoterManagerVoteProcessedIterator is returned from FilterVoteProcessed and is used to iterate over the raw logs and unpacked data for VoteProcessed events raised by the VoterManager contract.

func (*VoterManagerVoteProcessedIterator) Close

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

func (*VoterManagerVoteProcessedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VoterManagerVoteProcessedIterator) 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 VoterManagerVoterAdded

type VoterManagerVoterAdded struct {
	OrgId    string
	VAccount common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

VoterManagerVoterAdded represents a VoterAdded event raised by the VoterManager contract.

type VoterManagerVoterAddedIterator

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

VoterManagerVoterAddedIterator is returned from FilterVoterAdded and is used to iterate over the raw logs and unpacked data for VoterAdded events raised by the VoterManager contract.

func (*VoterManagerVoterAddedIterator) Close

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

func (*VoterManagerVoterAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VoterManagerVoterAddedIterator) 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 VoterManagerVoterDeleted

type VoterManagerVoterDeleted struct {
	OrgId    string
	VAccount common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

VoterManagerVoterDeleted represents a VoterDeleted event raised by the VoterManager contract.

type VoterManagerVoterDeletedIterator

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

VoterManagerVoterDeletedIterator is returned from FilterVoterDeleted and is used to iterate over the raw logs and unpacked data for VoterDeleted events raised by the VoterManager contract.

func (*VoterManagerVoterDeletedIterator) Close

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

func (*VoterManagerVoterDeletedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VoterManagerVoterDeletedIterator) 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 VoterManagerVotingItemAdded

type VoterManagerVotingItemAdded struct {
	OrgId string
	Raw   types.Log // Blockchain specific contextual infos
}

VoterManagerVotingItemAdded represents a VotingItemAdded event raised by the VoterManager contract.

type VoterManagerVotingItemAddedIterator

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

VoterManagerVotingItemAddedIterator is returned from FilterVotingItemAdded and is used to iterate over the raw logs and unpacked data for VotingItemAdded events raised by the VoterManager contract.

func (*VoterManagerVotingItemAddedIterator) Close

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

func (*VoterManagerVotingItemAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VoterManagerVotingItemAddedIterator) Next

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

Jump to

Keyboard shortcuts

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