Documentation ¶
Index ¶
Constants ¶
View Source
const ( AssetTypeNative = "native" AssetTypeIBC = "ibc" AssetTypeCW20 = "cw20" AssetTypeCW721 = "cw721" AssetTypeTokenFactory = "tokenfactory" )
View Source
const ( DexAstroport = "Astroport" DexTerraswap = "Terraswap" DexTfm = "TFM" DexPhoenix = "Phoenix" DexWhiteWhale = "White Whale" DexOsmosis = "Osmosis" DexFortis = "Fortis" DexLoop = "Loop" DexMarbleFinance = "MarbleFinance" DexWynd = "Wynd" DexJunoSwap = "Junoswap" DexFin = "FIN" TypeXyk = "xyk" TypeStable = "stable" TypeOrderbook = "orderbook" TypeBalancerV1 = "balancerV1" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶ added in v0.0.5
type Account struct { Id string `json:"id"` Entity string `json:"entity"` Label string `json:"label"` }
func GetAccounts ¶ added in v0.0.5
func (Account) IsMinimallyPopulated ¶ added in v0.0.8
type Asset ¶
type Asset struct { Id string `json:"id" binding:"required"` Entity string `json:"entity,omitempty"` Name string `json:"name" binding:"required"` Symbol string `json:"symbol" binding:"required"` Decimals string `json:"decimals" binding:"required"` Type string `json:"type" binding:"required"` 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 ¶
type Binary ¶
type Binary struct { Id string `json:"id"` Entity string `json:"entity"` Label string `json:"label"` }
func (Binary) IsMinimallyPopulated ¶ added in v0.0.8
type ByEnforcedAccountOrder ¶ added in v0.0.6
type ByEnforcedAccountOrder []Account
func (ByEnforcedAccountOrder) Len ¶ added in v0.0.6
func (acc ByEnforcedAccountOrder) Len() int
func (ByEnforcedAccountOrder) Less ¶ added in v0.0.6
func (acc ByEnforcedAccountOrder) Less(i, j int) bool
func (ByEnforcedAccountOrder) Swap ¶ added in v0.0.6
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 ¶ added in v0.0.6
type ByEnforcedBinaryOrder []Binary
func (ByEnforcedBinaryOrder) Len ¶ added in v0.0.6
func (bins ByEnforcedBinaryOrder) Len() int
func (ByEnforcedBinaryOrder) Less ¶ added in v0.0.6
func (bins ByEnforcedBinaryOrder) Less(i, j int) bool
func (ByEnforcedBinaryOrder) Swap ¶ added in v0.0.6
func (bins ByEnforcedBinaryOrder) Swap(i, j int)
type ByEnforcedContractOrder ¶ added in v0.0.6
type ByEnforcedContractOrder []Contract
func (ByEnforcedContractOrder) Len ¶ added in v0.0.6
func (cons ByEnforcedContractOrder) Len() int
func (ByEnforcedContractOrder) Less ¶ added in v0.0.6
func (cons ByEnforcedContractOrder) Less(i, j int) bool
func (ByEnforcedContractOrder) Swap ¶ added in v0.0.6
func (cons ByEnforcedContractOrder) Swap(i, j int)
type ByEnforcedEntityOrder ¶ added in v0.0.6
type ByEnforcedEntityOrder []Entity
func (ByEnforcedEntityOrder) Len ¶ added in v0.0.6
func (ents ByEnforcedEntityOrder) Len() int
func (ByEnforcedEntityOrder) Less ¶ added in v0.0.6
func (ents ByEnforcedEntityOrder) Less(i, j int) bool
func (ByEnforcedEntityOrder) Swap ¶ added in v0.0.6
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 ¶ added in v0.0.8
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 ¶ added in v0.0.8
type Pool ¶
type Pool struct { Id string `json:"id" binding:"required"` AssetIds []string `json:"asset_ids" binding:"required,gte=2"` Dex string `json:"dex" binding:"required"` Type string `json:"type" binding:"required"` LpTokenId string `json:"lp_token_id,omitempty"` }
func (Pool) IsMinimallyPopulated ¶
Click to show internal directories.
Click to hide internal directories.