ADD - expand VaultX fictional markets

Add 24 server-defined markets with unique symbols and broad price and supply ranges. Update the market DTO, UI, browser mocks, and contract coverage.
This commit is contained in:
smx.pusha
2026-08-18 09:32:02 +02:00
parent 7799ababae
commit 386a8d50eb
7 changed files with 572 additions and 34 deletions
+9 -1
View File
@@ -115,9 +115,17 @@ function verifyBrowserTestData(dataByEndpoint) {
expectItems(dataByEndpoint.get('health:overview').days, 'health history', 7)
const crypto = dataByEndpoint.get('crypto:bootstrap')
expectItems(crypto.markets, 'crypto markets', 3)
expectItems(crypto.markets, 'crypto markets', 24)
assert.equal(typeof crypto.profile.priceAlerts, 'boolean')
assert.equal(typeof crypto.markets[0].issuedSupply, 'string')
assert(crypto.markets.every((market) => typeof market.logo === 'string'))
assert(
Math.max(...crypto.markets.map((market) => Number(market.price))) >=
1000000,
)
assert(
Math.min(...crypto.markets.map((market) => Number(market.price))) <= 0.01,
)
expectItems(
dataByEndpoint.get('billing:list').invoices,
'billing invoices',