Documentation ¶
Index ¶
Constants ¶
View Source
const ( PortEnvironmentVariable = "PORT" UserDataEnvironmentVariable = "USER_DATA" GrpcUrlEnvironmentVariable = "GRPC_URL" LavaChainIDEnvironmentVariable = "CHAIN_ID" )
View Source
const DefaultProjectId = "default"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BadgeStateTracker ¶
type BadgeStateTracker struct { *statetracker.StateTracker // contains filtered or unexported fields }
func NewBadgeStateTracker ¶
func NewBadgeStateTracker(ctx context.Context, clientCtx cosmosclient.Context, chainFetcher chaintracker.ChainFetcher, chainId string) (ret *BadgeStateTracker, err error)
func (*BadgeStateTracker) RegisterForEpochUpdates ¶
func (st *BadgeStateTracker) RegisterForEpochUpdates(ctx context.Context, epochUpdatable statetracker.EpochUpdatable)
type ProjectConfiguration ¶
type Server ¶
type Server struct { pairingtypes.UnimplementedBadgeGeneratorServer ProjectsConfiguration map[string]*ProjectConfiguration // project_id/project_data ChainId string // contains filtered or unexported fields }
func (*Server) GenerateBadge ¶
func (s *Server) GenerateBadge(ctx context.Context, req *pairingtypes.GenerateBadgeRequest) (*pairingtypes.GenerateBadgeResponse, error)
func (*Server) UpdateEpoch ¶
Click to show internal directories.
Click to hide internal directories.