Skip to content

Commit

Permalink
Move Superfluid constants to superfluid package
Browse files Browse the repository at this point in the history
  • Loading branch information
MHHukiewitz committed Mar 25, 2024
1 parent b33b5e8 commit f5ba910
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 0 additions & 4 deletions packages/core/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
export const DEFAULT_API_V2 = 'http://pyaleph-lab-2.aleph.cloud:4024/'
export const DEFAULT_API_WS_V2 = 'ws://pyaleph-lab-2.aleph.cloud:4024/'
export const ALEPH_SUPERFLUID_FUJI_TESTNET = '0x1290248E01ED2F9f863A9752A8aAD396ef3a1B00'
export const ALEPH_SUPERFLUID_MAINNET = '0xc0Fbc4967259786C743361a5885ef49380473dCF'
export const SUPERFLUID_FUJI_TESTNET_SUBGRAPH_URL = 'https://avalanche-fuji.subgraph.x.superfluid.dev/'
export const SUPERFLUID_MAINNET_SUBGRAPH_URL = 'https://avalanche-c.subgraph.x.superfluid.dev/'
2 changes: 1 addition & 1 deletion packages/superfluid/src/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
ALEPH_SUPERFLUID_MAINNET,
SUPERFLUID_FUJI_TESTNET_SUBGRAPH_URL,
SUPERFLUID_MAINNET_SUBGRAPH_URL,
} from '@aleph-sdk/core'
} from './constants'
import { Decimal } from 'decimal.js'
import { BaseProviderWallet } from '@aleph-sdk/account'

Expand Down
4 changes: 4 additions & 0 deletions packages/superfluid/src/constants.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export const ALEPH_SUPERFLUID_FUJI_TESTNET = '0x1290248E01ED2F9f863A9752A8aAD396ef3a1B00'
export const ALEPH_SUPERFLUID_MAINNET = '0xc0Fbc4967259786C743361a5885ef49380473dCF'
export const SUPERFLUID_FUJI_TESTNET_SUBGRAPH_URL = 'https://avalanche-fuji.subgraph.x.superfluid.dev/'
export const SUPERFLUID_MAINNET_SUBGRAPH_URL = 'https://avalanche-c.subgraph.x.superfluid.dev/'
1 change: 1 addition & 0 deletions packages/superfluid/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './account'
export * from './constants'

0 comments on commit f5ba910

Please sign in to comment.