assets

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Assets = []Asset{
		{
			BuilderAsset: build.NativeAsset(),
			Domain:       "stellar.org",
		},
		{
			BuilderAsset: build.CreditAsset(
				"MOBI",
				"GA6HCMBLTZS5VYYBCATRBRZ3BZJMAFUDKYYF6AH6MVCMGWMRDNSWJPIH",
			),
			Domain: "mobius.network",
			Type:   "token",
		},
		{
			BuilderAsset: build.CreditAsset(
				"SLT",
				"GCKA6K5PCQ6PNF5RQBF7PQDJWRHO6UOGFMRLK3DYHDOI244V47XKQ4GP",
			),
			Domain:       "smartlands.io",
			Instructions: "https://smartlands.io",
			Type:         "token",
		},
		{
			BuilderAsset: build.CreditAsset(
				"CNY",
				"GAREELUB43IRHWEASCFBLKHURCGMHE5IF6XSE7EXDLACYHGRHM43RFOX",
			),
			Domain:       "ripplefox.com",
			Instructions: "Leave your address in the message to seller when you order theIte:https://shop109149722.taobao.com",
		},
		{
			BuilderAsset: build.CreditAsset(
				"RMT",
				"GCVWTTPADC5YB5AYDKJCTUYSCJ7RKPGE4HT75NIZOUM4L7VRTS5EKLFN",
			),
			Domain:       "sureremit.co",
			Instructions: "https://sureremit.co",
			Type:         "token",
		},
		{
			BuilderAsset: build.CreditAsset(
				"KIN",
				"GBDEVU63Y6NTHJQQZIKVTC23NWLQVP3WJ2RI2OTSJTNYOIGICST6DUXR",
			),
			Domain:       "apay.io",
			Instructions: "https://apay.io/",
		},
		{
			BuilderAsset: build.CreditAsset(
				"XRP",
				"GA7FCCMTTSUIC37PODEL6EOOSPDRILP6OQI5FWCWDDVDBLJV72W6RINZ",
			),
			Domain:       "vcbear.net",
			Instructions: "https://www.vcbear.net/signin",
		},
	}
)
View Source
var (
	CodeToAsset = map[string][]Asset{}
)

indexes

Functions

This section is empty.

Types

type Asset

type Asset struct {
	BuilderAsset build.Asset
	Domain       string
	Instructions string
	Type         string
}

func GetAssets

func GetAssets(code string) []Asset

func GetByCodeIssuer

func GetByCodeIssuer(code, issuer string) *Asset

func (Asset) CodeString added in v0.1.10

func (a Asset) CodeString() string

func (Asset) String

func (a Asset) String() string

func (Asset) ToHorizonAsset added in v0.1.10

func (a Asset) ToHorizonAsset() horizon.Asset

Jump to

Keyboard shortcuts

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