Skip to content

Commit

Permalink
chore: incentives address
Browse files Browse the repository at this point in the history
  • Loading branch information
nick134-bit committed Jan 23, 2025
1 parent 68aecbe commit 76657f9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions hooks/useClients.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand All @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -36,13 +36,13 @@
"@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.69.83",
"chain-registry": "^1.69.102",
"dayjs": "^1.11.13",
"eslint-plugin-import-helpers": "^1.3.1",
"intercept-stdout": "^0.1.2",
Expand Down
2 changes: 1 addition & 1 deletion public/mainnet/injective-1/pools_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@
],
"lp_token": "factory/inj1u0gpveexg2uns3qhehyppnealkhycntvj93hpf/uLP",
"swap_address": "inj1u0gpveexg2uns3qhehyppnealkhycntvj93hpf",
"staking_address": "",
"staking_address": "inj13cpjjj7rhxrdrkl4l258phz735aeded45hw3lt",
"rewards_tokens": []
}
],
Expand Down

0 comments on commit 76657f9

Please sign in to comment.