inter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAdmin

func AddAdmin(guardKey, guardAdd, approver string) (*types.Receipt, error)

func AddAdminKey

func AddAdminKey(keyname, password, approver string) (*types.Receipt, error)

func AddNewRole

func AddNewRole(guardKey, guardAdd, roleId, orgId string, voter, admin bool, accsLvl int64) (*types.Receipt, error)

access levels 0 - Read only 1 - value transfer 2 - contract deploy 3 - full access 4 - contract call 5 - value transfer and contract call 6 - value transfer and contract deploy 7 - contract call and deploy

func AddNewRoleKey

func AddNewRoleKey(guardPath, password, roleId, orgId string, voter, admin bool, accsLvl int64) (*types.Receipt, error)

access levels 0 - Read only 1 - value transfer 2 - contract deploy 3 - full access 4 - contract call 5 - value transfer and contract call 6 - value transfer and contract deploy 7 - contract call and deploy

func AddNode

func AddNode(guardKey, guardAdd, enodeId, ip, orgId string, port, raftport uint16) (*types.Receipt, error)

func AddNodeAsAdmin

func AddNodeAsAdmin(guardKey, guardAdd, enodeId, ip string, port, raftport uint16) (*types.Receipt, error)

func AddNodeAsAdminKey

func AddNodeAsAdminKey(keyname, password, enodeId, ip string, port, raftport uint16) (*types.Receipt, error)

func AddNodeKey

func AddNodeKey(keyname, password, enodeId, ip, orgId string, port, raftport uint16) (*types.Receipt, error)

func AddOrg

func AddOrg(guardKey, guardAdd, enodeId, ip, orgId, admin string, port, raftport uint16) (*types.Receipt, error)

func AddOrgKey

func AddOrgKey(keyname, password, enodeId, ip, orgId, admin string, port, raftport uint16) (*types.Receipt, error)

func AddSubOrg

func AddSubOrg(guardKey, guardAdd, enodeId, ip, orgId, ultPrnt string, port, raftport uint16) (*types.Receipt, error)

func AddSubOrgKey

func AddSubOrgKey(keyname, password, enodeId, ip, orgId, ultPrnt string, port, raftport uint16) (*types.Receipt, error)

func ApproveAdminRole

func ApproveAdminRole(guardKey, guardAdd, account, orgId string) (*types.Receipt, error)

func ApproveAdminRoleKey

func ApproveAdminRoleKey(guardKeyFile, password, account, orgId string) (*types.Receipt, error)

func ApproveBlackListedAccountRecovery

func ApproveBlackListedAccountRecovery(add, key, account, orgId string) (*types.Receipt, error)

func ApproveBlackListedAccountRecoveryKey

func ApproveBlackListedAccountRecoveryKey(guardKeyFile, password, account, orgId string) (*types.Receipt, error)

func ApproveBlackListedNodeRecovery

func ApproveBlackListedNodeRecovery(add, key, enodeId, ip, orgId string, port, raftport uint16) (*types.Receipt, error)

func ApproveBlackListedNodeRecoveryKey

func ApproveBlackListedNodeRecoveryKey(keyfile, password, enodeId, ip, orgId string, port, raftport uint16) (*types.Receipt, error)

func ApproveOrg

func ApproveOrg(guardKey, guardAdd, enodeId, ip, orgId, admin string, port, raftport uint16) (*types.Receipt, error)

func ApproveOrgKey

func ApproveOrgKey(keyname, password, enodeId, ip, orgId, admin string, port, raftport uint16) (*types.Receipt, error)

func ApproveOrgStatus

func ApproveOrgStatus(guardKey, guardAdd, orgId string, action *big.Int) (*types.Receipt, error)

func ApproveOrgStatusKey

func ApproveOrgStatusKey(keyname, password, orgId string, action *big.Int) (*types.Receipt, error)

func AssignAdminRole

func AssignAdminRole(guardKey, guardAdd, account, roleId, orgId string) (*types.Receipt, error)

func AssignAdminRoleKey

func AssignAdminRoleKey(guardKeyFile, password, account, roleId, orgId string) (*types.Receipt, error)

func AssignRole

func AssignRole(guardKey, guardAdd, account, roleId, orgId string) (*types.Receipt, error)

func AssignRoleKey

func AssignRoleKey(guardKeyFile, password, account, roleId, orgId string) (*types.Receipt, error)

func RmvRole

func RmvRole(guardKey, guardAdd, roleId, orgId string) (*types.Receipt, error)

func RmvRoleKey

func RmvRoleKey(guardPath, password, roleId, orgId string) (*types.Receipt, error)

func StartBlackListedAccountRecovery

func StartBlackListedAccountRecovery(guardKey, guardAdd, account, orgId string) (*types.Receipt, error)

func StartBlackListedAccountRecoveryKey

func StartBlackListedAccountRecoveryKey(guardKeyFile, password, account, orgId string) (*types.Receipt, error)

func StartBlackListedNodeRecovery

func StartBlackListedNodeRecovery(add, key, enodeId, ip, orgId string, port, raftport uint16) (*types.Receipt, error)

func StartBlackListedNodeRecoveryKey

func StartBlackListedNodeRecoveryKey(keyfile, password, enodeId, ip, orgId string, port, raftport uint16) (*types.Receipt, error)

func UpdateAccountStatus

func UpdateAccountStatus(guardKey, guardAdd, orgId, address string, action *big.Int) (*types.Receipt, error)

func UpdateAccountStatusKey

func UpdateAccountStatusKey(keyname, password, orgId, address string, action *big.Int) (*types.Receipt, error)

func UpdateNodeStatus

func UpdateNodeStatus(add, key, enodeId, ip, orgId string, port, raftport uint16, action *big.Int) (*types.Receipt, error)

func UpdateNodeStatusKey

func UpdateNodeStatusKey(keyfile, password, enodeId, ip, orgId string, port, raftport uint16, action *big.Int) (*types.Receipt, error)

func UpdateOrgStatus

func UpdateOrgStatus(guardKey, guardAdd, orgId string, action *big.Int) (*types.Receipt, error)

func UpdateOrgStatusKey

func UpdateOrgStatusKey(keyname, password, orgId string, action *big.Int) (*types.Receipt, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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