views

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 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 Order

type Order struct {
	ID        uint64          `json:"id,omitempty"`
	CreatedAt *time.Time      `json:"created_at,omitempty"`
	UpdatedAt *time.Time      `json:"updated_at,omitempty"`
	TraceID   string          `json:"trace_id,omitempty"`
	State     core.OrderState `json:"state,omitempty"`
	UserID    string          `json:"user_id,omitempty"`
	FeeAsset  string          `json:"fee_asset,omitempty"`
	FeeAmount decimal.Decimal `json:"fee_amount,omitempty"`
	Platform  string          `json:"platform,omitempty"`
	Tokens    core.Tokens     `json:"tokens,omitempty"`
	Result    *core.Tokens    `json:"result,omitempty"`
	Receiver  *core.Address   `json:"receiver,omitempty"`
}

func OrderView

func OrderView(o core.Order, self bool) Order

Jump to

Keyboard shortcuts

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