Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultFusdcDecimals to use as the default for the base asset DefaultFusdcDecimals = 6 // DefaultFusdcSymbol to send to users (from Superposition Testnet) DefaultFusdcSymbol = "fUSDC" // DefaultFusdcName to use (from Superposition Testnet) DefaultFusdcName = "Fluid USDC" )
Variables ¶
View Source
var DefaultFusdcTotalSupply = mustUnscaled("999999999999999999900750000")
DefaultFusdcTotalSupply from Superposition Testnet
View Source
var DefaultPoolConfiguration = Pool{ Displayed: true, Classification: seawater.ClassificationUnknown, }
DefaultPoolConfig, for when we haven't identified the pool manually in the past.
Functions ¶
This section is empty.
Types ¶
type C ¶
type C struct { GethUrl string TimescaleUrls []string SeawaterAddr, FusdcAddr types.Address FusdcDecimals int FusdcTotalSupply types.UnscaledNumber FusdcSymbol, FusdcName string }
C is configuration for each service, and globally.
func (C) PickTimescaleUrl ¶
type Pool ¶
type Pool struct { Displayed bool `toml:"displayed" json:"displayed"` Classification seawater.Classification `toml:"classification" json:"classification"` Image string `toml:"image" json:"image"` Price string `toml:"price" json:"price"` }
Pool config, probably derived from config/pools.toml.
Click to show internal directories.
Click to hide internal directories.