Versions in this module Expand all Collapse all v22 v22.4.2 Apr 28, 2022 Changes in this version + type Account struct + Backend *PermissionModelV1 + func (a *Account) ApproveAdminRole(_args ptype.TxArgs) (*types.Transaction, error) + func (a *Account) ApproveBlacklistedAccountRecovery(_args ptype.TxArgs) (*types.Transaction, error) + func (a *Account) AssignAccountRole(_args ptype.TxArgs) (*types.Transaction, error) + func (a *Account) AssignAdminRole(_args ptype.TxArgs) (*types.Transaction, error) + func (a *Account) StartBlacklistedAccountRecovery(_args ptype.TxArgs) (*types.Transaction, error) + func (a *Account) UpdateAccountStatus(_args ptype.TxArgs) (*types.Transaction, error) + type Audit struct + Backend *PermissionModelV1 + func (a *Audit) CheckPendingOp(_orgId string) bool + func (a *Audit) ValidatePendingOp(_authOrg, _orgId, _url string, _account common.Address, _pendingOp int64) bool + type Backend struct + Contr *Init + Ib ptype.InterfaceBackend + func (b *Backend) GetAccountService(transactOpts *bind.TransactOpts, accountBackend ptype.ContractBackend) (ptype.AccountService, error) + func (b *Backend) GetAuditService(auditBackend ptype.ContractBackend) (ptype.AuditService, error) + func (b *Backend) GetControlService(controlBackend ptype.ContractBackend) (ptype.ControlService, error) + func (b *Backend) GetNodeService(transactOpts *bind.TransactOpts, nodeBackend ptype.ContractBackend) (ptype.NodeService, error) + func (b *Backend) GetOrgService(transactOpts *bind.TransactOpts, orgBackend ptype.ContractBackend) (ptype.OrgService, error) + func (b *Backend) GetRoleService(transactOpts *bind.TransactOpts, roleBackend ptype.ContractBackend) (ptype.RoleService, error) + func (b *Backend) ManageAccountPermissions() error + func (b *Backend) ManageNodePermissions() error + func (b *Backend) ManageOrgPermissions() error + func (b *Backend) ManageRolePermissions() error + func (b *Backend) MonitorNetworkBootUp() error + type Control struct + func (c *Control) ConnectionAllowed(_enodeId, _ip string, _port, _raftPort uint16) (bool, error) + func (c *Control) TransactionAllowed(_sender common.Address, _target common.Address, _value *big.Int, ...) error + type Init struct + Backend ptype.ContractBackend + PermAcct *pb.AcctManager + PermImpl *pb.PermImpl + PermInterf *pb.PermInterface + PermInterfSession *pb.PermInterfaceSession + PermNode *pb.NodeManager + PermOrg *pb.OrgManager + PermRole *pb.RoleManager + PermUpgr *pb.PermUpgr + func (i *Init) AddAdminAccount(_acct common.Address) (*types.Transaction, error) + func (i *Init) AddAdminNode(url string) (*types.Transaction, error) + func (i *Init) BindContracts() error + func (i *Init) GetAccountDetails(_account common.Address) (common.Address, string, string, *big.Int, bool, error) + func (i *Init) GetAccountDetailsFromIndex(_aIndex *big.Int) (common.Address, string, string, *big.Int, bool, error) + func (i *Init) GetNetworkBootStatus() (bool, error) + func (i *Init) GetNodeDetails(enodeId string) (string, string, *big.Int, error) + func (i *Init) GetNodeDetailsFromIndex(_nodeIndex *big.Int) (string, string, *big.Int, error) + func (i *Init) GetNumberOfAccounts() (*big.Int, error) + func (i *Init) GetNumberOfNodes() (*big.Int, error) + func (i *Init) GetNumberOfOrgs() (*big.Int, error) + func (i *Init) GetNumberOfRoles() (*big.Int, error) + func (i *Init) GetOrgDetails(_orgId string) (string, string, string, *big.Int, *big.Int, error) + func (i *Init) GetOrgInfo(_orgIndex *big.Int) (string, string, string, *big.Int, *big.Int, error) + func (i *Init) GetRoleDetails(_roleId string, _orgId string) (struct{ ... }, error) + func (i *Init) GetRoleDetailsFromIndex(_rIndex *big.Int) (struct{ ... }, error) + func (i *Init) GetSubOrgIndexes(_orgId string) ([]*big.Int, error) + func (i *Init) Init(_breadth *big.Int, _depth *big.Int) (*types.Transaction, error) + func (i *Init) SetPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string) (*types.Transaction, error) + func (i *Init) UpdateNetworkBootStatus() (*types.Transaction, error) + type Node struct + Backend *PermissionModelV1 + func (n *Node) AddNode(_args ptype.TxArgs) (*types.Transaction, error) + func (n *Node) ApproveBlacklistedNodeRecovery(_args ptype.TxArgs) (*types.Transaction, error) + func (n *Node) StartBlacklistedNodeRecovery(_args ptype.TxArgs) (*types.Transaction, error) + func (n *Node) UpdateNodeStatus(_args ptype.TxArgs) (*types.Transaction, error) + type Org struct + Backend *PermissionModelV1 + func (o *Org) AddOrg(_args ptype.TxArgs) (*types.Transaction, error) + func (o *Org) AddSubOrg(_args ptype.TxArgs) (*types.Transaction, error) + func (o *Org) ApproveOrg(_args ptype.TxArgs) (*types.Transaction, error) + func (o *Org) ApproveOrgStatus(_args ptype.TxArgs) (*types.Transaction, error) + func (o *Org) UpdateOrgStatus(_args ptype.TxArgs) (*types.Transaction, error) + type PermissionModelV1 struct + ContractBackend ptype.ContractBackend + PermInterf *pb.PermInterface + PermInterfSession *pb.PermInterfaceSession + type Role struct + Backend *PermissionModelV1 + func (r *Role) AddNewRole(_args ptype.TxArgs) (*types.Transaction, error) + func (r *Role) RemoveRole(_args ptype.TxArgs) (*types.Transaction, error) Other modules containing this package github.com/baptiste-b-pegasys/quorum