app

package
v0.0.0-...-5096976 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PAGE_SIZE         = 10
	LEDGER_TABLE      = "ledgers"
	TRANSACTION_TABLE = "transactions"
	CONTRACT_TABLE    = "contracts_data"
	CONTRACT_CODES    = "contracts_codes"
	INVOKE_TXS        = "invoke_transactions"
	EVENT_TABLE       = "wasm_contract_events"
	TRANSFER_TABLE    = "asset_contract_transfer_events"
	MINT_TABLE        = "asset_contract_mint_events"
	BURN_TABLE        = "asset_contract_burn_events"
	CLAWBACK_TABLE    = "asset_contract_clawback_events"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Modules []AppModule
	Server  *grpc.Server
}

func NewApp

func NewApp(server *grpc.Server, modules []AppModule) *App

func (*App) RegisterServices

func (app *App) RegisterServices()

type AppModule

type AppModule interface {
	RegisterServices(server *grpc.Server)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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