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
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export type AssetSymbol = 'btc' | 'eth' | 'xyo' | 'usd' | 'eur' | 'usdt' | 'usdc' | 'bnb' | 'xrp' | 'ada' | 'sol' | 'busd' | 'dot' | 'doge' | 'wbtc'
export type AssetSymbol = 'btc' | 'eth' | 'xyo' | 'xl1' | 'usd' | 'eur' | 'usdt' | 'usdc' | 'bnb' | 'xrp' | 'ada' | 'sol' | 'busd' | 'dot' | 'doge' | 'wbtc'
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const coingeckoCoinToAssetMap: Record<string, AssetSymbol> = {
'tether': 'usdt',
'usd-coin': 'usdc',
'wrapped-bitcoin': 'wbtc',
'xl1': 'xl1',
'xrp': 'xrp',
'xyo-network': 'xyo',
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const defaultCoins: CryptoAsset[] = [
{ name: 'tether' },
{ name: 'usd-coin' },
{ name: 'wrapped-bitcoin' },
{ name: 'xl1' },
{ name: 'xrp' },
{ name: 'xyo-network' },
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ export const TokenRegistry: Record<string, TokenParameters> = {
decimals: 18,
symbol: 'XYO',
},
XL1: {
address: '0xf72ae3e0da743033abd7a407557d684c1ae66aed',
chainId: 1,
decimals: 18,
symbol: 'XL1',
},
} as const

export const UniswapV4DefaultPools: Record<string, TokenPairPoolKey> = {
Expand All @@ -24,4 +30,10 @@ export const UniswapV4DefaultPools: Record<string, TokenPairPoolKey> = {
tickSpacing: 60,
tokens: [TokenRegistry.XYO, TokenRegistry.USDT],
},
'XL1:USDT': {
fee: 3000,
hookAddress: ZeroAddress,
tickSpacing: 60,
tokens: [TokenRegistry.XL1, TokenRegistry.USDT],
},
} as const
2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import dotenv from 'dotenv'
import { defineConfig } from 'vitest/config'

dotenv.config()
dotenv.config({ quiet: true })

export default defineConfig({
test: {
Expand Down
Loading