Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInputEmpty = errors.New("input is empty") ErrInvalidArgs = errors.New("invalid args") ErrMissingSubcommand = errors.New("must specify a subcommand") ErrIndexOutOfRange = errors.New("index out-of-range") ErrInsufficientBalance = errors.New("insufficient balance") ErrInvalidChoice = errors.New("invalid choice") ErrNotMultiple = errors.New("must be a multiple") ErrInsufficientSupply = errors.New("insufficient supply") ErrMustFill = errors.New("must fill") ErrExpiredTx = errors.New("expireed tx") ErrDuplicate = errors.New("duplicate") ErrNoKeys = errors.New("no available keys") ErrNoChains = errors.New("no available chains") ErrTxFailed = errors.New("tx failed") )
Functions ¶
Types ¶
type Controller ¶ added in v0.3.0
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶ added in v0.3.0
func NewController(databasePath string) *Controller
func (*Controller) Address ¶ added in v0.3.0
func (*Controller) Address(pk ed25519.PublicKey) string
func (*Controller) DatabasePath ¶ added in v0.3.0
func (c *Controller) DatabasePath() string
func (*Controller) Decimals ¶ added in v0.3.0
func (*Controller) Decimals() uint8
func (*Controller) ParseAddress ¶ added in v0.3.0
func (*Controller) ParseAddress(address string) (ed25519.PublicKey, error)
func (*Controller) Symbol ¶ added in v0.3.0
func (*Controller) Symbol() string
type Handler ¶ added in v0.3.0
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶ added in v0.3.0
func (*Handler) DefaultActor ¶ added in v0.3.0
func (h *Handler) DefaultActor() ( ids.ID, ed25519.PrivateKey, *auth.ED25519Factory, *rpc.JSONRPCClient, *rpc.WebSocketClient, *trpc.JSONRPCClient, error, )
func (*Handler) GetAssetInfo ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.