Skip to content

Commit

Permalink
Remove unused eip712 types
Browse files Browse the repository at this point in the history
  • Loading branch information
damianmarti committed Jul 31, 2024
1 parent fea8b1e commit 9c2e05b
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions packages/nextjs/utils/eip712.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,46 +10,3 @@ export const EIP_712_TYPES__SUBMISSION = {
{ name: "linkToRepository", type: "string" },
],
} as const;

export const EIP_712_TYPES__EDIT_GRANT = {
Message: [
...EIP_712_TYPES__SUBMISSION.Message,

{ name: "grantId", type: "string" },
{ name: "askAmount", type: "string" },
{ name: "private_note", type: "string" },
],
} as const;

export const EIP_712_TYPES__REVIEW_GRANT = {
Message: [
{ name: "grantId", type: "string" },
{ name: "action", type: "string" },
{ name: "txHash", type: "string" },
{ name: "txChainId", type: "string" },
],
} as const;

export const EIP_712_TYPES__REVIEW_GRANT_WITH_NOTE = {
Message: [...EIP_712_TYPES__REVIEW_GRANT.Message, { name: "note", type: "string" }],
} as const;

export const EIP_712_TYPES__SUBMIT_GRANT = {
Message: [
{ name: "grantId", type: "string" },
{ name: "action", type: "string" },
{ name: "link", type: "string" },
],
} as const;

export const EIP_712_TYPES__REVIEW_GRANT_BATCH = {
GrantReview: EIP_712_TYPES__REVIEW_GRANT.Message,
Message: [{ name: "reviews", type: "GrantReview[]" }],
} as const;

export const EIP_712_TYPES__ADMIN_SIGN_IN = {
Message: [
{ name: "action", type: "string" },
{ name: "description", type: "string" },
],
};

0 comments on commit 9c2e05b

Please sign in to comment.