yacarsdk

package module
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Id     string `json:"id"`
	Entity string `json:"entity"`
	Label  string `json:"label"`
}

func (Account) IsMinimallyPopulated

func (a Account) IsMinimallyPopulated() bool

type Asset

type Asset struct {
	Id             string `json:"id"`
	Entity         string `json:"entity,omitempty"`
	Name           string `json:"name"`
	Symbol         string `json:"symbol"`
	Decimals       string `json:"decimals"`
	Type           string `json:"type"`
	CircSupplyAPI  string `json:"circ_supply_api,omitempty"`
	TotalSupplyAPI string `json:"total_supply_api,omitempty"`
	Icon           string `json:"icon,omitempty"`
	CoinMarketCap  string `json:"coinmarketcap,omitempty"`
	CoinGecko      string `json:"coingecko,omitempty"`
}

func (Asset) IsMinimallyPopulated

func (a Asset) IsMinimallyPopulated() bool

type Binary

type Binary struct {
	Id     string `json:"id"`
	Entity string `json:"entity"`
	Label  string `json:"label"`
}

func (Binary) IsMinimallyPopulated

func (b Binary) IsMinimallyPopulated() bool

type ByEnforcedAccountOrder

type ByEnforcedAccountOrder []Account

func (ByEnforcedAccountOrder) Len

func (acc ByEnforcedAccountOrder) Len() int

func (ByEnforcedAccountOrder) Less

func (acc ByEnforcedAccountOrder) Less(i, j int) bool

func (ByEnforcedAccountOrder) Swap

func (acc ByEnforcedAccountOrder) Swap(i, j int)

type ByEnforcedAssetOrder

type ByEnforcedAssetOrder []Asset

func (ByEnforcedAssetOrder) Len

func (assets ByEnforcedAssetOrder) Len() int

func (ByEnforcedAssetOrder) Less

func (assets ByEnforcedAssetOrder) Less(i, j int) bool

func (ByEnforcedAssetOrder) Swap

func (assets ByEnforcedAssetOrder) Swap(i, j int)

type ByEnforcedBinaryOrder

type ByEnforcedBinaryOrder []Binary

func (ByEnforcedBinaryOrder) Len

func (bins ByEnforcedBinaryOrder) Len() int

func (ByEnforcedBinaryOrder) Less

func (bins ByEnforcedBinaryOrder) Less(i, j int) bool

func (ByEnforcedBinaryOrder) Swap

func (bins ByEnforcedBinaryOrder) Swap(i, j int)

type ByEnforcedContractOrder

type ByEnforcedContractOrder []Contract

func (ByEnforcedContractOrder) Len

func (cons ByEnforcedContractOrder) Len() int

func (ByEnforcedContractOrder) Less

func (cons ByEnforcedContractOrder) Less(i, j int) bool

func (ByEnforcedContractOrder) Swap

func (cons ByEnforcedContractOrder) Swap(i, j int)

type ByEnforcedEntityOrder

type ByEnforcedEntityOrder []Entity

func (ByEnforcedEntityOrder) Len

func (ents ByEnforcedEntityOrder) Len() int

func (ByEnforcedEntityOrder) Less

func (ents ByEnforcedEntityOrder) Less(i, j int) bool

func (ByEnforcedEntityOrder) Swap

func (ents ByEnforcedEntityOrder) Swap(i, j int)

type ByEnforcedPoolOrder

type ByEnforcedPoolOrder []Pool

func (ByEnforcedPoolOrder) Len

func (pools ByEnforcedPoolOrder) Len() int

func (ByEnforcedPoolOrder) Less

func (pools ByEnforcedPoolOrder) Less(i, j int) bool

func (ByEnforcedPoolOrder) Swap

func (pools ByEnforcedPoolOrder) Swap(i, j int)

type Contract

type Contract struct {
	Id     string `json:"id"`
	Entity string `json:"entity"`
	Label  string `json:"label"`
}

func (Contract) IsMinimallyPopulated

func (c Contract) IsMinimallyPopulated() bool

type Entity

type Entity struct {
	Name     string `json:"name"`
	Website  string `json:"website,omitempty"`
	Telegram string `json:"telegram,omitempty"`
	Twitter  string `json:"twitter,omitempty"`
	Discord  string `json:"discord,omitempty"`
}

func (Entity) IsMinimallyPopulated

func (e Entity) IsMinimallyPopulated() bool

type Pool

type Pool struct {
	Id        string   `json:"id"`
	AssetIds  []string `json:"asset_ids"`
	Dex       string   `json:"dex"`
	Type      string   `json:"type"`
	LpTokenId string   `json:"lp_token_id,omitempty"`
}

func (Pool) IsMinimallyPopulated

func (a Pool) IsMinimallyPopulated() bool

Jump to

Keyboard shortcuts

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