Documentation ¶
Index ¶
Constants ¶
View Source
const ( AssetAddressURI = "AssetRegistry:Assets" Blockchain = "polkadot" GetAssetsPath = "assets" )
View Source
const ( DefaultRefreshDelay = 400 // millisec DefaultSleepBetweenContractCalls = 300 // millisec DefaultEventsLimit = 100 DefaultSwapContractsLimit = 100 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HydrationAssetMetadata ¶
type HydrationAssetMetadata struct { Id string `json:"id"` Name string `json:"name"` Symbol string `json:"symbol"` Decimals uint `json:"decimals"` Icon string `json:"icon"` Type string `json:"type"` IsSufficient bool `json:"isSufficient"` ExistentialDeposit string `json:"existentialDeposit"` Origin int `json:"origin"` }
type HydrationClient ¶
type HydrationClient struct {
// contains filtered or unexported fields
}
func NewHydrationClient ¶
type HydrationPoolMetada ¶
type HydrationPoolTokenMetada ¶
type HydrationPoolTokenMetada struct { ID string `json:"id"` Balance string `json:"balance"` Name string `json:"name"` Symbol string `json:"symbol"` Decimals int `json:"decimals"` Icon string `json:"icon"` Type string `json:"type"` IsSufficient bool `json:"isSufficient"` ExistentialDeposit string `json:"existentialDeposit"` Origin int `json:"origin,omitempty"` UsdBalance string `json:"usdBalance"` Index int `json:"index"` }
Click to show internal directories.
Click to hide internal directories.