storagenode

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Code generated by gitub.com/DIMO-Network/eventgen. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	StorageNodeAnchorMintedEventID = common.HexToHash("0x430efd668e3f72e9f9f42e0305fdf8b36a502ab1d64cc1f9cd0d0f81f980a4f5")
	TransferEventID                = common.HexToHash("0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef")
	NodeUriUpdatedEventID          = common.HexToHash("0x299aa0feeeceed16a093b27c728021c473ebe77d341fc5b465711983a7bb8521")
	NodeSetForVehicleEventID       = common.HexToHash("0xdc2338c7cddc416d49f0ad0f239870fe19e61440a9db520b1f3486a58d4335ba")
)

Functions

This section is empty.

Types

type Handler

type Handler struct {
	DBS    db.Store
	Logger *zerolog.Logger
}

func (*Handler) Handle

func (h *Handler) Handle(ctx context.Context, ev *cmodels.ContractEventData) error

func (*Handler) HandleNodeSetForVehicle

func (h *Handler) HandleNodeSetForVehicle(ctx context.Context, ev *cmodels.ContractEventData) error

func (*Handler) HandleNodeUriUpdated

func (h *Handler) HandleNodeUriUpdated(ctx context.Context, ev *cmodels.ContractEventData) error

func (*Handler) HandleStorageNodeAnchorMinted

func (h *Handler) HandleStorageNodeAnchorMinted(ctx context.Context, ev *cmodels.ContractEventData) error

func (*Handler) HandleTransfer

func (h *Handler) HandleTransfer(ctx context.Context, ev *cmodels.ContractEventData) error

type NodeSetForVehicle

type NodeSetForVehicle struct {
	VehicleId *big.Int `json:"vehicleId"`
	NodeId    *big.Int `json:"nodeId"`
}

type NodeUriUpdated

type NodeUriUpdated struct {
	NodeId     *big.Int `json:"nodeId"`
	NewNodeUri string   `json:"newNodeUri"`
}

type StorageNodeAnchorMinted

type StorageNodeAnchorMinted struct {
	Account         common.Address `json:"account"`
	NodeAnchorId    *big.Int       `json:"nodeAnchorId"`
	NodeAnchorAddr  common.Address `json:"nodeAnchorAddr"`
	NodeAnchorLabel string         `json:"nodeAnchorLabel"`
	NodeAnchorUri   string         `json:"nodeAnchorUri"`
}

type Transfer

type Transfer struct {
	From common.Address `json:"from"`
	To   common.Address `json:"to"`
	Id   *big.Int       `json:"id"`
}

Jump to

Keyboard shortcuts

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