permission

package
v21.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Variables

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

AcctManagerBin is the compiled bytecode used for deploying new contracts.

View Source
var AcctManagerParsedABI, _ = abi.JSON(strings.NewReader(AcctManagerABI))
View Source
var NodeActivatedTopicHash = "0xfb98f62dea866f0c373574c8523f611d0db1d8f19cc1b95d07a221d36a6a45de"
View Source
var NodeApprovedTopicHash = "0x9394c836a3325586270659f6aa3b9f835abca9afe7fec5abfc69760bb12bce0d"
View Source
var NodeBlacklistedTopicHash = "0x25300d4d785e654bc9b7979700cfa0fdc9ace890a46841fecfce661fd2c41a33"
View Source
var NodeDeactivatedTopicHash = "0xf631019be71bc682c59150635d714061185232e98e60de8bdd87bbee239cc5c8"
View Source
var NodeManagerBin = "" /* 26400-byte string literal not displayed */

NodeManagerBin is the compiled bytecode used for deploying new contracts.

View Source
var NodeManagerParsedABI, _ = abi.JSON(strings.NewReader(NodeManagerABI))
View Source
var NodeProposedTopicHash = "0xf9bad9f8a2dccc52fad61273a7fd673335b420319506c19b87df9ce7a19732da"
View Source
var NodeRecoveryCompletedTopicHash = "0x60aac8c36efdaabf125dc9ec2124bde8b3ceafe5c8b4fc8063fc4ac9017eb0be"
View Source
var NodeRecoveryInitiatedTopicHash = "0x72779f66ea90e28bae76fbfe03eaef5ae01699976c7493f93186ab9560ccfaa4"
View Source
var OrgApprovedTopicHash = "0xd705723a50859c9cc1d3953e10b8b9478820e7a62927ad3215897ed87b20591c"
View Source
var OrgManagerBin = "" /* 30572-byte string literal not displayed */

OrgManagerBin is the compiled bytecode used for deploying new contracts.

View Source
var OrgManagerParsedABI, _ = abi.JSON(strings.NewReader(OrgManagerABI))
View Source
var OrgPendingApprovalTopicHash = "0x0e8b7be64e0c730234ba2cd252b227fb481d7a247ba806d1941144c535bf054b"
View Source
var OrgSuspendedTopicHash = "0x73ccf8d6c8385bf5347269bd59712da33183c1a5e1702494bcdb87d0f4674d96"
View Source
var OrgSuspensionRevokedTopicHash = "0x882f030c609566cd82918a97d457fd48f9cfcefd11282e2654cde3f94579c15f"
View Source
var PermImplBin = "" /* 68368-byte string literal not displayed */

PermImplBin is the compiled bytecode used for deploying new contracts.

View Source
var PermImplParsedABI, _ = abi.JSON(strings.NewReader(PermImplABI))
View Source
var PermInterfaceBin = "" /* 26788-byte string literal not displayed */

PermInterfaceBin is the compiled bytecode used for deploying new contracts.

View Source
var PermInterfaceParsedABI, _ = abi.JSON(strings.NewReader(PermInterfaceABI))
View Source
var PermUpgrBin = "" /* 3536-byte string literal not displayed */

PermUpgrBin is the compiled bytecode used for deploying new contracts.

View Source
var PermUpgrParsedABI, _ = abi.JSON(strings.NewReader(PermUpgrABI))
View Source
var PermissionsInitializedTopicHash = "0x04f651be6fb8fc575d94591e56e9f6e66e33ef23e949765918b3bdae50c617cf"
View Source
var RoleCreatedTopicHash = "0xefa5bc1bedbee25b04b00855c15a0c180ecb4a2440d4d08296e49561655e2b1c"
View Source
var RoleManagerBin = "" /* 20916-byte string literal not displayed */

RoleManagerBin is the compiled bytecode used for deploying new contracts.

View Source
var RoleManagerParsedABI, _ = abi.JSON(strings.NewReader(RoleManagerABI))
View Source
var RoleRevokedTopicHash = "0x1196059dd83524bf989fd94bb65808c09dbea2ab791fb6bfa87a0e0aa64b2ea6"
View Source
var VoteProcessedTopicHash = "0x87999b54e45aa02834a1265e356d7bcdceb72b8cbb4396ebaeba32a103b43508"
View Source
var VoterAddedTopicHash = "0x424f3ad05c61ea35cad66f22b70b1fad7250d8229921238078c401db36d34574"
View Source
var VoterDeletedTopicHash = "0x654cd85d9b2abaf3affef0a047625d088e6e4d0448935c9b5016b5f5aa0ca3b6"
View Source
var VoterManagerBin = "" /* 16330-byte string literal not displayed */

VoterManagerBin is the compiled bytecode used for deploying new contracts.

View Source
var VoterManagerParsedABI, _ = abi.JSON(strings.NewReader(VoterManagerABI))
View Source
var VotingItemAddedTopicHash = "0x5bfaebb5931145594f63236d2a59314c4dc6035b65d0ca4cee9c7298e2f06ca3"

Functions

This section is empty.

Types

type AcctManager

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

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

func DeployAcctManager

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

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

func NewAcctManager

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

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

type AcctManagerAccountAccessModified

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

AcctManagerAccountAccessModified represents a AccountAccessModified event raised by the AcctManager contract.

type AcctManagerAccountAccessModifiedIterator

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

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

func (*AcctManagerAccountAccessModifiedIterator) Close

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

func (*AcctManagerAccountAccessModifiedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AcctManagerAccountAccessModifiedIterator) Next

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

type AcctManagerAccountAccessRevoked

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

AcctManagerAccountAccessRevoked represents a AccountAccessRevoked event raised by the AcctManager contract.

type AcctManagerAccountAccessRevokedIterator

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

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

func (*AcctManagerAccountAccessRevokedIterator) Close

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

func (*AcctManagerAccountAccessRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AcctManagerAccountAccessRevokedIterator) Next

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

type AcctManagerAccountStatusChanged

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

AcctManagerAccountStatusChanged represents a AccountStatusChanged event raised by the AcctManager contract.

type AcctManagerAccountStatusChangedIterator

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

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

func (*AcctManagerAccountStatusChangedIterator) Close

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

func (*AcctManagerAccountStatusChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AcctManagerAccountStatusChangedIterator) Next

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

type AcctManagerCaller

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

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

func NewAcctManagerCaller

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

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

func (*AcctManagerCaller) CheckOrgAdmin

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

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

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

func (*AcctManagerCaller) GetAccountDetails

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

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

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

func (*AcctManagerCaller) GetAccountDetailsFromIndex

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

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

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

func (*AcctManagerCaller) GetAccountOrgRole

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

GetAccountOrgRole is a free data retrieval call binding the contract method 0x6acee5fd.

Solidity: function getAccountOrgRole(address _account) constant returns(string, string)

func (*AcctManagerCaller) GetAccountRole

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

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

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

func (*AcctManagerCaller) GetAccountStatus

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

GetAccountStatus is a free data retrieval call binding the contract method 0xfd4fa05a.

Solidity: function getAccountStatus(address _account) constant returns(uint256)

func (*AcctManagerCaller) GetNumberOfAccounts

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

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

Solidity: function getNumberOfAccounts() constant returns(uint256)

func (*AcctManagerCaller) OrgAdminExists

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

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

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

func (*AcctManagerCaller) ValidateAccount

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

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

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

type AcctManagerCallerRaw

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

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

func (*AcctManagerCallerRaw) Call

func (_AcctManager *AcctManagerCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type AcctManagerCallerSession

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

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

func (*AcctManagerCallerSession) CheckOrgAdmin

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

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

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

func (*AcctManagerCallerSession) GetAccountDetails

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

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

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

func (*AcctManagerCallerSession) GetAccountDetailsFromIndex

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

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

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

func (*AcctManagerCallerSession) GetAccountOrgRole

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

GetAccountOrgRole is a free data retrieval call binding the contract method 0x6acee5fd.

Solidity: function getAccountOrgRole(address _account) constant returns(string, string)

func (*AcctManagerCallerSession) GetAccountRole

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

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

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

func (*AcctManagerCallerSession) GetAccountStatus

func (_AcctManager *AcctManagerCallerSession) GetAccountStatus(_account common.Address) (*big.Int, error)

GetAccountStatus is a free data retrieval call binding the contract method 0xfd4fa05a.

Solidity: function getAccountStatus(address _account) constant returns(uint256)

func (*AcctManagerCallerSession) GetNumberOfAccounts

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

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

Solidity: function getNumberOfAccounts() constant returns(uint256)

func (*AcctManagerCallerSession) OrgAdminExists

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

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

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

func (*AcctManagerCallerSession) ValidateAccount

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

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

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

type AcctManagerFilterer

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

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

func NewAcctManagerFilterer

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

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

func (*AcctManagerFilterer) FilterAccountAccessModified

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

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

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

func (*AcctManagerFilterer) FilterAccountAccessRevoked

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

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

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

func (*AcctManagerFilterer) FilterAccountStatusChanged

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

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

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

func (*AcctManagerFilterer) ParseAccountAccessModified

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

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

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

func (*AcctManagerFilterer) ParseAccountAccessRevoked

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

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

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

func (*AcctManagerFilterer) ParseAccountStatusChanged

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

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

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

func (*AcctManagerFilterer) WatchAccountAccessModified

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

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

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

func (*AcctManagerFilterer) WatchAccountAccessRevoked

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

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

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

func (*AcctManagerFilterer) WatchAccountStatusChanged

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

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

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

type AcctManagerRaw

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

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

func (*AcctManagerRaw) Call

func (_AcctManager *AcctManagerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*AcctManagerRaw) Transact

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

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

func (*AcctManagerRaw) Transfer

func (_AcctManager *AcctManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type AcctManagerSession

type AcctManagerSession struct {
	Contract     *AcctManager      // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

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

func (*AcctManagerSession) AddNewAdmin

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

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

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

func (*AcctManagerSession) AssignAccountRole

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

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

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

func (*AcctManagerSession) AssignAdminRole

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

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

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

func (*AcctManagerSession) CheckOrgAdmin

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

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

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

func (*AcctManagerSession) GetAccountDetails

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

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

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

func (*AcctManagerSession) GetAccountDetailsFromIndex

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

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

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

func (*AcctManagerSession) GetAccountOrgRole

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

GetAccountOrgRole is a free data retrieval call binding the contract method 0x6acee5fd.

Solidity: function getAccountOrgRole(address _account) constant returns(string, string)

func (*AcctManagerSession) GetAccountRole

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

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

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

func (*AcctManagerSession) GetAccountStatus

func (_AcctManager *AcctManagerSession) GetAccountStatus(_account common.Address) (*big.Int, error)

GetAccountStatus is a free data retrieval call binding the contract method 0xfd4fa05a.

Solidity: function getAccountStatus(address _account) constant returns(uint256)

func (*AcctManagerSession) GetNumberOfAccounts

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

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

Solidity: function getNumberOfAccounts() constant returns(uint256)

func (*AcctManagerSession) OrgAdminExists

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

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

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

func (*AcctManagerSession) RemoveExistingAdmin

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

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

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

func (*AcctManagerSession) SetDefaults

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

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

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

func (*AcctManagerSession) UpdateAccountStatus

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

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

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

func (*AcctManagerSession) ValidateAccount

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

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

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

type AcctManagerTransactor

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

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

func NewAcctManagerTransactor

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

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

func (*AcctManagerTransactor) AddNewAdmin

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

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

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

func (*AcctManagerTransactor) AssignAccountRole

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

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

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

func (*AcctManagerTransactor) AssignAdminRole

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

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

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

func (*AcctManagerTransactor) RemoveExistingAdmin

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

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

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

func (*AcctManagerTransactor) SetDefaults

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

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

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

func (*AcctManagerTransactor) UpdateAccountStatus

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

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

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

type AcctManagerTransactorRaw

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

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

func (*AcctManagerTransactorRaw) Transact

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

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

func (*AcctManagerTransactorRaw) Transfer

func (_AcctManager *AcctManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type AcctManagerTransactorSession

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

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

func (*AcctManagerTransactorSession) AddNewAdmin

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

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

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

func (*AcctManagerTransactorSession) AssignAccountRole

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

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

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

func (*AcctManagerTransactorSession) AssignAdminRole

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

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

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

func (*AcctManagerTransactorSession) RemoveExistingAdmin

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

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

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

func (*AcctManagerTransactorSession) SetDefaults

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

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

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

func (*AcctManagerTransactorSession) UpdateAccountStatus

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

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

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

type NodeManager

type NodeManager struct {
	NodeManagerCaller     // Read-only binding to the contract
	NodeManagerTransactor // Write-only binding to the contract
	NodeManagerFilterer   // Log filterer for contract events
}

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

func DeployNodeManager

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

DeployNodeManager deploys a new Ethereum contract, binding an instance of NodeManager to it.

func NewNodeManager

func NewNodeManager(address common.Address, backend bind.ContractBackend) (*NodeManager, error)

NewNodeManager creates a new instance of NodeManager, bound to a specific deployed contract.

type NodeManagerCaller

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

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

func NewNodeManagerCaller

func NewNodeManagerCaller(address common.Address, caller bind.ContractCaller) (*NodeManagerCaller, error)

NewNodeManagerCaller creates a new read-only instance of NodeManager, bound to a specific deployed contract.

func (*NodeManagerCaller) ConnectionAllowed

func (_NodeManager *NodeManagerCaller) ConnectionAllowed(opts *bind.CallOpts, _enodeId string, _ip string, _port uint16) (bool, error)

ConnectionAllowed is a free data retrieval call binding the contract method 0x45a59e5b.

Solidity: function connectionAllowed(string _enodeId, string _ip, uint16 _port) constant returns(bool)

func (*NodeManagerCaller) GetNodeDetails

func (_NodeManager *NodeManagerCaller) GetNodeDetails(opts *bind.CallOpts, enodeId string) (struct {
	OrgId      string
	EnodeId    string
	Ip         string
	Port       uint16
	Raftport   uint16
	NodeStatus *big.Int
}, error)

GetNodeDetails is a free data retrieval call binding the contract method 0x3f0e0e47.

Solidity: function getNodeDetails(string enodeId) constant returns(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _nodeStatus)

func (*NodeManagerCaller) GetNodeDetailsFromIndex

func (_NodeManager *NodeManagerCaller) GetNodeDetailsFromIndex(opts *bind.CallOpts, _nodeIndex *big.Int) (struct {
	OrgId      string
	EnodeId    string
	Ip         string
	Port       uint16
	Raftport   uint16
	NodeStatus *big.Int
}, error)

GetNodeDetailsFromIndex is a free data retrieval call binding the contract method 0x97c07a9b.

Solidity: function getNodeDetailsFromIndex(uint256 _nodeIndex) constant returns(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _nodeStatus)

func (*NodeManagerCaller) GetNumberOfNodes

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

func (_NodeManager *NodeManagerCallerSession) ConnectionAllowed(_enodeId string, _ip string, _port uint16) (bool, error)

ConnectionAllowed is a free data retrieval call binding the contract method 0x45a59e5b.

Solidity: function connectionAllowed(string _enodeId, string _ip, uint16 _port) constant returns(bool)

func (*NodeManagerCallerSession) GetNodeDetails

func (_NodeManager *NodeManagerCallerSession) GetNodeDetails(enodeId string) (struct {
	OrgId      string
	EnodeId    string
	Ip         string
	Port       uint16
	Raftport   uint16
	NodeStatus *big.Int
}, error)

GetNodeDetails is a free data retrieval call binding the contract method 0x3f0e0e47.

Solidity: function getNodeDetails(string enodeId) constant returns(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _nodeStatus)

func (*NodeManagerCallerSession) GetNodeDetailsFromIndex

func (_NodeManager *NodeManagerCallerSession) GetNodeDetailsFromIndex(_nodeIndex *big.Int) (struct {
	OrgId      string
	EnodeId    string
	Ip         string
	Port       uint16
	Raftport   uint16
	NodeStatus *big.Int
}, error)

GetNodeDetailsFromIndex is a free data retrieval call binding the contract method 0x97c07a9b.

Solidity: function getNodeDetailsFromIndex(uint256 _nodeIndex) constant returns(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _nodeStatus)

func (*NodeManagerCallerSession) GetNumberOfNodes

func (_NodeManager *NodeManagerCallerSession) GetNumberOfNodes() (*big.Int, error)

GetNumberOfNodes is a free data retrieval call binding the contract method 0xb81c806a.

Solidity: function getNumberOfNodes() constant returns(uint256)

type NodeManagerFilterer

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

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

func NewNodeManagerFilterer

func NewNodeManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*NodeManagerFilterer, error)

NewNodeManagerFilterer creates a new log filterer instance of NodeManager, bound to a specific deployed contract.

func (*NodeManagerFilterer) FilterNodeActivated

func (_NodeManager *NodeManagerFilterer) FilterNodeActivated(opts *bind.FilterOpts) (*NodeManagerNodeActivatedIterator, error)

FilterNodeActivated is a free log retrieval operation binding the contract event 0xfb98f62dea866f0c373574c8523f611d0db1d8f19cc1b95d07a221d36a6a45de.

Solidity: event NodeActivated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) FilterNodeApproved

func (_NodeManager *NodeManagerFilterer) FilterNodeApproved(opts *bind.FilterOpts) (*NodeManagerNodeApprovedIterator, error)

FilterNodeApproved is a free log retrieval operation binding the contract event 0x9394c836a3325586270659f6aa3b9f835abca9afe7fec5abfc69760bb12bce0d.

Solidity: event NodeApproved(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) FilterNodeBlacklisted

func (_NodeManager *NodeManagerFilterer) FilterNodeBlacklisted(opts *bind.FilterOpts) (*NodeManagerNodeBlacklistedIterator, error)

FilterNodeBlacklisted is a free log retrieval operation binding the contract event 0x25300d4d785e654bc9b7979700cfa0fdc9ace890a46841fecfce661fd2c41a33.

Solidity: event NodeBlacklisted(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) FilterNodeDeactivated

func (_NodeManager *NodeManagerFilterer) FilterNodeDeactivated(opts *bind.FilterOpts) (*NodeManagerNodeDeactivatedIterator, error)

FilterNodeDeactivated is a free log retrieval operation binding the contract event 0xf631019be71bc682c59150635d714061185232e98e60de8bdd87bbee239cc5c8.

Solidity: event NodeDeactivated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) FilterNodeProposed

func (_NodeManager *NodeManagerFilterer) FilterNodeProposed(opts *bind.FilterOpts) (*NodeManagerNodeProposedIterator, error)

FilterNodeProposed is a free log retrieval operation binding the contract event 0xf9bad9f8a2dccc52fad61273a7fd673335b420319506c19b87df9ce7a19732da.

Solidity: event NodeProposed(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) FilterNodeRecoveryCompleted

func (_NodeManager *NodeManagerFilterer) FilterNodeRecoveryCompleted(opts *bind.FilterOpts) (*NodeManagerNodeRecoveryCompletedIterator, error)

FilterNodeRecoveryCompleted is a free log retrieval operation binding the contract event 0x60aac8c36efdaabf125dc9ec2124bde8b3ceafe5c8b4fc8063fc4ac9017eb0be.

Solidity: event NodeRecoveryCompleted(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) FilterNodeRecoveryInitiated

func (_NodeManager *NodeManagerFilterer) FilterNodeRecoveryInitiated(opts *bind.FilterOpts) (*NodeManagerNodeRecoveryInitiatedIterator, error)

FilterNodeRecoveryInitiated is a free log retrieval operation binding the contract event 0x72779f66ea90e28bae76fbfe03eaef5ae01699976c7493f93186ab9560ccfaa4.

Solidity: event NodeRecoveryInitiated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) ParseNodeActivated

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

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

Solidity: event NodeActivated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) ParseNodeApproved

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

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

Solidity: event NodeApproved(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) ParseNodeBlacklisted

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

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

Solidity: event NodeBlacklisted(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) ParseNodeDeactivated

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

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

Solidity: event NodeDeactivated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) ParseNodeProposed

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

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

Solidity: event NodeProposed(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) ParseNodeRecoveryCompleted

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

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

Solidity: event NodeRecoveryCompleted(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) ParseNodeRecoveryInitiated

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

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

Solidity: event NodeRecoveryInitiated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) WatchNodeActivated

func (_NodeManager *NodeManagerFilterer) WatchNodeActivated(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeActivated) (event.Subscription, error)

WatchNodeActivated is a free log subscription operation binding the contract event 0xfb98f62dea866f0c373574c8523f611d0db1d8f19cc1b95d07a221d36a6a45de.

Solidity: event NodeActivated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) WatchNodeApproved

func (_NodeManager *NodeManagerFilterer) WatchNodeApproved(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeApproved) (event.Subscription, error)

WatchNodeApproved is a free log subscription operation binding the contract event 0x9394c836a3325586270659f6aa3b9f835abca9afe7fec5abfc69760bb12bce0d.

Solidity: event NodeApproved(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) WatchNodeBlacklisted

func (_NodeManager *NodeManagerFilterer) WatchNodeBlacklisted(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeBlacklisted) (event.Subscription, error)

WatchNodeBlacklisted is a free log subscription operation binding the contract event 0x25300d4d785e654bc9b7979700cfa0fdc9ace890a46841fecfce661fd2c41a33.

Solidity: event NodeBlacklisted(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) WatchNodeDeactivated

func (_NodeManager *NodeManagerFilterer) WatchNodeDeactivated(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeDeactivated) (event.Subscription, error)

WatchNodeDeactivated is a free log subscription operation binding the contract event 0xf631019be71bc682c59150635d714061185232e98e60de8bdd87bbee239cc5c8.

Solidity: event NodeDeactivated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) WatchNodeProposed

func (_NodeManager *NodeManagerFilterer) WatchNodeProposed(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeProposed) (event.Subscription, error)

WatchNodeProposed is a free log subscription operation binding the contract event 0xf9bad9f8a2dccc52fad61273a7fd673335b420319506c19b87df9ce7a19732da.

Solidity: event NodeProposed(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) WatchNodeRecoveryCompleted

func (_NodeManager *NodeManagerFilterer) WatchNodeRecoveryCompleted(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeRecoveryCompleted) (event.Subscription, error)

WatchNodeRecoveryCompleted is a free log subscription operation binding the contract event 0x60aac8c36efdaabf125dc9ec2124bde8b3ceafe5c8b4fc8063fc4ac9017eb0be.

Solidity: event NodeRecoveryCompleted(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

func (*NodeManagerFilterer) WatchNodeRecoveryInitiated

func (_NodeManager *NodeManagerFilterer) WatchNodeRecoveryInitiated(opts *bind.WatchOpts, sink chan<- *NodeManagerNodeRecoveryInitiated) (event.Subscription, error)

WatchNodeRecoveryInitiated is a free log subscription operation binding the contract event 0x72779f66ea90e28bae76fbfe03eaef5ae01699976c7493f93186ab9560ccfaa4.

Solidity: event NodeRecoveryInitiated(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId)

type NodeManagerNodeActivated

type NodeManagerNodeActivated struct {
	EnodeId  string
	Ip       string
	Port     uint16
	Raftport uint16
	OrgId    string
	Raw      types.Log // Blockchain specific contextual infos
}

NodeManagerNodeActivated represents a NodeActivated event raised by the NodeManager contract.

type NodeManagerNodeActivatedIterator

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

NodeManagerNodeActivatedIterator is returned from FilterNodeActivated and is used to iterate over the raw logs and unpacked data for NodeActivated events raised by the NodeManager contract.

func (*NodeManagerNodeActivatedIterator) Close

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
	Ip       string
	Port     uint16
	Raftport uint16
	OrgId    string
	Raw      types.Log // Blockchain specific contextual infos
}

NodeManagerNodeApproved represents a NodeApproved event raised by the NodeManager contract.

type NodeManagerNodeApprovedIterator

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

NodeManagerNodeApprovedIterator is returned from FilterNodeApproved and is used to iterate over the raw logs and unpacked data for NodeApproved events raised by the NodeManager contract.

func (*NodeManagerNodeApprovedIterator) Close

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
	Ip       string
	Port     uint16
	Raftport uint16
	OrgId    string
	Raw      types.Log // Blockchain specific contextual infos
}

NodeManagerNodeBlacklisted represents a NodeBlacklisted event raised by the NodeManager contract.

type NodeManagerNodeBlacklistedIterator

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

NodeManagerNodeBlacklistedIterator is returned from FilterNodeBlacklisted and is used to iterate over the raw logs and unpacked data for NodeBlacklisted events raised by the NodeManager contract.

func (*NodeManagerNodeBlacklistedIterator) Close

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
	Ip       string
	Port     uint16
	Raftport uint16
	OrgId    string
	Raw      types.Log // Blockchain specific contextual infos
}

NodeManagerNodeDeactivated represents a NodeDeactivated event raised by the NodeManager contract.

type NodeManagerNodeDeactivatedIterator

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

NodeManagerNodeDeactivatedIterator is returned from FilterNodeDeactivated and is used to iterate over the raw logs and unpacked data for NodeDeactivated events raised by the NodeManager contract.

func (*NodeManagerNodeDeactivatedIterator) Close

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
	Ip       string
	Port     uint16
	Raftport uint16
	OrgId    string
	Raw      types.Log // Blockchain specific contextual infos
}

NodeManagerNodeProposed represents a NodeProposed event raised by the NodeManager contract.

type NodeManagerNodeProposedIterator

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

NodeManagerNodeProposedIterator is returned from FilterNodeProposed and is used to iterate over the raw logs and unpacked data for NodeProposed events raised by the NodeManager contract.

func (*NodeManagerNodeProposedIterator) Close

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
	Ip       string
	Port     uint16
	Raftport uint16
	OrgId    string
	Raw      types.Log // Blockchain specific contextual infos
}

NodeManagerNodeRecoveryCompleted represents a NodeRecoveryCompleted event raised by the NodeManager contract.

type NodeManagerNodeRecoveryCompletedIterator

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

NodeManagerNodeRecoveryCompletedIterator is returned from FilterNodeRecoveryCompleted and is used to iterate over the raw logs and unpacked data for NodeRecoveryCompleted events raised by the NodeManager contract.

func (*NodeManagerNodeRecoveryCompletedIterator) Close

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
	Ip       string
	Port     uint16
	Raftport uint16
	OrgId    string
	Raw      types.Log // Blockchain specific contextual infos
}

NodeManagerNodeRecoveryInitiated represents a NodeRecoveryInitiated event raised by the NodeManager contract.

type NodeManagerNodeRecoveryInitiatedIterator

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

NodeManagerNodeRecoveryInitiatedIterator is returned from FilterNodeRecoveryInitiated and is used to iterate over the raw logs and unpacked data for NodeRecoveryInitiated events raised by the NodeManager contract.

func (*NodeManagerNodeRecoveryInitiatedIterator) Close

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, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)

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

Solidity: function addAdminNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()

func (*NodeManagerSession) AddNode

func (_NodeManager *NodeManagerSession) AddNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)

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

Solidity: function addNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()

func (*NodeManagerSession) AddOrgNode

func (_NodeManager *NodeManagerSession) AddOrgNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)

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

Solidity: function addOrgNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()

func (*NodeManagerSession) ApproveNode

func (_NodeManager *NodeManagerSession) ApproveNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)

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

Solidity: function approveNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()

func (*NodeManagerSession) ConnectionAllowed

func (_NodeManager *NodeManagerSession) ConnectionAllowed(_enodeId string, _ip string, _port uint16) (bool, error)

ConnectionAllowed is a free data retrieval call binding the contract method 0x45a59e5b.

Solidity: function connectionAllowed(string _enodeId, string _ip, uint16 _port) constant returns(bool)

func (*NodeManagerSession) GetNodeDetails

func (_NodeManager *NodeManagerSession) GetNodeDetails(enodeId string) (struct {
	OrgId      string
	EnodeId    string
	Ip         string
	Port       uint16
	Raftport   uint16
	NodeStatus *big.Int
}, error)

GetNodeDetails is a free data retrieval call binding the contract method 0x3f0e0e47.

Solidity: function getNodeDetails(string enodeId) constant returns(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _nodeStatus)

func (*NodeManagerSession) GetNodeDetailsFromIndex

func (_NodeManager *NodeManagerSession) GetNodeDetailsFromIndex(_nodeIndex *big.Int) (struct {
	OrgId      string
	EnodeId    string
	Ip         string
	Port       uint16
	Raftport   uint16
	NodeStatus *big.Int
}, error)

GetNodeDetailsFromIndex is a free data retrieval call binding the contract method 0x97c07a9b.

Solidity: function getNodeDetailsFromIndex(uint256 _nodeIndex) constant returns(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _nodeStatus)

func (*NodeManagerSession) GetNumberOfNodes

func (_NodeManager *NodeManagerSession) GetNumberOfNodes() (*big.Int, error)

GetNumberOfNodes is a free data retrieval call binding the contract method 0xb81c806a.

Solidity: function getNumberOfNodes() constant returns(uint256)

func (*NodeManagerSession) UpdateNodeStatus

func (_NodeManager *NodeManagerSession) UpdateNodeStatus(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string, _action *big.Int) (*types.Transaction, error)

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

Solidity: function updateNodeStatus(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId, uint256 _action) returns()

type NodeManagerTransactor

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

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

func NewNodeManagerTransactor

func NewNodeManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*NodeManagerTransactor, error)

NewNodeManagerTransactor creates a new write-only instance of NodeManager, bound to a specific deployed contract.

func (*NodeManagerTransactor) AddAdminNode

func (_NodeManager *NodeManagerTransactor) AddAdminNode(opts *bind.TransactOpts, _enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)

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

Solidity: function addAdminNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()

func (*NodeManagerTransactor) AddNode

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

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

Solidity: function addNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()

func (*NodeManagerTransactor) AddOrgNode

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

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

Solidity: function addOrgNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()

func (*NodeManagerTransactor) ApproveNode

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

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

Solidity: function approveNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()

func (*NodeManagerTransactor) UpdateNodeStatus

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

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

Solidity: function updateNodeStatus(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId, uint256 _action) returns()

type NodeManagerTransactorRaw

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

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

func (*NodeManagerTransactorRaw) Transact

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

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

func (*NodeManagerTransactorRaw) Transfer

func (_NodeManager *NodeManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type NodeManagerTransactorSession

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

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

func (*NodeManagerTransactorSession) AddAdminNode

func (_NodeManager *NodeManagerTransactorSession) AddAdminNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)

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

Solidity: function addAdminNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()

func (*NodeManagerTransactorSession) AddNode

func (_NodeManager *NodeManagerTransactorSession) AddNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)

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

Solidity: function addNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()

func (*NodeManagerTransactorSession) AddOrgNode

func (_NodeManager *NodeManagerTransactorSession) AddOrgNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)

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

Solidity: function addOrgNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()

func (*NodeManagerTransactorSession) ApproveNode

func (_NodeManager *NodeManagerTransactorSession) ApproveNode(_enodeId string, _ip string, _port uint16, _raftport uint16, _orgId string) (*types.Transaction, error)

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

Solidity: function approveNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId) returns()

func (*NodeManagerTransactorSession) UpdateNodeStatus

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

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

Solidity: function updateNodeStatus(string _enodeId, string _ip, uint16 _port, uint16 _raftport, string _orgId, uint256 _action) returns()

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

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

CheckOrgActive is a free data retrieval call binding the contract method 0x3fd62ae7.

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

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(string _orgId) 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(string _orgId, uint256 _orgStatus) 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) GetOrgDetails

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

GetOrgDetails is a free data retrieval call binding the contract method 0xf4d6d9f5.

Solidity: function getOrgDetails(string _orgId) constant returns(string, string, string, uint256, 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(uint256 _orgIndex) constant returns(string, string, string, uint256, uint256)

func (*OrgManagerCaller) GetSubOrgIndexes

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

GetSubOrgIndexes is a free data retrieval call binding the contract method 0x5e99f6e5.

Solidity: function getSubOrgIndexes(string _orgId) constant returns(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(string _orgId) 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) CheckOrgActive

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

CheckOrgActive is a free data retrieval call binding the contract method 0x3fd62ae7.

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

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(string _orgId) 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(string _orgId, uint256 _orgStatus) 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) GetOrgDetails

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

GetOrgDetails is a free data retrieval call binding the contract method 0xf4d6d9f5.

Solidity: function getOrgDetails(string _orgId) constant returns(string, string, string, uint256, 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(uint256 _orgIndex) constant returns(string, string, string, uint256, uint256)

func (*OrgManagerCallerSession) GetSubOrgIndexes

func (_OrgManager *OrgManagerCallerSession) GetSubOrgIndexes(_orgId string) ([]*big.Int, error)

GetSubOrgIndexes is a free data retrieval call binding the contract method 0x5e99f6e5.

Solidity: function getSubOrgIndexes(string _orgId) constant returns(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(string _orgId) 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: event OrgApproved(string _orgId, string _porgId, string _ultParent, uint256 _level, uint256 _status)

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: event OrgPendingApproval(string _orgId, string _porgId, string _ultParent, uint256 _level, uint256 _status)

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: event OrgSuspended(string _orgId, string _porgId, string _ultParent, uint256 _level)

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: event OrgSuspensionRevoked(string _orgId, string _porgId, string _ultParent, uint256 _level)

func (*OrgManagerFilterer) ParseOrgApproved

func (_OrgManager *OrgManagerFilterer) ParseOrgApproved(log types.Log) (*OrgManagerOrgApproved, error)

ParseOrgApproved is a log parse operation binding the contract event 0xd705723a50859c9cc1d3953e10b8b9478820e7a62927ad3215897ed87b20591c.

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

func (*OrgManagerFilterer) ParseOrgPendingApproval

func (_OrgManager *OrgManagerFilterer) ParseOrgPendingApproval(log types.Log) (*OrgManagerOrgPendingApproval, error)

ParseOrgPendingApproval is a log parse operation binding the contract event 0x0e8b7be64e0c730234ba2cd252b227fb481d7a247ba806d1941144c535bf054b.

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

func (*OrgManagerFilterer) ParseOrgSuspended

func (_OrgManager *OrgManagerFilterer) ParseOrgSuspended(log types.Log) (*OrgManagerOrgSuspended, error)

ParseOrgSuspended is a log parse operation binding the contract event 0x73ccf8d6c8385bf5347269bd59712da33183c1a5e1702494bcdb87d0f4674d96.

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

func (*OrgManagerFilterer) ParseOrgSuspensionRevoked

func (_OrgManager *OrgManagerFilterer) ParseOrgSuspensionRevoked(log types.Log) (*OrgManagerOrgSuspensionRevoked, error)

ParseOrgSuspensionRevoked is a log parse operation binding the contract event 0x882f030c609566cd82918a97d457fd48f9cfcefd11282e2654cde3f94579c15f.

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

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: event OrgApproved(string _orgId, string _porgId, string _ultParent, uint256 _level, uint256 _status)

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: event OrgPendingApproval(string _orgId, string _porgId, string _ultParent, uint256 _level, uint256 _status)

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: event OrgSuspended(string _orgId, string _porgId, string _ultParent, uint256 _level)

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: event OrgSuspensionRevoked(string _orgId, string _porgId, string _ultParent, uint256 _level)

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

func (*OrgManagerSession) CheckOrgActive

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

CheckOrgActive is a free data retrieval call binding the contract method 0x3fd62ae7.

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

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(string _orgId) 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(string _orgId, uint256 _orgStatus) 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) GetOrgDetails

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

GetOrgDetails is a free data retrieval call binding the contract method 0xf4d6d9f5.

Solidity: function getOrgDetails(string _orgId) constant returns(string, string, string, uint256, 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(uint256 _orgIndex) constant returns(string, string, string, uint256, uint256)

func (*OrgManagerSession) GetSubOrgIndexes

func (_OrgManager *OrgManagerSession) GetSubOrgIndexes(_orgId string) ([]*big.Int, error)

GetSubOrgIndexes is a free data retrieval call binding the contract method 0x5e99f6e5.

Solidity: function getSubOrgIndexes(string _orgId) constant returns(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(string _orgId) 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(string _orgId, uint256 _breadth, uint256 _depth) 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(string _orgId, uint256 _action) 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(string _orgId) 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(string _pOrgId, string _orgId) 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(string _orgId) 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(string _orgId, uint256 _action) 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(string _orgId, uint256 _breadth, uint256 _depth) 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(string _orgId, uint256 _action) 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(string _orgId) 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(string _pOrgId, string _orgId) 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(string _orgId) 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(string _orgId, uint256 _action) 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(string _orgId, uint256 _breadth, uint256 _depth) 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(string _orgId, uint256 _action) 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) ConnectionAllowed

func (_PermImpl *PermImplCaller) ConnectionAllowed(opts *bind.CallOpts, _enodeId string, _ip string, _port uint16) (bool, error)

ConnectionAllowed is a free data retrieval call binding the contract method 0x45a59e5b.

Solidity: function connectionAllowed(string _enodeId, string _ip, uint16 _port) constant returns(bool)

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

func (*PermImplCaller) TransactionAllowed

func (_PermImpl *PermImplCaller) TransactionAllowed(opts *bind.CallOpts, _sender common.Address, _target common.Address, _value *big.Int, _gasPrice *big.Int, _gasLimit *big.Int, _payload []byte) (bool, error)

TransactionAllowed is a free data retrieval call binding the contract method 0x936421d5.

Solidity: function transactionAllowed(address _sender, address _target, uint256 _value, uint256 _gasPrice, uint256 _gasLimit, bytes _payload) 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(address _account, string _orgId) 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) ConnectionAllowed

func (_PermImpl *PermImplCallerSession) ConnectionAllowed(_enodeId string, _ip string, _port uint16) (bool, error)

ConnectionAllowed is a free data retrieval call binding the contract method 0x45a59e5b.

Solidity: function connectionAllowed(string _enodeId, string _ip, uint16 _port) constant returns(bool)

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

func (*PermImplCallerSession) TransactionAllowed

func (_PermImpl *PermImplCallerSession) TransactionAllowed(_sender common.Address, _target common.Address, _value *big.Int, _gasPrice *big.Int, _gasLimit *big.Int, _payload []byte) (bool, error)

TransactionAllowed is a free data retrieval call binding the contract method 0x936421d5.

Solidity: function transactionAllowed(address _sender, address _target, uint256 _value, uint256 _gasPrice, uint256 _gasLimit, bytes _payload) 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(address _account, string _orgId) 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: event PermissionsInitialized(bool _networkBootStatus)

func (*PermImplFilterer) ParsePermissionsInitialized

func (_PermImpl *PermImplFilterer) ParsePermissionsInitialized(log types.Log) (*PermImplPermissionsInitialized, error)

ParsePermissionsInitialized is a log parse operation binding the contract event 0x04f651be6fb8fc575d94591e56e9f6e66e33ef23e949765918b3bdae50c617cf.

Solidity: event PermissionsInitialized(bool _networkBootStatus)

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: event PermissionsInitialized(bool _networkBootStatus)

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(address _account) returns()

func (*PermImplSession) AddAdminNode

func (_PermImpl *PermImplSession) AddAdminNode(_enodeId string, _ip string, _port uint16, _raftport uint16) (*types.Transaction, error)

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

Solidity: function addAdminNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport) 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(string _roleId, string _orgId, uint256 _access, bool _voter, bool _admin, address _caller) returns()

func (*PermImplSession) AddNode

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

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

Solidity: function addNode(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _caller) returns()

func (*PermImplSession) AddOrg

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

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

Solidity: function addOrg(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _account, address _caller) returns()

func (*PermImplSession) AddSubOrg

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

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

Solidity: function addSubOrg(string _pOrgId, string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _caller) 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(string _orgId, address _account, address _caller) 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(string _orgId, address _account, address _caller) returns()

func (*PermImplSession) ApproveBlacklistedNodeRecovery

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

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

Solidity: function approveBlacklistedNodeRecovery(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _caller) returns()

func (*PermImplSession) ApproveOrg

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

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

Solidity: function approveOrg(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _account, address _caller) 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(string _orgId, uint256 _action, address _caller) 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(address _account, string _orgId, string _roleId, address _caller) 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(string _orgId, address _account, string _roleId, address _caller) returns()

func (*PermImplSession) ConnectionAllowed

func (_PermImpl *PermImplSession) ConnectionAllowed(_enodeId string, _ip string, _port uint16) (bool, error)

ConnectionAllowed is a free data retrieval call binding the contract method 0x45a59e5b.

Solidity: function connectionAllowed(string _enodeId, string _ip, uint16 _port) constant returns(bool)

func (*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(string _orgId) 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(uint256 _breadth, uint256 _depth) 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(address _account) 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(address _account, string _orgId) 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(string _roleId, string _orgId, address _caller) 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(string _nwAdminOrg, string _nwAdminRole, string _oAdminRole, bool _networkBootStatus) 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(string _nwAdminOrg, string _nwAdminRole, string _oAdminRole) 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(string _orgId, address _account, address _caller) returns()

func (*PermImplSession) StartBlacklistedNodeRecovery

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

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

Solidity: function startBlacklistedNodeRecovery(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _caller) returns()

func (*PermImplSession) TransactionAllowed

func (_PermImpl *PermImplSession) TransactionAllowed(_sender common.Address, _target common.Address, _value *big.Int, _gasPrice *big.Int, _gasLimit *big.Int, _payload []byte) (bool, error)

TransactionAllowed is a free data retrieval call binding the contract method 0x936421d5.

Solidity: function transactionAllowed(address _sender, address _target, uint256 _value, uint256 _gasPrice, uint256 _gasLimit, bytes _payload) constant returns(bool)

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(string _orgId, address _account, uint256 _action, address _caller) 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, _ip string, _port uint16, _raftport uint16, _action *big.Int, _caller common.Address) (*types.Transaction, error)

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

Solidity: function updateNodeStatus(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _action, address _caller) 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(string _orgId, uint256 _action, address _caller) 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(address _account, string _orgId) 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(address _account) returns()

func (*PermImplTransactor) AddAdminNode

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

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

Solidity: function addAdminNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport) 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(string _roleId, string _orgId, uint256 _access, bool _voter, bool _admin, address _caller) returns()

func (*PermImplTransactor) AddNode

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

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

Solidity: function addNode(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _caller) returns()

func (*PermImplTransactor) AddOrg

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

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

Solidity: function addOrg(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _account, address _caller) returns()

func (*PermImplTransactor) AddSubOrg

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

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

Solidity: function addSubOrg(string _pOrgId, string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _caller) 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(string _orgId, address _account, address _caller) 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(string _orgId, address _account, address _caller) returns()

func (*PermImplTransactor) ApproveBlacklistedNodeRecovery

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

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

Solidity: function approveBlacklistedNodeRecovery(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _caller) returns()

func (*PermImplTransactor) ApproveOrg

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

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

Solidity: function approveOrg(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _account, address _caller) 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(string _orgId, uint256 _action, address _caller) 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(address _account, string _orgId, string _roleId, address _caller) 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(string _orgId, address _account, string _roleId, address _caller) 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(uint256 _breadth, uint256 _depth) 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(string _roleId, string _orgId, address _caller) 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(string _nwAdminOrg, string _nwAdminRole, string _oAdminRole, bool _networkBootStatus) 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(string _nwAdminOrg, string _nwAdminRole, string _oAdminRole) 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(string _orgId, address _account, address _caller) returns()

func (*PermImplTransactor) StartBlacklistedNodeRecovery

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

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

Solidity: function startBlacklistedNodeRecovery(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _caller) 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(string _orgId, address _account, uint256 _action, address _caller) 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, _ip string, _port uint16, _raftport uint16, _action *big.Int, _caller common.Address) (*types.Transaction, error)

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

Solidity: function updateNodeStatus(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _action, address _caller) 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(string _orgId, uint256 _action, address _caller) 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(address _account) returns()

func (*PermImplTransactorSession) AddAdminNode

func (_PermImpl *PermImplTransactorSession) AddAdminNode(_enodeId string, _ip string, _port uint16, _raftport uint16) (*types.Transaction, error)

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

Solidity: function addAdminNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport) 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(string _roleId, string _orgId, uint256 _access, bool _voter, bool _admin, address _caller) returns()

func (*PermImplTransactorSession) AddNode

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

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

Solidity: function addNode(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _caller) returns()

func (*PermImplTransactorSession) AddOrg

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

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

Solidity: function addOrg(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _account, address _caller) returns()

func (*PermImplTransactorSession) AddSubOrg

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

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

Solidity: function addSubOrg(string _pOrgId, string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _caller) 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(string _orgId, address _account, address _caller) 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(string _orgId, address _account, address _caller) returns()

func (*PermImplTransactorSession) ApproveBlacklistedNodeRecovery

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

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

Solidity: function approveBlacklistedNodeRecovery(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _caller) returns()

func (*PermImplTransactorSession) ApproveOrg

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

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

Solidity: function approveOrg(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _account, address _caller) 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(string _orgId, uint256 _action, address _caller) 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(address _account, string _orgId, string _roleId, address _caller) 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(string _orgId, address _account, string _roleId, address _caller) 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(uint256 _breadth, uint256 _depth) 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(string _roleId, string _orgId, address _caller) 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(string _nwAdminOrg, string _nwAdminRole, string _oAdminRole, bool _networkBootStatus) 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(string _nwAdminOrg, string _nwAdminRole, string _oAdminRole) 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(string _orgId, address _account, address _caller) returns()

func (*PermImplTransactorSession) StartBlacklistedNodeRecovery

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

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

Solidity: function startBlacklistedNodeRecovery(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _caller) 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(string _orgId, address _account, uint256 _action, address _caller) 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, _ip string, _port uint16, _raftport uint16, _action *big.Int, _caller common.Address) (*types.Transaction, error)

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

Solidity: function updateNodeStatus(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _action, address _caller) 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(string _orgId, uint256 _action, address _caller) 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) ConnectionAllowed

func (_PermInterface *PermInterfaceCaller) ConnectionAllowed(opts *bind.CallOpts, _enodeId string, _ip string, _port uint16) (bool, error)

ConnectionAllowed is a free data retrieval call binding the contract method 0x45a59e5b.

Solidity: function connectionAllowed(string _enodeId, string _ip, uint16 _port) constant returns(bool)

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

func (*PermInterfaceCaller) TransactionAllowed

func (_PermInterface *PermInterfaceCaller) TransactionAllowed(opts *bind.CallOpts, _sender common.Address, _target common.Address, _value *big.Int, _gasPrice *big.Int, _gasLimit *big.Int, _payload []byte) (bool, error)

TransactionAllowed is a free data retrieval call binding the contract method 0x936421d5.

Solidity: function transactionAllowed(address _sender, address _target, uint256 _value, uint256 _gasPrice, uint256 _gasLimit, bytes _payload) 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(address _account, string _orgId) 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) ConnectionAllowed

func (_PermInterface *PermInterfaceCallerSession) ConnectionAllowed(_enodeId string, _ip string, _port uint16) (bool, error)

ConnectionAllowed is a free data retrieval call binding the contract method 0x45a59e5b.

Solidity: function connectionAllowed(string _enodeId, string _ip, uint16 _port) constant returns(bool)

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

func (*PermInterfaceCallerSession) TransactionAllowed

func (_PermInterface *PermInterfaceCallerSession) TransactionAllowed(_sender common.Address, _target common.Address, _value *big.Int, _gasPrice *big.Int, _gasLimit *big.Int, _payload []byte) (bool, error)

TransactionAllowed is a free data retrieval call binding the contract method 0x936421d5.

Solidity: function transactionAllowed(address _sender, address _target, uint256 _value, uint256 _gasPrice, uint256 _gasLimit, bytes _payload) 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(address _account, string _orgId) 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(address _acct) returns()

func (*PermInterfaceSession) AddAdminNode

func (_PermInterface *PermInterfaceSession) AddAdminNode(_enodeId string, _ip string, _port uint16, _raftport uint16) (*types.Transaction, error)

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

Solidity: function addAdminNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport) 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(string _roleId, string _orgId, uint256 _access, bool _voter, bool _admin) returns()

func (*PermInterfaceSession) AddNode

func (_PermInterface *PermInterfaceSession) AddNode(_orgId string, _enodeId string, _ip string, _port uint16, _raftport uint16) (*types.Transaction, error)

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

Solidity: function addNode(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport) returns()

func (*PermInterfaceSession) AddOrg

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

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

Solidity: function addOrg(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _account) returns()

func (*PermInterfaceSession) AddSubOrg

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

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

Solidity: function addSubOrg(string _pOrgId, string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport) 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(string _orgId, address _account) 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(string _orgId, address _account) returns()

func (*PermInterfaceSession) ApproveBlacklistedNodeRecovery

func (_PermInterface *PermInterfaceSession) ApproveBlacklistedNodeRecovery(_orgId string, _enodeId string, _ip string, _port uint16, _raftport uint16) (*types.Transaction, error)

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

Solidity: function approveBlacklistedNodeRecovery(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport) returns()

func (*PermInterfaceSession) ApproveOrg

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

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

Solidity: function approveOrg(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _account) 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(string _orgId, uint256 _action) 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(address _account, string _orgId, string _roleId) 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(string _orgId, address _account, string _roleId) returns()

func (*PermInterfaceSession) ConnectionAllowed

func (_PermInterface *PermInterfaceSession) ConnectionAllowed(_enodeId string, _ip string, _port uint16) (bool, error)

ConnectionAllowed is a free data retrieval call binding the contract method 0x45a59e5b.

Solidity: function connectionAllowed(string _enodeId, string _ip, uint16 _port) constant returns(bool)

func (*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(string _orgId) 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(uint256 _breadth, uint256 _depth) 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(address _account) 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(address _account, string _orgId) 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(string _roleId, string _orgId) 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(address _permImplementation) 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(string _nwAdminOrg, string _nwAdminRole, string _oAdminRole) 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(string _orgId, address _account) returns()

func (*PermInterfaceSession) StartBlacklistedNodeRecovery

func (_PermInterface *PermInterfaceSession) StartBlacklistedNodeRecovery(_orgId string, _enodeId string, _ip string, _port uint16, _raftport uint16) (*types.Transaction, error)

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

Solidity: function startBlacklistedNodeRecovery(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport) returns()

func (*PermInterfaceSession) TransactionAllowed

func (_PermInterface *PermInterfaceSession) TransactionAllowed(_sender common.Address, _target common.Address, _value *big.Int, _gasPrice *big.Int, _gasLimit *big.Int, _payload []byte) (bool, error)

TransactionAllowed is a free data retrieval call binding the contract method 0x936421d5.

Solidity: function transactionAllowed(address _sender, address _target, uint256 _value, uint256 _gasPrice, uint256 _gasLimit, bytes _payload) constant returns(bool)

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(string _orgId, address _account, uint256 _action) 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, _ip string, _port uint16, _raftport uint16, _action *big.Int) (*types.Transaction, error)

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

Solidity: function updateNodeStatus(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _action) 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(string _orgId, uint256 _action) 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(address _account, string _orgId) 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(address _acct) returns()

func (*PermInterfaceTransactor) AddAdminNode

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

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

Solidity: function addAdminNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport) 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(string _roleId, string _orgId, uint256 _access, bool _voter, bool _admin) returns()

func (*PermInterfaceTransactor) AddNode

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

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

Solidity: function addNode(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport) returns()

func (*PermInterfaceTransactor) AddOrg

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

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

Solidity: function addOrg(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _account) returns()

func (*PermInterfaceTransactor) AddSubOrg

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

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

Solidity: function addSubOrg(string _pOrgId, string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport) 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(string _orgId, address _account) 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(string _orgId, address _account) returns()

func (*PermInterfaceTransactor) ApproveBlacklistedNodeRecovery

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

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

Solidity: function approveBlacklistedNodeRecovery(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport) returns()

func (*PermInterfaceTransactor) ApproveOrg

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

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

Solidity: function approveOrg(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _account) 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(string _orgId, uint256 _action) 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(address _account, string _orgId, string _roleId) 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(string _orgId, address _account, string _roleId) 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(uint256 _breadth, uint256 _depth) 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(string _roleId, string _orgId) 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(address _permImplementation) 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(string _nwAdminOrg, string _nwAdminRole, string _oAdminRole) 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(string _orgId, address _account) returns()

func (*PermInterfaceTransactor) StartBlacklistedNodeRecovery

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

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

Solidity: function startBlacklistedNodeRecovery(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport) 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(string _orgId, address _account, uint256 _action) 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, _ip string, _port uint16, _raftport uint16, _action *big.Int) (*types.Transaction, error)

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

Solidity: function updateNodeStatus(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _action) 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(string _orgId, uint256 _action) 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(address _acct) returns()

func (*PermInterfaceTransactorSession) AddAdminNode

func (_PermInterface *PermInterfaceTransactorSession) AddAdminNode(_enodeId string, _ip string, _port uint16, _raftport uint16) (*types.Transaction, error)

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

Solidity: function addAdminNode(string _enodeId, string _ip, uint16 _port, uint16 _raftport) 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(string _roleId, string _orgId, uint256 _access, bool _voter, bool _admin) returns()

func (*PermInterfaceTransactorSession) AddNode

func (_PermInterface *PermInterfaceTransactorSession) AddNode(_orgId string, _enodeId string, _ip string, _port uint16, _raftport uint16) (*types.Transaction, error)

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

Solidity: function addNode(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport) returns()

func (*PermInterfaceTransactorSession) AddOrg

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

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

Solidity: function addOrg(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _account) returns()

func (*PermInterfaceTransactorSession) AddSubOrg

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

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

Solidity: function addSubOrg(string _pOrgId, string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport) 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(string _orgId, address _account) 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(string _orgId, address _account) returns()

func (*PermInterfaceTransactorSession) ApproveBlacklistedNodeRecovery

func (_PermInterface *PermInterfaceTransactorSession) ApproveBlacklistedNodeRecovery(_orgId string, _enodeId string, _ip string, _port uint16, _raftport uint16) (*types.Transaction, error)

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

Solidity: function approveBlacklistedNodeRecovery(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport) returns()

func (*PermInterfaceTransactorSession) ApproveOrg

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

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

Solidity: function approveOrg(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, address _account) 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(string _orgId, uint256 _action) 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(address _account, string _orgId, string _roleId) 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(string _orgId, address _account, string _roleId) 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(uint256 _breadth, uint256 _depth) 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(string _roleId, string _orgId) 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(address _permImplementation) 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(string _nwAdminOrg, string _nwAdminRole, string _oAdminRole) 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(string _orgId, address _account) returns()

func (*PermInterfaceTransactorSession) StartBlacklistedNodeRecovery

func (_PermInterface *PermInterfaceTransactorSession) StartBlacklistedNodeRecovery(_orgId string, _enodeId string, _ip string, _port uint16, _raftport uint16) (*types.Transaction, error)

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

Solidity: function startBlacklistedNodeRecovery(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport) 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(string _orgId, address _account, uint256 _action) 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, _ip string, _port uint16, _raftport uint16, _action *big.Int) (*types.Transaction, error)

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

Solidity: function updateNodeStatus(string _orgId, string _enodeId, string _ip, uint16 _port, uint16 _raftport, uint256 _action) 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(string _orgId, uint256 _action) returns()

type PermUpgr

type PermUpgr struct {
	PermUpgrCaller     // Read-only binding to the contract
	PermUpgrTransactor // Write-only binding to the contract
	PermUpgrFilterer   // Log filterer for contract events
}

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

func DeployPermUpgr

func DeployPermUpgr(auth *bind.TransactOpts, backend bind.ContractBackend, _guardian common.Address) (common.Address, *types.Transaction, *PermUpgr, error)

DeployPermUpgr deploys a new Ethereum contract, binding an instance of PermUpgr to it.

func NewPermUpgr

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

NewPermUpgr creates a new instance of PermUpgr, bound to a specific deployed contract.

type PermUpgrCaller

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

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

func NewPermUpgrCaller

func NewPermUpgrCaller(address common.Address, caller bind.ContractCaller) (*PermUpgrCaller, error)

NewPermUpgrCaller creates a new read-only instance of PermUpgr, bound to a specific deployed contract.

func (*PermUpgrCaller) GetGuardian

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

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

Solidity: function getGuardian() constant returns(address)

func (*PermUpgrCaller) GetPermImpl

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

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

Solidity: function getPermImpl() constant returns(address)

func (*PermUpgrCaller) GetPermInterface

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

GetPermInterface is a free data retrieval call binding the contract method 0xe572515c.

Solidity: function getPermInterface() constant returns(address)

type PermUpgrCallerRaw

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

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

func (*PermUpgrCallerRaw) Call

func (_PermUpgr *PermUpgrCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type PermUpgrCallerSession

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

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

func (*PermUpgrCallerSession) GetGuardian

func (_PermUpgr *PermUpgrCallerSession) GetGuardian() (common.Address, error)

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

Solidity: function getGuardian() constant returns(address)

func (*PermUpgrCallerSession) GetPermImpl

func (_PermUpgr *PermUpgrCallerSession) GetPermImpl() (common.Address, error)

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

Solidity: function getPermImpl() constant returns(address)

func (*PermUpgrCallerSession) GetPermInterface

func (_PermUpgr *PermUpgrCallerSession) GetPermInterface() (common.Address, error)

GetPermInterface is a free data retrieval call binding the contract method 0xe572515c.

Solidity: function getPermInterface() constant returns(address)

type PermUpgrFilterer

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

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

func NewPermUpgrFilterer

func NewPermUpgrFilterer(address common.Address, filterer bind.ContractFilterer) (*PermUpgrFilterer, error)

NewPermUpgrFilterer creates a new log filterer instance of PermUpgr, bound to a specific deployed contract.

type PermUpgrRaw

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

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

func (*PermUpgrRaw) Call

func (_PermUpgr *PermUpgrRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*PermUpgrRaw) Transact

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

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

func (*PermUpgrRaw) Transfer

func (_PermUpgr *PermUpgrRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type PermUpgrSession

type PermUpgrSession struct {
	Contract     *PermUpgr         // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

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

func (*PermUpgrSession) ConfirmImplChange

func (_PermUpgr *PermUpgrSession) ConfirmImplChange(_proposedImpl common.Address) (*types.Transaction, error)

ConfirmImplChange is a paid mutator transaction binding the contract method 0x22bcb39a.

Solidity: function confirmImplChange(address _proposedImpl) returns()

func (*PermUpgrSession) GetGuardian

func (_PermUpgr *PermUpgrSession) GetGuardian() (common.Address, error)

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

Solidity: function getGuardian() constant returns(address)

func (*PermUpgrSession) GetPermImpl

func (_PermUpgr *PermUpgrSession) GetPermImpl() (common.Address, error)

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

Solidity: function getPermImpl() constant returns(address)

func (*PermUpgrSession) GetPermInterface

func (_PermUpgr *PermUpgrSession) GetPermInterface() (common.Address, error)

GetPermInterface is a free data retrieval call binding the contract method 0xe572515c.

Solidity: function getPermInterface() constant returns(address)

func (*PermUpgrSession) Init

func (_PermUpgr *PermUpgrSession) Init(_permInterface common.Address, _permImpl common.Address) (*types.Transaction, error)

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

Solidity: function init(address _permInterface, address _permImpl) returns()

type PermUpgrTransactor

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

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

func NewPermUpgrTransactor

func NewPermUpgrTransactor(address common.Address, transactor bind.ContractTransactor) (*PermUpgrTransactor, error)

NewPermUpgrTransactor creates a new write-only instance of PermUpgr, bound to a specific deployed contract.

func (*PermUpgrTransactor) ConfirmImplChange

func (_PermUpgr *PermUpgrTransactor) ConfirmImplChange(opts *bind.TransactOpts, _proposedImpl common.Address) (*types.Transaction, error)

ConfirmImplChange is a paid mutator transaction binding the contract method 0x22bcb39a.

Solidity: function confirmImplChange(address _proposedImpl) returns()

func (*PermUpgrTransactor) Init

func (_PermUpgr *PermUpgrTransactor) Init(opts *bind.TransactOpts, _permInterface common.Address, _permImpl common.Address) (*types.Transaction, error)

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

Solidity: function init(address _permInterface, address _permImpl) returns()

type PermUpgrTransactorRaw

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

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

func (*PermUpgrTransactorRaw) Transact

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

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

func (*PermUpgrTransactorRaw) Transfer

func (_PermUpgr *PermUpgrTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type PermUpgrTransactorSession

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

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

func (*PermUpgrTransactorSession) ConfirmImplChange

func (_PermUpgr *PermUpgrTransactorSession) ConfirmImplChange(_proposedImpl common.Address) (*types.Transaction, error)

ConfirmImplChange is a paid mutator transaction binding the contract method 0x22bcb39a.

Solidity: function confirmImplChange(address _proposedImpl) returns()

func (*PermUpgrTransactorSession) Init

func (_PermUpgr *PermUpgrTransactorSession) Init(_permInterface common.Address, _permImpl common.Address) (*types.Transaction, error)

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

Solidity: function init(address _permInterface, address _permImpl) returns()

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(string _roleId, string _orgId) constant returns(string roleId, string orgId, uint256 accessType, bool voter, bool admin, bool active)

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(uint256 _rIndex) constant returns(string roleId, string orgId, uint256 accessType, bool voter, bool admin, bool active)

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(string _roleId, string _orgId, string _ultParent) 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(string _roleId, string _orgId, string _ultParent) constant returns(bool)

func (*RoleManagerCaller) RoleAccess

func (_RoleManager *RoleManagerCaller) RoleAccess(opts *bind.CallOpts, _roleId string, _orgId string, _ultParent string) (*big.Int, error)

RoleAccess is a free data retrieval call binding the contract method 0xcfc83dfa.

Solidity: function roleAccess(string _roleId, string _orgId, string _ultParent) constant returns(uint256)

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(string _roleId, string _orgId, string _ultParent) constant returns(bool)

func (*RoleManagerCaller) TransactionAllowed

func (_RoleManager *RoleManagerCaller) TransactionAllowed(opts *bind.CallOpts, _roleId string, _orgId string, _ultParent string, _typeOfTxn *big.Int) (bool, error)

TransactionAllowed is a free data retrieval call binding the contract method 0xd1f77866.

Solidity: function transactionAllowed(string _roleId, string _orgId, string _ultParent, uint256 _typeOfTxn) 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(string _roleId, string _orgId) constant returns(string roleId, string orgId, uint256 accessType, bool voter, bool admin, bool active)

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(uint256 _rIndex) constant returns(string roleId, string orgId, uint256 accessType, bool voter, bool admin, bool active)

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(string _roleId, string _orgId, string _ultParent) 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(string _roleId, string _orgId, string _ultParent) constant returns(bool)

func (*RoleManagerCallerSession) RoleAccess

func (_RoleManager *RoleManagerCallerSession) RoleAccess(_roleId string, _orgId string, _ultParent string) (*big.Int, error)

RoleAccess is a free data retrieval call binding the contract method 0xcfc83dfa.

Solidity: function roleAccess(string _roleId, string _orgId, string _ultParent) constant returns(uint256)

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(string _roleId, string _orgId, string _ultParent) constant returns(bool)

func (*RoleManagerCallerSession) TransactionAllowed

func (_RoleManager *RoleManagerCallerSession) TransactionAllowed(_roleId string, _orgId string, _ultParent string, _typeOfTxn *big.Int) (bool, error)

TransactionAllowed is a free data retrieval call binding the contract method 0xd1f77866.

Solidity: function transactionAllowed(string _roleId, string _orgId, string _ultParent, uint256 _typeOfTxn) 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: event RoleCreated(string _roleId, string _orgId, uint256 _baseAccess, bool _isVoter, bool _isAdmin)

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: event RoleRevoked(string _roleId, string _orgId)

func (*RoleManagerFilterer) ParseRoleCreated

func (_RoleManager *RoleManagerFilterer) ParseRoleCreated(log types.Log) (*RoleManagerRoleCreated, error)

ParseRoleCreated is a log parse operation binding the contract event 0xefa5bc1bedbee25b04b00855c15a0c180ecb4a2440d4d08296e49561655e2b1c.

Solidity: event RoleCreated(string _roleId, string _orgId, uint256 _baseAccess, bool _isVoter, bool _isAdmin)

func (*RoleManagerFilterer) ParseRoleRevoked

func (_RoleManager *RoleManagerFilterer) ParseRoleRevoked(log types.Log) (*RoleManagerRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0x1196059dd83524bf989fd94bb65808c09dbea2ab791fb6bfa87a0e0aa64b2ea6.

Solidity: event RoleRevoked(string _roleId, string _orgId)

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: event RoleCreated(string _roleId, string _orgId, uint256 _baseAccess, bool _isVoter, bool _isAdmin)

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: event RoleRevoked(string _roleId, string _orgId)

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(string _roleId, string _orgId, uint256 _baseAccess, bool _isVoter, bool _isAdmin) 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(string _roleId, string _orgId) constant returns(string roleId, string orgId, uint256 accessType, bool voter, bool admin, bool active)

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(uint256 _rIndex) constant returns(string roleId, string orgId, uint256 accessType, bool voter, bool admin, bool active)

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(string _roleId, string _orgId, string _ultParent) 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(string _roleId, string _orgId, string _ultParent) 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(string _roleId, string _orgId) returns()

func (*RoleManagerSession) RoleAccess

func (_RoleManager *RoleManagerSession) RoleAccess(_roleId string, _orgId string, _ultParent string) (*big.Int, error)

RoleAccess is a free data retrieval call binding the contract method 0xcfc83dfa.

Solidity: function roleAccess(string _roleId, string _orgId, string _ultParent) constant returns(uint256)

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(string _roleId, string _orgId, string _ultParent) constant returns(bool)

func (*RoleManagerSession) TransactionAllowed

func (_RoleManager *RoleManagerSession) TransactionAllowed(_roleId string, _orgId string, _ultParent string, _typeOfTxn *big.Int) (bool, error)

TransactionAllowed is a free data retrieval call binding the contract method 0xd1f77866.

Solidity: function transactionAllowed(string _roleId, string _orgId, string _ultParent, uint256 _typeOfTxn) 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(string _roleId, string _orgId, uint256 _baseAccess, bool _isVoter, bool _isAdmin) 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(string _roleId, string _orgId) 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(string _roleId, string _orgId, uint256 _baseAccess, bool _isVoter, bool _isAdmin) 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(string _roleId, string _orgId) 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(string _orgId) 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(string _orgId) 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: event VoteProcessed(string _orgId)

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: event VoterAdded(string _orgId, address _vAccount)

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: event VoterDeleted(string _orgId, address _vAccount)

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: event VotingItemAdded(string _orgId)

func (*VoterManagerFilterer) ParseVoteProcessed

func (_VoterManager *VoterManagerFilterer) ParseVoteProcessed(log types.Log) (*VoterManagerVoteProcessed, error)

ParseVoteProcessed is a log parse operation binding the contract event 0x87999b54e45aa02834a1265e356d7bcdceb72b8cbb4396ebaeba32a103b43508.

Solidity: event VoteProcessed(string _orgId)

func (*VoterManagerFilterer) ParseVoterAdded

func (_VoterManager *VoterManagerFilterer) ParseVoterAdded(log types.Log) (*VoterManagerVoterAdded, error)

ParseVoterAdded is a log parse operation binding the contract event 0x424f3ad05c61ea35cad66f22b70b1fad7250d8229921238078c401db36d34574.

Solidity: event VoterAdded(string _orgId, address _vAccount)

func (*VoterManagerFilterer) ParseVoterDeleted

func (_VoterManager *VoterManagerFilterer) ParseVoterDeleted(log types.Log) (*VoterManagerVoterDeleted, error)

ParseVoterDeleted is a log parse operation binding the contract event 0x654cd85d9b2abaf3affef0a047625d088e6e4d0448935c9b5016b5f5aa0ca3b6.

Solidity: event VoterDeleted(string _orgId, address _vAccount)

func (*VoterManagerFilterer) ParseVotingItemAdded

func (_VoterManager *VoterManagerFilterer) ParseVotingItemAdded(log types.Log) (*VoterManagerVotingItemAdded, error)

ParseVotingItemAdded is a log parse operation binding the contract event 0x5bfaebb5931145594f63236d2a59314c4dc6035b65d0ca4cee9c7298e2f06ca3.

Solidity: event VotingItemAdded(string _orgId)

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: event VoteProcessed(string _orgId)

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: event VoterAdded(string _orgId, address _vAccount)

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: event VoterDeleted(string _orgId, address _vAccount)

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: event VotingItemAdded(string _orgId)

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(string _orgId, address _vAccount) 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(string _authOrg, string _orgId, string _enodeId, address _account, uint256 _pendingOp) 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(string _orgId, address _vAccount) 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(string _orgId) 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(string _authOrg, address _vAccount, uint256 _pendingOp) 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(string _orgId, address _vAccount) 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(string _authOrg, string _orgId, string _enodeId, address _account, uint256 _pendingOp) 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(string _orgId, address _vAccount) 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(string _authOrg, address _vAccount, uint256 _pendingOp) 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(string _orgId, address _vAccount) 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(string _authOrg, string _orgId, string _enodeId, address _account, uint256 _pendingOp) 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(string _orgId, address _vAccount) 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(string _authOrg, address _vAccount, uint256 _pendingOp) 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