Skip to content

Commit

Permalink
fix app entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
cristovaoth committed Feb 26, 2025
1 parent ae6b70c commit f4cd943
Show file tree
Hide file tree
Showing 4 changed files with 1,384 additions and 3 deletions.
6 changes: 4 additions & 2 deletions packages/app/components/ApplyUpdate/index.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import { MdOutlineFileDownload } from "react-icons/md"
import {
abi as rolesAbi,
Annotation,
ChainId,
Role,
Target,
planApplyRole,
decodeKey,
posterAbi,
rolesAbi,
} from "zodiac-roles-sdk"

import Box from "@/ui/Box"
Expand Down Expand Up @@ -122,6 +121,9 @@ const exportToSafeTransactionBuilder = (

// EIP-3722 Poster contract
const POSTER_ADDRESS = "0x000000000000cd17345801aa8147b8D3950260FF" as const
const posterAbi = JSON.parse(
Interface.from(["function post(string content,string tag)"]).formatJson()
)

const decode = (transaction: { to: `0x${string}`; data: `0x${string}` }) => {
const abi: readonly JsonFragment[] =
Expand Down
Loading

0 comments on commit f4cd943

Please sign in to comment.