Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for CryptoPunks, Leeroy, and Fren.pet context actions #24

Merged
merged 3 commits into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 39 additions & 5 deletions src/types/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,18 +110,52 @@ export type ContextAction =
| 'deployed'
| 'minted'
| 'swapped'
| 'wrapped'
| 'sent'
| 'received'
| 'unwrapped'
| 'registered'
| 'renewed'
| 'committed to'
| 'received airdrop'
| 'gave access to'
| 'interacted with'
| 'sent message'
| 'set reverse ens to';
// WETH
| 'wrapped'
| 'unwrapped'
// ENS
| 'registered'
| 'renewed'
| 'set reverse ens to'
// CryptoPunks
| 'minted punk'
| 'listed punk'
| 'withdrew bid for'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eventually could generalize this

| 'bid on punk'
| 'withdrew from contract'
| 'bought punk'
| 'transferred punk'
| 'unlisted punk'
// Leeroy
| 'tipped'
| 'updated user details'
| 'replied to'
| 'reposted'
| 'registered username'
| 'followed'
| 'unfollowed'
| 'posted'
// fren.pet
| 'set pet name'
| 'bought accessory'
| 'attacked'
| 'redeemed'
| 'bonk revealed'
| 'wheel revealed'
| 'wheel committed'
| 'killed'
| 'minted'
| 'redeemed'
| 'sold item'
| 'joined dice game'
| 'dice game settled';

export type ContextSummaryVariableType =
| string
Expand Down