tx

package
v0.0.0-...-abb4387 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DBRowToTxRecord

func DBRowToTxRecord(row database.RowType) types.TxRecord

func DBRowsToTxRecords

func DBRowsToTxRecords(row []database.RowType) []types.TxRecord

func GetAllTxsByAction

func GetAllTxsByAction(action string) ([]types.TxRecord, error)

Without Pagination

func GetDelegations

func GetDelegations(delegatorAddr string) ([]types.TxRecord, error)

func GetGovVotePerProposal

func GetGovVotePerProposal(address string, proposalId uint64) ([]types.TxRecord, error)

func GetRedelegations

func GetRedelegations(delegatorAddr string) ([]types.TxRecord, error)

func GetTx

func GetTx(txHash string) (*types.TxRecord, error)

func GetTxsByAction

func GetTxsByAction(
	action string,
	limitOffset types.DBLimitOffset) ([]types.TxRecord, types.Pagination, error)

With Pagination

func GetUndelegations

func GetUndelegations(delegatorAddr string) ([]types.TxRecord, error)

func GetWithdrawDelegationRewards

func GetWithdrawDelegationRewards(delegatorAddr string) ([]types.TxRecord, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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