models

package
v0.0.0-...-8896b81 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepositsResponse

type DepositsResponse struct {
	Current int                 `json:"Current"`
	Size    int                 `json:"Size"`
	Total   int64               `json:"Total"`
	Records []database.Deposits `json:"Records"`
}

type QueryDWParams

type QueryDWParams struct {
	Address  string
	Page     int
	PageSize int
	Order    string
}

type QueryIdParams

type QueryIdParams struct {
	Id uint64
}

type QueryIndexParams

type QueryIndexParams struct {
	Index uint64
}

type QueryPageParams

type QueryPageParams struct {
	Page     int
	PageSize int
	Order    string
}

type SubmitDWParams

type SubmitDWParams struct {
	FromAddress  common.Address
	ToAddress    common.Address
	TokenAddress common.Address
	Amount       *big.Int
}

type SubmitWithdrawsResponse

type SubmitWithdrawsResponse struct {
	Code int    `json:"code"`
	Msg  string `json:"msg"`
}

type WithdrawsResponse

type WithdrawsResponse struct {
	Current int                  `json:"Current"`
	Size    int                  `json:"Size"`
	Total   int64                `json:"Total"`
	Records []database.Withdraws `json:"Records"`
}

Jump to

Keyboard shortcuts

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