worker

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepositTokens

type DepositTokens struct {
	GUID         uuid.UUID      `gorm:"primaryKey" json:"guid"`
	TokenAddress common.Address `json:"token_address" gorm:"serializer:bytes"`
	Sender       common.Address `json:"sender" gorm:"serializer:bytes"`
	Amount       *big.Int       `gorm:"serializer:u256"`
	Timestamp    uint64
}

type DepositTokensDB

type DepositTokensDB interface {
	DepositTokensView

	StoreDepositTokens([]DepositTokens) error
}

func NewDepositTokensDB

func NewDepositTokensDB(db *gorm.DB) DepositTokensDB

type DepositTokensView

type DepositTokensView interface {
	QueryDepositTokensList(page int, pageSize int, order string) ([]DepositTokens, uint64)
}

Jump to

Keyboard shortcuts

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