views

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 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"`
	TokenRequests core.TokenItems  `json:"tokens,omitempty"`
	Tokens        *core.TokenItems `json:"result,omitempty"`
}

func OrderView

func OrderView(o core.Order) Order

Jump to

Keyboard shortcuts

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