Documentation ¶
Index ¶
- Variables
- type DslTotalRequestsResponse
- type GetTokensSupplyResponse
- type GetTvlResponse
- type NTA
- func (n *NTA) GetAssets(c echo.Context) error
- func (n *NTA) GetBridgeTransaction(c echo.Context) error
- func (n *NTA) GetBridgeTransactions(c echo.Context) error
- func (n *NTA) GetDslTotalRequests(c echo.Context) error
- func (n *NTA) GetEpoch(c echo.Context) error
- func (n *NTA) GetEpochDistribution(c echo.Context) error
- func (n *NTA) GetEpochNodeRewards(c echo.Context) error
- func (n *NTA) GetEpochs(c echo.Context) error
- func (n *NTA) GetEpochsAPY(c echo.Context) error
- func (n *NTA) GetEpochsAPYSnapshots(c echo.Context) error
- func (n *NTA) GetNetworkConfig(c echo.Context) error
- func (n *NTA) GetNode(c echo.Context) error
- func (n *NTA) GetNodeAvatar(c echo.Context) error
- func (n *NTA) GetNodeChallenge(c echo.Context) error
- func (n *NTA) GetNodeCountSnapshots(c echo.Context) error
- func (n *NTA) GetNodeEvents(c echo.Context) error
- func (n *NTA) GetNodeOperationProfit(c echo.Context) error
- func (n *NTA) GetNodeOperationProfitSnapshots(c echo.Context) error
- func (n *NTA) GetNodes(c echo.Context) error
- func (n *NTA) GetStakeChip(c echo.Context) error
- func (n *NTA) GetStakeChipImage(c echo.Context) error
- func (n *NTA) GetStakeChips(c echo.Context) error
- func (n *NTA) GetStakeStakings(c echo.Context) error
- func (n *NTA) GetStakeTransaction(c echo.Context) error
- func (n *NTA) GetStakeTransactions(c echo.Context) error
- func (n *NTA) GetStakerCountSnapshots(c echo.Context) error
- func (n *NTA) GetStakerProfit(c echo.Context) error
- func (n *NTA) GetStakerProfitSnapshots(c echo.Context) error
- func (n *NTA) GetStakingStat(c echo.Context) error
- func (n *NTA) GetTokenSupply(c echo.Context) error
- func (n *NTA) GetTvl(c echo.Context) error
- func (n *NTA) NodeHeartbeat(c echo.Context) error
- func (n *NTA) PostNodeHideTaxRate(c echo.Context) error
- func (n *NTA) RegisterNode(c echo.Context) error
- type TokenPrice
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DslTotalRequestsResponse ¶ added in v0.6.23
type DslTotalRequestsResponse struct {
TotalRequests int64 `json:"total_requests"`
}
type GetTokensSupplyResponse ¶ added in v0.7.0
type GetTvlResponse ¶ added in v0.7.0
type NTA ¶
type NTA struct {
// contains filtered or unexported fields
}
func NewNTA ¶
func NewNTA(_ context.Context, configFile *config.File, databaseClient database.Client, stakingContract *l2.StakingV2MulticallClient, networkParamsContract *l2.NetworkParams, contractGovernanceToken *bindings.GovernanceToken, geoLite2 *geolite2.Client, cacheClient cache.Client, httpClient httputil.Client, erc20TokenMap map[common.Address]*bindings.GovernanceToken, chainL1ID, chainL2ID uint64) *NTA
func (*NTA) GetBridgeTransaction ¶
func (*NTA) GetBridgeTransactions ¶
func (*NTA) GetDslTotalRequests ¶ added in v0.6.23
func (*NTA) GetEpochDistribution ¶
func (*NTA) GetEpochNodeRewards ¶
func (*NTA) GetEpochsAPY ¶ added in v0.4.18
func (*NTA) GetEpochsAPYSnapshots ¶ added in v0.4.18
func (*NTA) GetNetworkConfig ¶ added in v0.8.0
GetNetworkConfig returns the network configuration for the current epoch.
func (*NTA) GetNodeAvatar ¶
func (*NTA) GetNodeChallenge ¶
func (*NTA) GetNodeCountSnapshots ¶
func (*NTA) GetNodeEvents ¶
func (*NTA) GetNodeOperationProfit ¶ added in v0.5.0
func (*NTA) GetNodeOperationProfitSnapshots ¶ added in v0.5.0
func (*NTA) GetStakeChip ¶
func (*NTA) GetStakeChipImage ¶
TODO: add redis cache
func (*NTA) GetStakeChips ¶
func (*NTA) GetStakeStakings ¶
func (*NTA) GetStakeTransaction ¶
func (*NTA) GetStakeTransactions ¶
func (*NTA) GetStakerCountSnapshots ¶
func (*NTA) GetStakerProfit ¶ added in v0.5.18
func (*NTA) GetStakerProfitSnapshots ¶ added in v0.4.17
func (*NTA) GetStakingStat ¶ added in v0.6.4
func (*NTA) GetTokenSupply ¶ added in v0.7.0
func (*NTA) NodeHeartbeat ¶
func (*NTA) PostNodeHideTaxRate ¶
func (*NTA) RegisterNode ¶
Click to show internal directories.
Click to hide internal directories.