diff --git a/constants/settings.ts b/constants/settings.ts index 6ecb31f3..6b0fc23e 100644 --- a/constants/settings.ts +++ b/constants/settings.ts @@ -12,6 +12,6 @@ export const POOL_INFO_BASE_URL = export const COSMOS_KIT_WALLET_KEY = 'cosmos-kit@2:core//current-wallet' -export const API_URLS = ['https://9c0pbpbijhepr6ijm4lk85uiuc.ingress.europlots.com'] +export const API_URLS = ['https://api.whitewhale.money', 'https://9c0pbpbijhepr6ijm4lk85uiuc.ingress.europlots.com'] export const ADV_MEMO = 'app.whitewhale.money' diff --git a/hooks/useClients.ts b/hooks/useClients.ts index cd75d4e6..b5eee50a 100644 --- a/hooks/useClients.ts +++ b/hooks/useClients.ts @@ -9,7 +9,7 @@ import { cosmosProtoRegistry, cosmwasmAminoConverters, cosmwasmProtoRegistry, -} from '@nick134-bit/nicks-injectivejs/dist/codegen' +} from '@nick134-bit/nicks-injectivejs' export const useClients = (walletChainName: string) => { const { @@ -18,7 +18,7 @@ export const useClients = (walletChainName: string) => { isWalletConnected, setDefaultSignOptions, getStargateClient, - wallet, getRpcEndpoint, getOfflineSignerDirect } = useChain(walletChainName) + wallet, getRpcEndpoint, getOfflineSigner } = useChain(walletChainName) if (isWalletConnected && !wallet?.name.includes('station')) { try { @@ -44,7 +44,7 @@ export const useClients = (walletChainName: string) => { queryKey: ['injectiveSigningClient'], queryFn: async () => { try { - const offlineSigner: any = await getOfflineSignerDirect() + const offlineSigner: any = await getOfflineSigner() const protoRegistry: ReadonlyArray<[string, GeneratedType]> = [ ...cosmosProtoRegistry, ...cosmwasmProtoRegistry, diff --git a/package.json b/package.json index cdd886be..e152178f 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,8 @@ "@cosmjs/launchpad": "0.27.1", "@cosmjs/proto-signing": "0.32.2", "@cosmos-kit/cosmostation": "^2.8.0", - "@cosmos-kit/keplr": "^2.8.0", "@cosmos-kit/galaxy-station": "^2.6.2", + "@cosmos-kit/keplr": "^2.8.0", "@cosmos-kit/leap": "^2.8.0", "@cosmos-kit/ninji": "^2.8.0", "@cosmos-kit/okxwallet": "^2.6.0", @@ -36,18 +36,18 @@ "@emotion/styled": "^11", "@injectivelabs/sdk-ts": "1.14.13", "@next/bundle-analyzer": "^14.2.3", - "@nick134-bit/nicks-injectivejs": "^0.0.3", + "@nick134-bit/nicks-injectivejs": "^0.0.4", "@tanstack/react-table": "^8.16.0", "@terra-money/feather.js": "^2.0.4", "@typescript-eslint/eslint-plugin": "^6.19.0", "@typescript-eslint/parser": "^6.19.0", "bignumber.js": "^9.1.2", - "chain-registry": "^1.63.61", - "dayjs": "^1.11.11", + "chain-registry": "^1.69.102", + "dayjs": "^1.11.13", "eslint-plugin-import-helpers": "^1.3.1", "intercept-stdout": "^0.1.2", "isomorphic-unfetch": "^4.0.2", - "jsoneditor": "^10.0.3", + "jsoneditor": "^10.1.2", "junoblocks": "^0.2.93", "lodash": "^4.17.21", "next": "14.2.3", @@ -65,14 +65,14 @@ "devDependencies": { "@keplr-wallet/types": "^0.12.88", "@types/react": "18.2.57", - "autoprefixer": "^10.4.19", + "autoprefixer": "^10.4.20", "eslint": "^8.56.0", "eslint-config-next": "^14.1.0", - "husky": "^9.0.11", - "lint-staged": "^15.2.2", - "postcss": "^8.4.38", - "prettier": "^3.2.5", - "typescript": "^5.4.5" + "husky": "^9.1.7", + "lint-staged": "^15.3.0", + "postcss": "^8.4.49", + "prettier": "^3.4.2", + "typescript": "^5.7.2" }, "lint-staged": { "**/*.{ts,md,tsx}": "prettier --write" diff --git a/public/mainnet/injective-1/pools_list.json b/public/mainnet/injective-1/pools_list.json index 3cf4c937..c441ef98 100644 --- a/public/mainnet/injective-1/pools_list.json +++ b/public/mainnet/injective-1/pools_list.json @@ -545,7 +545,7 @@ ], "lp_token": "factory/inj1u0gpveexg2uns3qhehyppnealkhycntvj93hpf/uLP", "swap_address": "inj1u0gpveexg2uns3qhehyppnealkhycntvj93hpf", - "staking_address": "", + "staking_address": "inj13cpjjj7rhxrdrkl4l258phz735aeded45hw3lt", "rewards_tokens": [] } ],