modext

package
v0.0.0-...-d0dd730 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AdminTrustlinesViewName = "admin_trustlines"
View Source
var CustomerTrustlinesViewName = "customer_trustlines"
View Source
var IssuerTrustlineColumns = struct {
	Name            string
	PublicKey       string
	IssuerPublicKey string
	AssetCode       string
	Authorized      string
	Status          string
	Reason          string
}{
	Name:            "name",
	PublicKey:       "public_key",
	IssuerPublicKey: "issuer_public_key",
	AssetCode:       "asset_code",
	Authorized:      "authorized",
	Status:          "status",
	Reason:          "reason",
}

IssuerTrustlineColumns - column names

Functions

func UserOrderDenomination

func UserOrderDenomination(o *m.UserOrder) *big.Int

UserOrderDenomination returns the value of the string from the order

func UserOrderFiatPaymentUsage

func UserOrderFiatPaymentUsage(usageString string, o *m.UserOrder) string

UserOrderFiatPaymentUsage creates the usage string for an order

Types

type IssuerTrustline

type IssuerTrustline struct {
	Name            string `boil:"name" json:"name" toml:"name" yaml:"name"`
	PublicKey       string `boil:"public_key" json:"public_key" toml:"public_key" yaml:"public_key"`
	IssuerPublicKey string `boil:"issuer_public_key" json:"issuer_public_key" toml:"issuer_public_key" yaml:"issuer_public_key"`
	AssetCode       string `boil:"asset_code" json:"asset_code" toml:"asset_code" yaml:"asset_code"`
	Status          string `boil:"status" json:"status" toml:"status" yaml:"status"`
	Reason          string `boil:"reason" json:"reason" toml:"reason" yaml:"reason"`
}

IssuerTrustline is an object representing the database view.

Jump to

Keyboard shortcuts

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