schema

package
v0.0.0-...-1971f33 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FeltSchemaType = map[string]string{
	dialect.Postgres: "numeric",
}

Functions

This section is empty.

Types

type Balance

type Balance struct {
	ent.Schema
}

func (Balance) Annotations

func (Balance) Annotations() []schema.Annotation

Annotations returns Transaction annotations.

func (Balance) Edges

func (Balance) Edges() []ent.Edge

Edges returns Balance edges.

func (Balance) Fields

func (Balance) Fields() []ent.Field

Fields returns Balance fields.

type Block

type Block struct {
	ent.Schema
}

Block defines the Block type schema.

func (Block) Annotations

func (Block) Annotations() []schema.Annotation

Annotations returns Block annotations.

func (Block) Edges

func (Block) Edges() []ent.Edge

Edges returns Block edges.

func (Block) Fields

func (Block) Fields() []ent.Field

Fields returns Block fields.

type Contract

type Contract struct {
	ent.Schema
}

Contract holds the schema definition for the Contract entity.

func (Contract) Annotations

func (Contract) Annotations() []schema.Annotation

Annotations returns Contract annotations.

func (Contract) Edges

func (Contract) Edges() []ent.Edge

Edges of the Contract.

func (Contract) Fields

func (Contract) Fields() []ent.Field

Fields of the Contract.

type Event

type Event struct {
	ent.Schema
}

Event defines the Event type schema.

func (Event) Annotations

func (Event) Annotations() []schema.Annotation

Annotations returns Event annotations.

func (Event) Edges

func (Event) Edges() []ent.Edge

Edges returns Event edges.

func (Event) Fields

func (Event) Fields() []ent.Field

Fields returns Event fields.

type Transaction

type Transaction struct {
	ent.Schema
}

Transaction defines the Transaction type schema.

func (Transaction) Annotations

func (Transaction) Annotations() []schema.Annotation

Annotations returns Transaction annotations.

func (Transaction) Edges

func (Transaction) Edges() []ent.Edge

Edges returns Transaction edges.

func (Transaction) Fields

func (Transaction) Fields() []ent.Field

Fields returns Transaction fields.

type TransactionReceipt

type TransactionReceipt struct {
	ent.Schema
}

TransactionReceipt defines the TransactionReceipt type schema.

func (TransactionReceipt) Annotations

func (TransactionReceipt) Annotations() []schema.Annotation

Annotations returns TransactionReceipt annotations.

func (TransactionReceipt) Edges

func (TransactionReceipt) Edges() []ent.Edge

Edges returns TransactionReceipt edges.

func (TransactionReceipt) Fields

func (TransactionReceipt) Fields() []ent.Field

Fields returns TransactionReceipt fields.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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