Skip to content

Commit

Permalink
Merge branch 'v2' into am/gov/actions-update
Browse files Browse the repository at this point in the history
  • Loading branch information
thevolcanomanishere committed Jan 9, 2025
2 parents 666d47a + 7736de4 commit bcffb89
Show file tree
Hide file tree
Showing 65 changed files with 870 additions and 950 deletions.
118 changes: 0 additions & 118 deletions apps/honey/src/app/api/useHoneyEvents.ts

This file was deleted.

19 changes: 0 additions & 19 deletions apps/honey/src/utils/vercel-utils.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import {
BERA_CHEF_ABI,
BERA_VAULT_REWARDS_ABI,
rewardVaultAbi,
useRewardVault,
useTokenInformation,
useGetVerifiedAbi,
} from "@bera/berajs";
import { Card, CardContent, CardHeader, CardTitle } from "@bera/ui/card";
import { useGetVerifiedAbi } from "@bera/berajs";
import {
AbiFunction,
AbiParameter,
Expand Down Expand Up @@ -488,7 +488,7 @@ export const Actions = ({

const abi = [
...BERA_CHEF_ABI,
...BERA_VAULT_REWARDS_ABI,
...rewardVaultAbi,
...erc20Abi,
...(data && !error && !isLoading ? JSON.parse(data) : []),
];
Expand Down
8 changes: 4 additions & 4 deletions apps/hub/src/app/incentivize/incentivize.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { useMemo, useState } from "react";
import { notFound, useSearchParams } from "next/navigation";
import {
BERA_VAULT_REWARDS_ABI,
rewardVaultAbi,
TransactionActionType,
truncateHash,
usePollAllowance,
Expand Down Expand Up @@ -130,10 +130,10 @@ export const Incentivize = () => {
<>
{" "}
<MarketIcon
market={gaugeInfo?.metadata?.productName ?? ""}
market={gaugeInfo?.metadata?.protocolName ?? ""}
size={"md"}
/>
{gaugeInfo?.metadata?.productName ?? "OTHER"}
{gaugeInfo?.metadata?.protocolName ?? "OTHER"}
</>
),
externalLink: gaugeInfo?.metadata?.url ?? "",
Expand Down Expand Up @@ -292,7 +292,7 @@ export const Incentivize = () => {
onClick={() =>
write({
address: gaugeInfo?.vaultAddress as Address,
abi: BERA_VAULT_REWARDS_ABI,
abi: rewardVaultAbi,
functionName: "addIncentive",
params: [
// We should make sure token is not undefined
Expand Down
Loading

0 comments on commit bcffb89

Please sign in to comment.