connection

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: May 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")
	LicenseMintedEventID = common.HexToHash("0x4bce7eaeb5f9b0163fdd057deb2a52eefcf77f28f50703ef59a20ddcd4751067")
)

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

type LicenseMinted struct {
	Account           common.Address `json:"account"`
	LicenseId         *big.Int       `json:"licenseId"`
	LicenseAddr       common.Address `json:"licenseAddr"`
	LicenseCostInDimo *big.Int       `json:"licenseCostInDimo"`
}

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