Documentation ¶
Index ¶
- type Block
- type CreateBlockParams
- type CreateEventParams
- type CreateNodeParams
- type CreateNodeSaleParams
- type DBTX
- type Event
- type GetNodeCountByTierIndexParams
- type GetNodeCountByTierIndexRow
- type GetNodeSaleParams
- type GetNodesByDeploymentParams
- type GetNodesByIdsParams
- type GetNodesByOwnerParams
- type GetNodesByPubkeyParams
- type Node
- type NodeSale
- type Queries
- func (q *Queries) ClearDelegate(ctx context.Context) (int64, error)
- func (q *Queries) ClearEvents(ctx context.Context) error
- func (q *Queries) CreateBlock(ctx context.Context, arg CreateBlockParams) error
- func (q *Queries) CreateEvent(ctx context.Context, arg CreateEventParams) error
- func (q *Queries) CreateNode(ctx context.Context, arg CreateNodeParams) error
- func (q *Queries) CreateNodeSale(ctx context.Context, arg CreateNodeSaleParams) error
- func (q *Queries) GetBlock(ctx context.Context, blockHeight int64) (Block, error)
- func (q *Queries) GetEventsByWallet(ctx context.Context, walletAddress string) ([]Event, error)
- func (q *Queries) GetLastProcessedBlock(ctx context.Context) (Block, error)
- func (q *Queries) GetNodeCountByTierIndex(ctx context.Context, arg GetNodeCountByTierIndexParams) ([]GetNodeCountByTierIndexRow, error)
- func (q *Queries) GetNodeSale(ctx context.Context, arg GetNodeSaleParams) ([]NodeSale, error)
- func (q *Queries) GetNodesByDeployment(ctx context.Context, arg GetNodesByDeploymentParams) ([]Node, error)
- func (q *Queries) GetNodesByIds(ctx context.Context, arg GetNodesByIdsParams) ([]Node, error)
- func (q *Queries) GetNodesByOwner(ctx context.Context, arg GetNodesByOwnerParams) ([]Node, error)
- func (q *Queries) GetNodesByPubkey(ctx context.Context, arg GetNodesByPubkeyParams) ([]Node, error)
- func (q *Queries) RemoveBlockFrom(ctx context.Context, fromBlock int64) (int64, error)
- func (q *Queries) RemoveEventsFromBlock(ctx context.Context, fromBlock int64) (int64, error)
- func (q *Queries) SetDelegates(ctx context.Context, arg SetDelegatesParams) (int64, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type SetDelegatesParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateBlockParams ¶
type CreateEventParams ¶
type CreateNodeParams ¶
type CreateNodeSaleParams ¶
type GetNodeSaleParams ¶
type GetNodesByIdsParams ¶
type GetNodesByOwnerParams ¶
type GetNodesByPubkeyParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateBlock ¶
func (q *Queries) CreateBlock(ctx context.Context, arg CreateBlockParams) error
func (*Queries) CreateEvent ¶
func (q *Queries) CreateEvent(ctx context.Context, arg CreateEventParams) error
func (*Queries) CreateNode ¶
func (q *Queries) CreateNode(ctx context.Context, arg CreateNodeParams) error
func (*Queries) CreateNodeSale ¶
func (q *Queries) CreateNodeSale(ctx context.Context, arg CreateNodeSaleParams) error
func (*Queries) GetEventsByWallet ¶
func (*Queries) GetLastProcessedBlock ¶
func (*Queries) GetNodeCountByTierIndex ¶
func (q *Queries) GetNodeCountByTierIndex(ctx context.Context, arg GetNodeCountByTierIndexParams) ([]GetNodeCountByTierIndexRow, error)
func (*Queries) GetNodeSale ¶
func (*Queries) GetNodesByDeployment ¶
func (*Queries) GetNodesByIds ¶
func (*Queries) GetNodesByOwner ¶
func (*Queries) GetNodesByPubkey ¶
func (*Queries) RemoveBlockFrom ¶
func (*Queries) RemoveEventsFromBlock ¶
func (*Queries) SetDelegates ¶
Click to show internal directories.
Click to hide internal directories.