Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion api/v1_coin_insights.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ func (app *ApiServer) v1CoinInsights(c *fiber.Ctx) error {
'price', artist_coin_pools.price,
'priceUSD', artist_coin_pools.price_usd,
'curveProgress', artist_coin_pools.curve_progress,
'isMigrated', artist_coin_pools.is_migrated
'isMigrated', artist_coin_pools.is_migrated,
'creatorQuoteFee', artist_coin_pools.creator_quote_fee
) AS dynamic_bonding_curve
FROM artist_coin_stats
LEFT JOIN artist_coin_pools
Expand Down
3 changes: 2 additions & 1 deletion api/v1_coins.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ func (app *ApiServer) v1Coins(c *fiber.Ctx) error {
'price', COALESCE(artist_coin_pools.price, 0),
'priceUSD', COALESCE(artist_coin_pools.price_usd, 0),
'curveProgress', COALESCE(artist_coin_pools.curve_progress, 0),
'isMigrated', COALESCE(artist_coin_pools.is_migrated, false)
'isMigrated', COALESCE(artist_coin_pools.is_migrated, false),
'creatorQuoteFee', COALESCE(artist_coin_pools.creator_quote_fee, 0)
) AS dynamic_bonding_curve,
COALESCE(artist_coin_stats.updated_at, artist_coins.created_at) as updated_at
FROM artist_coins
Expand Down
Loading