stakingutils

package
v0.0.0-...-a08de0b Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: CC0-1.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDataFromNodeDelegatorID

func GetDataFromNodeDelegatorID(nodeInfo []types.StakerNodeInfo, height int64, db *database.Db, flowClient client.Proxy) error

GetDataFromNodeDelegatorID get all data that need staker node info as input and save it into database

func GetDataFromNodeID

func GetDataFromNodeID(nodeInfofromNodeId []types.StakerNodeInfo, height int64, db *database.Db, flowClient client.Proxy) error

GetDataFromNodeID get all data that need staker node info as parameter and save it into database

func GetDataWithNoArgs

func GetDataWithNoArgs(db *db.Db, height int64, flowClient client.Proxy) error

GetDataWithNoArgs get all data that don't need any argument and save it into database

func GetNodeInfosFromTable

func GetNodeInfosFromTable(height int64, flowClient client.Proxy) ([]types.StakerNodeInfo, error)

GetNodeInfosFromTable get all staker node info in the system

func GetTable

func GetTable(height int64, flowClient client.Proxy) (*types.StakingTable, error)

GetTable get all staker node id in the system

Types

This section is empty.

Jump to

Keyboard shortcuts

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