exported

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetaNodeI added in v0.8.0

type MetaNodeI interface {
	IsSuspended() bool                  // whether the node is jailed
	GetMoniker() string                 // moniker of the node
	GetStatus() stakingtypes.BondStatus // status of the node
	GetPubKey() cryptotypes.PubKey      // pubkey of the node
	GetNetworkAddr() stratos.SdsAddress // network address of the node
	GetTokens() sdk.Int                 // deposit tokens of the node
	GetOwnerAddr() sdk.AccAddress       // owner address of the node
}

MetaNodeI expected indexing node functions

type ResourceNodeI

type ResourceNodeI interface {
	IsSuspended() bool                  // whether the node is jailed
	GetMoniker() string                 // moniker of the node
	GetStatus() stakingtypes.BondStatus // status of the node
	GetPubKey() cryptotypes.PubKey      // pubkey of the node
	GetNetworkAddr() stratos.SdsAddress // network address of the node
	GetTokens() sdk.Int                 // deposit tokens of the node
	GetOwnerAddr() sdk.AccAddress       // owner address of the node
	GetNodeType() string                // node type
}

ResourceNodeI expected resource node functions

Jump to

Keyboard shortcuts

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