nta

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NTA

type NTA struct {
	// contains filtered or unexported fields
}

func NewNTA

func NewNTA(_ context.Context, databaseClient database.Client, stakingContract *l2.Staking, geoLite2 *geolite2.Client, cacheClient cache.Client) *NTA

func (*NTA) BatchGetNodeMinTokensToStakeSnapshots

func (n *NTA) BatchGetNodeMinTokensToStakeSnapshots(c echo.Context) error

func (*NTA) GetBridgeTransaction

func (n *NTA) GetBridgeTransaction(c echo.Context) error

func (*NTA) GetBridgeTransactions

func (n *NTA) GetBridgeTransactions(c echo.Context) error

func (*NTA) GetEpoch

func (n *NTA) GetEpoch(c echo.Context) error

func (*NTA) GetEpochDistribution

func (n *NTA) GetEpochDistribution(c echo.Context) error

func (*NTA) GetEpochNodeRewards

func (n *NTA) GetEpochNodeRewards(c echo.Context) error

func (*NTA) GetEpochs

func (n *NTA) GetEpochs(c echo.Context) error

func (*NTA) GetNode

func (n *NTA) GetNode(c echo.Context) error

func (*NTA) GetNodeAvatar

func (n *NTA) GetNodeAvatar(c echo.Context) error

func (*NTA) GetNodeChallenge

func (n *NTA) GetNodeChallenge(c echo.Context) error

func (*NTA) GetNodeCountSnapshots

func (n *NTA) GetNodeCountSnapshots(c echo.Context) error

func (*NTA) GetNodeEvents

func (n *NTA) GetNodeEvents(c echo.Context) error

func (*NTA) GetNodes

func (n *NTA) GetNodes(c echo.Context) error

func (*NTA) GetOperatorProfit

func (n *NTA) GetOperatorProfit(c echo.Context) error

func (*NTA) GetOperatorProfitsSnapshots

func (n *NTA) GetOperatorProfitsSnapshots(c echo.Context) error

func (*NTA) GetStakeChip

func (n *NTA) GetStakeChip(c echo.Context) error

func (*NTA) GetStakeChipImage

func (n *NTA) GetStakeChipImage(c echo.Context) error

func (*NTA) GetStakeChips

func (n *NTA) GetStakeChips(c echo.Context) error

func (*NTA) GetStakeOwnerProfit

func (n *NTA) GetStakeOwnerProfit(c echo.Context) error

func (*NTA) GetStakeStakings

func (n *NTA) GetStakeStakings(c echo.Context) error

func (*NTA) GetStakeTransaction

func (n *NTA) GetStakeTransaction(c echo.Context) error

func (*NTA) GetStakeTransactions

func (n *NTA) GetStakeTransactions(c echo.Context) error

func (*NTA) GetStakerCountSnapshots

func (n *NTA) GetStakerCountSnapshots(c echo.Context) error

func (*NTA) GetStakerProfitsSnapshots

func (n *NTA) GetStakerProfitsSnapshots(c echo.Context) error

func (*NTA) NodeHeartbeat

func (n *NTA) NodeHeartbeat(c echo.Context) error

func (*NTA) PostNodeHideTaxRate

func (n *NTA) PostNodeHideTaxRate(c echo.Context) error

func (*NTA) RegisterNode

func (n *NTA) RegisterNode(c echo.Context) error

type NodeConfig

type NodeConfig struct {
	RSS           []*NodeConfigModule `json:"rss"`
	Federated     []*NodeConfigModule `json:"federated"`
	Decentralized []*NodeConfigModule `json:"decentralized"`
}

type NodeConfigModule

type NodeConfigModule struct {
	Network  filter.Network `json:"network"`
	Endpoint string         `json:"endpoint"`
	Worker   filter.Name    `json:"worker"`
}

Jump to

Keyboard shortcuts

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