model

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const DESTINATION = "Destination"
View Source
const EXECUTED = "Executed"
View Source
const FALSE = "false"
View Source
const INPUT_INDEX = "InputIndex"
View Source
const NOTICE_SELECTOR = "c258d6e5"
View Source
const VOUCHER_SELECTOR = "ef615e2f"

Variables

This section is empty.

Functions

This section is empty.

Types

type ConvenienceFilter

type ConvenienceFilter struct {
	Field *string              `json:"field,omitempty"`
	Eq    *string              `json:"eq,omitempty"`
	Ne    *string              `json:"ne,omitempty"`
	Gt    *string              `json:"gt,omitempty"`
	Gte   *string              `json:"gte,omitempty"`
	Lt    *string              `json:"lt,omitempty"`
	Lte   *string              `json:"lte,omitempty"`
	In    []*string            `json:"in,omitempty"`
	Nin   []*string            `json:"nin,omitempty"`
	And   []*ConvenienceFilter `json:"and,omitempty"`
	Or    []*ConvenienceFilter `json:"or,omitempty"`
}

type ConvenienceNotice

type ConvenienceNotice struct {
	Payload     string `db:"payload"`
	InputIndex  uint64 `db:"input_index"`
	OutputIndex uint64 `db:"output_index"`
}

type ConvenienceVoucher

type ConvenienceVoucher struct {
	Destination common.Address `db:"destination"`
	Payload     string         `db:"payload"`
	InputIndex  uint64         `db:"input_index"`
	OutputIndex uint64         `db:"output_index"`
	Executed    bool           `db:"executed"`
}

Voucher metadata type

type SynchronizerFetch

type SynchronizerFetch struct {
	Id             int64  `db:"id"`
	TimestampAfter uint64 `db:"timestamp_after"`
	IniCursorAfter string `db:"ini_cursor_after"`
	LogVouchersIds string `db:"log_vouchers_ids"`
	EndCursorAfter string `db:"end_cursor_after"`
}

Jump to

Keyboard shortcuts

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