netsepio

package
v0.0.13-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VOTER_ROLE    tRole = iota
	ADMIN_ROLE    tRole = iota
	OPERATOR_ROLE tRole = iota
)

Variables

View Source
var (
	ErrRoleNotExist = errors.New("role does not exist")
)

Functions

func GetInstance

func GetInstance(client *ethclient.Client) (*gennetsepio.Gennetsepio, error)

func GetRole

func GetRole(role tRole) ([32]byte, error)

func InitRolesId

func InitRolesId()

Types

This section is empty.

Jump to

Keyboard shortcuts

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