diff --git a/app/package.json b/app/package.json index 871fb01c3..3743fe0c8 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "app", - "version": "2.14.23", + "version": "2.14.24", "private": true, "scripts": { "bump": "bump patch --tag --commit 'testnet release '", diff --git a/app/src/views/PoolPage/PoolItem.tsx b/app/src/views/PoolPage/PoolItem.tsx index baea1ba0e..74964f89a 100644 --- a/app/src/views/PoolPage/PoolItem.tsx +++ b/app/src/views/PoolPage/PoolItem.tsx @@ -401,9 +401,9 @@ export default defineComponent({ "flex items-center justify-end font-mono", ]} > - {isNil(this.$props.poolStat?.poolApr) + {isNil(this.$props.poolStat?.rewardApr) ? "..." - : `${(Number(this.$props.poolStat?.poolApr) ?? 0).toFixed(2)}%`} + : `${(Number(this.$props.poolStat?.rewardApr) ?? 0).toFixed(2)}%`}
- {item.poolApr}% + {item.rewardApr}% {item.pairedApr}% diff --git a/app/src/views/StatsPage/useStatsPageData.ts b/app/src/views/StatsPage/useStatsPageData.ts index c1e5378f1..b6569fda1 100644 --- a/app/src/views/StatsPage/useStatsPageData.ts +++ b/app/src/views/StatsPage/useStatsPageData.ts @@ -12,7 +12,6 @@ export type StatsPageState = { | "tvl" | "volume" | "arbitrage" - | "poolApr" | "rowanApr" | "pairedApr" | "marginApr"; @@ -44,9 +43,8 @@ export function useStatsPageData(initialState: StatsPageState) { tvl: pool.poolTVL, volume: pool.volume ?? 0, arbitrage: pool.arb == null ? null : pool.arb ?? 0, - poolApr: Number(pool.poolApr).toFixed(2), pairedApr: Number(pool.pairedApr).toFixed(1), - rewardApr: pool.rewardApr, + rewardApr: Number(pool.rewardApr).toFixed(2), marginApr: pool.margin_apr, }; diff --git a/core/src/clients/chains/SifchainChain.ts b/core/src/clients/chains/SifchainChain.ts index 42433e298..0c45b679a 100644 --- a/core/src/clients/chains/SifchainChain.ts +++ b/core/src/clients/chains/SifchainChain.ts @@ -5,7 +5,7 @@ import { BaseChain } from "./_BaseChain"; export class SifchainChain extends BaseChain implements Chain { getBlockExplorerUrlForTxHash(hash: string) { - return urlJoin(this.chainConfig.blockExplorerUrl, "txs", hash); + return urlJoin(this.chainConfig.blockExplorerUrl, "tx", hash); } getBlockExplorerUrlForAddress(hash: string) { return urlJoin(this.chainConfig.blockExplorerUrl, "account", hash); diff --git a/core/src/config/chains/sifchain/sifchain-mainnet.ts b/core/src/config/chains/sifchain/sifchain-mainnet.ts index 51c12bd3d..5da2f2411 100644 --- a/core/src/config/chains/sifchain/sifchain-mainnet.ts +++ b/core/src/config/chains/sifchain/sifchain-mainnet.ts @@ -4,7 +4,7 @@ export const SIFCHAIN_MAINNET: IBCChainConfig = { network: Network.SIFCHAIN, chainType: "ibc", displayName: "Sifchain", - blockExplorerUrl: "https://www.mintscan.io/sifchain", + blockExplorerUrl: "https://ping.pub/sifchain", nativeAssetSymbol: "rowan", chainId: "sifchain-1", rpcUrl: "https://proxies.sifchain.finance/api/sifchain-1/rpc",