types

package
v0.0.0-...-d9430aa Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection

type Collection struct {
	Id           uint64 `json:"id"`
	Rank         uint64 `json:"rank"`
	Image        string `json:"image"`
	Name         string `json:"name"`
	Holder       uint64 `json:"holder"`
	WhaleHolder  uint64 `json:"whale_holder"`
	SuggestLevel int8   `json:"suggest_level"`
	Volume       uint64 `json:"volume"`
	FloorPrice   string `json:"floor_price"`
	BestOffer    string `json:"best_offer"`
	ShadowScore  string `json:"shadow_score"`
}

type CollectionDetail

type CollectionDetail struct {
	Id             uint64        `json:"id"`
	Name           string        `json:"name"`
	Image          string        `json:"image"`
	Creator        string        `json:"creator"`
	CollectionAddr string        `json:"collection_addr"`
	Holder         uint64        `json:"holder"`
	Chain          string        `json:"chain"`
	Introduce      string        `json:"introduce"`
	ShadowScore    *ShadowScore  `json:"shadow_score"`
	TradingList    []Trading     `json:"trading_list"`
	VolumeList     []Volume      `json:"volume_list"`
	ListList       []List        `json:"list_list"`
	FloorPriceList []FloorPrice  `json:"floor_price_list"`
	WhaleHolder    []WhaleHolder `json:"whale_holder"`
}

type CollectionDetailReq

type CollectionDetailReq struct {
	CollectionId uint64 `json:"collection_id"`
	Page         int    `json:"page"`
	PageSize     int    `json:"page_size"`
}

type CollectionNftReq

type CollectionNftReq struct {
	CollectId uint64 `json:"collect_id"`
	Page      int    `json:"page"`
	PageSize  int    `json:"page_size"`
}

type CollectionReq

type CollectionReq struct {
	Page     int  `json:"page"`
	PageSize int  `json:"page_size"`
	OrderBy  int8 `json:"order_by"` //0: shadow score, 1: 24h volume; 2:price; 3:txn
}

type FloorPrice

type FloorPrice struct {
	StatTime   string `json:"stat_time"`
	FloorPrice string `json:"floor_price"`
	BestOffer  string `json:"best_offer"`
}

type HeadDataStat

type HeadDataStat struct {
	TotalNftValue         string    `json:"total_nft_value"`
	TotalNftValueRatio    float64   `json:"total_nft_value_ratio"`
	TotalNftValueStat     []float64 `json:"total_nft_value_stat"`
	TotalCollections      string    `json:"total_collections"`
	TotalCollectionsRatio float64   `json:"total_collections_ratio"`
	TotalCollectionsStat  []float64 `json:"total_collections_stat"`
	TotalWhale            string    `json:"total_whale"`
	TotalWhaleRatio       float64   `json:"total_whale_ratio"`
	TotalWhaleStat        []float64 `json:"total_whale_stat"`
	TotalNft              string    `json:"total_nft"`
	TotalNftRatio         float64   `json:"total_nft_ratio"`
	TotalNftStat          []float64 `json:"total_nft_stat"`
}

type HoldCollection

type HoldCollection struct {
	TotalHold uint64   `json:"total_hold"`
	Images    []string `json:"images"`
}

type HoldNft

type HoldNft struct {
	TotalHold uint64   `json:"total_hold"`
	Images    []string `json:"images"`
}

type Index

type Index struct {
	SupportChains     []SupportChain `json:"support_chain"`
	HeadStat          *HeadDataStat  `json:"head_data"`
	HotCollectionList []Collection   `json:"hot_collection_list"`
	LiveMintList      []LiveMint     `json:"live_mint_list"`
	WhaleHolderList   []WhaleHolder  `json:"whale_holder_list"`
	ShadowScores      *ShadowScore   `json:"shadow_score"`
}

type List

type List struct {
	StatTime string `json:"stat_time"`
	PriceDis string `json:"price_dis"`
}

type LiveMint

type LiveMint struct {
	Id               uint64  `json:"id"`
	Rank             uint64  `json:"rank"`
	Image            string  `json:"image"`
	Name             string  `json:"name"`
	Holder           uint64  `json:"holder"`
	WhaleHolder      uint64  `json:"whale_holder"`
	SuggestLevel     int8    `json:"suggest_level"`
	Mint             uint64  `json:"volume"`
	MintPercent      float64 `json:"mint_percent"`
	TotalMint        uint64  `json:"total_mint"`
	TotalMintPercent float64 `json:"total_mint_percent"`
	LastMintTime     string  `json:"last_mint_time"`
}

type Nft

type Nft struct {
	Id        uint64 `json:"id"`
	Image     string `json:"image"`
	Name      string `json:"name"`
	Chain     string `json:"chain"`
	Holder    uint64 `json:"holder"`
	HoldLabel string `json:"hold_label"`
	Price     string `json:"price"`
	UsdPrice  string `json:"usd_price"`
}

type NftDetail

type NftDetail struct {
	Id          uint64  `json:"id"`
	Image       string  `json:"image"`
	Name        string  `json:"name"`
	Chain       string  `json:"chain"`
	Contract    string  `json:"contract"`
	Creator     string  `json:"creator"`
	TokenUrl    string  `json:"token_url"`
	TokeId      string  `json:"toke_id"`
	Describe    string  `json:"describe"`
	MintHash    string  `json:"mint_hash"`
	MintTime    string  `json:"mint_time"`
	Holder      uint64  `json:"holder"`
	WhaleHolder uint64  `json:"whale_holder"`
	Price       string  `json:"price"`
	UsdPrice    string  `json:"usd_price"`
	TotalTxn    uint64  `json:"total_txn"`
	NftTxn      []NftTx `json:"nft_txn"`
}

type NftDetailReq

type NftDetailReq struct {
	NftId    uint64 `json:"nft_id"`
	Type     uint8  `json:"type"`
	Page     int    `json:"page"`
	PageSize int    `json:"page_size"`
}

type NftTx

type NftTx struct {
	FromAddr  string `json:"from_addr"`
	ToAddr    string `json:"to_addr"`
	Type      uint8  `json:"type"`
	Price     string `json:"price"`
	TradeTime string `json:"trade_time"`
}

type ShadowScore

type ShadowScore struct {
	BlueChip        string `json:"blue_chip"`
	Fluidity        string `json:"fluidity"`
	Reliability     string `json:"reliability"`
	CommunityActive string `json:"community_active"`
	Heat            string `json:"heat"`
	PotentialIncome string `json:"potential_income"`
}

type SupportChain

type SupportChain struct {
	ChainId   uint64 `json:"chain_id"`
	ChainName string `json:"chain_name"`
	ChainIcon string `json:"chain_icon"`
	ApiUrl    string `json:"api_url"`
}

type TokenPrice

type TokenPrice struct {
	MainTokenName string `json:"main_token_name"`
	UsdPrice      string `json:"usd_price"`
	CnyPrice      string `json:"cny_price"`
	DateTime      string `json:"date_time"`
}

type Trading

type Trading struct {
	StatTime string `json:"stat_time"`
	Price    string `json:"price"`
}

type Volume

type Volume struct {
	StatTime string `json:"stat_time"`
	Volume   uint64 `json:"volume"`
}

type WhaleHolder

type WhaleHolder struct {
	Address            string          `json:"address"`
	TotalValue         string          `json:"total_value"`
	HoldNftList        *HoldNft        `json:"hold_nft_list"`
	HoldCollectionList *HoldCollection `json:"hold_collection_list"`
	RealizePnl         string          `json:"realize_pnl"`
	Label              string          `json:"label"`
}

Jump to

Keyboard shortcuts

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