Documentation ¶
Index ¶
- func GetBlockTxTable(block rpctypes.PolyBlock, chainID *big.Int) [][]string
- func GetBlocksList(blocks []rpctypes.PolyBlock) ([]string, string)
- func GetCurrentText(widget *widgets.Paragraph, headBlock *big.Int, gasPrice string, ...) string
- func GetSelectedBlocksList(blocks []rpctypes.PolyBlock) ([]string, string)
- func GetSimpleBlockFields(block rpctypes.PolyBlock) []string
- func GetSimpleReceipt(ctx context.Context, rpc *ethrpc.Client, tx rpctypes.PolyTransaction) []string
- func GetSimpleTxFields(tx rpctypes.PolyTransaction, chainID, baseFee *big.Int) []string
- func GetTransactionsList(block rpctypes.PolyBlock, chainID *big.Int) ([]string, string)
- func GetTxMethod(tx rpctypes.PolyTransaction) string
- func GetTxPoolText(widget *widgets.Paragraph, pendingTxCount, queuedTxCount uint64) string
- func GetZkEVMText(widget *widgets.Paragraph, ...) string
- type UiSkeleton
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentText ¶
func GetSelectedBlocksList ¶
func GetSimpleBlockFields ¶
func GetSimpleReceipt ¶
func GetSimpleTxFields ¶
func GetSimpleTxFields(tx rpctypes.PolyTransaction, chainID, baseFee *big.Int) []string
func GetTransactionsList ¶
func GetTxMethod ¶
func GetTxMethod(tx rpctypes.PolyTransaction) string
func GetTxPoolText ¶
Types ¶
type UiSkeleton ¶
type UiSkeleton struct {
Current, TxPool, ZkEVM *widgets.Paragraph
TxPerBlockChart *widgets.Sparkline
GasPriceChart *widgets.Sparkline
BlockSizeChart *widgets.Sparkline
PendingTxChart *widgets.Sparkline
GasChart *widgets.Sparkline
BlockInfo *widgets.List
TxInfo *widgets.List
Receipts *widgets.List
}
func SetUISkeleton ¶
func SetUISkeleton(txPoolStatusSupported, zkEVMBatchesSupported bool) (blockList *widgets.List, blockInfo *widgets.List, transactionList *widgets.List, transactionInformationList *widgets.List, transactionInfo *widgets.Table, grid *ui.Grid, selectGrid *ui.Grid, blockGrid *ui.Grid, transactionGrid *ui.Grid, termUi UiSkeleton)
Click to show internal directories.
Click to hide internal directories.