Skip to content

Commit

Permalink
chore: Update Pro namespace and remove contracts package
Browse files Browse the repository at this point in the history
  • Loading branch information
bigint committed Mar 2, 2025
1 parent d024107 commit 68b4042
Show file tree
Hide file tree
Showing 12 changed files with 113 additions and 5,432 deletions.
10 changes: 10 additions & 0 deletions apps/web/src/components/Pro/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ import useTransactionLifecycle from "src/hooks/useTransactionLifecycle";
import { useAccountStatus } from "src/store/non-persisted/useAccountStatus";
import { useAccountStore } from "src/store/persisted/useAccountStore";

const ABI = [
{
inputs: [{ internalType: "address", name: "owner", type: "address" }],
name: "balanceOf",
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
stateMutability: "view",
type: "function"
}
];

const features = [
"Choose your app icon",
"Pro Badge on your profile",
Expand Down
1 change: 0 additions & 1 deletion packages/contracts/.env.example

This file was deleted.

4 changes: 0 additions & 4 deletions packages/contracts/.gitignore

This file was deleted.

78 changes: 0 additions & 78 deletions packages/contracts/contracts/HeyPro.sol

This file was deleted.

19 changes: 0 additions & 19 deletions packages/contracts/deploy/heypro.ts

This file was deleted.

24 changes: 0 additions & 24 deletions packages/contracts/hardhat.config.ts

This file was deleted.

22 changes: 0 additions & 22 deletions packages/contracts/package.json

This file was deleted.

7 changes: 0 additions & 7 deletions packages/contracts/tsconfig.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/data/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const IS_MAINNET = LENS_API_URL === LensEndpoint.Mainnet;
export const ADDRESS_PLACEHOLDER = "0x03Ba3...7EF";
export const NULL_ADDRESS = "0x0000000000000000000000000000000000000000";
export const COLLECT_FEES_WALLET = "0x03Ba34f6Ea1496fa316873CF8350A3f7eaD317EF";
export const PRO_NAMESPACE = "0x8cC5F0756Ab65f8c8706a181c12407950902767D";
export const PRO_NAMESPACE = "0xe307C59d9A7B96371B962Ac2d5cC1be929B5b769";

// Application
export const APP_NAME = "Hey";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fragment Account on Account {
...Username
}
pro: username(
request: { namespace: "0x8cC5F0756Ab65f8c8706a181c12407950902767D" }
request: { namespace: "0xe307C59d9A7B96371B962Ac2d5cC1be929B5b769" }
) {
localName
}
Expand Down
Loading

0 comments on commit 68b4042

Please sign in to comment.