connection

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 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 (
	TransferEventID         = common.HexToHash("0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef")
	ConnectionMintedEventID = common.HexToHash("0xb751dcd57d7731ef1af0a7e83d4062bf65bff8bfe40b39d8d5039fcae7f8db92")
)

Functions

This section is empty.

Types

type ConnectionMinted added in v0.4.8

type ConnectionMinted struct {
	Account              common.Address `json:"account"`
	ConnectionId         *big.Int       `json:"connectionId"`
	ConnectionAddr       common.Address `json:"connectionAddr"`
	ConnectionName       string         `json:"connectionName"`
	ConnectionCostInDimo *big.Int       `json:"connectionCostInDimo"`
	Points               *big.Int       `json:"points"`
}

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) HandleLicenseMinted

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

func (*Handler) HandleTransfer

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

type Transfer

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

Jump to

Keyboard shortcuts

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